ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "Konstantin A. Lepikhov" <lakostis@unsafe.ru>
To: "Sysadmins@lists" <sysadmins@lists.altlinux.org>
Subject: [Sysadmins] Q: hostapd on b43
Date: Sun, 9 Dec 2007 22:41:26 +0300
Message-ID: <20071209194126.GB12488@lks.home> (raw)

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.


             reply	other threads:[~2007-12-09 19:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-09 19:41 Konstantin A. Lepikhov [this message]
2007-12-09 20:20 ` Alexey Shabalin
2007-12-09 20:34   ` Konstantin A. Lepikhov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071209194126.GB12488@lks.home \
    --to=lakostis@unsafe.ru \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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