на стационарный компьютер установлена Ubuntu 9.10. Все пакеты взяты из репозитория через менеджер пакетов.
с помощью hostapd поднята программная точка доступа.
Точка запускается, Работает минут 10 и падает. При этом ноутбук, подключенный к ней продолжает "вроде как быть подключенным к точке", но на самом деле уже не работает. Точка еще обнаруживается другим ноутбуком, но к ней уже не подключается. Еще через пару минут точка становится совсем недоступной, и прекращает появляться в поиске сетей. Клиентские ноутбуки под управлением Windows 7.
Асусовский брелок замечательно уже несколько лет работает как SOFT AP под виндой.
Из того, что происходит перед падением. Лог работы hostapd
Checking STA 00:15:af:66:38:b9 inactivity:
Station has been active
STA 00:15:af:66:38:b9 sent probe request for our SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
wlan0: WPA rekeying GTK
WPA: group state machine entering state SETKEYS (VLAN-ID 0)
GMK - hexdump(len=32): [REMOVED]
GTK - hexdump(len=16): [REMOVED]
WPA: 00:15:af:66:38:b9 WPA_PTK_GROUP entering state REKEYNEGOTIATING
wlan0: STA 00:15:af:66:38:b9 WPA: sending 1/2 msg of Group Key Handshake
WPA: Send EAPOL(version=2 secure=1 mic=1 ack=1 install=0 pairwise=0 kde_len=24 keyidx=2 encr=1)
Plaintext EAPOL-Key Key Data - hexdump(len=32): [REMOVED]
wpa_group_setkeys: GKeyDoneStations=1
IEEE 802.1X: 99 bytes from 00:15:af:66:38:b9
IEEE 802.1X: version=1 type=3 length=95
wlan0: STA 00:15:af:66:38:b9 WPA: received EAPOL-Key frame (2/2 Group)
WPA: 00:15:af:66:38:b9 WPA_PTK_GROUP entering state REKEYESTABLISHED
wlan0: STA 00:15:af:66:38:b9 WPA: group key handshake completed (RSN)
WPA: group state machine entering state SETKEYSDONE (VLAN-ID 0)
WPA: 00:15:af:66:38:b9 WPA_PTK_GROUP entering state IDLE
STA 00:15:af:66:38:b9 sent probe request for our SSID
MGMT (TX callback) ACK
mgmt::proberesp cb
.....
STA 00:15:af:66:38:b9 sent probe request for our SSID
wlan0: WPA rekeying GTK
WPA: group state machine entering state SETKEYS (VLAN-ID 0)
GMK - hexdump(len=32): [REMOVED]
GTK - hexdump(len=16): [REMOVED]
WPA: 00:15:af:66:38:b9 WPA_PTK_GROUP entering state REKEYNEGOTIATING
wlan0: STA 00:15:af:66:38:b9 WPA: sending 1/2 msg of Group Key Handshake
WPA: Send EAPOL(version=2 secure=1 mic=1 ack=1 install=0 pairwise=0 kde_len=24 keyidx=1 encr=1)
Plaintext EAPOL-Key Key Data - hexdump(len=32): [REMOVED]
wpa_group_setkeys: GKeyDoneStations=1
wlan0: STA 00:15:af:66:38:b9 WPA: EAPOL-Key timeout
WPA: 00:15:af:66:38:b9 WPA_PTK_GROUP entering state REKEYNEGOTIATING
wlan0: STA 00:15:af:66:38:b9 WPA: sending 1/2 msg of Group Key Handshake
WPA: Send EAPOL(version=2 secure=1 mic=1 ack=1 install=0 pairwise=0 kde_len=24 keyidx=1 encr=1)
Plaintext EAPOL-Key Key Data - hexdump(len=32): [REMOVED]
wlan0: STA 00:15:af:66:38:b9 WPA: EAPOL-Key timeout
WPA: 00:15:af:66:38:b9 WPA_PTK_GROUP entering state REKEYNEGOTIATING
wlan0: STA 00:15:af:66:38:b9 WPA: sending 1/2 msg of Group Key Handshake
WPA: Send EAPOL(version=2 secure=1 mic=1 ack=1 install=0 pairwise=0 kde_len=24 keyidx=1 encr=1)
Plaintext EAPOL-Key Key Data - hexdump(len=32): [REMOVED]
wlan0: STA 00:15:af:66:38:b9 WPA: EAPOL-Key timeout
WPA: 00:15:af:66:38:b9 WPA_PTK_GROUP entering state REKEYNEGOTIATING
wlan0: STA 00:15:af:66:38:b9 WPA: sending 1/2 msg of Group Key Handshake
WPA: Send EAPOL(version=2 secure=1 mic=1 ack=1 install=0 pairwise=0 kde_len=24 keyidx=1 encr=1)
Plaintext EAPOL-Key Key Data - hexdump(len=32): [REMOVED]
wlan0: STA 00:15:af:66:38:b9 WPA: EAPOL-Key timeout
WPA: 00:15:af:66:38:b9 WPA_PTK_GROUP entering state REKEYNEGOTIATING
WPA: 00:15:af:66:38:b9 WPA_PTK_GROUP entering state KEYERROR
WPA: group state machine entering state SETKEYSDONE (VLAN-ID 0)
WPA: 00:15:af:66:38:b9 WPA_PTK entering state DISCONNECT
hostapd_wpa_auth_disconnect: WPA authenticator requests disconnect: STA 00:15:af:66:38:b9 reason 2
WPA: 00:15:af:66:38:b9 WPA_PTK_GROUP entering state IDLE
WPA: 00:15:af:66:38:b9 WPA_PTK entering state DISCONNECTED
WPA: 00:15:af:66:38:b9 WPA_PTK entering state INITIALIZE
wlan0: STA 00:15:af:66:38:b9 IEEE 802.1X: unauthorizing port
wlan0: STA 00:15:af:66:38:b9 IEEE 802.11: deauthenticated due to local deauth request
Data/PS-poll frame from not associated STA 00:15:af:66:38:b9
Data/PS-poll frame from not associated STA 00:15:af:66:38:b9
Data/PS-poll frame from not associated STA 00:15:af:66:38:b9
Data/PS-poll frame from not associated STA 00:15:af:66:38:b9
Data/PS-poll frame from not associated STA 00:15:af:66:38:b9
Data/PS-poll frame from not associated STA 00:15:af:66:38:b9
Data/PS-poll frame from not associated STA 00:15:af:66:38:b9
STA 00:15:af:66:38:b9 sent probe request for our SSID
STA 00:15:af:66:38:b9 sent probe request for our SSID
Data/PS-poll frame from not associated STA 00:15:af:66:38:b9
дальше сыпятся только
Data/PS-poll frame from not associated STA 00:15:af:66:38:b9
Конфигурация hostapd
interface=wlan0
driver=nl80211
ssid=ASUSAP
hw_mode=g
channel=7
macaddr_acl=0
ignore_broadcast_ssid=0
auth_algs=1
wpa=2 # WPA2-Personal/AES or WPA2-PSK/AES
wpa_passphrase=superpassword
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
eap_server=0
eapol_key_index_workaround=0
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
beacon_int=100
dtim_period=2
max_num_sta=255
rts_threshold=2347
fragm_threshold=2346
own_ip_addr=127.0.0.1
В чем бяка? Сознаюсь сразу - мой первый опыт установки и ковыряния Linuxа
