저는 오래된 HP 노트북(HP Pavilion G6 2298SE)에서 Manjaro Linux를 사용하고 있습니다. 이 노트북에는 다음(Ralink) 네트워크 어댑터가 있습니다.
07:00.0 Network controller: Ralink corp. RT5390R 802.11bgn PCIe Wireless Network Adapter
문제는 제가 끊임없이 연결이 끊어진다는 것입니다(하루에 4~5번). 이 경우 NetworkManager는 목록에 무선 연결을 표시하지 않습니다. 연결을 끊은 후 "lspci", "ip" 및 "lshw"는 결과에 네트워크 어댑터를 표시합니다.
연결 해제 후 "lspci" 결과:
[user:pc:~]lspci | grep -i wireless
07:00.0 Network controller: Ralink corp. RT5390R 802.11bgn PCIe Wireless Network Adapter
연결 해제 후 "ip" 결과:
[user:pc:~]ip link
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
2: wlo1: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
link/ether 11:22:33:44:55:66 brd 11:22:33:44:55:66
3: eno1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
연결 해제 후 결과는 "lshw"입니다. "비활성화됨"이라고 표시됩니다.
[user:pc:~]lshw -class network
*-network DISABLED
description: Wireless interface
product: RT5390R 802.11bgn PCIe Wireless Network Adapter
vendor: Ralink corp.
physical id: 0
bus info: pci@0000:07:00.0
logical name: wlo1
version: 00
serial: 11:22:33:44:55:66
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress cap_list ethernet physical wireless
configuration: broadcast=yes driver=rt2800pci driverversion=5.4.135-1-MANJARO firmware=0.40 latency=0 link=no multicast=yes wireless=IEEE 802.11
resources: irq:16 memory:c3500000-c350ffff
그러나 "ifconfig"는 결과에 네트워크 어댑터를 표시하지 않습니다.
[user:pc:~]ifconfig
eno1: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 11:22:33:44:55:66 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 555 bytes 46097 (45.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 555 bytes 46097 (45.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
연결을 끊을 때 "journalctl -xe"는 다음 메시지를 표시합니다.
Aug 07 16:18:36 pc wpa_supplicant[860]: wlo1: CTRL-EVENT-DISCONNECTED bssid=11:22:33:44:55:66 reason=4 locally_generated=1
Aug 07 16:18:36 pc wpa_supplicant[860]: wlo1: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
Aug 07 16:18:36 pc NetworkManager[805]: <info> [1628335116.4861] device (wlo1): supplicant interface state: completed -> disconnected
Aug 07 16:18:36 pc NetworkManager[805]: <info> [1628335116.6025] device (wlo1): supplicant interface state: disconnected -> scanning
Aug 07 16:18:51 pc NetworkManager[805]: <warn> [1628335131.8396] device (wlo1): link timed out.
Aug 07 16:18:51 pc NetworkManager[805]: <info> [1628335131.8400] device (wlo1): state change: activated -> failed (reason 'ssid-not-found', sys-iface-state: 'managed')
Aug 07 16:18:51 pc NetworkManager[805]: <info> [1628335131.8404] manager: NetworkManager state is now DISCONNECTED
Aug 07 16:18:53 pc avahi-daemon[801]: Interface wlo1.IPv6 no longer relevant for mDNS.
Aug 07 16:18:53 pc avahi-daemon[801]: Leaving mDNS multicast group on interface wlo1.IPv6 with address 1111:2222:3333:4444:5555:6666.
Aug 07 16:18:53 pc avahi-daemon[801]: Interface wlo1.IPv4 no longer relevant for mDNS.
Aug 07 16:18:53 pc avahi-daemon[801]: Leaving mDNS multicast group on interface wlo1.IPv4 with address 192.168.10.100.
Aug 07 16:18:53 pc avahi-daemon[801]: Withdrawing address record for 1111:2222:3333:4444:5555:6666 on wlo1.
Aug 07 16:18:53 pc NetworkManager[805]: <info> [1628335133.4017] device (wlo1): set-hw-addr: set MAC address to 54:CA:64:85:34:E2 (scanning)
Aug 07 16:18:53 pc avahi-daemon[801]: Withdrawing address record for 192.168.10.100 on wlo1.
Aug 07 16:18:54 pc kernel: ieee80211 phy0: rt2800_wait_csr_ready: Error - Unstable hardware
Aug 07 16:18:54 pc NetworkManager[805]: <warn> [1628335134.4128] platform-linux: do-change-link[2]: failure changing link: failure 16 (Device or resource busy)
Aug 07 16:18:54 pc NetworkManager[805]: <warn> [1628335134.4131] device (wlo1): Activation: failed for connection 'Home'
Aug 07 16:18:54 pc wpa_supplicant[860]: wlo1: CTRL-EVENT-SCAN-FAILED ret=-100
Aug 07 16:18:54 pc dbus-daemon[803]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.4' (uid=0 pid=805 comm="/usr/bin/NetworkManager --no-daemon ")
Aug 07 16:18:54 pc NetworkManager[805]: <info> [1628335134.4144] device (wlo1): supplicant interface state: scanning -> interface_disabled
Aug 07 16:18:54 pc NetworkManager[805]: <info> [1628335134.4147] device (wlo1): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
Aug 07 16:18:54 pc systemd[1]: Starting Network Manager Script Dispatcher Service...
"ip" 명령은 네트워크 어댑터가 "꺼져 있음"을 표시하므로 시작하려고 하면 다음 오류가 발생합니다.
[user:pc:~]sudo ip link set down wlo1 && sudo ip link set up wlo1
RTNETLINK answers: Device or resource busy
몇 달 전에는 이런 일이 거의 발생하지 않았지만(1주일에 한 번 또는 2주에 한 번) 이제는 문제가 더 자주 발생합니다(하루 4~5회). 이 문제를 해결하려면 랩톱을 다시 시작해야 했고 네트워크 어댑터가 (잠시 동안) 다시 제대로 작동하기 시작했습니다. 따라서 질문은 다음과 같습니다. 내 네트워크 어댑터가 죽어가고 있습니까? 아니면 다른 문제(드라이버, 전원 관리 등)가 있습니까? 이것 좀 도와주실 수 있나요?