Internet sort of comes and goes on Linux (Ubuntu)

This is a weird one. On my framework, my internet goes down partially every few minutes. By partially I mean that I suddently can ping some addresses but I can ping others (I say ping but this also afffects browsing, of course).

For example, I can always ping 8.8.8.8 no matter what, but some other IPs stop responding for 3 minutes or so and then they can back.

I can at the same time be connected to my Raspberry Pi (connected to the same network) from my framework (i.e. that connectivity is up all the time) and ping those IP addresses and I get replies to 100% of packets as expected.

I can even run a speedtest, no problem, and I get great speeds.

So it doesn’t seem like a Wifi (as in the waves part of it) problem but some kind of driver problem…

Ideas? :slight_smile:

1 Like

It does not sound like you have eliminated a few possibilities. A driver, connection, or hardware issue on your laptop would mean that you have no (or slow) connectivity across the board, not spotty connectivity to various IP addresses but not others.

You mention the ping program. You should check out traceroute or mtr programs, and try running tests with them the next time the connectivity issue presents itself. ping will give you a “yes” or “no” on connectivity, whereas traceroute and mtr will show you where the connection is possibly having a problem.

My guess is that your ISP experienced problems, possibly with their service provider, and you noticed it.

Self replying in case it helps. For now, this has made the problem tolerable:

  • In the router (mine is an AmpliFi Alien), enable multiple SSID
  • Connect the the 5G one (I tried the rest, but this is the only one that was stable)

There is a price to pay in speed here - from 120 Mbit/s to 60 for me, but for my usage that’s still plenty and I prefer to focus on other things for now.

@ Russ_Edwards The ISP was off the hook from the start because I as mentioned my Raspberry Pi (and well, everything else at home) was able to connect everywhere just fine.

I still don’t know why I could reach some IPs and not others though. For now I’m using 5G instead of Wifi 6, which is acceptable.

If you run dmesg | grep iwl or swap iwl to wlan you might see some hints whether your wireless card disconnected. If you use journalctl you can use -u to target a specific unit like network-manager (maybe not the exact name).

Linux support for the AX210 has been a work in progress. There were a few kernel versions where the AX210 was unstable.

What kernel version are you using? (“uname -r” in a terminal)

Support was OK for me with a few 5.11 kernels but not in other versions. I didn’t test 5.13 but 5.14 is working perfectly for me.

The “I can’t live that this” situation was solved by not using Wifi 6. But there’s still problems that happen during speedtest, like this:

44665.889875] iwlwifi 0000:aa:00.0: regular scan timed out
[44665.891752] iwlwifi 0000:aa:00.0: Microcode SW error detected. Restarting 0x0.
[44665.892021] iwlwifi 0000:aa:00.0: Start IWL Error Log Dump:
[44665.892022] iwlwifi 0000:aa:00.0: Status: 0x00000040, count: 6
[44665.892023] iwlwifi 0000:aa:00.0: Loaded firmware version: 59.601f3a66.0 ty-a0-gf-a0-59.ucode
[44665.892025] iwlwifi 0000:aa:00.0: 0x00000084 | NMI_INTERRUPT_UNKNOWN
[44665.892026] iwlwifi 0000:aa:00.0: 0x20008CF0 | trm_hw_status0
[44665.892027] iwlwifi 0000:aa:00.0: 0x00000000 | trm_hw_status1
[44665.892028] iwlwifi 0000:aa:00.0: 0x004D9BDC | branchlink2
[44665.892028] iwlwifi 0000:aa:00.0: 0x00008414 | interruptlink1
[44665.892029] iwlwifi 0000:aa:00.0: 0x00008414 | interruptlink2
[44665.892030] iwlwifi 0000:aa:00.0: 0x00004CF0 | data1
[44665.892030] iwlwifi 0000:aa:00.0: 0x01000000 | data2
[44665.892031] iwlwifi 0000:aa:00.0: 0x00000000 | data3
[44665.892032] iwlwifi 0000:aa:00.0: 0xA4007771 | beacon time
[44665.892033] iwlwifi 0000:aa:00.0: 0x41F11890 | tsf low
[44665.892033] iwlwifi 0000:aa:00.0: 0x00000172 | tsf hi
[44665.892034] iwlwifi 0000:aa:00.0: 0x00000000 | time gp1
[44665.892035] iwlwifi 0000:aa:00.0: 0xDA1C1878 | time gp2
[44665.892035] iwlwifi 0000:aa:00.0: 0x00000001 | uCode revision type
[44665.892036] iwlwifi 0000:aa:00.0: 0x0000003B | uCode version major
[44665.892037] iwlwifi 0000:aa:00.0: 0x601F3A66 | uCode version minor
[44665.892038] iwlwifi 0000:aa:00.0: 0x00000420 | hw version
[44665.892038] iwlwifi 0000:aa:00.0: 0x00C89002 | board version
[44665.892039] iwlwifi 0000:aa:00.0: 0x809EFC04 | hcmd
[44665.892040] iwlwifi 0000:aa:00.0: 0xE6EA8000 | isr0
[44665.892040] iwlwifi 0000:aa:00.0: 0x01000000 | isr1
[44665.892041] iwlwifi 0000:aa:00.0: 0x48F00002 | isr2
[44665.892042] iwlwifi 0000:aa:00.0: 0x00C37FDF | isr3
[44665.892042] iwlwifi 0000:aa:00.0: 0x00000000 | isr4
[44665.892043] iwlwifi 0000:aa:00.0: 0x0561001C | last cmd Id
[44665.892044] iwlwifi 0000:aa:00.0: 0x00004CF0 | wait_event
[44665.892044] iwlwifi 0000:aa:00.0: 0x000000B4 | l2p_control
[44665.892045] iwlwifi 0000:aa:00.0: 0x00000020 | l2p_duration
[44665.892046] iwlwifi 0000:aa:00.0: 0x0000000F | l2p_mhvalid
[44665.892047] iwlwifi 0000:aa:00.0: 0x00C700D8 | l2p_addr_match
[44665.892047] iwlwifi 0000:aa:00.0: 0x00000009 | lmpm_pmg_sel
[44665.892048] iwlwifi 0000:aa:00.0: 0x00000000 | timestamp
[44665.892049] iwlwifi 0000:aa:00.0: 0x00003030 | flow_handler
[44665.892260] iwlwifi 0000:aa:00.0: Start IWL Error Log Dump:
[44665.892261] iwlwifi 0000:aa:00.0: Status: 0x00000040, count: 7
[44665.892261] iwlwifi 0000:aa:00.0: 0x20000066 | NMI_INTERRUPT_HOST
[44665.892262] iwlwifi 0000:aa:00.0: 0x00000000 | umac branchlink1
[44665.892263] iwlwifi 0000:aa:00.0: 0x8045D8DE | umac branchlink2
[44665.892264] iwlwifi 0000:aa:00.0: 0x804815AC | umac interruptlink1
[44665.892264] iwlwifi 0000:aa:00.0: 0x804815AC | umac interruptlink2
[44665.892265] iwlwifi 0000:aa:00.0: 0x01000000 | umac data1
[44665.892266] iwlwifi 0000:aa:00.0: 0x804815AC | umac data2
[44665.892266] iwlwifi 0000:aa:00.0: 0x00000000 | umac data3
[44665.892267] iwlwifi 0000:aa:00.0: 0x0000003B | umac major
[44665.892268] iwlwifi 0000:aa:00.0: 0x601F3A66 | umac minor
[44665.892268] iwlwifi 0000:aa:00.0: 0xDA1C1D5C | frame pointer
[44665.892269] iwlwifi 0000:aa:00.0: 0xC0886264 | stack pointer
[44665.892270] iwlwifi 0000:aa:00.0: 0x0080010D | last host cmd
[44665.892270] iwlwifi 0000:aa:00.0: 0x00000400 | isr status reg
[44665.892456] iwlwifi 0000:aa:00.0: IML/ROM dump:
[44665.892457] iwlwifi 0000:aa:00.0: 0x00000B03 | IML/ROM error/state
[44665.892468] iwlwifi 0000:aa:00.0: 0x000077AD | IML/ROM data1
[44665.892478] iwlwifi 0000:aa:00.0: 0x00000080 | IML/ROM WFPM_AUTH_KEY_0
[44665.892485] iwlwifi 0000:aa:00.0: Fseq Registers:
[44665.892531] iwlwifi 0000:aa:00.0: 0x60000000 | FSEQ_ERROR_CODE
[44665.892577] iwlwifi 0000:aa:00.0: 0x00440002 | FSEQ_TOP_INIT_VERSION
[44665.892623] iwlwifi 0000:aa:00.0: 0x00040090 | FSEQ_CNVIO_INIT_VERSION
[44665.892669] iwlwifi 0000:aa:00.0: 0x0000A652 | FSEQ_OTP_VERSION
[44665.892716] iwlwifi 0000:aa:00.0: 0x00000002 | FSEQ_TOP_CONTENT_VERSION
[44665.892762] iwlwifi 0000:aa:00.0: 0x4552414E | FSEQ_ALIVE_TOKEN
[44665.892808] iwlwifi 0000:aa:00.0: 0x00400410 | FSEQ_CNVI_ID
[44665.892854] iwlwifi 0000:aa:00.0: 0x00400410 | FSEQ_CNVR_ID
[44665.892900] iwlwifi 0000:aa:00.0: 0x00400410 | CNVI_AUX_MISC_CHIP
[44665.892946] iwlwifi 0000:aa:00.0: 0x00400410 | CNVR_AUX_MISC_CHIP
[44665.892992] iwlwifi 0000:aa:00.0: 0x00009061 | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
[44665.893038] iwlwifi 0000:aa:00.0: 0x00000061 | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
[44665.893387] iwlwifi 0000:aa:00.0: WRT: Collecting data: ini trigger 4 fired.
[44665.893390] ieee80211 phy0: Hardware restart was requested
[44667.536963] wlp170s0: deauthenticated from fe:92:bf:76:11:f0 (Reason: 34=DISASSOC_LOW_ACK)
[44705.268473] wlp170s0: authenticate with fe:92:bf:76:11:f0
[44705.275789] wlp170s0: send auth to fe:92:bf:76:11:f0 (try 1/3)
[44705.308314] wlp170s0: authenticated
[44705.309458] wlp170s0: associate with fe:92:bf:76:11:f0 (try 1/3)
[44705.312172] wlp170s0: RX AssocResp from fe:92:bf:76:11:f0 (capab=0x511 status=0 aid=1)
[44705.326186] wlp170s0: associated
[44705.358040] wlp170s0: Limiting TX power to 27 (30 - 3) dBm as advertised by fe:92:bf:76:11:f0
[44705.389897] IPv6: ADDRCONF(NETDEV_CHANGE): wlp170s0: link becomes ready
[49973.728007] wlp170s0: Connection to AP fe:92:bf:76:11:f0 lost
[50011.461232] wlp170s0: authenticate with fe:92:bf:76:11:f0
[50011.467746] wlp170s0: send auth to fe:92:bf:76:11:f0 (try 1/3)
[50011.500425] wlp170s0: authenticated
[50011.502414] wlp170s0: associate with fe:92:bf:76:11:f0 (try 1/3)
[50011.505186] wlp170s0: RX AssocResp from fe:92:bf:76:11:f0 (capab=0x511 status=0 aid=1)
[50011.520798] wlp170s0: associated