우분투 20.04가 설치되어 있고 특정 Wi-Fi 연결(집에 있는 Wi-Fi 연결)의 경우 다음과 같은 문제가 있습니다. Wi-Fi 연결이 끊어졌다가 일정 시간(3~5분마다) 후에 다시 연결됩니다.
내가 한 일은 다음과 같습니다.
- 경로 설정을 아래와 같이 변경했습니다.
- iwconfig 출력을 확인했습니다. 아래에서 볼 수 있듯이 전원 관리가 이미 꺼져 있습니다.
- 여기 내 꼬리가 있습니다 -f /var/log/syslog
Sep 5 08:07:19 myusername-Aspire-E5-574G kernel: [ 1645.645441] wlp3s0: association with b8:d5:26:1b:c9:d2 timed out
Sep 5 08:07:19 myusername-Aspire-E5-574G wpa_supplicant[1011]: wlp3s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="TISCALI_C9D2" auth_failures=1 duration=10 reason=CONN_FAILED
Sep 5 08:07:19 myusername-Aspire-E5-574G NetworkManager[990]: <info> [1599286039.6381] device (wlp3s0): supplicant interface state: associating -> disconnected
Sep 5 08:07:19 myusername-Aspire-E5-574G NetworkManager[990]: <info> [1599286039.6382] device (p2p-dev-wlp3s0): supplicant management interface state: associating -> disconnected
Sep 5 08:07:24 myusername-Aspire-E5-574G NetworkManager[990]: <info> [1599286044.6444] device (wlp3s0): supplicant interface state: disconnected -> scanning
Sep 5 08:07:24 myusername-Aspire-E5-574G NetworkManager[990]: <info> [1599286044.6446] device (p2p-dev-wlp3s0): supplicant management interface state: disconnected -> scanning
Sep 5 08:07:28 myusername-Aspire-E5-574G NetworkManager[990]: <warn> [1599286048.1436] device (wlp3s0): link timed out.
Sep 5 08:07:28 myusername-Aspire-E5-574G NetworkManager[990]: <info> [1599286048.1459] device (wlp3s0): state change: activated -> failed (reason 'supplicant-timeout', sys-iface-state: 'managed')
Sep 5 08:07:28 myusername-Aspire-E5-574G NetworkManager[990]: <info> [1599286048.1496] manager: NetworkManager state is now DISCONNECTED
Sep 5 08:07:28 myusername-Aspire-E5-574G gnome-shell[12863]: An active wireless connection, in infrastructure mode, involves no access point?
Sep 5 08:07:28 myusername-Aspire-E5-574G NetworkManager[990]: <warn> [1599286048.1733] device (wlp3s0): Activation: failed for connection 'TISCALI_C9D2'
Sep 5 08:07:28 myusername-Aspire-E5-574G NetworkManager[990]: <info> [1599286048.1806] device (wlp3s0): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
Sep 5 08:07:28 myusername-Aspire-E5-574G avahi-daemon[984]: Withdrawing address record for fe80::486a:a6d:b0f5:5284 on wlp3s0.
Sep 5 08:07:28 myusername-Aspire-E5-574G avahi-daemon[984]: Leaving mDNS multicast group on interface wlp3s0.IPv6 with address fe80::486a:a6d:b0f5:5284.
Sep 5 08:07:28 myusername-Aspire-E5-574G avahi-daemon[984]: Interface wlp3s0.IPv6 no longer relevant for mDNS.
Sep 5 08:07:28 myusername-Aspire-E5-574G gnome-shell[12863]: An active wireless connection, in infrastructure mode, involves no access point?
Sep 5 08:07:28 myusername-Aspire-E5-574G gnome-shell[12863]: An active wireless connection, in infrastructure mode, involves no access point?
Sep 5 08:07:28 myusername-Aspire-E5-574G dbus-daemon[989]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.9' (uid=0 pid=990 comm="/usr/sbin/NetworkManager --no-daemon " label="unconfined")
Sep 5 08:07:28 myusername-Aspire-E5-574G systemd[1]: Starting Network Manager Script Dispatcher Service...
Sep 5 08:07:28 myusername-Aspire-E5-574G google-chrome.desktop[35179]: Fontconfig error: Cannot load default config file: No such file: (null)
Sep 5 08:07:28 myusername-Aspire-E5-574G NetworkManager[990]: <info> [1599286048.2275] dhcp4 (wlp3s0): canceled DHCP transaction
Sep 5 08:07:28 myusername-Aspire-E5-574G NetworkManager[990]: <info> [1599286048.2276] dhcp4 (wlp3s0): state changed bound -> done
Sep 5 08:07:28 myusername-Aspire-E5-574G NetworkManager[990]: <info> [1599286048.2278] dhcp6 (wlp3s0): canceled DHCP transaction
Sep 5 08:07:28 myusername-Aspire-E5-574G NetworkManager[990]: <info> [1599286048.2278] dhcp6 (wlp3s0): state changed unknown -> done
Sep 5 08:07:28 myusername-Aspire-E5-574G avahi-daemon[984]: Withdrawing address record for 192.168.1.46 on wlp3s0.
Sep 5 08:07:28 myusername-Aspire-E5-574G avahi-daemon[984]: Leaving mDNS multicast group on interface wlp3s0.IPv4 with address 192.168.1.46.
Sep 5 08:07:28 myusername-Aspire-E5-574G avahi-daemon[984]: Interface wlp3s0.IPv4 no longer relevant for mDNS.
Sep 5 08:07:28 myusername-Aspire-E5-574G dbus-daemon[989]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Sep 5 08:07:28 myusername-Aspire-E5-574G systemd[1]: Started Network Manager Script Dispatcher Service.
Sep 5 08:07:28 myusername-Aspire-E5-574G gnome-shell[12863]: An active wireless connection, in infrastructure mode, involves no access point?
Sep 5 08:07:28 myusername-Aspire-E5-574G gnome-shell[12863]: message repeated 5 times: [ An active wireless connection, in infrastructure mode, involves no access point?]
Sep 5 08:07:29 myusername-Aspire-E5-574G NetworkManager[990]: <info> [1599286049.2172] policy: auto-activating connection 'TISCALI_C9D2' (3a893e63-7e87-40eb-afd9-4c7549434712)
Sep 5 08:07:29 myusername-Aspire-E5-574G NetworkManager[990]: <info> [1599286049.2178] device (wlp3s0): Activation: starting connection 'TISCALI_C9D2' (3a893e63-7e87-40eb-afd9-4c7549434712)
Sep 5 08:07:29 myusername-Aspire-E5-574G NetworkManager[990]: <info> [1599286049.2179] device (wlp3s0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
다른 Wi-Fi 연결에서는 이런 일이 발생하지 않으며 내 Windows와 Android 장치는 동일한 Wi-Fi 네트워크에서 완벽하게 작동합니다. Wi-Fi에서 Ubuntu가 작동하도록 하려면 구성해야 할 것이 있나요?
답변1
라우터 구성 출력 tail -f /var/log/syslog
및 변경 내용을 토대로 Network Manager에서 WiFi 구성이 제대로 변경되지 않은 것으로 가정했습니다. 이 문제에 대한 해결책은 다음과 같이 간단합니다.
nm-connection-editor
터미널에서 열기- WiFi 연결 선택 및 삭제
- 처음부터 동일한 WiFi에 연결
답변2
칸즈mm2대답은 정확합니다.
한 단계만 추가하겠습니다. NetworkManager를 다시 시작하세요. 이 단계를 거쳐야 네트워크가 다시 안정됩니다.
MESH 설정과 함께 20.04.5 LTS를 사용하고 있습니다.