Could not set interface mon.wlan1
Tamer Higazi
th982a
Fri Dec 14 22:48:53 PST 2012
I am trying to get hostapd with my Atheros Wlan USB Stick to run
(zd1211rw) on Gentoo Linux to run and I am not getting further. If
somebody knows the answer, I would kindly thank him/her.
output of "sudo hostapd -dd /etc/hostapd/hostapd.conf":
random: Trying to read entropy from /dev/random
Configuration file: /etc/hostapd/hostapd.conf
ctrl_interface_group=0
nl80211: interface wlan1 in phy phy0
rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0
nl80211: Using driver-based off-channel TX
nl80211: Add own interface ifindex 5
nl80211: Set mode ifindex 5 iftype 3 (AP)
nl80211: Create interface iftype 6 (MONITOR)
nl80211: New interface mon.wlan1 created: ifindex=9
nl80211: Add own interface ifindex 9
Could not set interface mon.wlan1 flags: No such file or directory
nl80211: Remove interface ifindex=9
nl80211: Failed to set interface wlan1 into AP mode
netlink: Operstate: linkmode=0, operstate=6
nl80211: Set mode ifindex 5 iftype 2 (STATION)
nl80211 driver initialization failed.
rmdir[ctrl_interface]: No such file or directory
my hostapd.conf:
interface=wlan1
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=Tux
macaddr_acl=0
auth_algs=3
eap_server=0
eap_message=hello
eapol_key_index_workaround=0
own_ip_addr=127.0.0.1
wpa=3
ieee8021x=0
wpa_passphrase=secretpassword
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP TKIP
hw_mode=g
channel=8
More information about the Hostap
mailing list