MadLittleMods / linux-notes

1 stars 0 forks source link

Internet/network not working #45

Closed MadLittleMods closed 10 months ago

MadLittleMods commented 11 months ago

My wired internet connection just stopped working after I came back overnight. This has happened multiple times before where I just restarted my computer to get going again but would be nice to get to the bottom of the problem.

I noticed that when pulling up the Network Manager GUI, it was just blank.

Blank network manager (internet not working) Network Manager when things are working

And then checking on the NetworkManager service, it wasn't even running:

$ nmcli
Warning: nmcli (1.44.2) and NetworkManager (Unknown) versions don't match. Restarting NetworkManager is advised.
Error: NetworkManager is not running.

$ sudo systemctl status NetworkManager
○ NetworkManager.service - Network Manager
     Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; enabled; preset: disabled)
     Active: inactive (dead) since Mon 2023-12-18 13:44:56 CST; 18h ago
   Duration: 2d 2h 43min 26.681s
       Docs: man:NetworkManager(8)
    Process: 67777 ExecStart=/usr/bin/NetworkManager --no-daemon (code=exited, status=0/SUCCESS)
   Main PID: 67777 (code=exited, status=0/SUCCESS)
        CPU: 4.109s

Start NetworkManager

Starting NetworkManager again got everything going :white_check_mark:

$ sudo systemctl start NetworkManager

$ sudo systemctl status NetworkManager
WARNING: terminal is not fully functional
Press RETURN to continue
● NetworkManager.service - Network Manager
     Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; enabled; preset: disabled)
     Active: active (running) since Sat 2023-12-16 11:01:29 CST; 8s ago
       Docs: man:NetworkManager(8)
   Main PID: 67777 (NetworkManager)
      Tasks: 5 (limit: 76806)
     Memory: 7.0M
        CPU: 56ms
     CGroup: /system.slice/NetworkManager.service
             └─67777 /usr/bin/NetworkManager --no-daemon

Anything interesting in the logs?

$ journalctl --pager-end --unit NetworkManager.service
[...nothing of interest]

System information/Details

$ inxi -F
System:
  Host: eric-desktop-pc Kernel: 6.1.67-2-MANJARO arch: x86_64 bits: 64
    Desktop: Xfce v: 4.18.1 Distro: Manjaro Linux
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: PRIME X670-P WIFI v: Rev 1.xx
    serial: <superuser required> UEFI: American Megatrends v: 1413
    date: 04/26/2023
CPU:
  Info: 8-core model: AMD Ryzen 7 7800X3D bits: 64 type: MT MCP cache:
    L2: 8 MiB
  Speed (MHz): avg: 2998 min/max: 3000/5049 cores: 1: 3000 2: 3000 3: 3000
    4: 3000 5: 3000 6: 2994 7: 2993 8: 3000 9: 3000 10: 3000 11: 3000 12: 3000
    13: 3000 14: 2994 15: 3000 16: 3000
Graphics:
  Device-1: AMD Navi 31 [Radeon RX 7900 XT/7900 XTX] driver: amdgpu v: kernel
  Display: x11 server: X.Org v: 21.1.9 driver: X: loaded: amdgpu
    unloaded: modesetting,radeon dri: radeonsi gpu: amdgpu
    resolution: 3840x2160~60Hz
  API: EGL v: 1.5 drivers: kms_swrast,radeonsi,swrast
    platforms: gbm,x11,surfaceless,device
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd v: N/A renderer: AMD Radeon
    RX 7900 XTX (radeonsi navi31 LLVM 16.0.6 DRM 3.49 6.1.67-2-MANJARO)
Audio:
  Device-1: AMD Navi 31 HDMI/DP Audio driver: snd_hda_intel
  Device-2: AMD Family 17h/19h HD Audio driver: snd_hda_intel
  Device-3: Audio-Technica AT2020 USB driver: snd-usb-audio type: USB
  API: ALSA v: k6.1.67-2-MANJARO status: kernel-api
  Server-1: PulseAudio v: 16.1 status: active
Network:
  Device-1: Realtek RTL8125 2.5GbE driver: r8169
  [...]
  Device-2: Realtek RTL8852BE PCIe 802.11ax Wireless Network driver: N/A
  [...]
Bluetooth:
  Device-1: IMC Networks Bluetooth Radio driver: btusb type: USB
  Report: rfkill ID: hci0 state: up address: see --recommends
  Device-2: Cambridge Silicon Radio Bluetooth Dongle (HCI mode)
    driver: btusb type: USB
  Report: ID: hci1 state: up address: N/A
inxi --admin --verbosity=7 --filter --no-host (Personally Identifiable Information like serial numbers and MAC addresses will be filtered out by the above command) ``` $ inxi --admin --verbosity=7 --filter --no-host System: Kernel: 6.1.67-2-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1 clocksource: tsc available: hpet,acpi_pm parameters: BOOT_IMAGE=/boot/vmlinuz-6.1-x86_64 root=UUID=e8e411f9-d7ac-4221-bb2c-8052f92e474f rw quiet cryptdevice=UUID=42ea82bf-14d8-4122-a190-5ae9845faa1a:luks-42ea82bf-14d8-4122-a190-5ae9845faa1a root=/dev/mapper/luks-42ea82bf-14d8-4122-a190-5ae9845faa1a splash apparmor=1 security=apparmor udev.log_priority=3 amdgpu.aspm=0 sysrq_always_enabled=1 Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm v: 4.18.0 vt: 7 dm: LightDM v: 1.32.0 Distro: Manjaro Linux base: Arch Linux Machine: Type: Desktop System: ASUS product: N/A v: N/A serial: Mobo: ASUSTeK model: PRIME X670-P WIFI v: Rev 1.xx serial: UEFI: American Megatrends v: 1413 date: 04/26/2023 Battery: Device-1: hidpp_battery_0 model: Logitech Wireless Mouse MX Master 3 serial: charge: 100% (should be ignored) rechargeable: yes status: discharging Memory: System RAM: total: 64 GiB available: 62.53 GiB used: 31.19 GiB (49.9%) RAM Report: permissions: Unable to run dmidecode. Root privileges required. CPU: Info: model: AMD Ryzen 7 7800X3D bits: 64 type: MT MCP arch: Zen 4 gen: 5 level: v4 note: check built: 2022+ process: TSMC n5 (5nm) family: 0x19 (25) model-id: 0x61 (97) stepping: 2 microcode: 0xA601203 Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache: L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 8 MiB desc: 8x1024 KiB L3: 96 MiB desc: 1x96 MiB Speed (MHz): avg: 2999 high: 3001 min/max: 3000/5049 boost: enabled scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 3000 2: 3000 3: 3000 4: 3000 5: 3000 6: 2995 7: 3000 8: 3000 9: 3000 10: 3000 11: 2991 12: 3000 13: 3000 14: 3001 15: 3000 16: 3000 bogomips: 134207 Flags: 3dnowprefetch abm adx aes amd_lbr_v2 aperfmperf apic arat avic avx avx2 avx512_bf16 avx512_bitalg avx512_vbmi2 avx512_vnni avx512_vpopcntdq avx512bw avx512cd avx512dq avx512f avx512ifma avx512vbmi avx512vl bmi1 bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy constant_tsc cpb cppc cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total cqm_occup_llc cr8_legacy cx16 cx8 de decodeassists erms extapic extd_apicid f16c flush_l1d flushbyasid fma fpu fsgsbase fsrm fxsr fxsr_opt gfni ht hw_pstate ibpb ibrs ibs invpcid irperf lahf_lm lbrv lm mba mca mce misalignsse mmx mmxext monitor movbe msr mtrr mwaitx nonstop_tsc nopl npt nrip_save nx ospke osvw overflow_recov pae pat pausefilter pclmulqdq pdpe1gb perfctr_core perfctr_llc perfctr_nb perfmon_v2 pfthreshold pge pku pni popcnt pse pse36 rapl rdpid rdpru rdrand rdseed rdt_a rdtscp rep_good sep sha_ni skinit smap smca smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 stibp succor svm svm_lock syscall tce topoext tsc tsc_scale umip v_spec_ctrl v_vmsave_vmload vaes vgif vmcb_clean vme vmmcall vpclmulqdq wbnoinvd wdt x2apic x2avic xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves Vulnerabilities: Type: gather_data_sampling status: Not affected Type: itlb_multihit status: Not affected Type: l1tf status: Not affected Type: mds status: Not affected Type: meltdown status: Not affected Type: mmio_stale_data status: Not affected Type: retbleed status: Not affected Type: spec_rstack_overflow mitigation: safe RET, no microcode Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW, STIBP: always-on, RSB filling, PBRSB-eIBRS: Not affected Type: srbds status: Not affected Type: tsx_async_abort status: Not affected Graphics: Device-1: AMD Navi 31 [Radeon RX 7900 XT/7900 XTX] vendor: ASRock driver: amdgpu v: kernel arch: RDNA-3 code: Navi-3x process: TSMC n5 (5nm) built: 2022+ pcie: gen: 4 speed: 16 GT/s lanes: 16 ports: active: DP-1 empty: DP-2,DP-3,HDMI-A-1 bus-ID: 03:00.0 chip-ID: 1002:744c class-ID: 0300 Display: x11 server: X.Org v: 21.1.9 compositor: xfwm v: 4.18.0 driver: X: loaded: amdgpu unloaded: modesetting,radeon alternate: fbdev,vesa dri: radeonsi gpu: amdgpu display-ID: :0.0 screens: 1 Screen-1: 0 s-res: 3840x2160 s-dpi: 96 s-size: 1016x571mm (40.00x22.48") s-diag: 1165mm (45.88") Monitor-1: DP-1 mapped: DisplayPort-0 model: A409U serial: built: 2015 res: 3840x2160 hz: 60 dpi: 111 gamma: 1.2 size: 878x485mm (34.57x19.09") diag: 1003mm (39.5") ratio: 16:9 modes: max: 3840x2160 min: 720x400 API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi device: 1 drv: swrast gbm: drv: kms_swrast surfaceless: drv: radeonsi x11: drv: radeonsi inactive: wayland API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd v: N/A glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 7900 XTX (radeonsi navi31 LLVM 16.0.6 DRM 3.49 6.1.67-2-MANJARO) device-ID: 1002:744c memory: 23.44 GiB unified: no Audio: Device-1: AMD Navi 31 HDMI/DP Audio driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 03:00.1 chip-ID: 1002:ab30 class-ID: 0403 Device-2: AMD Family 17h/19h HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 12:00.6 chip-ID: 1022:15e3 class-ID: 0403 Device-3: Audio-Technica AT2020 USB driver: snd-usb-audio type: USB rev: 1.1 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-3:3 chip-ID: 0909:0018 class-ID: 0102 API: ALSA v: k6.1.67-2-MANJARO status: kernel-api with: aoss type: oss-emulator tools: alsactl,alsamixer,amixer Server-1: JACK v: 1.9.22 status: off tools: N/A Server-2: PipeWire v: 1.0.0 status: off with: wireplumber status: active tools: pw-cli,wpctl Server-3: PulseAudio v: 16.1 status: active with: pulseaudio-alsa type: plugin tools: pacat,pactl,pavucontrol Network: Device-1: Realtek RTL8125 2.5GbE vendor: ASUSTeK driver: r8169 v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 port: e000 bus-ID: 0b:00.0 chip-ID: 10ec:8125 class-ID: 0200 IF: eno1 state: up speed: 1000 Mbps duplex: full mac: IP v4: type: dynamic noprefixroute scope: global broadcast: IP v6: type: dynamic noprefixroute scope: global IP v6: type: dynamic noprefixroute scope: global IP v6: type: dynamic noprefixroute scope: global IP v6: type: noprefixroute scope: global IP v6: type: noprefixroute scope: link Device-2: Realtek RTL8852BE PCIe 802.11ax Wireless Network vendor: AzureWave driver: N/A pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: d000 bus-ID: 0c:00.0 chip-ID: 10ec:b852 class-ID: 0280 IF-ID-1: br-33861c916131 state: up speed: 10000 Mbps duplex: unknown mac: IP v4: scope: global broadcast: IF-ID-2: br-3520c7b74b79 state: down mac: IP v4: scope: global broadcast: IF-ID-3: br-4e443c44bdff state: down mac: IP v4: scope: global broadcast: IF-ID-4: docker0 state: up speed: 10000 Mbps duplex: unknown mac: IP v4: scope: global broadcast: IF-ID-5: veth1827a37 state: up speed: 10000 Mbps duplex: full mac: IF-ID-6: veth333766e state: up speed: 10000 Mbps duplex: full mac: IF-ID-7: vetha877124 state: up speed: 10000 Mbps duplex: full mac: WAN IP: Bluetooth: Device-1: IMC Networks Bluetooth Radio driver: btusb v: 0.8 type: USB rev: 1.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-2:2 chip-ID: 13d3:3571 class-ID: e001 serial: Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends Device-2: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) driver: btusb v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 7-2.3.3:5 chip-ID: 0a12:0001 class-ID: e001 Report: ID: hci1 rfk-id: 1 state: up address: N/A Logical: Message: No logical block device data found. Device-1: luks-42ea82bf-14d8-4122-a190-5ae9845faa1a maj-min: 254:0 type: LUKS dm: dm-0 size: 1.82 TiB Components: p-1: nvme0n1p2 maj-min: 259:2 size: 1.82 TiB RAID: Message: No RAID data found. Drives: Local Storage: total: 1.82 TiB used: 820.39 GiB (44.0%) SMART Message: Required tool smartctl not installed. Check --recommends ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 980 PRO 2TB size: 1.82 TiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s lanes: 4 tech: SSD serial: fw-rev: 5B2QGXA7 temp: 36.9 C scheme: GPT Message: No optical or floppy data found. Partition: [...] Swap: Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: yes compressor: zstd max-pool: 20% ID-1: swap-1 type: file size: 16 GiB used: 4 MiB (0.0%) priority: -2 file: /swapfile Unmounted: Message: No unmounted partitions found. USB: [...] Sensors: System Temperatures: cpu: 44.0 C mobo: N/A gpu: amdgpu temp: 39.0 C mem: 60.0 C Fan Speeds (rpm): N/A gpu: amdgpu fan: 0 Info: Processes: 511 Uptime: 4d 1h 4m wakeups: 0 Init: systemd v: 254 default: graphical tool: systemctl Compilers: gcc: 13.2.1 clang: 16.0.6 Packages: 1386 pm: pacman pkgs: 1378 libs: 402 tools: pamac,yay pm: flatpak pkgs: 0 pm: snap pkgs: 8 Shell: Bash v: 5.2.21 running-in: ghostty inxi: 3.3.31 ```
MadLittleMods commented 10 months ago

Related issues:

MadLittleMods commented 10 months ago

Works with the latest LTS kernel:

$ mhwd-kernel -li
Currently running: 6.6.7-4-MANJARO (linux66)