[pkg-wpa-devel] Bug#679770: Bug#679770: hostapd doesn't start at all
Stefan Lippers-Hollmann
s.L-H at gmx.de
Sun Jul 1 14:36:03 UTC 2012
tags 679770 moreinfo
thanks
Hi
On Sunday 01 July 2012, Jozsef Fejes wrote:
[…]
> I've been running hostapd 0.7.3-4 in daemon mode and it's been working perfectly. Now I upgraded and it doesn't start
> at all. It gives the following message:
Starting hostapd through ifupdown (/etc/network/interfaces) is strongly
preferred, however using the initscript should still work - and it does
over here.
03:00.0 Ethernet controller [0200]: Atheros Communications Inc. AR242x / AR542x Wireless Network Adapter (PCI-Express) [168c:001c] (rev 01)
# grep -v -e ^\# -e ^$ /etc/default/hostapd
DAEMON_CONF="/etc/hostapd/hostapd.conf"
# grep -v -e ^\# -e ^$ /etc/hostapd/hostapd.conf | sed "s/\(wpa_psk\=\).*/\1\<secret\>/"
interface=wlan0
driver=nl80211
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
ssid=mercury
country_code=DE
hw_mode=g
channel=1
beacon_int=100
dtim_period=2
max_num_sta=255
rts_threshold=2347
fragm_threshold=2346
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wmm_enabled=1
wmm_ac_bk_cwmin=4
wmm_ac_bk_cwmax=10
wmm_ac_bk_aifs=7
wmm_ac_bk_txop_limit=0
wmm_ac_bk_acm=0
wmm_ac_be_aifs=3
wmm_ac_be_cwmin=4
wmm_ac_be_cwmax=10
wmm_ac_be_txop_limit=0
wmm_ac_be_acm=0
wmm_ac_vi_aifs=2
wmm_ac_vi_cwmin=3
wmm_ac_vi_cwmax=4
wmm_ac_vi_txop_limit=94
wmm_ac_vi_acm=0
wmm_ac_vo_aifs=2
wmm_ac_vo_cwmin=2
wmm_ac_vo_cwmax=3
wmm_ac_vo_txop_limit=47
wmm_ac_vo_acm=0
eapol_key_index_workaround=0
eap_server=0
own_ip_addr=127.0.0.1
wpa=2
wpa_psk=<secret>
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP
rsn_pairwise=CCMP
[this could be simplified]
# /etc/init.d/hostapd start
Starting advanced IEEE 802.11 management: hostapd.
# hostapd_cli get_config | sed "s/\(bssid\=\).*/\101:23:45:67:89:ab/"
Selected interface 'wlan0'
bssid=01:23:45:67:89:ab
ssid=mercury
wps_state=disabled
key_mgmt=WPA-PSK
group_cipher=CCMP
rsn_pairwise_cipher=CCMP
> [....] Starting advanced IEEE 802.11 management: hostapdrmdir[ctrl_interface]: No such file or directory
> failed!
Does this happen on-boot or if you (re-)start the initscript manually
(please try the later)?
Do you have these packages installed:
- crda
- iw
Please post your /etc/hostapd/hostapd.conf - make sure to obfuscate
confidential information, like your wlan keys (wpa_psk).
Please post the ouput of "/sbin/iw list".
Please post the output of "cat /proc/mounts".
Can you reproduce it with Debian's kernel, which wlan card are you
using?
other relevant information (interface setup, eventual bonding, IPv6,
etc.).
While this particular issue should be debugged, we strongly recommend
switching the configuration to use /etc/network/interfaces.
Regards
Stefan Lippers-Hollmann
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-wpa-devel/attachments/20120701/a832c48d/attachment.pgp>
More information about the Pkg-wpa-devel
mailing list