You are not logged in.

#1 2025-05-14 15:23:57

dankza
Member
Registered: 2025-05-14
Posts: 4

Wifi not working - mt7925e

I’ve been experiencing frequent and unpredictable Wi-Fi issues on my Arch Linux laptop. Connections will randomly drop—often showing 0 B/s throughput—and sometimes entire networks don’t even appear when I’m at friends’ houses (I can no longer see any 5 GHz SSIDs). In cases where the SSID is visible, the connection attempt fails despite using the correct password. Any insights into what might be causing this or how to debug further would be greatly appreciated.

System Information
  • []Kernel: Linux archlinux 6.14.4-arch1-2 #1 SMP PREEMPT_DYNAMIC Tue, 29 Apr 2025 09:23:13 +0000 x86_64 GNU/Linux
    []Network Controller: MEDIATEK Corp. Device [14c3:7925] (driver: mt7925e)
    []Firmware package: linux-firmware 20250508.788aadc8-1
    []NetworkManager version: nmcli tool, version 1.52.0-1

Issue Details
  • []Intermittent drops: data rate falls to 0 B/s and both ping to gateway and Internet hosts fail.
    []Sometimes networks are not visible at all (e.g., at friends’ houses).
    []When visible, some SSIDs refuse connection despite correct WPA-PSK (4-way handshake timeouts).
    []Cannot see any 5 GHz networks at all.

ChatGPT gave me a script to help debug my issue and this is the output :

#!/bin/bash

echo "=== System Information ==="
uname -a
echo ""

echo "=== Network Controller Information ==="
lspci -k -nn | grep -iA3 net
echo ""

echo "=== USB Devices (for Wi-Fi dongles, if any) ==="
lsusb
echo ""

echo "=== Loaded Kernel Modules (grep for common Wi-Fi modules) ==="
lsmod | grep -Ei 'iwl|ath|rtw|mt7|brcm|wl'
echo ""

echo "=== Network Manager Status ==="
echo "--- NetworkManager ---"
systemctl status NetworkManager --no-pager
systemctl is-active NetworkManager
systemctl is-enabled NetworkManager
echo "--- systemd-networkd ---"
systemctl status systemd-networkd --no-pager
systemctl is-active systemd-networkd
systemctl is-enabled systemd-networkd
echo "--- netctl ---"
if command -v netctl >/dev/null; then
ls -l /etc/systemd/system/multi-user.target.wants/netctl@*.service 2>/dev/null || echo "No netctl profiles enabled."
netctl list 2>/dev/null || echo "No active netctl profiles."
else
echo "netctl not found."
fi
echo ""

echo "=== Network Interfaces ==="
ip link show
ip addr show
echo ""
── Determine the Wi-Fi interface name ──────────────────────────────────

WIFI_IFACE=$(
ip -o link show
| awk -F': ' '/<(wl|wlp|wlan)[0-9]*/{print $2; exit}'
)

if [ -n "$WIFI_IFACE" ]; then
echo "→ Found Wi-Fi interface: $WIFI_IFACE"

echo "--- iwconfig for $WIFI_IFACE ---"
if command -v iwconfig >/dev/null; then
iwconfig "$WIFI_IFACE"
else
echo "iwconfig (wireless_tools) not installed."
fi

echo "--- Power Management for $WIFI_IFACE ---"
echo -n "Sysfs power_save: "
cat "/sys/class/net/$WIFI_IFACE/device/power/control" 2>/dev/null || echo "N/A"

if command -v ethtool >/dev/null; then
echo "--- ethtool ring parameters ---"
ethtool -g "$WIFI_IFACE" 2>/dev/null || echo "N/A"
echo "--- ethtool EEE features ---"
ethtool --show-eee "$WIFI_IFACE" 2>/dev/null || echo "N/A"
else
echo "ethtool not installed."
fi

echo ""
echo "# If you’re still dropping to 0 B/s, try disabling power_save:"
echo "sudo iw dev $WIFI_IFACE set power_save off"
else
echo "✗ Could not automatically determine Wi-Fi interface name. Check 'ip link show'."
fi
echo ""

echo "=== DNS Configuration ==="
cat /etc/resolv.conf
echo ""

echo "=== Recent dmesg (last 100 lines with network keywords) ==="
sudo dmesg | grep -iE 'net|firmware|wlan|wifi|eth|ath|iwl|rtw|mtk|error|fail|warn' | tail -n 100
echo ""

echo "=== Journal for NetworkManager (last 50 lines) ==="
if systemctl is-active NetworkManager --quiet; then
sudo journalctl -u NetworkManager -n 50 --no-pager --since "1 hour ago"
else
echo "NetworkManager not active."
fi
echo ""

echo "=== Journal for systemd-networkd (last 50 lines) ==="
if systemctl is-active systemd-networkd --quiet; then
sudo journalctl -u systemd-networkd -n 50 --no-pager --since "1 hour ago"
else
echo "systemd-networkd not active."
fi
echo ""

echo "=== Installed linux-firmware package ==="
pacman -Qs linux-firmware
echo ""

echo "=== Ping Test (5 packets each) ==="
GATEWAY=$(ip route | awk '/^default/ {print $3; exit}')
if [ -n "$GATEWAY" ]; then
ping -c 5 "$GATEWAY"
else
echo "Could not determine gateway."
fi
ping -c 5 8.8.8.8
ping -c 5 google.com
echo ""

echo "Script finished."
echo "When the drop happens, run 'dmesg -wH' or 'journalctl -f -u NetworkManager -p debug' to watch live logs."
== System Information ===
Linux archlinux 6.14.6-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 09 May 2025 17:36:18 +0000 x86_64 GNU/Linux

=== Network Controller Information ===
pcilib: Error reading /sys/bus/pci/devices/0000:00:08.3/label: Operation not permitted
c3:00.0 Network controller [0280]: MEDIATEK Corp. Device [14c3:7925]
	Subsystem: AzureWave Device [1a3b:6370]
	Kernel driver in use: mt7925e
	Kernel modules: mt7925e

=== USB Devices (for Wi-Fi dongles, if any) ===
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 3277:0059 Shinetech ASUS FHD webcam
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 13d3:3608 IMC Networks Wireless_Device
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

=== Loaded Kernel Modules (grep for common Wi-Fi modules) ===
mt7925e                24576  0
mt7925_common         135168  1 mt7925e
mt792x_lib             69632  2 mt7925e,mt7925_common
mt76_connac_lib        94208  3 mt792x_lib,mt7925e,mt7925_common
mt76                  147456  4 mt792x_lib,mt7925e,mt76_connac_lib,mt7925_common
mac80211             1646592  4 mt792x_lib,mt76,mt76_connac_lib,mt7925_common
cfg80211             1400832  4 mt76,mac80211,mt76_connac_lib,mt7925_common

=== Network Manager Status ===
--- NetworkManager ---
● NetworkManager.service - Network Manager
     Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; enabled; preset: disabled)
     Active: active (running) since Wed 2025-05-14 17:12:55 SAST; 3min 13s ago
 Invocation: b0a48c3f7e154c63a4452789f76b889b
       Docs: man:NetworkManager(8)
   Main PID: 654 (NetworkManager)
      Tasks: 4 (limit: 17894)
     Memory: 21.9M (peak: 23.5M)
        CPU: 143ms
     CGroup: /system.slice/NetworkManager.service
             └─654 /usr/bin/NetworkManager --no-daemon

May 14 17:13:29 archlinux NetworkManager[654]: <info>  [1747235609.4198] dhcp4 (wlan0): activation: beginning transaction (timeout in 45 seconds)
May 14 17:13:29 archlinux NetworkManager[654]: <info>  [1747235609.4669] dhcp4 (wlan0): state changed new lease, address=192.168.110.38, acd pending
May 14 17:13:29 archlinux NetworkManager[654]: <info>  [1747235609.6474] dhcp4 (wlan0): state changed new lease, address=192.168.110.38
May 14 17:13:29 archlinux NetworkManager[654]: <info>  [1747235609.6513] policy: set 'HomeWifi' (wlan0) as default for IPv4 routing and DNS
May 14 17:13:29 archlinux NetworkManager[654]: <info>  [1747235609.6966] device (wlan0): state change: ip-config -> ip-check (reason 'none', managed-type: 'full')
May 14 17:13:29 archlinux NetworkManager[654]: <info>  [1747235609.6976] device (wlan0): state change: ip-check -> secondaries (reason 'none', managed-type: 'full')
May 14 17:13:29 archlinux NetworkManager[654]: <info>  [1747235609.6977] device (wlan0): state change: secondaries -> activated (reason 'none', managed-type: 'full')
May 14 17:13:29 archlinux NetworkManager[654]: <info>  [1747235609.6978] manager: NetworkManager state is now CONNECTED_SITE
May 14 17:13:29 archlinux NetworkManager[654]: <info>  [1747235609.6980] device (wlan0): Activation: successful, device activated.
May 14 17:13:30 archlinux NetworkManager[654]: <info>  [1747235610.1622] manager: NetworkManager state is now CONNECTED_GLOBAL
active
enabled
--- systemd-networkd ---
○ systemd-networkd.service - Network Configuration
     Loaded: loaded (/usr/lib/systemd/system/systemd-networkd.service; disabled; preset: enabled)
     Active: inactive (dead)
TriggeredBy: ○ systemd-networkd.socket
       Docs: man:systemd-networkd.service(8)
             man:org.freedesktop.network1(5)
   FD Store: 0 (limit: 512)
inactive
disabled
--- netctl ---
netctl not found.

=== Network Interfaces ===
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DORMANT group default qlen 1000
    link/ether a8:e2:91:16:4f:fc brd ff:ff:ff:ff:ff:ff
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host noprefixroute 
       valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether a8:e2:91:16:4f:fc brd ff:ff:ff:ff:ff:ff
    inet 192.168.110.38/24 brd 192.168.110.255 scope global dynamic noprefixroute wlan0
       valid_lft 1640sec preferred_lft 1640sec
    inet6 fe80::e846:83e6:30a9:9b5c/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever

→ Found Wi-Fi interface: wlan0
--- iwconfig for wlan0 ---
wlan0     IEEE 802.11  ESSID:"HomeWifi"  
          Mode:Managed  Frequency:2.462 GHz  Access Point: 48:81:D4:64:5F:44   
          Bit Rate=229.4 Mb/s   Tx-Power=3 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=70/70  Signal level=-33 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:9   Missed beacon:0

--- Power Management for wlan0 ---
Sysfs power_save: on
--- ethtool ring parameters ---
Ring parameters for wlan0:
Pre-set maximums:
RX:			n/a
RX Mini:		n/a
RX Jumbo:		n/a
TX:			n/a
TX push buff len:	n/a
Current hardware settings:
RX:			n/a
RX Mini:		n/a
RX Jumbo:		n/a
TX:			n/a
RX Buf Len:		n/a
CQE Size:		n/a
TX Push:		off
RX Push:		off
TX push buff len:	n/a
TCP data split:		n/a
--- ethtool EEE features ---
N/A

# If you’re still dropping to 0 B/s, try disabling power_save:
sudo iw dev wlan0 set power_save off

=== DNS Configuration ===
# Generated by NetworkManager
search lan
nameserver 192.168.110.1

=== Recent dmesg (last 100 lines with network keywords) ===
[    0.000000] x86/split lock detection: #DB: warning on user-space bus_locks
[    0.004950] ACPI: SSDT 0x000000006E212000 000ABF (v02 AMD    WLAN     00000001 INTL 20230331)
[    0.202281] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.202729] audit: initializing netlink subsys (disabled)
[    0.233700] ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.GPP4._S0W], AE_ALREADY_EXISTS (20240827/dswload2-326)
[    0.233734] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20240827/psobject-220)
[    0.233754] ACPI: Skipping parse of AML opcode: Method (0x0014)
[    0.233773] ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.GPP4._PR0], AE_ALREADY_EXISTS (20240827/dswload2-326)
[    0.233780] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20240827/psobject-220)
[    0.233790] ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.GPP4._PR3], AE_ALREADY_EXISTS (20240827/dswload2-326)
[    0.233797] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20240827/psobject-220)
[    0.239749] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[    0.366005] NetLabel: Initializing
[    0.366007] NetLabel:  domain hash size = 128
[    0.366009] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.366022] NetLabel:  unlabeled traffic allowed by default
[    0.366022] NET: Registered PF_MCTP protocol family
[    0.391669] NET: Registered PF_INET protocol family
[    0.417011] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.417023] NET: Registered PF_XDP protocol family
[    0.417488] pci 0000:00:02.2: mask Replay Timer Timeout Correctable Errors due to 0000:c2:00.0 hardware defect
[    2.080691] drop_monitor: Initializing network drop monitor service
[    2.080881] NET: Registered PF_INET6 protocol family
[    2.087273] NET: Registered PF_PACKET protocol family
[    2.101823] RAS: Correctable Errors collector initialized.
[    2.427706] usb 1-1: Manufacturer: Shinetech
[    2.455982] hid-generic 0003:3277:0059.0001: hiddev96,hidraw0: USB HID v1.11 Device [Shinetech ASUS FHD webcam] on usb-0000:c4:00.4-1/input4
[    2.498125] hid-sensor-hub 0003:3277:0059.0001: hiddev96,hidraw0: USB HID v1.11 Device [Shinetech ASUS FHD webcam] on usb-0000:c4:00.4-1/input4
[    3.363404] [drm] Loading DMUB firmware via PSP: version=0x09001B00
[    3.363647] [drm] Found VCN firmware Version ENC: 1.23 DEC: 9 VEP: 0 Revision: 16
[    5.228210] systemd[1]: Reached target Path Units.
[    5.244590] systemd[1]: Clear Stale Hibernate Storage Info was skipped because of an unmet condition check (ConditionPathExists=/sys/firmware/efi/efivars/HibernateLocation-8cf2644b-4b0b-428f-9387-6d876050dc67).
[    5.574333] asus_wmi: fan_curve_get_factory_default (0x00110024) failed: -19
[    5.574555] asus_wmi: fan_curve_get_factory_default (0x00110025) failed: -19
[    5.574771] asus_wmi: fan_curve_get_factory_default (0x00110032) failed: -19
[    5.599409] NET: Registered PF_BLUETOOTH protocol family
[    6.123403] mt7925e 0000:c3:00.0: WM Firmware Version: ____000000, Build Time: 20250425073109
[    6.417783] NET: Registered PF_ALG protocol family
[    6.417967] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    6.748580] cs35l56-hda i2c-CSC3556:00-cs35l56-hda.2: DSP1: Firmware: 1a00d6 vendor: 0x2 v3.11.16, 41 algorithms
[    6.749390] cs35l56-hda i2c-CSC3556:00-cs35l56-hda.3: DSP1: Firmware: 1a00d6 vendor: 0x2 v3.11.16, 41 algorithms
[    6.750168] cs35l56-hda i2c-CSC3556:00-cs35l56-hda.0: DSP1: Firmware: 1a00d6 vendor: 0x2 v3.11.16, 41 algorithms
[    6.750937] cs35l56-hda i2c-CSC3556:00-cs35l56-hda.1: DSP1: Firmware: 1a00d6 vendor: 0x2 v3.11.16, 41 algorithms
[   12.995639] wlan0: authenticate with c8:cd:55:1d:59:c1 (local address=a8:e2:91:16:4f:fc)
[   13.107750] wlan0: send auth to c8:cd:55:1d:59:c1 (try 1/3)
[   13.112651] wlan0: authenticated
[   13.114405] wlan0: associate with c8:cd:55:1d:59:c1 (try 1/3)
[   13.154802] wlan0: RX AssocResp from c8:cd:55:1d:59:c1 (capab=0x1c11 status=0 aid=17)
[   13.186829] wlan0: associated
[   13.258496] wlan0: Limiting TX power to 30 (30 - 0) dBm as advertised by c8:cd:55:1d:59:c1
[   33.233227] wlan0: deauthenticating from c8:cd:55:1d:59:c1 by local choice (Reason: 3=DEAUTH_LEAVING)
[   40.841044] wlan0: authenticate with 48:81:d4:64:5f:44 (local address=a8:e2:91:16:4f:fc)
[   40.857768] wlan0: send auth to 48:81:d4:64:5f:44 (try 1/3)
[   40.863695] wlan0: authenticated
[   40.866394] wlan0: associate with 48:81:d4:64:5f:44 (try 1/3)
[   40.885993] wlan0: RX AssocResp from 48:81:d4:64:5f:44 (capab=0x1c11 status=0 aid=20)
[   40.916716] wlan0: associated
[   40.955302] wlan0: Limiting TX power to 30 (30 - 0) dBm as advertised by 48:81:d4:64:5f:44
[  173.294573] warning: `ThreadPoolForeg' uses wireless extensions which will stop working for Wi-Fi 7 hardware; use nl80211

=== Journal for NetworkManager (last 50 lines) ===
May 14 17:13:22 archlinux NetworkManager[654]: <info>  [1747235602.0045] device (p2p-dev-wlan0): supplicant management interface state: disconnected -> interface_disabled
May 14 17:13:22 archlinux NetworkManager[654]: <info>  [1747235602.0045] device (wlan0): supplicant interface state: interface_disabled -> disconnected
May 14 17:13:22 archlinux NetworkManager[654]: <info>  [1747235602.0045] device (p2p-dev-wlan0): supplicant management interface state: interface_disabled -> disconnected
May 14 17:13:24 archlinux NetworkManager[654]: <info>  [1747235604.2762] device (wlan0): Activation: starting connection 'HomeWifi' (21efa216-5e8f-475b-a304-23d9e95b24c7)
May 14 17:13:24 archlinux NetworkManager[654]: <info>  [1747235604.2762] audit: op="connection-activate" uuid="21efa216-5e8f-475b-a304-23d9e95b24c7" name="HomeWifi" pid=1067 uid=1000 result="success"
May 14 17:13:24 archlinux NetworkManager[654]: <info>  [1747235604.2763] device (wlan0): state change: disconnected -> prepare (reason 'none', managed-type: 'full')
May 14 17:13:24 archlinux NetworkManager[654]: <info>  [1747235604.2764] manager: NetworkManager state is now CONNECTING
May 14 17:13:24 archlinux NetworkManager[654]: <info>  [1747235604.3335] device (wlan0): set-hw-addr: reset MAC address to A8:E2:91:16:4F:FC (preserve)
May 14 17:13:24 archlinux NetworkManager[654]: <info>  [1747235604.3853] device (wlan0): state change: prepare -> config (reason 'none', managed-type: 'full')
May 14 17:13:24 archlinux NetworkManager[654]: <info>  [1747235604.3854] device (wlan0): Activation: (wifi) access point 'HomeWifi' has security, but secrets are required.
May 14 17:13:24 archlinux NetworkManager[654]: <info>  [1747235604.3854] device (wlan0): state change: config -> need-auth (reason 'none', managed-type: 'full')
May 14 17:13:24 archlinux NetworkManager[654]: <info>  [1747235604.3856] device (wlan0): supplicant interface state: disconnected -> interface_disabled
May 14 17:13:24 archlinux NetworkManager[654]: <info>  [1747235604.3857] device (p2p-dev-wlan0): supplicant management interface state: disconnected -> interface_disabled
May 14 17:13:24 archlinux NetworkManager[654]: <info>  [1747235604.3857] device (wlan0): supplicant interface state: interface_disabled -> disconnected
May 14 17:13:24 archlinux NetworkManager[654]: <info>  [1747235604.3857] device (p2p-dev-wlan0): supplicant management interface state: interface_disabled -> disconnected
May 14 17:13:24 archlinux NetworkManager[654]: <info>  [1747235604.3862] device (wlan0): state change: need-auth -> prepare (reason 'none', managed-type: 'full')
May 14 17:13:24 archlinux NetworkManager[654]: <info>  [1747235604.3863] device (wlan0): state change: prepare -> config (reason 'none', managed-type: 'full')
May 14 17:13:24 archlinux NetworkManager[654]: <info>  [1747235604.3863] device (wlan0): Activation: (wifi) connection 'HomeWifi' has security, and secrets exist.  No new secrets needed.
May 14 17:13:24 archlinux NetworkManager[654]: <info>  [1747235604.4134] Config: added 'ssid' value 'HomeWifi'
May 14 17:13:24 archlinux NetworkManager[654]: <info>  [1747235604.4134] Config: added 'scan_ssid' value '1'
May 14 17:13:24 archlinux NetworkManager[654]: <info>  [1747235604.4134] Config: added 'bgscan' value 'simple:30:-65:300'
May 14 17:13:24 archlinux NetworkManager[654]: <info>  [1747235604.4135] Config: added 'key_mgmt' value 'WPA-PSK WPA-PSK-SHA256 SAE'
May 14 17:13:24 archlinux NetworkManager[654]: <info>  [1747235604.4135] Config: added 'auth_alg' value 'OPEN'
May 14 17:13:24 archlinux NetworkManager[654]: <info>  [1747235604.4135] Config: added 'psk' value '<hidden>'
May 14 17:13:24 archlinux NetworkManager[654]: <info>  [1747235604.4231] device (wlan0): supplicant interface state: disconnected -> scanning
May 14 17:13:24 archlinux NetworkManager[654]: <info>  [1747235604.4232] device (p2p-dev-wlan0): supplicant management interface state: disconnected -> scanning
May 14 17:13:24 archlinux NetworkManager[654]: <info>  [1747235604.6782] device (wlan0): supplicant interface state: scanning -> disconnected
May 14 17:13:24 archlinux NetworkManager[654]: <info>  [1747235604.6783] device (p2p-dev-wlan0): supplicant management interface state: scanning -> disconnected
May 14 17:13:25 archlinux NetworkManager[654]: <info>  [1747235605.6803] device (wlan0): supplicant interface state: disconnected -> scanning
May 14 17:13:25 archlinux NetworkManager[654]: <info>  [1747235605.6803] device (p2p-dev-wlan0): supplicant management interface state: disconnected -> scanning
May 14 17:13:29 archlinux NetworkManager[654]: <info>  [1747235609.2904] device (wlan0): supplicant interface state: scanning -> authenticating
May 14 17:13:29 archlinux NetworkManager[654]: <info>  [1747235609.2904] device (p2p-dev-wlan0): supplicant management interface state: scanning -> authenticating
May 14 17:13:29 archlinux NetworkManager[654]: <info>  [1747235609.2984] device (wlan0): supplicant interface state: authenticating -> associating
May 14 17:13:29 archlinux NetworkManager[654]: <info>  [1747235609.2984] device (p2p-dev-wlan0): supplicant management interface state: authenticating -> associating
May 14 17:13:29 archlinux NetworkManager[654]: <info>  [1747235609.3569] device (wlan0): supplicant interface state: associating -> 4way_handshake
May 14 17:13:29 archlinux NetworkManager[654]: <info>  [1747235609.3569] device (p2p-dev-wlan0): supplicant management interface state: associating -> 4way_handshake
May 14 17:13:29 archlinux NetworkManager[654]: <info>  [1747235609.4188] device (wlan0): supplicant interface state: 4way_handshake -> completed
May 14 17:13:29 archlinux NetworkManager[654]: <info>  [1747235609.4188] device (wlan0): Activation: (wifi) Stage 2 of 5 (Device Configure) successful. Connected to wireless network "HomeWifi"
May 14 17:13:29 archlinux NetworkManager[654]: <info>  [1747235609.4189] device (p2p-dev-wlan0): supplicant management interface state: 4way_handshake -> completed
May 14 17:13:29 archlinux NetworkManager[654]: <info>  [1747235609.4195] device (wlan0): state change: config -> ip-config (reason 'none', managed-type: 'full')
May 14 17:13:29 archlinux NetworkManager[654]: <info>  [1747235609.4198] dhcp4 (wlan0): activation: beginning transaction (timeout in 45 seconds)
May 14 17:13:29 archlinux NetworkManager[654]: <info>  [1747235609.4669] dhcp4 (wlan0): state changed new lease, address=192.168.110.38, acd pending
May 14 17:13:29 archlinux NetworkManager[654]: <info>  [1747235609.6474] dhcp4 (wlan0): state changed new lease, address=192.168.110.38
May 14 17:13:29 archlinux NetworkManager[654]: <info>  [1747235609.6513] policy: set 'HomeWifi' (wlan0) as default for IPv4 routing and DNS
May 14 17:13:29 archlinux NetworkManager[654]: <info>  [1747235609.6966] device (wlan0): state change: ip-config -> ip-check (reason 'none', managed-type: 'full')
May 14 17:13:29 archlinux NetworkManager[654]: <info>  [1747235609.6976] device (wlan0): state change: ip-check -> secondaries (reason 'none', managed-type: 'full')
May 14 17:13:29 archlinux NetworkManager[654]: <info>  [1747235609.6977] device (wlan0): state change: secondaries -> activated (reason 'none', managed-type: 'full')
May 14 17:13:29 archlinux NetworkManager[654]: <info>  [1747235609.6978] manager: NetworkManager state is now CONNECTED_SITE
May 14 17:13:29 archlinux NetworkManager[654]: <info>  [1747235609.6980] device (wlan0): Activation: successful, device activated.
May 14 17:13:30 archlinux NetworkManager[654]: <info>  [1747235610.1622] manager: NetworkManager state is now CONNECTED_GLOBAL

=== Journal for systemd-networkd (last 50 lines) ===
systemd-networkd not active.

=== Installed linux-firmware package ===
local/linux-firmware 20250508.788aadc8-1
    Firmware files for Linux
local/linux-firmware-whence 20250508.788aadc8-1
    Firmware files for Linux - contains the WHENCE license file which documents the vendor license details

=== Ping Test (5 packets each) ===
PING 192.168.110.1 (192.168.110.1) 56(84) bytes of data.
64 bytes from 192.168.110.1: icmp_seq=1 ttl=64 time=5.92 ms
64 bytes from 192.168.110.1: icmp_seq=2 ttl=64 time=3.52 ms
64 bytes from 192.168.110.1: icmp_seq=3 ttl=64 time=8.68 ms
64 bytes from 192.168.110.1: icmp_seq=4 ttl=64 time=9.01 ms
64 bytes from 192.168.110.1: icmp_seq=5 ttl=64 time=127 ms

--- 192.168.110.1 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4009ms
rtt min/avg/max/mdev = 3.524/30.756/126.647/47.986 ms
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=117 time=23.4 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=117 time=7.63 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=117 time=12.0 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=117 time=5.36 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=117 time=11.7 ms

--- 8.8.8.8 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4009ms
rtt min/avg/max/mdev = 5.363/12.011/23.385/6.211 ms
PING google.com (172.217.170.142) 56(84) bytes of data.
64 bytes from tzjnba-ae-in-f14.1e100.net (172.217.170.142): icmp_seq=1 ttl=117 time=21.3 ms
64 bytes from tzjnba-ae-in-f14.1e100.net (172.217.170.142): icmp_seq=2 ttl=117 time=23.1 ms
64 bytes from tzjnba-ae-in-f14.1e100.net (172.217.170.142): icmp_seq=3 ttl=117 time=11.4 ms
64 bytes from tzjnba-ae-in-f14.1e100.net (172.217.170.142): icmp_seq=4 ttl=117 time=6.05 ms
64 bytes from tzjnba-ae-in-f14.1e100.net (172.217.170.142): icmp_seq=5 ttl=117 time=8.09 ms

--- google.com ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4008ms
rtt min/avg/max/mdev = 6.052/13.981/23.053/6.933 ms

Offline

#2 2025-05-14 16:17:28

seth
Member
Registered: 2012-09-03
Posts: 64,003

Re: Wifi not working - mt7925e

x-ref, https://bbs.archlinux.org/viewtopic.php?id=300490 ("solved" w/ an intel AX2xx chip…) + https://bbs.archlinux.org/viewtopic.php?id=305213

Did you see

# If you’re still dropping to 0 B/s, try disabling power_save:
sudo iw dev wlan0 set power_save off

?
Next, the wifi NIC isn't renamed, so you've probably iwd installed?
Please post the output of

find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f

The please post your complete system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

after such networ drops have occurred.

Online

#3 2025-05-14 19:09:27

dankza
Member
Registered: 2025-05-14
Posts: 4

Re: Wifi not working - mt7925e

Did you see # If you’re still dropping to 0 B/s, try disabling power_save:
sudo iw dev wlan0 set power_save off

- Yes and when i run this and rerun my script it still says power save is on,

I also added wifi-powersave-off.conf  and wifi_rand_mac.conf to etc/NetworkManager/conf.d , however they dont seem to take effect even after rebooting or restarting network manager

I also added
Next, the wifi NIC isn't renamed, so you've probably iwd installed?
Please post the output of

find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
 
bluetooth.service                        | bluetooth.target.wants
dbus-org.bluez.service                   | system
dbus-org.freedesktop.nm-dispatcher.service | system
dbus-org.freedesktop.timesync1.service   | system
display-manager.service                  | system
getty@tty1.service                       | getty.target.wants
iwd.service                              | multi-user.target.wants
NetworkManager.service                   | multi-user.target.wants
NetworkManager-wait-online.service       | network-online.target.wants
p11-kit-server.socket                    | sockets.target.wants
pipewire-pulse.socket                    | sockets.target.wants
pipewire-session-manager.service         | user
pipewire.socket                          | sockets.target.wants
redis.service                            | multi-user.target.wants
remote-fs.target                         | multi-user.target.wants
seatd.service                            | multi-user.target.wants
systemd-timesyncd.service                | sysinit.target.wants
systemd-userdbd.socket                   | sockets.target.wants
wireplumber.service                      | pipewire.service.wants
xdg-user-dirs-update.service             | default.target.wants                
 

The please post your complete system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

after such networ drops have occurred.

I will add this once I see the drop however this is the journal output for the moment, hopefully something in here stands out
pastebin : https://pastebin.com/qbXpFmCw
pw : CT0wALztyp

Apologies for using pastebin, I couldnt upload the journal output here due to formatting issue.

Edit: i realised i put the wrong driver in this file /boot/loader/entries/2025-05-02_14-03-04_linux.conf , when disabling pcie_aspm however now that has been updated

Last edited by dankza (2025-05-14 19:25:10)

Offline

#4 2025-05-14 19:31:11

seth
Member
Registered: 2012-09-03
Posts: 64,003

Re: Wifi not working - mt7925e

If you uploaded it to 0x0.st you could have shared that link - no need to copy around the internet.

Disable the iwd.service.
If you want to use iwd as NM backend, see https://wiki.archlinux.org/title/Networ … Fi_backend and do NOT use https://wiki.archlinux.org/title/Iwd#En … figuration

Online

#5 2025-05-15 08:07:28

dankza
Member
Registered: 2025-05-14
Posts: 4

Re: Wifi not working - mt7925e

If you uploaded it to 0x0.st you could have shared that link - no need to copy around the internet.

my bad for some reason i though that was local, but will do for in future 

Disable the iwd.service.

I havent disconnected randomly so far so i think this may have been the fix however i still cant see my 5G network at home, any idea where the issue could be coming from ?
I used to be able to connect to my 5G network at home however after messing around with some potential fixes (before your help), i can no longer see it.

Offline

#6 2025-05-15 14:08:03

seth
Member
Registered: 2012-09-03
Posts: 64,003

Re: Wifi not working - mt7925e

however after messing around with some potential fixes

You might want to elaborate on those. Do scans still find other 5GHz APs? (you could eg. try your phone)

Online

#7 2025-05-15 17:19:22

dankza
Member
Registered: 2025-05-14
Posts: 4

Re: Wifi not working - mt7925e

You might want to elaborate on those. Do scans still find other 5GHz APs? (you could eg. try your phone)

yes my phone and other laptop can connect to my 5Ghz Wifi and this laptop also used to connect. I think when i was trying to fix my other issue I broke something and now it can no longer find the 5GHz AP.


On another note i thought disabling iwd fixed my network connection issues however I just went down. The way to fix it is to disconnect and reconnect to the wifi. Here is the log

http://0x0.st/8va8.txt

Offline

#8 2025-05-15 20:15:36

seth
Member
Registered: 2012-09-03
Posts: 64,003

Re: Wifi not working - mt7925e

yes my phone and other laptop can connect to my 5Ghz Wifi and this laptop also used to connect.

No, I meant if you turn your phone into a 5GHz AP, can you still detect that?

May 15 10:02:27 archlinux NetworkManager[653]: <info>  [1747296147.8833] manager: NetworkManager state is now CONNECTED_GLOBAL
May 15 10:36:49 archlinux kernel: PM: suspend entry (s2idle)
May 15 19:06:46 archlinux NetworkManager[653]: <info>  [1747328806.6670] manager: NetworkManager state is now DISCONNECTED
May 15 19:06:50 archlinux NetworkManager[653]: <info>  [1747328810.1253] manager: NetworkManager state is now CONNECTED_GLOBAL
!!  May 15 19:11:48 archlinux wpa_supplicant[712]: wlan0: Reject scan trigger since one is already pending
!!  May 15 19:11:48 archlinux wpa_supplicant[712]: wlan0: Reject scan trigger since one is already pending
May 15 19:14:15 archlinux sudo[38623]:      sam : TTY=pts/0 ; PWD=/home/sam ; USER=root ; COMMAND=/usr/bin/journalctl -b
May 15 19:14:52 archlinux NetworkManager[653]: <info>  [1747329292.8871] manager: NetworkManager state is now DISCONNECTED
May 15 19:14:58 archlinux NetworkManager[653]: <info>  [1747329298.1061] manager: NetworkManager state is now CONNECTED_GLOBAL

You connect, sleep the system (disconnects and connects because of that) and 8 minutes later draw the journal and reconnect the wifi.
I assume you lost the connection during those 8 minutes?
Is suspending to RAM a necessary prerequisite to cause this?

There's a stalling scan and

May 15 19:06:48 archlinux wpa_supplicant[712]: bgscan simple: Failed to enable signal strength monitoring

I guess the scan issue is related to the "losses" - you could try whether the connection remains stable if you lock in the BSSID until we figured what's wrong w/ the 5GHz scan (or maybe scanning at all?)
https://wiki.archlinux.org/title/Networ … ts_(Wi-Fi)

You still have "pcie_aspm=off mt7925e.disable_aspm=Y", have you tried w/o that (after disabling the conflicting iwd.service)?

Online

Board footer

Powered by FluxBB