[Bug 12706] ifupdown: remove interface from state_list if iface_up fails
bugzilla at busybox.net
bugzilla at busybox.net
Fri Mar 27 14:29:18 UTC 2020
https://bugs.busybox.net/show_bug.cgi?id=12706
--- Comment #1 from mingli.yu at windriver.com ---
And Test on another host which also installed with BusyBox v1.31.1
# ifconfig eth1
eth1 Link encap:Ethernet HWaddr 00:1E:67:65:8D:9D
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:2551 errors:0 dropped:0 overruns:0 frame:0
TX packets:3983 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:617252 (602.7 KiB) TX bytes:1347016 (1.2 MiB)
Memory:d0940000-d095ffff
# ifup -v eth1
run-parts /etc/network/if-pre-up.d
run-parts: /etc/network/if-pre-up.d: No such file or directory
ip link set eth1 up
udhcpc -R -b -p /var/run/udhcpc.eth1.pid -i eth1
udhcpc: started, v1.31.1
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: no lease, forking to background
run-parts /etc/network/if-up.d
run-parts: /etc/network/if-up.d: No such file or directory
# ifconfig eth1
eth1 Link encap:Ethernet HWaddr 00:1E:67:65:8D:9D
inet6 addr: fe80::21e:67ff:fe65:8d9d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2554 errors:0 dropped:0 overruns:0 frame:0
TX packets:3997 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:618248 (603.7 KiB) TX bytes:1348510 (1.2 MiB)
Memory:d0940000-d095ffff
# ifup -v eth1
ifup: interface eth1 already configured
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list