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

Bastian Bittorf bittorf at bluebottle.com
Thu Apr 4 01:52:14 PDT 2013


* Rob Landley <rob at landley.net> [04.04.2013 10:03]:
> I agree ipv6 is coming. I don't understand why you think ifconfig
> can't trivially support ipv6. The one in android toolbox does. (Note:

you are right, some people have hacked ipv6-support into ifconfig.
whats missing (because it would break the output for parsing), some
informations about ipv6 internals. (which 'ip' shows)

> android toolbox has ifconfig. does not have ip. Maybe this has
> changed since I took a snapshot in february...)

i'am shocked about that, but ofcourse:
no gpl in userspace, so they took a bsd-ifconfig. iproute2 is gpl...

i'am wondering how they test an internet-connection
with different interfaces (e.g. wifi and 3g) without
having multiple routing-tables:

it simply does not work - there is no test at all!
well done android 8-(

if android has ifconfig (and needs ifconfig), than all
the discussion is unneeded: we need it too - or is it
"only" for developers, so apps dont rely on it?

bye, bastian



More information about the Toybox mailing list