Search
Write a publication
Pull to refresh
0
0
Send message
Короче, не знаю, что произошло, но на винде все заработало и пока держится стабильно. Пинги идут без всяких «провисаний».

Автору статьи спасибо. :)
На винде драйвера последние.

С убунтой 8.10 то же самое — соединение и разрыв. И так все по кругу.

Ну убунту:
Карта: Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)

wpa_supplicant.conf

network={
ssid=«qwer»
proto=WPA
key_mgmt=WPA-PSK
pairwise=CCMP
group=CCMP
psk=***
}

На арче:
Карта: Netgear WG311T (Ethernet controller: Atheros Communications Inc. Atheros AR5001X+ Wireless Network Adapter (rev 01).

hostapd.conf

interface=wlan0
driver=nl80211
ssid=qwer
country_code=RU
hw_mode=g
channel=2
macaddr_acl=0
wpa=2
wpa_key_mgmt=WPA-PSK
wpa_psk=***
wpa_pairwise=CCMP
rsn_pairwise=CCMP

Пинги то проходят, то теряются:

ping 192.168.0.2

64 bytes from 192.168.0.2: icmp_seq=74 ttl=64 time=174 ms
64 bytes from 192.168.0.2: icmp_seq=75 ttl=64 time=306 ms
64 bytes from 192.168.0.2: icmp_seq=76 ttl=64 time=5.82 ms
64 bytes from 192.168.0.2: icmp_seq=77 ttl=64 time=206 ms
64 bytes from 192.168.0.2: icmp_seq=78 ttl=64 time=231 ms
64 bytes from 192.168.0.2: icmp_seq=79 ttl=64 time=4.39 ms
From 192.168.0.1 icmp_seq=121 Destination Host Unreachable
From 192.168.0.1 icmp_seq=122 Destination Host Unreachable
From 192.168.0.1 icmp_seq=123 Destination Host Unreachable
From 192.168.0.1 icmp_seq=124 Destination Host Unreachable

— 192.168.0.2 ping statistics — 108 packets transmitted, 30 received, +27 errors, 72% packet loss, time 107247ms
rtt min/avg/max/mdev = 1.578/246.662/2560.000/515.054 ms, pipe 4

Нормальные пинги начинают идти только когда hostapd выдает:

wlan0: STA 00:19:d2:21:b4:23 WPA: pairwise key handshake completed (RSN)
Сделал как указано в статье на Арче. У меня карта Netgear WG311T (Ethernet controller: Atheros Communications Inc. Atheros AR5001X+ Wireless Network Adapter (rev 01)).

Все запускается как надо: и hostapd и wlan0 в режиме точки доступа. На ноутбуке винда видит сеть. Соединение происходит и тут же обрывается и так по кругу. Карта на ноуте Intel® PRO/Wireless 3945ABG.

Никто не знает в чем проблема? Гугл на эту тему скуп.

Вот вывод hostapd:

mgmt::auth
authentication: STA=00:19:d2:21:b4:23 auth_alg=0 auth_transaction=1 status_code=0 wep=0
New STA
wlan0: STA 00:19:d2:21:b4:23 IEEE 802.11: authentication OK (open system)
wlan0: STA 00:19:d2:21:b4:23 MLME: MLME-AUTHENTICATE.indication(00:19:d2:21:b4:23, OPEN_SYSTEM)
wlan0: STA 00:19:d2:21:b4:23 MLME: MLME-DELETEKEYS.request(00:19:d2:21:b4:23)
authentication reply: STA=00:19:d2:21:b4:23 auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
MGMT (TX callback) ACK
mgmt::auth cb
wlan0: STA 00:19:d2:21:b4:23 IEEE 802.11: authenticated
MGMT
mgmt::assoc_req
association request: STA=00:19:d2:21:b4:23 capab_info=0x411 listen_interval=10
WME IE — hexdump(len=7): 00 50 f2 02 00 01 00
Validating WME IE: OUI 00:50:f2 OUI type 2 OUI sub-type 0 version 1
new AID 1
wlan0: STA 00:19:d2:21:b4:23 IEEE 802.11: association OK (aid 1)
MGMT (TX callback) ACK
mgmt::assoc_resp cb
wlan0: STA 00:19:d2:21:b4:23 IEEE 802.11: associated (aid 1)
wlan0: STA 00:19:d2:21:b4:23 MLME: MLME-ASSOCIATE.indication(00:19:d2:21:b4:23)
wlan0: STA 00:19:d2:21:b4:23 MLME: MLME-DELETEKEYS.request(00:19:d2:21:b4:23)
wlan0: STA 00:19:d2:21:b4:23 WPA: event 1 notification
wlan0: STA 00:19:d2:21:b4:23 WPA: start authentication
WPA: 00:19:d2:21:b4:23 WPA_PTK entering state INITIALIZE
wlan0: STA 00:19:d2:21:b4:23 IEEE 802.1X: unauthorizing port
WPA: 00:19:d2:21:b4:23 WPA_PTK_GROUP entering state IDLE
WPA: 00:19:d2:21:b4:23 WPA_PTK entering state AUTHENTICATION
WPA: 00:19:d2:21:b4:23 WPA_PTK entering state AUTHENTICATION2
WPA: 00:19:d2:21:b4:23 WPA_PTK entering state INITPSK
WPA: 00:19:d2:21:b4:23 WPA_PTK entering state PTKSTART
wlan0: STA 00:19:d2:21:b4:23 WPA: sending 1/4 msg of 4-Way Handshake
WPA: Send EAPOL(version=2 secure=0 mic=0 ack=1 install=0 pairwise=8 kde_len=0 keyidx=0 encr=0)
IEEE 802.1X: 00:19:d2:21:b4:23 TX status — version=2 type=3 length=95 — ack=1
IEEE 802.1X: 123 bytes from 00:19:d2:21:b4:23
IEEE 802.1X: version=1 type=3 length=119
wlan0: STA 00:19:d2:21:b4:23 WPA: received EAPOL-Key frame (2/4 Pairwise)
WPA: 00:19:d2:21:b4:23 WPA_PTK entering state PTKCALCNEGOTIATING
WPA: PTK derivation — A1=00:18:4d:ec:79:13 A2=00:19:d2:21:b4:23
WPA: PMK — hexdump(len=32): [REMOVED]
WPA: PTK — hexdump(len=64): [REMOVED]
WPA: 00:19:d2:21:b4:23 WPA_PTK entering state PTKCALCNEGOTIATING2
WPA: 00:19:d2:21:b4:23 WPA_PTK entering state PTKINITNEGOTIATING
wlan0: STA 00:19:d2:21:b4:23 WPA: sending 3/4 msg of 4-Way Handshake
WPA: Send EAPOL(version=2 secure=1 mic=1 ack=1 install=1 pairwise=8 kde_len=46 keyidx=1 encr=1)
Plaintext EAPOL-Key Key Data — hexdump(len=56): [REMOVED]
IEEE 802.1X: 00:19:d2:21:b4:23 TX status — version=2 type=3 length=151 — ack=1
IEEE 802.1X: 99 bytes from 00:19:d2:21:b4:23
IEEE 802.1X: version=1 type=3 length=95
wlan0: STA 00:19:d2:21:b4:23 WPA: received EAPOL-Key frame (4/4 Pairwise)
WPA: 00:19:d2:21:b4:23 WPA_PTK entering state PTKINITDONE
wlan0: STA 00:19:d2:21:b4:23 IEEE 802.1X: authorizing port
wlan0: STA 00:19:d2:21:b4:23 RADIUS: starting accounting session 4A8FCC4C-00000003
wlan0: STA 00:19:d2:21:b4:23 WPA: pairwise key handshake completed (RSN)
STA 00:19:d2:21:b4:23 sent probe request for our SSID
STA 00:19:d2:21:b4:23 sent probe request for broadcast SSID
MGMT
mgmt::deauth
deauthentication: STA=00:19:d2:21:b4:23 reason_code=1
wlan0: STA 00:19:d2:21:b4:23 WPA: event 3 notification
WPA: 00:19:d2:21:b4:23 WPA_PTK entering state DISCONNECTED
WPA: 00:19:d2:21:b4:23 WPA_PTK entering state INITIALIZE
wlan0: STA 00:19:d2:21:b4:23 IEEE 802.1X: unauthorizing port
wlan0: STA 00:19:d2:21:b4:23 IEEE 802.11: deauthenticated
wlan0: STA 00:19:d2:21:b4:23 MLME: MLME-DEAUTHENTICATE.indication(00:19:d2:21:b4:23, 1)

Information

Rating
Does not participate
Location
Москва, Москва и Московская обл., Россия
Registered
Activity