ifup broken in 1.3.1
Denis Vlasenko
vda.linux at googlemail.com
Wed Jan 3 22:43:07 UTC 2007
On Wednesday 03 January 2007 11:17, Ignacio García Pérez wrote:
> iface eth0 inet static
> address 10.0.0.1
> netmask 255.0.0.0
Yes, it is, but current svn is fixed.
With current svn:
bash-3.2# cat /etc/network/interfaces
iface if inet static
address 10.0.0.1
netmask 255.0.0.0
My network is already up:
bash-3.2# ip a
1: lo: <LOOPBACK,UP,10000> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
2: if: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:16:17:6d:77:db brd ff:ff:ff:ff:ff:ff
inet 192.168.1.111/24 brd 192.168.1.255 scope global if
bash-3.2# ip r
192.168.1.0/24 dev if proto kernel scope link src 192.168.1.111
default via 192.168.1.10 dev if
I reconfigure it:
bash-3.2# ./busybox ifup if
Doesn't segfault.
bash-3.2# ip a
1: lo: <LOOPBACK,UP,10000> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
2: if: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:16:17:6d:77:db brd ff:ff:ff:ff:ff:ff
inet 192.168.1.111/24 brd 192.168.1.255 scope global if
inet 10.0.0.1/8 scope global if
bash-3.2# ip r
192.168.1.0/24 dev if proto kernel scope link src 192.168.1.111
10.0.0.0/8 dev if proto kernel scope link src 10.0.0.1
default via 192.168.1.10 dev if
--
vda
More information about the busybox
mailing list