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,
* Roy Tam roy...@gmail.com [03.04.2013 16:23]:
nope. many script does use ifconfig. for example:
http://www.linuxquestions.org/questions/linux-networking-3/how-can-i-use-udhcpc-800236/
so if you are using scripts/infrastructure which are older
than 10 years maybe toybox is not for you 8-)
* Isaac Dunham idun...@lavabit.com [03.04.2013 20:18]:
If you would read the first _four_ lines instead of the first three, you
would see that your response fails to address what I was saying
(NOTE: there's more information after this quote):
ofcourse i understand your arguments:
- you are
* Rob Landley r...@landley.net [03.04.2013 21:44]:
it's totally obsolete since nearly 10 years. nobody uses it anymore,
*shrug* I use it. So did the people who submitted their
implementation of it. It's in the $PATH on ubuntu LTS without me
having to install a package to get it.
8-)
* Rob Landley r...@landley.net [04.04.2013 10:03]:
$ man ip | wc -l
1853
$ man ifconfig | wc -l
185
here:
bastian@box:~$ for F in ifconfig arp netstat route; do man $F; done | wc -l
756
bastian@box:~$ man ip | wc -l
150
bastian@box:~$ lsb_release -a
No LSB modules are available.
* Rob Landley r...@landley.net [04.04.2013 10:03]:
I've used ip a couple times. I mostly use ifconfig, because it's
there and I see no upside in using ip. I also use iwlist and
iwlist is also dead since a long time, the successor is 'iw'
which shares/imitates to 'ip' syntax
ifenslave and
* Rob Landley r...@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
* Rob Landley r...@landley.net [04.04.2013 10:03]:
Yup, just pulled up my old Red Hat 9 image under qemu and did
ifconfig eth0 10.0.2.15/31 and it worked fine.
you are right, shame on me.
Heh, it's still up at http://busybox.net/downloads/qemu/ if you'd
like to try that yourself.
-
* David Seikel onef...@gmail.com [04.04.2013 11:25]:
My copy of the ifconfig man page does not mention the ip command, and
certainly does not say to switch.
http://linux.die.net/man/8/ifconfig
http://www.linuxfoundation.org/collaborate/workgroups/networking/net-tools
(seems in debian this note
* Ilya Kuzmich ilya.kuzm...@gmail.com [04.04.2013 11:42]:
bastian@box:~$ man ip | wc -l
150
zs@silver:~$ for F in ip ip-address ip-addrlabel ip-link ip-maddress \
ip-monitor ip-mroute ip-neighbour ip-netns ip-ntable ip-route ip-rule \
ip-tunnel ip-xfrm; do man $F; done | wc -l
1956
thats
* Isaac Dunham idun...@lavabit.com [04.04.2013 17:51]:
iwlist is also dead since a long time, the successor is 'iw'
which shares/imitates to 'ip' syntax
Oh?
http://wireless.kernel.org/en/users/Documentation/iw
The old tool iwconfing, which uses Wireless Extensions interface, is
deprecated
* Isaac Dunham idun...@lavabit.com [04.04.2013 17:51]:
mount and init have specs in LSB--though it's not enough.
fun fact: they even define 'mailx', 'perl' and 'awk' 8-)
bye, bastian
___
Toybox mailing list
Toybox@lists.landley.net
* Rob Landley r...@landley.net [05.04.2013 09:00]:
bastian@box:~$ man ip | wc -l
150
bastian@box:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu Raring Ringtail (development branch)
Release: 13.04
Codename:raring
You're aware
* Rob Landley r...@landley.net [05.04.2013 09:00]:
there is not plugin-arch, just one command which simply
manipulates the kernels netlink-interface.
A very large, very complicated command in the mold of systemd.
whats interesting to me:
the busybox-ip with all it's features (a lot more
* Rob Landley r...@landley.net [05.04.2013 09:00]:
this is wrong:
lo:0 is no interface, so why does it show an extra interface?
I note that technically lo isn't an ethernet interface in the first
place, so you could make the same argument there...
ethernet or SLIP or lo doesnt matter. lo:0
* Rob Landley r...@landley.net [05.04.2013 09:00]:
http://www.linuxfoundation.org/collaborate/workgroups/networking/net-tools
So they don't include network configuration in LSB, and half of LSB
is reverting posix-2008 to posix-2001, and they've gone through _5_
not-android embedded
* Rob Landley r...@landley.net [05.04.2013 09:00]:
What exactly is the _problem_? The existing ifconfig works fine. This
and that is the dangerous thing about it:
it's working enough, so ip will be always missing (because there
is so little Leidensdruck: 'psychological strain')
But this Oh
* David Seikel onef...@gmail.com [05.04.2013 17:47]:
2. if you input 010, it is treated as octal number. it is 8
i think this is correct. i can see no case, where somebody
exspect to interpret this as 10 decimal, because you cannot
calculate in shell with leading zeros, so no 'tool' or
script
* Isaac Dunham idun...@lavabit.com [06.04.2013 08:22]:
It appears that someone just split out the help for each subcommand.
But you had better include manpages for each of the ones you want in your
total...which is at least
ip ip-address ip-route ip-neighbor ip-link
bastian@box:~$ for F in
* Rob Landley r...@landley.net [22.09.2014 13:48]:
code with that. And last year a very ineffective advocate for ip was
here doing his best to convince everyone we really didn't need it:
http://lists.landley.net/pipermail/toybox-landley.net/2013-April/000825.html
The end result of that big
* stephen Turner stephen.n.tur...@gmail.com [29.01.2015 20:06]:
Im not confident any one kernel type i have found is better than the other
[...]
please stop fullquoting and read
https://www.netmeister.org/news/learn2quote.html
bye, bastian
___
* Rob Landley [02.09.2016 09:44]:
> In theory:
>
> echo "one two three four five" | cut -f 2-4
[...]
> As has been noted before, this makes about 90% of the uses of awk go
> away. The downside is, if you're _not_ using toybox cut, it won't work.
Dont do that. I understand
22 matches
Mail list logo