linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tamer Higazi <th982a@googlemail.com>
To: linux-wireless@vger.kernel.org
Subject: Could not set interface mon.wlan1
Date: Sat, 15 Dec 2012 07:57:09 +0100	[thread overview]
Message-ID: <50CC1F45.8050508@googlemail.com> (raw)

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.

Now I really don't know if it's the USB stick, the driver or the hostapd itself that makes me troubles. 

I am running Gentoo x64 bit with the kernel 3.3.8. 

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


                 reply	other threads:[~2012-12-15  6:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=50CC1F45.8050508@googlemail.com \
    --to=th982a@googlemail.com \
    --cc=linux-wireless@vger.kernel.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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).