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

Roy Tam roytam at gmail.com
Wed Apr 3 07:13:07 PDT 2013


2013/4/3 Bastian Bittorf <bittorf at bluebottle.com>

> 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
>

nope. many script does use ifconfig. for example:
http://www.linuxquestions.org/questions/linux-networking-3/how-can-i-use-udhcpc-800236/


> 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
> _______________________________________________
> Toybox mailing list
> Toybox at lists.landley.net
> http://lists.landley.net/listinfo.cgi/toybox-landley.net
>



2013/4/3 Bastian Bittorf <bittorf at bluebottle.com>

> 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
> _______________________________________________
> Toybox mailing list
> Toybox at lists.landley.net
> http://lists.landley.net/listinfo.cgi/toybox-landley.net
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20130403/b869444d/attachment-0006.htm>


More information about the Toybox mailing list