View previous topic :: View next topic |
Author |
Message |
Evileye l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/Loony Toons/Looney_Toons_-_Road_Runner.gif)
Joined: 06 Aug 2003 Posts: 782 Location: Toronto
|
Posted: Wed Jul 30, 2008 3:29 pm Post subject: hostapd problem (SOLVED) |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Evileye l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/Loony Toons/Looney_Toons_-_Road_Runner.gif)
Joined: 06 Aug 2003 Posts: 782 Location: Toronto
|
Posted: Wed Jul 30, 2008 11:53 pm Post subject: |
|
|
Turns out I forgot to add ath0 to /etc/conf.d/hostapd
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|