#19427: Service startup failing because of uninitialized network interfaces (TP-
Link TL-WDR3500)
------------------------------------------------+--------------------------
Reporter: fedy.cz | Owner: developers
Type: defect | Status: new
Priority: high | Milestone: Barrier
Component: packages | Breaker 14.07
Keywords: bootup init fail network interface | Version: Barrier
| Breaker 14.07
------------------------------------------------+--------------------------
Some network services often fail to start up during bootup.
It looks like some services (in my case openvpn, stunnel and autossh) try
to start up before the corresponding interfaces are up and the bind()
system call fails. Maybe I'm missing something and there is some standard
way to prevent this in OpenWrt, but at least with openvpn and stunnel i'm
using stock init.d scripts, so they should probably work by default.
Suspecting this might be device specific (in my case TP-Link TL-WDR3500
ver: 1.3).
'''example logread snippet:
'''Mon Apr 6 22:13:17 2015 user.emerg syslog: bind: Cannot assign
requested address (126)
Mon Apr 6 22:13:17 2015 user.err autossh[903]: bind on 127.0.0.1:20031:
Cannot assign requested address
Mon Apr 6 22:13:17 2015 user.err autossh[904]: bind on 127.0.0.1:22031:
Cannot assign requested address
Mon Apr 6 22:13:18 2015 kern.info kernel: [ 22.330000] IPv6:
ADDRCONF(NETDEV_UP): eth0: link is not ready
Mon Apr 6 22:13:18 2015 kern.info kernel: [ 22.330000] device eth0
entered promiscuous mode
Mon Apr 6 22:13:18 2015 daemon.notice netifd: Interface 'lan' is enabled
Mon Apr 6 22:13:18 2015 kern.info kernel: [ 22.360000] IPv6:
ADDRCONF(NETDEV_UP): br-lan: link is not ready
Mon Apr 6 22:13:18 2015 daemon.notice netifd: Interface 'lan' is setting
up now
Mon Apr 6 22:13:18 2015 daemon.notice netifd: Interface 'lan' is now up
Mon Apr 6 22:13:18 2015 daemon.notice netifd: Interface 'loopback' is
enabled
Mon Apr 6 22:13:18 2015 daemon.notice netifd: Interface 'loopback' is
setting up now
Mon Apr 6 22:13:18 2015 daemon.notice netifd: Interface 'loopback' is now
up
--
Ticket URL: <https://dev.openwrt.org/ticket/19427>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets