Hi all
problem description
I am using OpenWRT now for few weeks as main router at home and I have an issue which comes up from time to time. My wan connection dies and Luci shows Error: Unknown error (USER_REQUEST)
on that interface. I dug around a bit and this post https://forum.turris.cz/t/dtag-no-internet-on-reconnect-after-configuration-change/11609/2 and this one PPPoE "unknown error (USER_REQUEST)" seam to be similar but not identical.
most of the issues out there are related to not getting an IP at all and the need to have a VLAN 7 tag enabled on the dsl interface. Which I did. So in fact the connection is working most of the time but restarts suddenly and not periodically (might be config / kernel / driver related?)
More information will happily be provided and any hints are appreciated !
my setup
ISP: DTAG
Contract: VDSL50
Hardware: Fritzbox 3370
- I also enabled VDSL support like described for a similar Fritzbox (firmware: vr9-B-dsl.bin)
- VLAN tag 7 is set
my configs
/etc/config/network:
(only wan related stuff)
type or paste code heconfig atm-bridge 'atm'
option vpi '1'
option vci '32'
option encaps 'llc'
option payload 'bridged'
option nameprefix 'dsl'
option unit 'root'
config dsl 'dsl'
option annex 'b'
option tone 'bv'
option xfer_mode 'ptm'
option line_mode 'vdsl'
option ds_snr_offset '0'
option firmware '/lib/firmware/vr9-B-dsl.bin'
config interface 'wan'
option proto 'pppoe'
option ipv6 'auto'
option username 'xxx'
option password 'xxx'
option keepalive '2 2'
option ifname 'dsl0.7'
option host_uniq 'xxx'
config device 'wan_dsl0_dev'
option name 'dsl0'
option macaddr 'xxx'
config interface 'wan6'
option ifname '@wan'
option proto 'dhcpv6'
option reqaddress 'try'
option reqprefix 'auto'
logred from link down to all working again:
Sat May 30 17:39:22 2020 kern.warn kernel: [787105.479497] leave showtime
Sat May 30 17:39:22 2020 daemon.notice netifd: Network device 'dsl0' link is down
Sat May 30 17:39:22 2020 daemon.notice netifd: VLAN 'dsl0.7' link is down
Sat May 30 17:39:22 2020 daemon.notice netifd: Interface 'wan' has link connectivity loss
Sat May 30 17:39:22 2020 daemon.info pppd[14922]: Terminating on signal 15
Sat May 30 17:39:22 2020 daemon.info pppd[14922]: Connect time 844.9 minutes.
Sat May 30 17:39:22 2020 daemon.info pppd[14922]: Sent 1301141680 bytes, received 863341251 bytes.
Sat May 30 17:39:22 2020 daemon.err odhcp6c[15106]: Failed to send DHCPV6 message to ff02::1:2 (Permission denied)
Sat May 30 17:39:22 2020 daemon.notice netifd: Network device 'pppoe-wan' link is down
Sat May 30 17:39:22 2020 daemon.notice netifd: Network alias 'pppoe-wan' link is down
Sat May 30 17:39:22 2020 daemon.notice netifd: Interface 'wan6' has link connectivity loss
Sat May 30 17:39:22 2020 daemon.err odhcp6c[15097]: Failed to send RS (Permission denied)
Sat May 30 17:39:22 2020 daemon.notice netifd: Interface 'wan_6' has link connectivity loss
Sat May 30 17:39:22 2020 daemon.err odhcp6c[15106]: Failed to send DHCPV6 message to ff02::1:2 (Permission denied)
Sat May 30 17:39:22 2020 daemon.notice netifd: Interface 'wan_6' is now down
Sat May 30 17:39:22 2020 daemon.err odhcp6c[15097]: Failed to send DHCPV6 message to ff02::1:2 (Permission denied)
Sat May 30 17:39:22 2020 daemon.info dnsmasq[21914]: reading /tmp/resolv.conf.auto
Sat May 30 17:39:22 2020 daemon.notice netifd: Interface 'wan6' is now down
Sat May 30 17:39:22 2020 daemon.notice netifd: Interface 'wan6' is disabled
Sat May 30 17:39:22 2020 daemon.notice netifd: Interface 'wan6' is enabled
Sat May 30 17:39:27 2020 daemon.notice netifd: Interface 'wan' is now down
Sat May 30 17:39:27 2020 daemon.notice netifd: Interface 'wan6' is disabled
Sat May 30 17:39:27 2020 daemon.notice netifd: Interface 'wan' is disabled
Sat May 30 17:39:27 2020 kern.info kernel: [787110.557577] IPv6: ADDRCONF(NETDEV_UP): dsl0: link is not ready
Sat May 30 17:39:27 2020 kern.info kernel: [787110.583334] IPv6: ADDRCONF(NETDEV_UP): dsl0.7: link is not ready
Sat May 30 17:39:27 2020 daemon.notice netifd: Interface 'wan' is enabled
Sat May 30 17:41:20 2020 kern.warn kernel: [787223.648691] enter showtime
Sat May 30 17:41:20 2020 kern.info kernel: [787223.650360] IPv6: ADDRCONF(NETDEV_CHANGE): dsl0: link becomes ready
Sat May 30 17:41:20 2020 daemon.notice netifd: Network device 'dsl0' link is up
Sat May 30 17:41:20 2020 kern.info kernel: [787223.660069] IPv6: ADDRCONF(NETDEV_CHANGE): dsl0.7: link becomes ready
Sat May 30 17:41:20 2020 daemon.notice netifd: VLAN 'dsl0.7' link is up
Sat May 30 17:41:20 2020 daemon.notice netifd: Interface 'wan' has link connectivity
Sat May 30 17:41:20 2020 daemon.notice netifd: Interface 'wan' is setting up now
Sat May 30 17:41:20 2020 kern.warn kernel: [787223.673368] enter showtime
Sat May 30 17:41:20 2020 daemon.err insmod: module is already loaded - slhc
Sat May 30 17:41:20 2020 daemon.err insmod: module is already loaded - ppp_generic
Sat May 30 17:41:20 2020 daemon.err insmod: module is already loaded - pppox
Sat May 30 17:41:20 2020 daemon.err insmod: module is already loaded - pppoe
Sat May 30 17:41:20 2020 daemon.info pppd[9555]: Plugin rp-pppoe.so loaded.
Sat May 30 17:41:20 2020 daemon.info pppd[9555]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.7
Sat May 30 17:41:20 2020 daemon.notice pppd[9555]: pppd 2.4.7 started by root, uid 0
Sat May 30 17:41:25 2020 daemon.info pppd[9555]: PPP session is 17391
Sat May 30 17:41:25 2020 daemon.warn pppd[9555]: Connected to x:x:x:x:x:x via interface dsl0.7
Sat May 30 17:41:25 2020 kern.info kernel: [787229.273196] pppoe-wan: renamed from ppp0
Sat May 30 17:41:25 2020 daemon.info pppd[9555]: Renamed interface ppp0 to pppoe-wan
Sat May 30 17:41:25 2020 daemon.info pppd[9555]: Using interface pppoe-wan
Sat May 30 17:41:25 2020 daemon.notice pppd[9555]: Connect: pppoe-wan <--> dsl0.7
Sat May 30 17:41:26 2020 daemon.info pppd[9555]: Remote message: SRU=11992#SRD=59961#
Sat May 30 17:41:26 2020 daemon.notice pppd[9555]: PAP authentication succeeded
Sat May 30 17:41:26 2020 daemon.notice pppd[9555]: peer from calling number x:x:x:x:x:x authorized
Sat May 30 17:41:26 2020 daemon.notice pppd[9555]: local IP address x.x.x.x
Sat May 30 17:41:26 2020 daemon.notice pppd[9555]: remote IP address x.x.x.x
Sat May 30 17:41:26 2020 daemon.notice pppd[9555]: primary DNS address x.x.x.x
Sat May 30 17:41:26 2020 daemon.notice pppd[9555]: secondary DNS address x.x.x.x
Sat May 30 17:41:26 2020 daemon.notice pppd[9555]: local LL address fe80::x
Sat May 30 17:41:26 2020 daemon.notice pppd[9555]: remote LL address fe80::x
Sat May 30 17:41:26 2020 daemon.notice netifd: Network device 'pppoe-wan' link is up
Sat May 30 17:41:26 2020 daemon.notice netifd: Interface 'wan6' is enabled
Sat May 30 17:41:26 2020 daemon.notice netifd: Network alias 'pppoe-wan' link is up
Sat May 30 17:41:26 2020 daemon.notice netifd: Interface 'wan6' has link connectivity
Sat May 30 17:41:26 2020 daemon.notice netifd: Interface 'wan6' is setting up now
Sat May 30 17:41:26 2020 daemon.notice netifd: Interface 'wan' is now up
Sat May 30 17:41:26 2020 daemon.info dnsmasq[21914]: reading /tmp/resolv.conf.auto
Sat May 30 17:41:26 2020 daemon.notice netifd: Interface 'wan_6' is enabled
Sat May 30 17:41:26 2020 daemon.notice netifd: Interface 'wan_6' has link connectivity
Sat May 30 17:41:26 2020 daemon.notice netifd: Interface 'wan_6' is setting up now
Sat May 30 17:41:33 2020 daemon.notice netifd: Interface 'wan_6' is now up
Sat May 30 17:41:33 2020 daemon.info dnsmasq[21914]: reading /tmp/resolv.conf.auto
Sat May 30 17:41:38 2020 user.notice firewall: Reloading firewall due to ifup of wan_6 (pppoe-wan)
Sat May 30 17:41:39 2020 daemon.notice netifd: Interface 'wan6' is now up