Loosing internet after 7 seconds everytime I reconnect to my box wifi

Hello,

I’m facing a very weird bug that prevents me from using internet from my box.

When I connect to the network, first I have internet but after ~7 seconds, I’m loosing the connection and I cannot ping 8.8.8.8 anymore (the next ping line just never shows up)

Also, sometime I can connect to my box for hours until it stop working.

If I disconnect and the reconnect to the same wifi, then I have internet for ~7 seconds and then it disappear again.

If I connect to my phone wifi, everything is fine and I can use internet without limits.

If I connect my phone to the box wifi, everything is also fine.

If I had some video/audio streaming from Google Meet running when internet stop working then the streaming is not closed.

Here is some informations about my system:

$ lspci | grep Network 
72:00.0 Network controller: Intel Corporation Wi-Fi 6 AX210/AX211/AX411 160MHz (rev 1a)

$ uname -r      
5.15.65-1-MANJARO

If anyone has any idea about whats going on it would be amazing :melting_face:

Hi @Aschen ,
Welcome to the forum, I wonder whether you could read this post in order to solve your problem.

Hope it helps, the user with a similar problem solved the issue installing the kernel linux61. I suggest you to give a try.

Regards,

Hello @j8a,

Which post are you refering to? I would be glad to read it and eventualy fix my issue

Regards,

see above

Hi @Aschen and @jrichard326 ,
Here is the link, I forgot the copy and paste.
AX210 wifi failing to connect after resume from suspend - #4 by federation

Regards

Hi,

I installed the linux61 kernel but I still have the same problem.

I noticed something really weird, I was in a video call and the internet stopped working (no more ping, cannot open any web page) but the video/audio flux were still streaming and I could finish my meeting.

I really have no idea what can cause this but it feels like a firewal rule active only on new connection.

Hi @Aschen ,

Do you setup any firewall on the machine?. Next time, disable it and try to do the meeting.

Could you post the output of this terminal command, at the time the internet stopped working:

journalctl -u NetworkManager | tail

Regards

Hi @j8a,

I don’t have any firewal on my computer.

I already looked at the output of journalctl -u NetworkManager | tail and I saw nothing suspect:

journalctl -u NetworkManager | tail      
févr. 16 12:15:40 gordon NetworkManager[871]: <info>  [1676546140.5848] device (wlp114s0): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
févr. 16 12:15:40 gordon NetworkManager[871]: <info>  [1676546140.5850] dhcp4 (wlp114s0): activation: beginning transaction (timeout in 45 seconds)
févr. 16 12:15:40 gordon NetworkManager[871]: <info>  [1676546140.6137] dhcp4 (wlp114s0): state changed new lease, address=192.168.0.82
févr. 16 12:15:40 gordon NetworkManager[871]: <info>  [1676546140.6140] policy: set 'Fibertel WiFi764 2.4GHz' (wlp114s0) as default for IPv4 routing and DNS
févr. 16 12:15:40 gordon NetworkManager[871]: <info>  [1676546140.6182] device (wlp114s0): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'managed')
févr. 16 12:15:40 gordon NetworkManager[871]: <info>  [1676546140.6825] device (wlp114s0): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed')
févr. 16 12:15:40 gordon NetworkManager[871]: <info>  [1676546140.6827] device (wlp114s0): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed')
févr. 16 12:15:40 gordon NetworkManager[871]: <info>  [1676546140.6829] manager: NetworkManager state is now CONNECTED_SITE
févr. 16 12:15:40 gordon NetworkManager[871]: <info>  [1676546140.6855] device (wlp114s0): Activation: successful, device activated.
févr. 16 12:15:41 gordon NetworkManager[871]: <info>  [1676546141.2796] manager: NetworkManager state is now CONNECTED_GLOBAL

I also compared the routing tables before and after loosing connection and there is no change

I bought a RJ45 cable today and try to connect directly to the box but it’s not working either.

I tried the same cable with my girlfriend computer running Ubuntu and it’s working like a charm.

Any idea what can cause this?

Any weird output from sudo dmesg -H?

Hi @Aschen
The output of the Network Manager says you are connected at the time you run the command, I wonder whether you could post the output of the same command when you lose the connection.

Please consider to also put the output of another terminal command:

journalctl -p 3 -xb | grep NetworkManager

Regards,

Hi @j8a,

The wifi connection is never lost, it’s only the underlaying access to internet that is lost.
Here is a video so you can have a better understanding: webm[DOT]red/view/Zm0q.webm

  • Aschen is my wifi, I’m connected to it when the video starts
  • Then I connect to Fibertel, the wifi of the box
  • The ping goes and then stops
  • I deco/reco
  • The ping goes and then stops

The command journalctl -p 3 -xb | grep NetworkManager does not give any output.

@jmagder I made a video as well with sudo dmesg -H -w webm[DOT]red/Jwap
The output is here:

[  +0,000694] wlp114s0: deauthenticating from 98:9d:5d:52:f7:60 by local choice (Reason: 3=DEAUTH_LEAVING)
[  +1,530589] audit: type=1111 audit(1676630825.323:1958): pid=871 uid=0 auid=4294967295 ses=4294967295 msg='op=connection-activate uuid=b98ea9c3-b58d-4f2f-98e5-b90e3b2ab13c name=466962657274656C205769466937363420322E3447487A pid=1131 uid=1000 result=success exe="/usr/bin/NetworkManager" hostname=? addr=? terminal=? res=success'
[  +1,176895] wlp114s0: authenticate with 98:9d:5d:52:f7:60
[  +0,000018] wlp114s0: 80 MHz not supported, disabling VHT
[  +0,008253] wlp114s0: send auth to 98:9d:5d:52:f7:60 (try 1/3)
[  +0,098439] wlp114s0: authenticated
[  +0,003862] wlp114s0: associate with 98:9d:5d:52:f7:60 (try 1/3)
[  +0,015057] wlp114s0: RX AssocResp from 98:9d:5d:52:f7:60 (capab=0x411 status=0 aid=1)
[  +0,017050] wlp114s0: associated
[  +0,125100] IPv6: ADDRCONF(NETDEV_CHANGE): wlp114s0: link becomes ready
[  +0,058893] audit: type=1111 audit(1676630826.826:1959): pid=871 uid=0 auid=4294967295 ses=4294967295 msg='op=statistics interface="wlp114s0" ifindex=3 args=2000 pid=1131 uid=1000 result=success exe="/usr/bin/NetworkManager" hostname=? addr=? terminal=? res=success'
[  +0,413964] audit: type=1111 audit(1676630827.243:1960): pid=871 uid=0 auid=4294967295 ses=4294967295 msg='op=statistics interface="wlp114s0" ifindex=3 args=0 pid=1131 uid=1000 result=success exe="/usr/bin/NetworkManager" hostname=? addr=? terminal=? res=success'
[  +6,558385] audit: type=1131 audit(1676630833.803:1961): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

As I said, I have the same problem with a cable connection (RJ45) and one I lost internet during a meeting and the audio/video streams did not stop.

Unfortunately I don’t know the network stack enough to diagnose the problem so if anyone can helps me with some commands that I could run before and after I loose the internet connection it would be great.

First and foremost: try disabling any power saving mechanisms before trying to diagnose any such problem.

Do you see the same problem:

  • On your machine when not using your “internet box”?
  • On other machines/deviced connected to the same “internet box”?
  • When booting a live iso?

I did disable any kind of power optimization.

On your other points:

  • I can connect to internet by using my phone wifi access point without any issue
  • My girlfriend use the same internet box (we can say router :wink: ) and everything works like a charm
  • I tried to boot on Ubuntu live CD and I couldn’t even see the wifi interface in the network manager. Any recommandation on another distro I could try?

Thanks

Some news here, I was able (I think) to identify what cause the issue.

When I start the Docker service, few time after I’m experiencing the problems listed above but when I use my computer without starting Docker then I never loose my internet connection.

It’s really hard for me to work without Docker but even harder to work without internet. Is there any way I could troubleshoot what is happening here and eventually fix it?

I finally managed to fix the issue, I installed windows and everything is fine

Without joking, it was one of my Docker network that was messing with my routing table I think because I deleted all the Docker network and everything is fine. (docker network prune)