1 |
I am trying to get hostapd with my Atheros Wlan USB Stick to run |
2 |
(zd1211rw) on Gentoo Linux to run and I am not getting further. |
3 |
|
4 |
Now I really don't know if it's the USB stick, the driver or the hostapd |
5 |
itself that makes me troubles. |
6 |
I am running Gentoo x64 bit with the kernel 3.3.8. |
7 |
If somebody knows the answer, I would kindly thank him/her. |
8 |
|
9 |
|
10 |
output of "sudo hostapd -dd /etc/hostapd/hostapd.conf": |
11 |
|
12 |
random: Trying to read entropy from /dev/random |
13 |
Configuration file: /etc/hostapd/hostapd.conf |
14 |
ctrl_interface_group=0 |
15 |
nl80211: interface wlan1 in phy phy0 |
16 |
rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0 |
17 |
nl80211: Using driver-based off-channel TX |
18 |
nl80211: Add own interface ifindex 5 |
19 |
nl80211: Set mode ifindex 5 iftype 3 (AP) |
20 |
nl80211: Create interface iftype 6 (MONITOR) |
21 |
nl80211: New interface mon.wlan1 created: ifindex=9 |
22 |
nl80211: Add own interface ifindex 9 |
23 |
Could not set interface mon.wlan1 flags: No such file or directory |
24 |
nl80211: Remove interface ifindex=9 |
25 |
nl80211: Failed to set interface wlan1 into AP mode |
26 |
netlink: Operstate: linkmode=0, operstate=6 |
27 |
nl80211: Set mode ifindex 5 iftype 2 (STATION) |
28 |
nl80211 driver initialization failed. |
29 |
rmdir[ctrl_interface]: No such file or directory |
30 |
|
31 |
|
32 |
my hostapd.conf: |
33 |
|
34 |
|
35 |
interface=wlan1 |
36 |
driver=nl80211 |
37 |
|
38 |
logger_syslog=-1 |
39 |
logger_syslog_level=2 |
40 |
logger_stdout=-1 |
41 |
logger_stdout_level=2 |
42 |
dump_file=/tmp/hostapd.dump |
43 |
ctrl_interface=/var/run/hostapd |
44 |
ctrl_interface_group=0 |
45 |
ssid=Tux |
46 |
macaddr_acl=0 |
47 |
auth_algs=3 |
48 |
eap_server=0 |
49 |
eap_message=hello |
50 |
eapol_key_index_workaround=0 |
51 |
own_ip_addr=127.0.0.1 |
52 |
wpa=3 |
53 |
ieee8021x=0 |
54 |
wpa_passphrase=secretpassword |
55 |
wpa_key_mgmt=WPA-PSK |
56 |
wpa_pairwise=CCMP TKIP |
57 |
hw_mode=g |
58 |
channel=8 |