#17357: wshaper: Error: Could not find the device for network wan, aborting.
------------------------------+----------------------------------
Reporter: braveheart_leo@… | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone: Chaos Calmer (trunk)
Component: packages | Version: Trunk
Keywords: wshaper netifd |
------------------------------+----------------------------------
It looks like wshaper also needs to be updated to be better integrated
into the netifd subsystem.
This log is from first cold boot, when both router and modem have been
turned on simultaneously. The router initializes very early before the
modem could even finish setting up its DSL link.
The router is running CHAOS CALMER (Bleeding Edge, r41936).
{{{
Mon Aug 4 05:07:00 2014 daemon.notice netifd: Interface 'lan' is enabled
Mon Aug 4 05:07:00 2014 daemon.notice netifd: Interface 'lan' is setting
up now
Mon Aug 4 05:07:00 2014 daemon.notice netifd: Interface 'lan' is now up
Mon Aug 4 05:07:00 2014 daemon.notice netifd: Interface 'loopback' is
enabled
Mon Aug 4 05:07:00 2014 daemon.notice netifd: Interface 'loopback' is
setting up now
Mon Aug 4 05:07:00 2014 daemon.notice netifd: Interface 'loopback' is now
up
Mon Aug 4 05:07:00 2014 daemon.notice netifd: Interface 'wan' is enabled
Mon Aug 4 05:07:00 2014 daemon.notice netifd: Network device 'eth0' link
is up
Mon Aug 4 05:07:00 2014 daemon.notice netifd: VLAN 'eth0.2' link is up
Mon Aug 4 05:07:00 2014 daemon.notice netifd: Interface 'wan' has link
connectivity
Mon Aug 4 05:07:00 2014 daemon.notice netifd: Interface 'wan' is setting
up now
Mon Aug 4 05:07:00 2014 daemon.notice netifd: VLAN 'eth0.1' link is up
Mon Aug 4 05:07:00 2014 daemon.notice netifd: VLAN 'eth0.1' link is down
Mon Aug 4 05:07:00 2014 daemon.notice netifd: VLAN 'eth0.1' link is up
Mon Aug 4 05:07:00 2014 daemon.notice netifd: Bridge 'br-lan' link is up
Mon Aug 4 05:07:00 2014 daemon.notice netifd: Interface 'lan' has link
connectivity
Mon Aug 4 05:07:00 2014 daemon.notice netifd: Network device 'lo' link is
up
Mon Aug 4 05:07:00 2014 daemon.notice netifd: Interface 'loopback' has
link connectivity
Mon Aug 4 05:07:00 2014 daemon.notice netifd: VLAN 'eth0.2' link is down
Mon Aug 4 05:07:00 2014 daemon.notice netifd: Interface 'wan' has link
connectivity loss
Mon Aug 4 05:07:00 2014 daemon.notice netifd: VLAN 'eth0.2' link is up
Mon Aug 4 05:07:00 2014 daemon.notice netifd: Interface 'wan' has link
connectivity
Mon Aug 4 05:07:00 2014 user.notice wondershaper: Error: Could not find
the device for network wan, aborting.
}}}
Two minutes into the log, only then udhcpc started receiving an IP address
{{{
Mon Aug 4 05:07:15 2014 user.notice upnp daemon: external interface not
found, not starting
Mon Aug 4 05:09:11 2014 daemon.notice netifd: wan (1259): Sending select
for <wan-ip-addr>...
Mon Aug 4 05:09:11 2014 daemon.notice netifd: wan (1259): Lease of <wan-
ip-addr> obtained, lease time 3600
Mon Aug 4 05:09:11 2014 daemon.notice netifd: Interface 'wan_modem' is
enabled
Mon Aug 4 05:09:11 2014 daemon.notice netifd: Interface 'wan_modem' is
setting up now
Mon Aug 4 05:09:11 2014 daemon.notice netifd: Interface 'wan_modem' is
now up
Mon Aug 4 05:09:11 2014 daemon.notice netifd: Interface 'wan6' is enabled
Mon Aug 4 05:09:11 2014 daemon.notice netifd: Network alias 'eth0.2' link
is up
Mon Aug 4 05:09:11 2014 daemon.notice netifd: Interface 'wan_modem' has
link connectivity
Mon Aug 4 05:09:11 2014 daemon.notice netifd: Interface 'wan6' has link
connectivity
Mon Aug 4 05:09:11 2014 daemon.notice netifd: Interface 'wan6' is setting
up now
Mon Aug 4 05:09:11 2014 daemon.notice netifd: Interface 'wan6' is now up
Mon Aug 4 05:09:11 2014 daemon.notice netifd: Interface 'wan' is now up
Mon Aug 4 05:09:11 2014 user.notice firewall: Reloading firewall due to
ifup of wan (eth0.2)
}}}
--
Ticket URL: <https://dev.openwrt.org/ticket/17357>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets