#18351: /etc/init.d/network reload - Fails after removing switch config
----------------------+------------------------
Reporter: rmilecki | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone:
Component: packages | Version: Trunk
Keywords: |
----------------------+------------------------
I've one of this less common `brcm47xx` devices with no switch and only a
single Ethernet port. It's some unknown device, so `/etc/init.d/netconfig`
doesn't recognize it and generates a standard config (assumes there is a
hardware switch).
See attached `before.txt` for details.
I don't complain about wrong config, it's `brcm47xx` fault, however I've
noticed problem when fixing this config manually using serial console and
vim. I've modified `/etc/config/network` to match my device and then
called:
{{{
# /etc/init.d/network reload
[ 333.760000] device eth0.1 left promiscuous mode
[ 333.770000] device eth0 left promiscuous mode
[ 333.770000] br-lan: port 1(eth0.1) entered disabled state
[ 333.780000] IPv6: ADDRCONF(NETDEV_UP): eth0.1: link is not ready
}}}
Unfortunately my config wasn't fully applied. Extra interfaces (`eth0.1`
and `eth0.2`) have been removed, however `br-lan` also disappeared (it was
supposed to be there with `192.168.1.1` IP).
See `after.txt` for details.
On the other hand calling `/etc/init.d/network restart` fixes the problem
for me. Interface `br-lan` appears and everything works OK. But AFAIU
`reload` should work as well, right?
I've tested r43239 downloaded from
http://downloads.openwrt.org/snapshots/trunk/brcm47xx.mips74k/
--
Ticket URL: <https://dev.openwrt.org/ticket/18351>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets