I’m trying to get hostapd to behave and run on my TI8148 + wl1271 system. I recompiled hostapd with nl80211 support, by adding:
CONFIG_LIBNL20=y
CONFIG_DRIVER_NL80211=y
to the .config for hostapd. Then I try to run hostapd on my target:
root@bullfrog-060005:/lib/firmware$ hostapd /media/sda1/hostapd.conf
Configuration file: /media/sda1/hostapd.conf
Line 2: invalid/unknown driver 'nl80211'
Here’s my conf file, for reference:
interface=wlan0
driver=nl80211
ssid=BATTLETOAD
channel=1
hw_mode=g
preamble=1
dtim_period=2
beacon_int=100
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
supported_rates=60 90 120 180 240 360 480 540
basic_rates=60 90 120 180 240
ssid=MAC_AP
max_num_sta=5
macaddr_acl=0
auth_algs=3
ieee80211d=0
uapsd_advertisement_enabled=1
wep_rekey_period=0
own_ip_addr=127.0.0.1
wpa_group_rekey=0
wpa_strict_rekey=0
wpa_gmk_rekey=0
wpa_ptk_rekey=0
#ap_table_max_size=255
#ap_table_expiration_time=60
eap_server=1
#disassoc_low_ack=1
ap_max_inactivity=4294967295
Any tips on why hostapd is being such a butt?