Hi all,
I am attempting to turn myfreebsd FreeBSD box into an APN with hostapd(4). I have the following Atheros wifi card:
I have the following in /etc/rc.conf
In /etc/hostapd.conf I have
When starting up hostapd(8) I get the following output:
It seems hostapd(8) take the card down and then can't bring it up again. If I do a
I am attempting to turn my
Code:
"AR9287 Wireless Network Adapter (PCI-Express)"
Code:
ifconfig_wlan0="inet 192.168.10.8 netmask 255.255.255.0"
wlans_ath0="wlan0"
hostapd_enable="YES"
Code:
interface=wlan0
driver=bsd
debug=4
logger_syslog=-1
logger_syslog_level=0
logger_stdout=-1
logger_stdout_level=2
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
macaddr_acl=0
auth_algs=1
hw_mode=g
ssid=Dogs
wpa=3
wpa_passphrase=PASSWORD
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP TKIP
Code:
Starting hostapd.
Configuration file: /etc/hostapd.conf
bsd_set_if_media: SIOCSIFMEDIA Device not configured
bsd_init: failed to set operation mode
bsd driver initialization failed.
ELOOP: remaining socket: sock=5 eloop_data=0x801c08a80 user_data=0x0 handler=0x4146a0
/etc/rc.d/hostapd: WARNING: failed to start hostapd
ifconfig wlan0 up and then a ifconfig wlan0 scan I get some nearby SSIDs. So I know the card is working at least. Any help appreciated. I have put the debug level to 4 but there is no additional output in /var/log/messages.