Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
hostapd problem (SOLVED)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Evileye
l33t
l33t


Joined: 06 Aug 2003
Posts: 782
Location: Toronto

PostPosted: Wed Jul 30, 2008 3:29 pm    Post subject: hostapd problem (SOLVED) Reply with quote

I am trying to set up my Gentoo server as a wireless access point. When I try to start hostapd I get an error message saying it wants net.wlan0 which doesn't exist. My card is atheros based and I am using the madwifi driver. The interface I want it to use is net.ath0

Here is my hostapd.conf

Code:

interface=ath0
bridge=br0
driver=madwifi
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=1
debug=0
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
ssid="MyNetwork"
macaddr_acl=0
accept_mac_file=/etc/hostapd/hostapd.accept
deny_mac_file=/etc/hostapd/hostapd.deny
auth_algs=1
wpa=1
wpa_passphrase="mypassphrase"
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP CCMP


Quote:
penguin init.d # /etc/init.d/hostapd start
* Caching service dependencies ...
* Can't find service 'net.wlan0' needed by 'hostapd'; continuing... [ ok ]
net.wlan0
* ERROR: Some services needed are missing. Run
* './hostapd broken' for a list of those
* services. hostapd was not started.


Quote:
penguin init.d # ./hostapd broken
net.wlan0


Anyone know what to do?


Last edited by Evileye on Wed Jul 30, 2008 11:53 pm; edited 1 time in total
Back to top
View user's profile Send private message
Evileye
l33t
l33t


Joined: 06 Aug 2003
Posts: 782
Location: Toronto

PostPosted: Wed Jul 30, 2008 11:53 pm    Post subject: Reply with quote

Turns out I forgot to add ath0 to /etc/conf.d/hostapd

Code:
INTERFACES="ath0"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum