ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
* [Sysadmins] Q: hostapd on b43
@ 2007-12-09 19:41 Konstantin A. Lepikhov
  2007-12-09 20:20 ` Alexey Shabalin
  0 siblings, 1 reply; 3+ messages in thread
From: Konstantin A. Lepikhov @ 2007-12-09 19:41 UTC (permalink / raw)
  To: Sysadmins@lists

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Sysadmins] Q: hostapd on b43
  2007-12-09 19:41 [Sysadmins] Q: hostapd on b43 Konstantin A. Lepikhov
@ 2007-12-09 20:20 ` Alexey Shabalin
  2007-12-09 20:34   ` Konstantin A. Lepikhov
  0 siblings, 1 reply; 3+ messages in thread
From: Alexey Shabalin @ 2007-12-09 20:20 UTC (permalink / raw)
  To: ALT Linux sysadmin discuss

09.12.07, Konstantin A. Lepikhov<lakostis@> написал(а):
> 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, но думаю
> для решения проблемы не суть важно.

А уже сделали рабочий b43? Тогда интресно - буду смотреть. (в родной и
Олеговской прошивке закрытый модуль используется).
А вместо hotapd пробовали nas использовать?
И ещё подскажите, почему debian, а не openwrt?
вот ещё, может что подскажет.
http://forum.openwrt.org/viewtopic.php?id=6090
-- 
Alexey Shabalin

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Sysadmins] Q: hostapd on b43
  2007-12-09 20:20 ` Alexey Shabalin
@ 2007-12-09 20:34   ` Konstantin A. Lepikhov
  0 siblings, 0 replies; 3+ messages in thread
From: Konstantin A. Lepikhov @ 2007-12-09 20:34 UTC (permalink / raw)
  To: shaba, ALT Linux sysadmin discuss

Hi Alexey!

Sunday 09, at 11:20:30 PM you wrote:

<skip>
> А уже сделали рабочий b43? Тогда интресно - буду смотреть. (в родной и
> Олеговской прошивке закрытый модуль используется).
> А вместо hotapd пробовали nas использовать?
нет, 2.4 почему-то не грузит usb :(

> И ещё подскажите, почему debian, а не openwrt?
лично мне так удобнее - нужные пакеты под рукой, да и apt-get пользоваться
удобнее чем ipkg.

> вот ещё, может что подскажет.
> http://forum.openwrt.org/viewtopic.php?id=6090
нет, тут обсуждается openwrt-2.4, который все-таки работает. А в 2.6
только hostapd:

https://dev.openwrt.org/ticket/2677
http://readlist.com/lists/shmoo.com/hostap/0/3538.html - вот это самое
интересное - если работает, то почему openwrt не содержит эти патчей? :)

-- 
WBR et al.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-12-09 20:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-09 19:41 [Sysadmins] Q: hostapd on b43 Konstantin A. Lepikhov
2007-12-09 20:20 ` Alexey Shabalin
2007-12-09 20:34   ` Konstantin A. Lepikhov

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git