-
-
Notifications
You must be signed in to change notification settings - Fork 10.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FS#2781 - Archer C50 v4 Mac80211 Looses Internet Access after 20’+ Away from Router But Maintains Connection #8891
Comments
thaitran: Symptom persistent with openwrt-19.07-snapshot-r10269. |
zapzap1: The bug affects me and one more person as well (OP here and there are the same), [[https://forum.openwrt.org/t/archer-c50-v4-mac80211-looses-internet-access-after-20-away-from-router-but-maintains-connection/53575/13|see]]. I had the problem with no extra packages installed, right after flashing 19.0.7. I'm 99% sure there is a small improvement by setting: Thanks for your time. |
zapzap1: I have some additional info. When I restart the 2.4GHz interface there are two error messages in the system log that do not appear when restarting the 5GHz interface:
#More stuff above
Thu Jan 30 01:55:04 2020 user.notice mac80211: Failed command: iw phy phy0 set antenna 0xffffffff 0xffffffff
Thu Jan 30 01:55:05 2020 daemon.err hostapd: Configuration file: /var/run/hostapd-phy0.conf
#More stuff below
Investigating the first error If I re-run the the first command on the terminal I get:
~# iw phy phy0 set antenna 0xffffffff 0xffffffff
command failed: Not supported (-122)
I could not find any information about the error code on the web. The output of of "wl list" is: https://pastebin.com/raw/66UYQyvK Some interesting things to notice are:
command failed: Not supported (-122)
The codes above 0x3 and up to 0xf gave the error:
command failed: Invalid argument (-22)
Investigating the second error The contents of the file " /var/run/hostapd-phy0.conf" are here: https://pastebin.com/raw/rwQrWabE Some interesting things to note are:
hw_mode=g
3.On the Web GUI "Isolate clients" is not set. Finally I set the kernel log leave to 7 (debug, highest) and dmesg gave a normal output after restarting phy0(2.4GHz)
[ 1249.141474] device wlan0 left promiscuous mode
[ 1249.146112] br-lan: port 2(wlan0) entered disabled state
[ 1249.970349] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 1249.994203] br-lan: port 2(wlan0) entered blocking state
[ 1249.999701] br-lan: port 2(wlan0) entered disabled state
[ 1250.005499] device wlan0 entered promiscuous mode
[ 1250.010421] br-lan: port 2(wlan0) entered blocking state
[ 1250.015809] br-lan: port 2(wlan0) entered forwarding state
[ 1250.179960] br-lan: port 2(wlan0) entered disabled state
[ 1250.598653] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 1250.605402] br-lan: port 2(wlan0) entered blocking state
[ 1250.610831] br-lan: port 2(wlan0) entered forwarding state
|
zapzap1: Update: I think I found the problem but I still do not how to fix it. This gives me improvements on the receiving power. When doing a scan from the router I can now find networks that I couldn't before. On the other hand I'm not able to change the transmission power. I tried many values, large and small. Those commands do not return any error and return 0 to the shell. Yet the transmission power of the interface remains unchanged (1.0 dBm):
I found [[https://dev.archive.openwrt.org/ticket/20369|this ticket]] reporting the same problem with a different router that uses same driver (mt76). The driver has had problems setting power before. Update: Of course 90% of the links on the linked ticket are broken and now I'm in the dark. |
zapzap1: I opened a bug report on the kernel mail list: https://bugzilla.kernel.org/show_bug.cgi?id=206363 |
adrianschmutzler: I'm also having problems with low range on 2.4 GHz. I'm using EU 4.2 HW version and self-built 19.07 from 2020-02-25. However, for me txpower is shown as 20 dB which is the allowed maximum (with 0 dB antenna_gain!). Has anybody tested this with master? |
adrianschmutzler: Seems to be similar on master ... |
zapzap1: You can improve antenna gain with: This improves the receiving signal strength considerably. With this I'm able to see networks that I couldn't before. Unfortunately we still do not have any replies on the kernel bug report. |
adrianschmutzler: What you do with antenna_gain here is just reducing the txpower: So, having better receiving quality seems to be a result of the reduced transmitting power here, and thus isn't really helpful after all ... |
ronasimi: There's a proposed fix on the forum: https://forum.openwrt.org/t/archer-c50-v4-mac80211-looses-internet-access-after-20-away-from-router-but-maintains-connection/53575/49 |
rotanid: serious problem also with my c50v4 devices... |
darkmaxx1: Compiled with this patch Works on my C50v4 |
bill888: Fixed from 19.07.7 stable release [[https://github.com/openwrt/mt76/commit/4ba1709c399b2f78ee987c1f0aff2b5da623244b|mt76: mt7603: add additional EEPROM chip ID]] |
Hi, I installed openwrt (version 21.02.3 and 22.03.rc4), on Arche C50v4. For a while it worked great! However, after a while the 2.4ghz wifi disappeared and the connected equipment could no longer be found. I couldn't find a frequency or extado monent. It used to occur when data consumption increased (donwloado in pc, use of tv and cell phones at the same time). Can anyone help? |
thaitran:
Supply the following if possible:
Problem Device:
TP-Link Archer C50 (Canadian) v4 + v4.2
Software version:
openwrt 19.07 r10860, default packages versions.
Steps to reproduce:
Setup wireless like below. I've intentionally left encryption set to "none" for both radio's for quick testing but i've tested with WPA2 CCMP encryption with no change in results.
config wifi-device 'radio0'
option type 'mac80211'
option channel '11'
option hwmode '11g'
option path 'platform/10300000.wmac'
option htmode 'HT20'
option legacy_rates '0'
option country 'CA'
config wifi-iface 'default_radio0'
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'OpenWrt'
option encryption 'none'
config wifi-device 'radio1'
option type 'mac80211'
option hwmode '11a'
option path 'pci0000:00/0000:00:00.0/0000:01:00.0'
option htmode 'VHT80'
option channel '112'
option legacy_rates '0'
option country 'CA'
config wifi-iface 'default_radio1'
option device 'radio1'
option network 'lan'
option mode 'ap'
option ssid 'OpenWrt'
option encryption 'none'
Alternative Settings:
htmode 'HT40' No change in results
channel '1', '6', '11' No change in results
disassoc_low_ack '0' No change in results
The text was updated successfully, but these errors were encountered: