Wywołane bezpośrednio po załadowaniu systemu i próbie skanowania poleceniem:
Kod: Zaznacz cały
iwlist wlan0 scan
wlan0: No scan result
Kod: Zaznacz cały
dmesg
[ 15.767685] rtl819xE: PlatformInitFirmware()==>[ 15.767687]
[ 15.767710] rtl819xE 0000:02:00.0: firmware: requesting RTL8192E/boot.img
[ 15.881894] rtl819xE 0000:02:00.0: firmware: requesting RTL8192E/main.img
[ 15.901035] rtl819xE :D ownload Firmware: Put code ok!
[ 15.901037]
[ 15.909038] rtl819xE :D ownload Firmware: Boot ready!
[ 15.909040]
[ 15.909045] rtl819xE 0000:02:00.0: firmware: requesting RTL8192E/data.img
[ 15.913830] rtl819xE :D ownload Firmware: Firmware ready!
[ 15.913833]
[ 15.913835] rtl819xE:Firmware Download Success
[ 15.913837]
[ 16.357698] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 16.363401] sky2 eth0: enabling interface
[ 16.364369] ADDRCONF(NETDEV_UP): eth0: link is not ready
Kod: Zaznacz cały
lspci
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)00:01.0 PCI bridge: Intel Corporation Mobile 4 Series Chipset PCI Express Graphics Port (rev 07)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
01:00.0 VGA compatible controller: ATI Technologies Inc M96 [Mobility Radeon HD 4650]
01:00.1 Audio device: ATI Technologies Inc RV710/730
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8192E Wireless LAN Controller (rev 01)
06:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8057 PCI-E Gigabit Ethernet Controller (rev 10)
Kod: Zaznacz cały
ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:26:b6:54:98:50
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:16 Memory:ffffc90011130000-ffffc90011130100
Kod: Zaznacz cały
iwconfig wlan0
wlan0 802.11bgn ESSID:"g\xC6isQ\xFFJ\xEC)\xCD\xBA\xAB\xF2\xFB\xE3F|\xC2T\xF8\x1B\xE8\xE7\x8DvZ.c3\x9F\xC9\x9A"
Mode:Managed Frequency=2.427 GHz Access Point: Not-Associated
Bit Rate:1 Mb/s
Retry :o n RTS thr :o ff Fragment thr :o ff
Encryption key :o ff
Power Management :o ff
Link Quality=0/100 Signal level=0 dBm Noise level=0 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
Kod: Zaznacz cały
iwlist wlan0 scan
Kod: Zaznacz cały
no scan result
Edycja:
Zapomniałem dodać, że karta sieciowa jest włączona, pod Windowsem działa bez problemu. W tematach i pytaniach, które znalazłem w sieci zazwyczaj radzi się fizycznie uruchomi urządzenie, co u mnie nie wchodzi w grę, gdyż jest ono wmontowane w bebechy laptopa. Poza tym polecenie:
Kod: Zaznacz cały
ifconfig
Edycja II:
Dodam jeszcze, że od czasu do czasu system z niewiadomych przyczyn wykrzaczał się podczas ładowania. Wywalał jakieś komunikaty, z których zorientowałem się, że przyczyną prawdopodobnie był Network Manager. Co ciekawe czasem wszystko uruchamiało się poprawnie, a czasem ładowanie się wieszało tak, że konieczny był twardy reset, po którym najczęściej znów wszystko było ok.
Dodane:
Jestem użytkownikiem Debiana Squeeze z jądrem 3.2.0-0.bpo.3-amd64, które ściągnąłem doinstalowałem z backportów, gdyż domyślne nie obsługiwało mojej karty sieciowej (RTL Wireless Semiconductor 8192E). Po wyłączeniu Network Managera wykonuję następującą sekwencję poleceń:
Sprawdzam stan karty wlan0:
Kod: Zaznacz cały
root# ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:26:b6:54:98:50
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:16 Memory:ffffc90000668000-ffffc90000668100
Kod: Zaznacz cały
root# iwconfig wlan0
wlan0 802.11bgn Nickname:"rtl8192E"
Mode:Managed Frequency=2.417 GHz Access Point: Not-Associated
Bit Rate:1 Mb/s
Retry :o n RTS thr :o ff Fragment thr :o ff
Encryption key :o ff
Power Management :o ff
Link Quality=10/100 Signal level=0 dBm Noise level=-100 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
Następnie wyszukuję dostępne sieci bezprzewodowe:
Kod: Zaznacz cały
root# iwlist wlan0 scan
wlan0 Scan completed :
Cell 01 - Address: F4:EC:38:C9:B4:43
ESSID:"Tepsa"
Protocol:IEEE802.11N-24G
Mode:Master
Channel:10
Encryption key :o n
Bit Rates:150 Mb/s
Extra: Rates (Mb/s): 1 2 5.5 11 6 9 12 18 24 36 48 54
Quality=65/100 Signal level=-67 dBm Noise level=-102 dBm
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
IE: Unknown: DD0E0050F204104A0001101044000102
Extra: Last beacon: 49ms ago
Przygotowuję plik konfiguracyjny następującej treści:
Kod: Zaznacz cały
root# wpa_passphrase Tepsa H03DsaxFv1 > tps.wifi
root# cat tps.wifi
network={
ssid="Tepsa"
#psk="##########"
psk=#################################################
}
Wreszcie wywołuję polecenie::
Kod: Zaznacz cały
root# wpa_supplicant -c tps.wifi -i wlan0 -ddd
Initializing interface 'wlan0' conf 'tps.wifi' driver 'default' ctrl_interface 'N/A' bridge 'N/A'
Configuration file 'tps.wifi' -> '/home/sven/doc/tps.wifi'
Reading configuration file '/home/sven/doc/tps.wifi'
Line: 1 - start of a new network block
ssid - hexdump_ascii(len=5):
54 65 70 73 61 Tepsa
PSK - hexdump(len=32): [REMOVED]
Priority group 0
id=0 ssid='Tepsa'
Initializing interface (2) 'wlan0'
SIOCGIWRANGE: WE(compiled)=22 WE(source)=18 enc_capa=0xf
capabilities: key_mgmt 0xf enc 0xf flags 0x0
ioctl[SIOCSIWAP]: Operation not permitted
ioctl[SIOCSIWESSID]: Operation not permitted
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: 00:26:b6:54:98:50
wpa_driver_wext_set_wpa
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_countermeasures
wpa_driver_wext_set_drop_unencrypted
RSN: flushing PMKID list in the driver
Setting scan request: 0 sec 100000 usec
WPS: UUID based on MAC address - hexdump(len=16): f6 f0 d5 40 41 3c 50 1f ba 50 4e da 14 55 39 4f
WPS: Build Beacon and Probe Response IEs
WPS: * Version
WPS: * Wi-Fi Protected Setup State (0)
WPS: * Version
WPS: * Wi-Fi Protected Setup State (0)
WPS: * Response Type (2)
WPS: * UUID-E
WPS: * Manufacturer
WPS: * Model Name
WPS: * Model Number
WPS: * Serial Number
WPS: * Primary Device Type
WPS: * Device Name
WPS: * Config Methods (0)
WPS: * RF Bands (3)
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
Added interface wlan0
RTM_NEWLINK: operstate=0 ifi_flags=0x1043 ([UP][RUNNING])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b06 len=12
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
Trying to get current scan results first without requesting a new scan to speed up initial association
Received 0 bytes of scan results (0 BSSes)
Cached scan results are empty - not posting
Selecting BSS from priority group 0
Try to find WPA-enabled AP
Try to find non-WPA AP
No suitable AP found.
Setting scan request: 0 sec 0 usec
Starting AP scan (broadcast SSID)
Scan requested (ret=0) - scan timeout 5 seconds
EAPOL: disable timer tick
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b19 len=16
Received 361 bytes of scan results (1 BSSes)
New scan results available
WPS: attr type=0x104a len=1
WPS: attr type=0x1044 len=1
WPS: attr type=0x104a len=1
WPS: attr type=0x1044 len=1
Selecting BSS from priority group 0
Try to find WPA-enabled AP
0: f4:ec:38:c9:b4:43 ssid='Tepsa' wpa_ie_len=26 rsn_ie_len=24 caps=0x11
selected based on RSN IE
selected WPA AP f4:ec:38:c9:b4:43 ssid='Tepsa'
Trying to associate with f4:ec:38:c9:b4:43 (SSID='Tepsa' freq=2457 MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
RSN: using IEEE 802.11i/D9.0
WPA: Selected cipher suites: group 8 pairwise 24 key_mgmt 2 proto 2
WPA: set AP WPA IE - hexdump(len=28): dd 1a 00 50 f2 01 01 00 00 50 f2 02 02 00 00 50 f2 04 00 50 f2 02 01 00 00 50 f2 02
WPA: set AP RSN IE - hexdump(len=26): 30 18 01 00 00 0f ac 02 02 00 00 0f ac 04 00 0f ac 02 01 00 00 0f ac 02 00 00
WPA: using GTK TKIP
WPA: using PTK CCMP
WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 02 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
No keys have been configured - skip key clearing
wpa_driver_wext_set_drop_unencrypted
State: SCANNING -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
wpa_driver_wext_associate
wpa_driver_wext_set_psk
Setting authentication timeout: 10 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
RSN: Ignored PMKID candidate without preauth flag
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b06 len=12
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b04 len=16
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b1a len=21
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Wireless event: cmd=0x8b15 len=24
Wireless event: new AP: f4:ec:38:c9:b4:43
State: ASSOCIATING -> ASSOCIATED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
Associated to a new BSS: BSSID=f4:ec:38:c9:b4:43
No keys have been configured - skip key clearing
Associated with f4:ec:38:c9:b4:43
WPA: Association event - clear replay counter
WPA: Clear old PTK
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
EAPOL: External notification - EAP success=0
EAPOL: External notification - portEnabled=1
EAPOL: SUPP_PAE entering state CONNECTING
EAPOL: enable timer tick
EAPOL: SUPP_BE entering state IDLE
Setting authentication timeout: 10 sec 0 usec
Cancelling scan request
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
EAPOL: startWhen --> 0
EAPOL: disable timer tick
EAPOL: SUPP_PAE entering state CONNECTING
EAPOL: enable timer tick
EAPOL: txStart
WPA: drop TX EAPOL in non-IEEE 802.1X mode (type=1 len=0)
RX EAPOL from f4:ec:38:c9:b4:43
RX EAPOL - hexdump(len=99): 02 03 00 5f 02 00 8a 00 10 00 00 00 00 00 00 00 02 0e a5 7c 41 b4 ca 1a 2f 77 aa 27 53 73 ed 1e 23 e6 10 41 fc ff c8 58 70 8e c5 98 9d 9f 18 34 da 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Setting authentication timeout: 10 sec 0 usec
IEEE 802.1X RX: version=2 type=3 length=95
EAPOL-Key type=2
key_info 0x8a (ver=2 keyidx=0 rsvd=0 Pairwise Ack)
key_length=16 key_data_length=0
replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 02
key_nonce - hexdump(len=32): 0e a5 7c 41 b4 ca 1a 2f 77 aa 27 53 73 ed 1e 23 e6 10 41 fc ff c8 58 70 8e c5 98 9d 9f 18 34 da
key_iv - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
key_rsc - hexdump(len=8): 00 00 00 00 00 00 00 00
key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
key_mic - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
WPA: RX EAPOL-Key - hexdump(len=99): 02 03 00 5f 02 00 8a 00 10 00 00 00 00 00 00 00 02 0e a5 7c 41 b4 ca 1a 2f 77 aa 27 53 73 ed 1e 23 e6 10 41 fc ff c8 58 70 8e c5 98 9d 9f 18 34 da 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
State: ASSOCIATED -> 4WAY_HANDSHAKE
WPA: RX message 1 of 4-Way Handshake from f4:ec:38:c9:b4:43 (ver=2)
RSN: msg 1/4 key data - hexdump(len=0):
WPA: Renewed SNonce - hexdump(len=32): a5 73 a3 d1 88 e7 49 28 3d 16 3a 40 a6 34 73 98 c5 d9 8d 0b 95 8c 18 66 0c 63 7d 67 4c a5 58 d0
WPA: PTK derivation - A1=00:26:b6:54:98:50 A2=f4:ec:38:c9:b4:43
WPA: PMK - hexdump(len=32): [REMOVED]
WPA: PTK - hexdump(len=48): [REMOVED]
WPA: WPA IE for msg 2/4 - hexdump(len=22): 30 14 01 00 00 0f ac 02 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
WPA: Sending EAPOL-Key 2/4
WPA: TX EAPOL-Key - hexdump(len=121): 01 03 00 75 02 01 0a 00 00 00 00 00 00 00 00 00 02 a5 73 a3 d1 88 e7 49 28 3d 16 3a 40 a6 34 73 98 c5 d9 8d 0b 95 8c 18 66 0c 63 7d 67 4c a5 58 d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 50 95 00 a2 53 74 34 85 98 c7 a5 a7 e8 bb c3 4d 00 16 30 14 01 00 00 0f ac 02 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
^CCTRL-EVENT-TERMINATING - signal 2 received
Removing interface wlan0
wpa_driver_wext_deauthenticate
ioctl[SIOCSIWAP]: Operation not permitted
ioctl[SIOCSIWESSID]: Operation not permitted
No keys have been configured - skip key clearing
State: 4WAY_HANDSHAKE -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
EAPOL: External notification - portEnabled=0
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: SUPP_BE entering state INITIALIZE
EAPOL: External notification - portValid=0
EAPOL: External notification - EAP success=0
wpa_driver_wext_set_wpa
wpa_driver_wext_set_drop_unencrypted
wpa_driver_wext_set_countermeasures
No keys have been configured - skip key clearing
Cancelling scan request
Cancelling authentication timeout
ioctl[SIOCSIWAP]: Operation not permitted
ioctl[SIOCSIWESSID]: Operation not permitted
WEXT: Operstate: linkmode=0, operstate=6
Klucz jest na pewno poprawny, a sieć i karta bezproblemowo współpracują ze sobą pod Windowsem. Testowane z identycznym rezultatem na dwóch różnych sieciach. Na moje niewprawne oko wygląda to jak problem z kodowaniem klucza do sieci lub coś w tym rodzaju. Czy ktoś ma jakiś pomysł, jak to rozwiązać? Dodam jeszcze, że podobny problem zgłaszano już na innych forach, ale nigdzie nie znalazłem rozwiązania innego niż użycie programu Ndiswrapper, którego wolałbym, o ile to możliwe, uniknąć.