[РЕШЕНО] Проблемы с подключением WiFi
Maze 5 марта, 2013 - 18:41
MazeBook linux-3.7.10-gentoo # uname -a Linux MazeBook 3.7.10-gentoo #4 SMP Tue Mar 5 16:58:23 MSK 2013 i686 Intel(R) Atom(TM) CPU Z520 @ 1.33GHz GenuineIntel GNU/Linux MazeBook linux-3.7.10-gentoo # lspci 03:00.0 Ethernet controller: Atheros Communications Inc. AR242x / AR542x Wireless Network Adapter (PCI-Express) (rev 01) MazeBook linux-3.7.10-gentoo # lsmod Module Size Used by ath5k 151097 0 ath 12241 1 ath5k mac80211 370196 1 ath5k cfg80211 129760 3 ath5k,ath,mac80211 btusb 9878 0 MazeBook linux-3.7.10-gentoo # eix NetworkManager [I] net-misc/networkmanager Installed versions: 0.9.6.4(03:46:15 08.02.2013)(bluetooth consolekit dhcpcd introspection modemmanager nss ppp wext -avahi -connection-sharing -dhclient -doc -gnutls -resolvconf -vala -wimax KERNEL="linux")
Проблема заключается в следующем: не удаётся подключиться к некоторым wifi точкам. Дома стоит точка с wpa2/psk шифрованием - всё тип-топ, в паре мест ловил незапароленные точки - тоже нормально подключается. А вот с двумя точками возникли проблемы. Точки точно рабочие, т.к. с телефона (htc sensation, android 4.x) всё ок.
Первая точка, открытая:
Mar 5 17:30:40 MazeBook syslog-ng[4089]: syslog-ng starting up; version='3.2.5' Mar 5 17:30:49 MazeBook NetworkManager[3269]: <info> Activation (wlan0) starting connection 'Eurasia' Mar 5 17:30:49 MazeBook NetworkManager[3269]: <info> (wlan0): device state change: disconnected -> prepare (reason 'none') [30 40 0] Mar 5 17:30:49 MazeBook NetworkManager[3269]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled... Mar 5 17:30:49 MazeBook NetworkManager[3269]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started... Mar 5 17:30:49 MazeBook NetworkManager[3269]: <info> (wlan0): set MAC address to 1C:03:BF:4D:74:84 Mar 5 17:30:49 MazeBook kernel: [ 1827.280507] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready Mar 5 17:30:49 MazeBook NetworkManager[3269]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled... Mar 5 17:30:49 MazeBook NetworkManager[3269]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete. Mar 5 17:30:49 MazeBook NetworkManager[3269]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting... Mar 5 17:30:49 MazeBook NetworkManager[3269]: <info> (wlan0): device state change: prepare -> config (reason 'none') [40 50 0] Mar 5 17:30:49 MazeBook NetworkManager[3269]: <info> Activation (wlan0/wireless): connection 'Eurasia' requires no security. No secrets need$ Mar 5 17:30:49 MazeBook NetworkManager[3269]: <info> Config: added 'ssid' value 'Eurasia' Mar 5 17:30:49 MazeBook NetworkManager[3269]: <info> Config: added 'scan_ssid' value '1' Mar 5 17:30:49 MazeBook NetworkManager[3269]: <info> Config: added 'key_mgmt' value 'NONE' Mar 5 17:30:49 MazeBook NetworkManager[3269]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete. Mar 5 17:30:49 MazeBook NetworkManager[3269]: <info> Config: set interface ap_scan to 1 Mar 5 17:30:49 MazeBook NetworkManager[3269]: <info> (wlan0): supplicant interface state: disconnected -> scanning Mar 5 17:30:49 MazeBook NetworkManager[3269]: <info> (wlan0): disconnecting for new activation request. Mar 5 17:30:49 MazeBook NetworkManager[3269]: <info> (wlan0): device state change: config -> disconnected (reason 'none') [50 30 0] Mar 5 17:30:49 MazeBook NetworkManager[3269]: <info> (wlan0): deactivating device (reason 'none') [0] Mar 5 17:30:49 MazeBook NetworkManager[3269]: <info> (wlan0): reset MAC address to 00:25:56:7B:C9:B9 Mar 5 17:30:49 MazeBook kernel: [ 1827.934543] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready Mar 5 17:30:49 MazeBook NetworkManager[3269]: <info> Activation (wlan0) starting connection 'Eurasia' Mar 5 17:30:49 MazeBook NetworkManager[3269]: <info> (wlan0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Вторая точка, закрытая wpa/psk:
Mar 5 17:31:38 MazeBook NetworkManager[3269]: <info> Activation (wlan0) starting connection 'IC_free_wifi' Mar 5 17:31:38 MazeBook NetworkManager[3269]: <info> (wlan0): device state change: disconnected -> prepare (reason 'none') [30 40 0] Mar 5 17:31:38 MazeBook NetworkManager[3269]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled... Mar 5 17:31:38 MazeBook NetworkManager[3269]: <info> (wlan0): disconnecting for new activation request. Mar 5 17:31:38 MazeBook NetworkManager[3269]: <info> (wlan0): device state change: prepare -> disconnected (reason 'none') [40 30 0] Mar 5 17:31:38 MazeBook NetworkManager[3269]: <info> (wlan0): deactivating device (reason 'none') [0] Mar 5 17:31:38 MazeBook NetworkManager[3269]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled... Mar 5 17:31:38 MazeBook NetworkManager[3269]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started... Mar 5 17:31:38 MazeBook NetworkManager[3269]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled... Mar 5 17:31:38 MazeBook NetworkManager[3269]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete. Mar 5 17:31:38 MazeBook NetworkManager[3269]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting... Mar 5 17:31:38 MazeBook NetworkManager[3269]: <info> (wlan0): device state change: prepare -> config (reason 'none') [40 50 0] Mar 5 17:31:38 MazeBook NetworkManager[3269]: <info> Activation (wlan0/wireless): connection 'IC_free_wifi' has security, and secrets exist. $ Mar 5 17:31:38 MazeBook NetworkManager[3269]: <info> Config: added 'ssid' value 'IC_free_wifi' Mar 5 17:31:38 MazeBook NetworkManager[3269]: <info> Config: added 'scan_ssid' value '1' Mar 5 17:31:38 MazeBook NetworkManager[3269]: <info> Config: added 'key_mgmt' value 'WPA-PSK' Mar 5 17:31:38 MazeBook NetworkManager[3269]: <info> Config: added 'psk' value '<omitted>' Mar 5 17:31:38 MazeBook NetworkManager[3269]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete. Mar 5 17:31:38 MazeBook NetworkManager[3269]: <info> Config: set interface ap_scan to 1 Mar 5 17:31:38 MazeBook NetworkManager[3269]: <info> (wlan0): supplicant interface state: disconnected -> scanning Mar 5 17:31:39 MazeBook kernel: [ 1877.175622] wlan0: authenticate with 00:3a:99:d8:10:80 Mar 5 17:31:39 MazeBook kernel: [ 1877.175670] wlan0: Allocated STA 00:3a:99:d8:10:80 Mar 5 17:31:39 MazeBook kernel: [ 1877.181676] wlan0: Inserted STA 00:3a:99:d8:10:80 Mar 5 17:31:39 MazeBook kernel: [ 1877.181696] wlan0: send auth to 00:3a:99:d8:10:80 (try 1/3) Mar 5 17:31:39 MazeBook kernel: [ 1877.186049] wlan0: authenticated Mar 5 17:31:39 MazeBook kernel: [ 1877.186068] wlan0: moving STA 00:3a:99:d8:10:80 to state 2 Mar 5 17:31:39 MazeBook kernel: [ 1877.187065] wlan0: associate with 00:3a:99:d8:10:80 (try 1/3) Mar 5 17:31:39 MazeBook NetworkManager[3269]: <info> (wlan0): supplicant interface state: scanning -> authenticating Mar 5 17:31:39 MazeBook kernel: [ 1877.191047] wlan0: RX AssocResp from 00:3a:99:d8:10:80 (capab=0x431 status=0 aid=35) Mar 5 17:31:39 MazeBook kernel: [ 1877.191928] wlan0: moving STA 00:3a:99:d8:10:80 to state 3 Mar 5 17:31:39 MazeBook kernel: [ 1877.192083] wlan0: associated Mar 5 17:31:39 MazeBook kernel: [ 1877.192576] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready Mar 5 17:31:39 MazeBook kernel: [ 1877.192724] cfg80211: Pending regulatory request, waiting for it to be processed... Mar 5 17:31:39 MazeBook kernel: [ 1877.194141] wlan0: dropped frame to 00:3a:99:d8:10:80 (unauthorized port) Mar 5 17:31:39 MazeBook NetworkManager[3269]: <info> (wlan0): supplicant interface state: authenticating -> associating Mar 5 17:31:39 MazeBook NetworkManager[3269]: <info> (wlan0): supplicant interface state: associating -> 4-way handshake Mar 5 17:31:39 MazeBook kernel: [ 1877.890117] wlan0: dropped frame to 00:3a:99:d8:10:80 (unauthorized port) Mar 5 17:31:40 MazeBook NetworkManager[3269]: <info> (wlan0): disconnecting for new activation request. Mar 5 17:31:40 MazeBook NetworkManager[3269]: <info> (wlan0): device state change: config -> disconnected (reason 'none') [50 30 0] Mar 5 17:31:40 MazeBook NetworkManager[3269]: <info> (wlan0): deactivating device (reason 'none') [0] Mar 5 17:31:40 MazeBook kernel: [ 1878.258946] wlan0: deauthenticating from 00:3a:99:d8:10:80 by local choice (reason=3) Mar 5 17:31:40 MazeBook kernel: [ 1878.259117] wlan0: moving STA 00:3a:99:d8:10:80 to state 2 Mar 5 17:31:40 MazeBook kernel: [ 1878.259136] wlan0: moving STA 00:3a:99:d8:10:80 to state 1 Mar 5 17:31:40 MazeBook NetworkManager[3269]: <info> Activation (wlan0) starting connection 'IC_free_wifi' Mar 5 17:31:40 MazeBook kernel: [ 1878.259148] wlan0: Removed STA 00:3a:99:d8:10:80 Mar 5 17:31:40 MazeBook NetworkManager[3269]: <info> (wlan0): device state change: disconnected -> prepare (reason 'none') [30 40 0] Mar 5 17:31:40 MazeBook NetworkManager[3269]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled... Mar 5 17:31:40 MazeBook kernel: [ 1878.265083] wlan0: Destroyed STA 00:3a:99:d8:10:80 Mar 5 17:31:40 MazeBook kernel: [ 1878.268230] cfg80211: Calling CRDA for country: RU Mar 5 17:31:40 MazeBook NetworkManager[3269]: <info> (wlan0): supplicant interface state: 4-way handshake -> disconnected
NetworkManager в KDE(4) по результатам этого, соответственно, говорит, что не удалось подключиться к <имя сети>
P.S.: iwconfig всегда выдаёт такой результат (даже когда подключен к рабочей сети):
MazeBook linux-3.7.10-gentoo # iwconfig wlan0 wlan0 no wireless extensions.
[РЕШЕНО]
Обновление NetworkManager спасло мир.
»
- Для комментирования войдите или зарегистрируйтесь
[UPD]
ручное подключение с использованием iwconfig и wpa_supplicant приводит к тому же результату
[UPD]
с ядром 3.8.4 то же самое.