[Sysadmins] Q: hostapd on b43

Konstantin A. Lepikhov =?iso-8859-1?q?lakostis_=CE=C1_unsafe=2Eru?=
Вс Дек 9 22:41:26 MSK 2007


Hi!

Кому-нибудь удавалось завести AP на b43? Интересует ядро > 2.6.23 и
hostapd >0.6.0. У меня пока остановилось на след.:

...
Using interface wlan0_rename with hwaddr xx:xx:xx:xx:xx:xx and ssid
'homenet'
1197228746.877531: SSID - hexdump_ascii(len=7):
    xxxxxxxxxxxxxxxxxxxx                   xxxxxx         
1197228746.877766: PSK (ASCII passphrase) - hexdump_ascii(len=11):
    xxxxxxxxxxxxxxxxxxxxx                  xxxxxxx     
1197228747.407432: PSK (from passphrase) - hexdump(len=32): xx xx ...
1197228748.481392: WPA: group state machine entering state
  GTK_INIT (VLAN-ID 0)
1197228748.483420: GMK - hexdump(len=32): [REMOVED]
1197228748.485260: GTK - hexdump(len=32): [REMOVED]
1197228748.486967: WPA: group state machine entering state SETKEYSDONE (VLAN-ID 0)
wlan0_rename: ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Operation not supported
1197228748.496249: Could not set PrivacyInvoked for interface wlan0_rename
1197228748.497995: wlan0_rename: Unable to setup interface.
1197228748.499895: Flushing old station entries
Could not connect to kernel driver.
1197228748.503947: Deauthenticate all stations
rmdir[ctrl_interface]: No such file or directory
wlan0_rename: ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Operation not supported
1197228748.518327: Could not disable PrivacyInvoked for interface wlan0_rename

в это время в dmesg видно след.:
b43-phy0 debug: Loading firmware version 351.126 (2006-07-29 05:54:02)
b43-phy0 debug: Chip initialized
b43-phy0 debug: 32-bit DMA initialized
b43-phy0 debug: Wireless interface started
b43-phy0 debug: Adding Interface type 1
br-lan: port 2(wlan0_rename) entering learning state
b43-phy0 debug: Removing Interface type 1
b43-phy0 debug: Wireless interface stopped
b43-phy0 debug: DMA-32 0x0200 (RX) max used slots: 0/64
b43-phy0 debug: DMA-32 0x02A0 (TX) max used slots: 0/128
b43-phy0 debug: DMA-32 0x0280 (TX) max used slots: 0/128
b43-phy0 debug: DMA-32 0x0260 (TX) max used slots: 0/128
b43-phy0 debug: DMA-32 0x0240 (TX) max used slots: 0/128
b43-phy0 debug: DMA-32 0x0220 (TX) max used slots: 0/128
b43-phy0 debug: DMA-32 0x0200 (TX) max used slots: 0/128
br-lan: port 2(wlan0_rename) entering disabled state

т.е. где-то падает wpa, но не знаю где :( Без авторизации вроде бы
запускается, но клиенты эту AP не видят (с AP видно броадкасты, но не
более того, STA за свою оно не признает).

конфиг /etc/hostapd/hostapd.conf:

interface=wlan0_rename
driver=devicescape
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
debug=4
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ssid=homenet
hw_mode=g
macaddr_acl=1
accept_mac_file=/etc/hostapd/accept
auth_algs=3
ignore_broadcast_ssid=0
#eap_message=hello
#wep_key_len_broadcast=5
#wep_key_len_unicast=5
eapol_key_index_workaround=1
#eap_server=1
wpa=1
wpa_passphrase=xxxxxxx
wpa_psk_file=/etc/hostapd/accept.wpa_psk
wpa_key_mgmt=WPA-PSK WPA-EAP
passive_scan_mode=0

PS Это не альт, и вообще не i586. Это debian mipsel на wl500gP, но думаю
для решения проблемы не суть важно.

-- 
WBR et al.



Подробная информация о списке рассылки Sysadmins