Есть сабжевый девайс. Как клиент работает нормально, но вот хочу заставить работать как Access Point на ARM.Поставил hostapd. Пробую законнектиться с лаптопа к этой точке, просит ввести WPA пароль(ввожу), неконнектитца, после 10-15 сек снова на лаптопе просит ввести пароль к этой точке.
00:24:2b:13:95:1e - mac лаптопа
в /var/log/messages:
Mar 24 14:18:06 (none) daemon.info hostapd: wlan0: STA 00:24:2b:13:95:1e IEEE 802.11: authenticated
Mar 24 14:18:06 (none) daemon.info hostapd: wlan0: STA 00:24:2b:13:95:1e IEEE 802.11: associated (aid 1, accounting session 49C8EB60-00000000)
Mar 24 14:18:09 (none) daemon.info hostapd: wlan0: STA 00:24:2b:13:95:1e IEEE 802.11: deauthenticated due to local deauth request
Лог hostapd:
Configuration file: /etc/hostapd.conf
Opening raw packet socket for ifindex 1073780056
BSS count 1, BSSID mask ff:ff:ff:ff:ff:ff (0 bits)
SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
Failed to update rate sets in kernel module
RATE[0] rate=10 flags=0x2
RATE[1] rate=20 flags=0x6
RATE[2] rate=55 flags=0x6
RATE[3] rate=110 flags=0x6
RATE[4] rate=60 flags=0x0
RATE[5] rate=90 flags=0x0
RATE[6] rate=120 flags=0x0
RATE[7] rate=180 flags=0x0
RATE[8] rate=240 flags=0x0
RATE[9] rate=360 flags=0x0
RATE[10] rate=480 flags=0x0
RATE[11] rate=540 flags=0x0
Could not set passive scanning: Unknown error 4294967295
Flushing old station entries
Deauthenticate all stations
Mode: IEEE 802.11g Channel: 8 Frequency: 2447 MHz
Failed to set CTS protect in kernel driver
Failed to set Short Slot Time option in kernel driver
Could not set preamble for kernel driver
Using interface wlan0 with hwaddr 00:1e:8c:7e:f7:ba and ssid 'wrap175'
SSID - hexdump_ascii(len=7):
77 72 61 70 31 37 35
WPA: group state machine entering state GTK_INIT (VLAN-ID 0)
GMK - hexdump(len=32): [REMOVED]
GTK - hexdump(len=32): [REMOVED]
WPA: group state machine entering state SETKEYSDONE (VLAN-ID 0)
Failed to set CTS protect in kernel driver
Failed to set Short Slot Time option in kernel driver
Could not set preamble for kernel driver
wlan0: Setup of interface done.
MGMT (TX callback) ACK
Wireless event: cmd=0x8b04 len=12
STA 00:15:af:34:f9:95 sent probe request for broadcast SSID
MGMT (TX callback) ACK
mgmt::auth
authentication: STA=00:24:2b:13:95:1e auth_alg=0 auth_transaction=1 status_code=0 wep=0
New STA
wlan0: STA 00:24:2b:13:95:1e IEEE 802.11: authentication OK (open system)
wlan0: STA 00:24:2b:13:95:1e MLME: MLME-AUTHENTICATE.indication(00:24:2b:13:95:1e, OPEN_SYSTEM)
wlan0: STA 00:24:2b:13:95:1e MLME: MLME-DELETEKEYS.request(00:24:2b:13:95:1e)
authentication reply: STA=00:24:2b:13:95:1e auth_alg=0 auth_transaction=2 resp=0 (IE len=0)
MGMT (TX callback) ACK
mgmt::auth cb
wlan0: STA 00:24:2b:13:95:1e IEEE 802.11: authenticated
MGMT
mgmt::assoc_req
association request: STA=00:24:2b:13:95:1e capab_info=0x431 listen_interval=1
new AID 1
wlan0: STA 00:24:2b:13:95:1e IEEE 802.11: association OK (aid 1)
MGMT (TX callback) ACK
mgmt::assoc_resp cb
wlan0: STA 00:24:2b:13:95:1e IEEE 802.11: associated (aid 1, accounting session 49C8EB60-00000000)
wlan0: STA 00:24:2b:13:95:1e MLME: MLME-ASSOCIATE.indication(00:24:2b:13:95:1e)
wlan0: STA 00:24:2b:13:95:1e MLME: MLME-DELETEKEYS.request(00:24:2b:13:95:1e)
wlan0: STA 00:24:2b:13:95:1e WPA: event 1 notification
wlan0: STA 00:24:2b:13:95:1e WPA: start authentication
WPA: 00:24:2b:13:95:1e WPA_PTK entering state INITIALIZE
wlan0: STA 00:24:2b:13:95:1e IEEE 802.1X: unauthorizing port
WPA: 00:24:2b:13:95:1e WPA_PTK_GROUP entering state IDLE
WPA: 00:24:2b:13:95:1e WPA_PTK entering state AUTHENTICATION
WPA: 00:24:2b:13:95:1e WPA_PTK entering state AUTHENTICATION2
WPA: 00:24:2b:13:95:1e WPA_PTK entering state INITPSK
WPA: 00:24:2b:13:95:1e WPA_PTK entering state PTKSTART
wlan0: STA 00:24:2b:13:95:1e WPA: sending 1/4 msg of 4-Way Handshake
WPA: Send EAPOL(version=1 secure=0 mic=0 ack=1 install=0 pairwise=8 kde_len=0 keyidx=0 encr=0)
wlan0: STA 00:24:2b:13:95:1e WPA: EAPOL-Key timeout
WPA: 00:24:2b:13:95:1e WPA_PTK entering state PTKSTART
wlan0: STA 00:24:2b:13:95:1e WPA: sending 1/4 msg of 4-Way Handshake
WPA: Send EAPOL(version=1 secure=0 mic=0 ack=1 install=0 pairwise=8 kde_len=0 keyidx=0 encr=0)
wlan0: STA 00:24:2b:13:95:1e WPA: EAPOL-Key timeout
WPA: 00:24:2b:13:95:1e WPA_PTK entering state PTKSTART
wlan0: STA 00:24:2b:13:95:1e WPA: sending 1/4 msg of 4-Way Handshake
WPA: Send EAPOL(version=1 secure=0 mic=0 ack=1 install=0 pairwise=8 kde_len=0 keyidx=0 encr=0)
wlan0: STA 00:24:2b:13:95:1e WPA: EAPOL-Key timeout
WPA: 00:24:2b:13:95:1e WPA_PTK entering state PTKSTART
wlan0: STA 00:24:2b:13:95:1e WPA: sending 1/4 msg of 4-Way Handshake
WPA: Send EAPOL(version=1 secure=0 mic=0 ack=1 install=0 pairwise=8 kde_len=0 keyidx=0 encr=0)
WPA: 00:24:2b:13:95:1e WPA_PTK entering state DISCONNECT
hostapd_wpa_auth_disconnect: WPA authenticator requests disconnect: STA 00:24:2b:13:95:1e reason 2
WPA: 00:24:2b:13:95:1e WPA_PTK entering state DISCONNECTED
WPA: 00:24:2b:13:95:1e WPA_PTK entering state INITIALIZE
wlan0: STA 00:24:2b:13:95:1e IEEE 802.1X: unauthorizing port
wlan0: STA 00:24:2b:13:95:1e IEEE 802.11: deauthenticated due to local deauth request
Сам конфиг hostapd.conf:
interface=wlan0
ssid=wrap175
driver=nl80211
#driver=hostapd
hw_mode=g
channel=6
wpa=1
wpa_group_rekey=60
wpa_gmk_rekey=3600
wpa_passphrase=blablabla
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
куда копать? Что ему надо?
Ответ на:
комментарий
от ElectroNik
Ответ на:
комментарий
от enelen
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.
Похожие темы
- Форум wi-fi точка доступа на Debian GNU/Linux (2012)
- Форум hostapd+master+RaLink RT2561/RT61 rev B 802.11g через некоторое время отваливаеться вай фай (2010)
- Форум Перестал работать WiFi master mode на RT73 (2010)
- Форум Android и WiFi: Проблема с соединением (2012)
- Форум настройка software access point в ArchLinux: сетевой интерфейс не включается (2018)
- Форум Openwrt. Кто-то взломал по 802.11? (2024)
- Форум hostapd падает (2021)
- Форум Hostapd не происходит аутетификация (2013)
- Форум Access Point на Intel 7260 (rev 6b) (2014)
- Форум Raspberry pi / usb wifi 8188eu / hostapd (2014)