[Toybox] complaining about 'ifconfig' - better use 'ip'

Bastian Bittorf bittorf at bluebottle.com
Wed Apr 3 07:05:26 PDT 2013


it needed some days to find the right arguments, but i try to make it short:

dont implement 'ifconfig'. it's totally obsolete since nearly 10 years.
nobody uses it anymore, even the manpage of 'ifconfig' shows this in
big letters, it's so much restricted and doesnt know much about networking,
it's a relict if the 1990's and must die.

better make a stub of 'ip' and implement:

ip link add/del/show
ip address add/del/show
ip route add/del/show
ip neigh add/del/show

ifconfig is so fundamentally wrong in architecture, thats
not worth the work. for greybeards you can add a wrapper
which translates every call to ifconfig/route/arp with a
stderr output of "deprecated: use 'ip address show blabla...'".

sorry for the hard words, but someone must say it 8-)

bye, bastian


More information about the Toybox mailing list