wireless-tools/net-tools are DEPRECATED
Kevin Kofler
kevin.kofler at chello.at
Sun Apr 24 02:42:33 UTC 2011
Xose Vazquez Perez wrote:
> Some of them are so trivial, that it looks like nobody is working
> on it:
> $ rpm -ql initscripts | xargs egrep "/route |/ifconfig " --color
> /etc/rc.d/init.d/network: /sbin/route add -$args
> /etc/sysconfig/network-scripts/ifup-aliases:eval $(LC_ALL= LANG=
> /sbin/ifconfig | LC_ALL=C sed -n '
> /etc/sysconfig/network-scripts/ifup-aliases: LC_ALL=C /sbin/route -n \
> /etc/sysconfig/network-scripts/ifup-aliases:
> /sbin/ifconfig $parent_device:${DEVNUM} down
> /etc/sysconfig/network-scripts/ifup-aliases:
> /sbin/ifconfig $parent_device:$rdevip down
> /etc/sysconfig/network-scripts/ifup-aliases: /sbin/ifconfig
> $DEVICE netmask $NETMASK broadcast $BROADCAST;
> /etc/sysconfig/network-scripts/ifup-aliases: /sbin/ifconfig
> ${DEVICE} ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST}
> /etc/sysconfig/network-scripts/ifup-aliases:
/sbin/ifconfig
> $parent_device:${DEVNUM} down
All these hits are in the legacy "network" service or the legacy "ifup"
scripts which go with it.
Newsflash: the network service is DEPRECATED!!! That's what NetworkManager
is for.
> net-tools is obsolete since '99 (Red Hat Linux 6.0 - Linux-2.2),
> *12 years* ago!
And the network service is obsolete since at least Fedora 10, when Anaconda
started defaulting to NetworkManager. (The live images already did default
to NM at that point.)
> It's a *shame* that all leading distributions, still rely on the
> old *BSD way to do networking.
They don't. They use NetworkManager by default, which doesn't use any of the
scripts you mentioned there.
Kevin Kofler
More information about the devel
mailing list