Tiny Core Extensions > TCE 2.x
hostapd - wifi AP daemon
curaga:
- My previous router was some crummy 200Mhz ARM, check out the new 12-core Istanbul one
- How's that different? Getting faster wlan?
- duh, it's the latency that counts
--- Quote ---Title: hostapd.tcz
Description: Wlan AP mode daemon
Version: 0.6.9-3
Author: Jouni Malinen
Original-site: http://hostap.epitest.fi/hostapd
Copying-policy: GPL
Size: 172K
Extension_by: Curaga
Comments: Using this your comp can be a wireless access point.
Open auth, WEP, WPA-PSK supported.
Requires a mac80211 wireless driver (b43, ath*k, etc)
-
Copy /usr/local/etc/hostapd.conf.sample somewhere, and
run as:
sudo hostapd /path/to/conf
Change-log:
Current: 2009/10/10 Original
--- End quote ---
tcman:
Hi Curaga,
I try to enable hostapd and got an error as below (I copied config file and renamed to apd.conf). Any clue on this please help.
tc@box:/mnt/sda1/tce$ sudo hostapd apd.conf
Configuration file: apd.conf
Failed to set interface wlan0 to master mode.
nl80211 driver initialization failed.
rmdir[ctrl_interface]: No such file or directory
ELOOP: remaining socket: sock=5 eloop_data=0x8f566c8 user_data=(nil) handler=0x806d047
My machine is Acer Aspire One 110 (8GB SSD)
curaga:
- is your wifi interface named wlan0?
- are the drivers capable of master mode?
tcman:
Thanks for your prompt reply.
- Yes, my wireless interface is wlan0.
- Checked/found ath5k driver used (Atheros AR2425 chip).
- Try to set master mode and got error.
tc@box:~$ sudo iwconfig wlan0 mode master
Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; Invalid argument.
Any idea?
curaga:
That error is expected; master mode can only be set by hostapd nowadays.
See if there's more to the logs with increased verbosity (sudo hostapd -d -v /path/to/apd.conf)
edit: and of course, was the interface free? (ie. down, no udhcpc running on it etc)
Navigation
[0] Message Index
[#] Next page
Go to full version