Доброго времени суток.
В наличии появилась wi-fi карточка D-Link, работающая на чипе
00:0b.0 Ethernet controller: Atheros Communications Inc. AR5212/AR5213 Multiprotocol MAC/baseband processor (rev 01)
Драйвер подгрузился
lsmod |grep ath
ath5k 95192 0
mac80211 127256 1 ath5k
cfg80211 30580 2 ath5k,mac80211
Интерфейс wlan0 появился.
Неодходимо подключиться к зашифрованой сети:
wlan0 Scan completed :
Cell 01 - Address: 00:21:91:86:3A:E2
ESSID:"TV_Plus"
Mode:Master
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=88/100 Signal level:-63 dBm Noise level=-94 dBm
Encryption key:on
IE: Unknown: 000754565F506C7573
IE: Unknown: 010882848B960C183048
IE: Unknown: 030106
IE: Unknown: 0706474220010D11
IE: Unknown: 2A0100
IE: Unknown: 32041224606C
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
12 Mb/s; 24 Mb/s; 36 Mb/s; 9 Mb/s; 18 Mb/s
48 Mb/s; 54 Mb/s
Extra:tsf=0000003d59974181
Extra: Last beacon: 464ms ago
Настраиваю essid
iwconfig wlan0 essid TV_Plus
Настройки wpa_supplicant:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
ap_scan=1
eapol_version=1
fast_reauth=1
network={
ssid="TV_Plus"
psk=*****************************************
scan_ssid=0
proto=WPA
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP WEP104 WEP40
}
Собственно, не вижу препядствий для подключения:
# wpa_supplicant -iwlan0 -Dwext -c/etc/wpa_supplicant.conf -dddd -
B
Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge
'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group='wheel' (DEPRECATED)
ap_scan=1
eapol_version=1
fast_reauth=1
Line: 8 - start of a new network block
ssid - hexdump_ascii(len=7):
54 56 5f 50 6c 75 73 TV_Plus
PSK - hexdump(len=32): [REMOVED]
scan_ssid=0 (0x0)
proto: 0x1
key_mgmt: 0x2
pairwise: 0x18
group: 0x1e
Priority group 0
id=0 ssid='TV_Plus'
Initializing interface (2) 'wlan0'
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
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
capabilities: key_mgmt 0xf enc 0xf
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: 00:21:91:94:64:8f
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
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 4 value 0x0 - wpa_driver_wext_set_drop_unencrypted
Setting scan request: 0 sec 100000 usec
Using existing control interface directory.
ctrl_interface_group=10 (from group name 'wheel')
Added interface wlan0
Daemonize..
ifconfig wlan0 192.168.0.55 netmask 255.255.255.0
route add default 192.168.0.100
iwconfig сообщает о наличии точки доступа:
wlan0 IEEE 802.11bg ESSID:"TV_Plus"
Mode:Managed Frequency:2.437 GHz Access Point: 00:21:91:86:3A:E2
Bit Rate=1 Mb/s Tx-Power=27 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:off
Power Management:off
Link Quality=82/100 Signal level:-66 dBm Noise level=-95 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
И казалось бы всё, однако..
# ping 192.168.0.100
PING 192.168.0.100 (192.168.0.100) 56(84) bytes of data.
From 192.168.0.55 icmp_seq=2 Destination Host Unreachable
From 192.168.0.55 icmp_seq=3 Destination Host Unreachable
From 192.168.0.55 icmp_seq=4 Destination Host Unreachable
^C
--- 192.168.0.100 ping statistics ---
4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2999ms
, pipe 3
Второй день пытаюсь решить проблему, пересобирал wpa_supplicant из исходников, пытался воспользоваться gui утилитой wicd - всё упирается в отсудствие пинга на шлюз.
Что я делаю не так? =(
Заранее спасибо