[OpenWrt-Devel] Wifi is broken

Dirk Brenken dev at brenken.org
Sat Nov 16 14:05:42 EST 2019


On Sat, 2019-11-16 at 17:27 +0100, Daniel Golle wrote:
> Hi,
> 
> On Sat, Nov 16, 2019 at 09:17:08AM +0100, e9hack wrote:
> > Hi,
> > 
> > this commit
> > 
> > commit	000b7687bc50be5b0f1161f4bf8ceb85c495c395
> > mac80211: restore mac80211_interface_cleanup()
> > 
> > breaks wifi on my tp-link archer C7 router. After update, only the
> > 5G wifi will be activated. The 2.4G wifi doesn't start. I try to
> > recover from this by shuting down and restart wifi by executing
> > 'wifi down; sleep 30; wifi &'. Afterwards, wifi doesn't start
> > anymore. I modify mac80211.sh to get some more log entries:
> 
> I've reverted that commit and applied a more sophisticated fix
> instead.
> Please retest and report if that works better.
> 
> 
> Cheers
> 
> Daniel
> 
Works better now - the AP now comes up after reboot (still with some
suspicios error messages):

[...]
Sat Nov 16 17:26:15 2019 daemon.notice netifd: radio0 (1262): sh: out
of range
Sat Nov 16 17:26:16 2019 daemon.err odhcpd[1331]: Failed to send to
ff02::1%lan at br-lan (Address not available)
Sat Nov 16 17:26:16 2019 daemon.notice netifd: radio0 (1262): command
failed: Too many open files in system (-23)
Sat Nov 16 17:26:17 2019 daemon.notice netifd: radio0 (1262): command
failed: Too many open files in system (-23)
Sat Nov 16 17:26:19 2019 user.notice firewall: Reloading firewall due
to ifup of lan (br-lan)
Sat Nov 16 17:26:19 2019 daemon.notice hostapd: Configuration file:
/var/run/hostapd-phy0.conf (phy wlan0) --> new PHY
Sat Nov 16 17:26:19 2019 kern.info kernel: [   48.375045] IPv6:
ADDRCONF(NETDEV_UP): wlan0: link is not ready
Sat Nov 16 17:26:19 2019 kern.info kernel: [   48.478057] br-lan: port
2(wlan0) entered blocking state
Sat Nov 16 17:26:19 2019 kern.info kernel: [   48.483739] br-lan: port
2(wlan0) entered disabled state
Sat Nov 16 17:26:19 2019 kern.info kernel: [   48.489606] device wlan0
entered promiscuous mode
Sat Nov 16 17:26:19 2019 daemon.notice hostapd: wlan0: interface state
UNINITIALIZED->COUNTRY_UPDATE
Sat Nov 16 17:26:19 2019 daemon.err hostapd: Using interface wlan0 with
hwaddr e4:95:6e:45:87:e3 and ssid "adb2go"
Sat Nov 16 17:26:21 2019 daemon.notice hostapd: wlan0: interface state
COUNTRY_UPDATE->ENABLED
Sat Nov 16 17:26:21 2019 daemon.notice hostapd: wlan0: AP-ENABLED
[...]

Regards,
Dirk

> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> 
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20191116/f8f4be93/attachment.sig>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list