[FS#665] Lede 17.01.0-r3205-59508e3 on Nucom 5010UN v2 acting as Wifi Client Router lose connection with AP

LEDE Bugs lede-bugs at lists.infradead.org
Tue Mar 28 23:20:34 PDT 2017


A new Flyspray task has been opened.  Details are below. 

User who did this - sibok (sibok) 

Attached to Project - LEDE Project
Summary - Lede 17.01.0-r3205-59508e3 on Nucom 5010UN v2 acting as Wifi Client Router lose connection with AP
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Critical
Priority - Very Low
Reported Version - lede-17.01
Due in Version - Undecided
Due Date - Undecided
Details - Supply the following if possible:
 - Device problem occurs on: Nucom 5010UN v2 (brcm63xx)
 - Software versions of LEDE release, packages, etc.: Just download and install latest Lede build (lede-17.01.0-r3205-59508e3) for Nucom 5010UN v2 from https://downloads.lede-project.org/releases/17.01.0/targets/brcm63xx/generic/lede-17.01.0-r3205-59508e3-brcm63xx-generic-R5010UNv2-squashfs-cfe.bin
 - Steps to reproduce: Configure Nucom 5010UN v2 as Wireless Routed Client
 - Bug: After one hour or two, the Wireless Routed Clients looses connection with the Router it is connected to. It means, connecting by ssh or Luci website on Wireless Routed Client and running "ping 192.168.1.1" where 192.168.1.1 is the router it is connected to returns 100% of packets loss, also, "ping google.com" doesn't work. But logging into Luci website and navigating to Network -> WiFi, in Wireless Overview it shows as the Wireless Client Routed router is connected to the main one but there's no working connection between them, at least pings are not working on both sides. Restarting the router seems to fix the issue but after one or two hours of uptime, the issue arises again.

Note, the bug was first introduced on OpenWrt Chaos Calmer 15.05 as OpenWrt Barrier Breaker does not suffer from this bug.

The following is as more complete explanation:

Hi,

i've just installed latest Lede-Project build, version 17.01.0-r3205-59508e3, on a Nucom 5010UN V2 router and everything seemed to work fine until i noticed that it keeps loosing Internet/network connection. The router is configured as Wireless Routed Client and the firmware was downloaded from https://downloads.lede-project.org/releases/17.01.0/targets/brcm63xx/generic/lede-17.01.0-r3205-59508e3-brcm63xx-generic-R5010UNv2-squashfs-cfe.bin

Also note, i think it's a common bug inherited from OpenWrt as i suffered the same exact bug on an ADB P.DG A4001N1 router running latest build of OpenWrt, Chaos Calmer 15.05 and also 15.05.1. Also note that after posting on OpenWrt forums more users complained about the same bug.

Also, i want to state that in OpenWrt, the issue can be workarounded by downgrading to Barrier Breaker 14.07 which means the bug was introduced on the next build or next commits.

Anyway, my current setup is on Nucom 5010UN v2 is Wireless Routed Client [https://wiki.openwrt.org/doc/howto/clientmode#routed] + Static Route [https://wiki.openwrt.org/doc/recipes/routedclient#usingrouting] so clients on Nucom (Client Router) can "see" hosts on ADSL router (acting as AP).

I performed a clean install by resetting my custom configuration and the update went fine, but after reconfiguring the router as Wireless Routed Client it always happens that after being operating as Wifi Routed Client for about 2 hours suddenly it loses Internet connection/connection to AP. I say Internet connection because running a ping to google.com from ssh within inside the router doesn't work but if i check through LUCI Network->Wifi it shows the router Wifi is still connected to the main ADSL router.

Here's [https://forum.openwrt.org/viewtopic.php?pid=355180#p355180] a post on OpwnWrt site where i exposed the same issue for an ADB P.DG A4001N1 router and some other users replied complaining about the same issue.

These are the files modified by me through LUCI when configuring the routed as Wireless Routed Client, as i've been entirely configuring the router through LUCI except for the Static Route [https://wiki.openwrt.org/doc/recipes/routedclient#usingrouting] where i followed the indications on the link:
ddns
dhcp
dropbear
firewall
fstab
luci
network
rpcd
system
ucitrack
uh_t_tpd (I had to add underscores because of the buggy URL detection of the forum)
wireless

This is dhcp and dnmasq config:
cat etc config dhcp
config dnsmasq
        option domainneeded '1'
        option boguspriv '1'
        option localise_queries '1'
        option rebind_protection '1'
        option rebind_localhost '1'
        option local '/lan/'
        option domain 'lan'
        option expandhosts '1'
        option readethers '1'
        option leasefile '/tmp/dhcp.leases'
        option resolvfile '/tmp/resolv.conf.auto'
        option localservice '1'
config dhcp 'lan'
        option interface 'lan'
        option dhcpv6 'server'
        option ra 'server'
        option ra_management '1'
        option start '100'
        option limit '150'
        option leasetime '12h'
config dhcp 'wan'
        option interface 'wan'
        option ignore '1'
config odhcpd 'odhcpd'
        option maindhcp '0'
        option leasefile '/tmp/hosts/odhcpd'
        option leasetrigger '/usr/sbin/odhcpd-update'
config host
        option name 'Host1'
        option mac 'XX:XX:XX:XX:XX:XY'
        option ip '192.168.2.2'
config host
        option name 'Host2'
        option mac 'XX:XX:XX:XX:XX:XZ'
        option ip '192.168.2.3'
config host
        option name 'ClientRouter'
        option mac 'XX:XX:XX:XX:XX:XX'
        option ip '192.168.2.92'


This is network:
cat etc config network
config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'
config globals 'globals'
        option ula_prefix 'fd05:6cbe:d307::/48'
config interface 'lan'
        option force_link '1'
        option type 'bridge'
        option proto 'static'
        option netmask '255.255.255.0'
        option ip6assign '60'
        option _orig_ifname 'eth0.1'
        option _orig_bridge 'true'
        option ipaddr '192.168.2.1'
        option dns '8.8.8.8'
        option ifname 'eth0.1'
config switch
        option name 'eth0'
        option reset '1'
        option enable_vlan '1'
config switch_vlan
        option device 'eth0'
        option vlan '1'
        option ports '0 1 2 3 8t'
config interface 'wwan'
        option proto 'dhcp'

This is wireless:
cat etc config wireless
config wifi-device 'radio0'
        option type 'mac80211'
        option hwmode '11g'
        option path 'pci0000:00/0000:00:00.0/0000:01:00.0/bcma0:1'
        option disabled '0'
        option channel '13'
        option txpower '20'
        option country 'ES'
config wifi-device 'radio1'
        option type 'mac80211'
        option path 'platform/ehci-platform/usb1/1-1/1-1:1.0'
        option txpower '20'
        option country 'ES'
        option hwmode '11a'
        option channel 'auto'
config wifi-iface
        option ssid 'MainADSLSSID'
        option device 'radio0'
        option mode 'sta'
        option bssid 'XX:XX:XX:XX:XX:YY'
        option key 'WiFiPassword'
        option encryption 'psk-mixed'
        option network 'wwan lan'
   

 

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=665



More information about the lede-bugs mailing list