You are not logged in.

#1 2019-08-29 13:21:03

blueteeth
Member
Registered: 2019-08-29
Posts: 7

Wifi Issue: Traffic dropped after several minutes.

Been struggling with this for a few days, not sure what to do.

Recently had Gigabit Fibre to the door installed. It came with it's own router. The house I live in is pretty big, so there are APs throughout. They are setup to broadcast an SSID, but to take configuration from whatever the router is doing. The old router used 10.0.0.0/24, and when you connected to any APs in the house, you got an address on that subnet. Now the new router is using 192.168.100.0/24, which the APs seem to have picked up.

Indeed on my phone, and chromecast connect just fine, and have a valid IP address. I can see the IP address of my laptop (ThinkPad X1 6th Gen)  in the routing table on the router. I am connected to an AP with full strength. When I connect, everything seems fine. Then after a few minutes all the traffic seems to be completely dropped except for connections within the network -- I can successfully connect to the router, and to a server I have.

When I connect directly to the router (I have a different SSID so I can always configure it even if I mess up the APs), If the router is broadcasting on both 5GHz and 2.4Ghz at the same time, I can't connect at all. If I separate the 2.4G and 5G networks I have the same issue as above. This is especially weird because the APs broadcast 2.4G and 5G and I can connect to all of them at least for a few minutes.

I have no problem connecting to other wireless networks such as my phone hotspot, coffee shops, or the old system with the old router.

It sounds a bit like this https://bbs.archlinux.org/viewtopic.php?id=248257 except I can access other things on the network, and I don't have any VPN installed.

The driver is iwlwifi. I've tried messing around with some driver parameters as described by the wiki, but it didn't change anything.

Any ideas welcome. I'm thinking maybe it's to do with the standard implemented by the new router. But I'm not sure how that would effect the APs, as they are connected over ethernet.

02:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)
        Subsystem: Intel Corporation Dual Band Wireless-AC 8265
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi
$ ip addr show dev wl0
3: wl0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether a0:a4:c5:b3:05:10 brd ff:ff:ff:ff:ff:ff
    inet 192.168.100.8/24 brd 192.168.100.255 scope global noprefixroute wl0
       valid_lft forever preferred_lft forever
    inet6 fe80::a2a4:c5ff:feb3:510/64 scope link
       valid_lft forever preferred_lft forever
$ ip route show dev wl0
default via 192.168.100.1 proto dhcp src 192.168.100.8 metric 303
192.168.100.0/24 proto dhcp scope link src 192.168.100.8 metric 303
systemctl status netctl-auto@wl0.service
● netctl-auto@wl0.service - Automatic wireless network connection using netctl profiles
   Loaded: loaded (/usr/lib/systemd/system/netctl-auto@.service; enabled; vendor preset: disabled)
   Active: active (running) since Thu 2019-08-29 14:02:50 BST; 8min ago
     Docs: man:netctl.special(7)
  Process: 1361 ExecStart=/usr/bin/netctl-auto start wl0 (code=exited, status=0/SUCCESS)
    Tasks: 3 (limit: 4915)
   Memory: 8.6M
   CGroup: /system.slice/system-netctl\x2dauto.slice/netctl-auto@wl0.service
           ├─ 2051 wpa_supplicant -q -B -P /run/wpa_supplicant-wl0.pid -i wl0 -D nl80211,wext -c/run/>
           ├─ 2067 wpa_cli -i wl0 -p /run/wpa_supplicant -B -a /usr/lib/netctl/auto.action
           └─14643 dhcpcd -4 -q -t 30 -K -L wl0

Aug 29 14:09:41 helios dhcpcd[12292]: wl0: deleting default route via 192.168.43.241
Aug 29 14:09:41 helios dhcpcd[12292]: dhcpcd exited
Aug 29 14:09:41 helios dhcpcd[14489]: DUID 00:04:d0:8a:85:4c:29:e6:11:b2:a8:5c:9c:3b:cd:8d:4a:8c
Aug 29 14:09:41 helios dhcpcd[14489]: wl0: IAID c5:b3:05:10
Aug 29 14:09:42 helios dhcpcd[14489]: wl0: rebinding lease of 192.168.100.8
Aug 29 14:09:42 helios dhcpcd[14489]: wl0: probing address 192.168.100.8/24
Aug 29 14:09:48 helios dhcpcd[14489]: wl0: leased 192.168.100.8 for 86400 seconds
Aug 29 14:09:48 helios dhcpcd[14489]: wl0: adding route to 192.168.100.0/24
Aug 29 14:09:48 helios dhcpcd[14489]: wl0: adding default route via 192.168.100.1
Aug 29 14:09:48 helios dhcpcd[14489]: forked to background, child pid 14643

Last edited by blueteeth (2019-08-29 13:24:11)

Offline

#2 2019-08-30 10:24:26

UnwillingFirehose
Member
From: UK
Registered: 2014-12-09
Posts: 17

Re: Wifi Issue: Traffic dropped after several minutes.

This sounds like your router is dropping connectivity to the Internet? When this happens can you establish any kind of connection to the internet, from something connected over ethernet, or from the router itself?

Offline

#3 2019-08-30 10:27:51

blueteeth
Member
Registered: 2019-08-29
Posts: 7

Re: Wifi Issue: Traffic dropped after several minutes.

It's not the router that's dropping the connection, because other devices connected (directly or indirectly) to the router have a good connection to the internet. Fast. No evidence of any problem except for my laptop.

Offline

#4 2019-08-30 10:47:57

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: Wifi Issue: Traffic dropped after several minutes.

Post/check your dmesg when the issue happens

Offline

#5 2019-08-31 13:24:28

digitalone
Member
Registered: 2011-08-19
Posts: 328

Re: Wifi Issue: Traffic dropped after several minutes.

iwlwifi kernel module is bugged. I also have an Intel WiFi card and had issues of connection drop in the last months. It usually happens when the transfer rate is high and the only solution is to stop and restart the connection.

Struggled to resolve this issue, I installed other network managers, even drop wpa_supplicant to use iwd, but nothing changed. Ended up to blacklist iwlwifi and bought an Asus AC53 nano USB WiFi adapter and connection works like a charm.

Last edited by digitalone (2019-08-31 13:25:47)

Offline

#6 2019-09-05 10:20:07

blueteeth
Member
Registered: 2019-08-29
Posts: 7

Re: Wifi Issue: Traffic dropped after several minutes.

Sorry for the delay, I've been away for a bit.

Here's my dmesg from when I connect to when the issue happens. There is literally no change. The limiting TX power bit happens when I connect. I was able to do a speed test (530Mbps/460Mbps) and browse to a few sites, then very slow connection for about a minute, and then no connection at all. Couldn't even ping a site.

[11201.733931] wl0: authenticate with 04:bd:70:54:e6:a0
[11201.742984] wl0: send auth to 04:bd:70:54:e6:a0 (try 1/3)
[11201.745128] wl0: authenticated
[11201.746814] wl0: associate with 04:bd:70:54:e6:a0 (try 1/3)
[11201.749480] wl0: RX AssocResp from 04:bd:70:54:e6:a0 (capab=0x411 status=0 aid=1)
[11201.752455] wl0: associated
[11201.766053] wl0: Limiting TX power to 23 (23 - 0) dBm as advertised by 04:bd:70:54:e6:a0
digitalone wrote:

iwlwifi kernel module is bugged. I also have an Intel WiFi card and had issues of connection drop in the last months. It usually happens when the transfer rate is high and the only solution is to stop and restart the connection.

I can believe the iwlwifi kernel is bugged, but when I was at university I didn't have any problems. When connecting to the university wifi, in the computer science labs I could regularly get 800Mbps+ if no one else was around. Why didn't my connection drop then?

Edit: Also when I just connect to the 2.4GHz Network, I still get the problem.


digitalone wrote:

Ended up to blacklist iwlwifi and bought an Asus AC53 nano USB WiFi adapter and connection works like a charm.

I could give this a go, but I'd rather not have a USB socket constantly in use, nor something sticking out the side, even if it's small. Do you know what I can get to replace the internal wifi card?

Last edited by blueteeth (2019-09-05 11:34:46)

Offline

#7 2019-09-05 12:02:51

blueteeth
Member
Registered: 2019-08-29
Posts: 7

Re: Wifi Issue: Traffic dropped after several minutes.

I thought I should also check the settings between the old and new routers as well. Forgetting about the APs, I'm just sitting next to both routers.

The old one is broadcasting A: 2.4GHz; 802.11b/g/n. 

The new one is broadcasting two networks:

B: 2.4GHz; 802.11b/g/n; Channel Width 20MHz/40MHz auto
B-5G: 5GHz; 802.11a/n/ac; Channel width 20/40/80MHz auto


Interestingly when I change B from auto channels to 20 or 40MHz, I get about 80Mbps or 150Mbps up and down respectively, instead of 20 when it's on auto.

Another weird symptom I'm also noticing is that when the connection drops connections to google.com and google.co.uk hang on for slightly longer. For example trying to get to archlinux.org loads for a long time and then gets "Server not found". But searching on Google for "Arch Linux" brings up many results, it's just that I can't navigate to any of them. I'm not seeing caching in action, because it still works to google things that I've never searched for before, and I'm seeing up to date news results. Eventually connections to google also go down. Perhaps this is a DNS issue?

I'm using dnsmasq and it looks fine other than the 10.0.0.254 address, which is the address of the old router. Not sure why it's here or being included from.

$ systemctl status dnsmasq.service
● dnsmasq.service - A lightweight DHCP and caching DNS server
   Loaded: loaded (/usr/lib/systemd/system/dnsmasq.service; enabled; vendor preset: disabled)
   Active: active (running) since Thu 2019-09-05 12:12:50 BST; 42min ago
     Docs: man:dnsmasq(8)
  Process: 13737 ExecStartPre=/usr/bin/dnsmasq --test (code=exited, status=0/SUCCESS)
  Process: 13741 ExecReload=/bin/kill -HUP $MAINPID (code=exited, status=0/SUCCESS)
 Main PID: 13738 (dnsmasq)
    Tasks: 1 (limit: 4915)
   Memory: 2.3M
   CGroup: /system.slice/dnsmasq.service
           └─13738 /usr/bin/dnsmasq -k --enable-dbus --user=dnsmasq --pid-file

Sep 05 12:40:44 helios dnsmasq[13738]: setting upstream servers from DBus
Sep 05 12:40:44 helios dnsmasq[13738]: using nameserver 2620:fe::9#53
Sep 05 12:40:44 helios dnsmasq[13738]: using nameserver 2620:fe::fe#53
Sep 05 12:40:44 helios dnsmasq[13738]: using nameserver 149.112.112.112#53
Sep 05 12:40:44 helios dnsmasq[13738]: using nameserver 9.9.9.9#53
Sep 05 12:40:44 helios dnsmasq[13738]: using nameserver 10.0.0.254#53 for domain lan
Sep 05 12:40:44 helios dnsmasq[13738]: using nameserver 192.168.100.1#53

Also just noticed another point, maybe for broken iwlwifi driver, is that immediately after the issue arises, if I run wifi-menu, the only option it gives is the network I'm connected to. Perhaps it's stopped scanning? Subsequent wifi-menu runs give more options.

Offline

#8 2019-09-07 02:52:10

Brocellous
Member
Registered: 2017-11-27
Posts: 134

Re: Wifi Issue: Traffic dropped after several minutes.

Does your issue perhaps match the symptoms described by users in this thread? https://bugzilla.kernel.org/show_bug.cgi?id=203709

Offline

#9 2019-09-07 08:24:08

blueteeth
Member
Registered: 2019-08-29
Posts: 7

Re: Wifi Issue: Traffic dropped after several minutes.

Brocellous wrote:

Does your issue perhaps match the symptoms described by users in this thread? https://bugzilla.kernel.org/show_bug.cgi?id=203709

Not really. The issue I have isn't intermittent connect and disconnect, it's connect and then after a few minutes disconnect with no recovery except to restart the connection.

Also the issue happens with two different wireless interfaces: the original Intel 8265 (iwlwifi) and a new usb ASUS AC53 Nano (rlt88x2bu).

Last edited by blueteeth (2019-09-07 08:27:11)

Offline

#10 2019-09-07 09:21:58

blueteeth
Member
Registered: 2019-08-29
Posts: 7

Re: Wifi Issue: Traffic dropped after several minutes.

I think this issue a configuration issue somewhere system. Despite having very odd connections and symptoms that seem to be router related, when I live boot into Ubuntu all the issues go away.

I will try changing to NM in Arch, and some other stuff. Thanks all for your help.

Offline

#11 2019-09-07 12:17:47

digitalone
Member
Registered: 2011-08-19
Posts: 328

Re: Wifi Issue: Traffic dropped after several minutes.

blueteeth wrote:

I could give this a go, but I'd rather not have a USB socket constantly in use, nor something sticking out the side, even if it's small. Do you know what I can get to replace the internal wifi card?

I don't think you can replace the internal wifi chipset.

blueteeth wrote:

Also the issue happens with two different wireless interfaces: the original Intel 8265 (iwlwifi) and a new usb ASUS AC53 Nano (rlt88x2bu).

So you bought it. I'm still using it without issues.

Did you blacklist iwlwifi kernel module? What networkmanager are you using? I'm on plasma-nm (networkmanager).

blueteeth wrote:

I will try changing to NM in Arch, and some other stuff. Thanks all for your help.

Remember to disable all other installed network manangers before to enable NetworkManager.service

Last edited by digitalone (2019-09-07 12:23:37)

Offline

#12 2019-09-07 13:06:56

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,445
Website

Re: Wifi Issue: Traffic dropped after several minutes.

digitalone wrote:

I don't think you can replace the internal wifi chipset.

On every computer I've had the wireless card has been an add-on card plugged into the MoBo - so yes it certainly is possible to replace it as long as the replacement has the same connectors and you are comfortable with some disassembly/reassembly.

But given that both the internal chip and the usb dongle are experiencing the same symptoms, it wouldn't likely help.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Online

#13 2019-09-07 13:08:54

digitalone
Member
Registered: 2011-08-19
Posts: 328

Re: Wifi Issue: Traffic dropped after several minutes.

Trilby wrote:
digitalone wrote:

I don't think you can replace the internal wifi chipset.

On every computer I've had the wireless card has been an add-on card plugged into the MoBo - so yes it certainly is possible to replace it as long as the replacement has the same connectors and you are comfortable with some disassembly/reassembly.

But given that both the internal chip and the usb dongle are experiencing the same symptoms, it wouldn't likely help.

If it's a laptop, like my case, the chipset cannot be removed.

Offline

#14 2019-09-07 13:18:52

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,445
Website

Re: Wifi Issue: Traffic dropped after several minutes.

Again, in every laptop I've ever had, it was.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Online

#15 2019-09-07 13:55:29

seth
Member
Registered: 2012-09-03
Posts: 49,985

Re: Wifi Issue: Traffic dropped after several minutes.

@digitalone, fwwi that does not imply "w/o opening the case" - usually the chip can be easily accessed (and replaced) by removing the keyboard, but it's really model specific.

Offline

#16 2019-09-08 08:45:51

blueteeth
Member
Registered: 2019-08-29
Posts: 7

Re: Wifi Issue: Traffic dropped after several minutes.

I've changed to Network Manager, and the issue is fixed. Thanks for your help.

Offline

Board footer

Powered by FluxBB