Answer the question
In order to leave comments, you need to log in
Can't set up Raspberry as an access point with RT5370 adapter?
I'm trying to set up an access point, when I start it sudo /usr/sbin/hostapd /etc/hostapd/hostapd.conf
shows this error
Configuration file: /etc/hostapd/hostapd.conf
Line 7: invalid/unknown driver 'nl80211'
1 errors found in configuration file '/etc/hostapd/hostapd.conf'
Configuration file: /etc/hostapd/hostapd.conf
drv->ifindex=3
l2_packet_init: ioctl[SIOCGIFINDEX]: No such device
no br0 interface , let l2_sock_recv==l2_sock_xmit=0x0x17e2638
ioctl[SIOCSIWMODE]: Invalid argument
Could not set interface to mode(3)!
Could not set interface to master mode!
rtl871xdrv driver initialization failed.
rmdir[ctrl_interface]: No such file or directory
ctrl_interface=/var/run/hostapd
###############################
# Basic Config
###############################
macaddr_acl=0 auth_algs=1
# Most modern wireless drivers in the kernel need driver=nl80211
driver=nl80211
##########################
# Local configuration...
##########################
interface=wlan0
bridge=br0
hw_mode=g
ieee80211n=1
channel=1
ssid=RaspberryPI_AP
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
Answer the question
In order to leave comments, you need to log in
You need to build your hostapd, with CONFIG_DRIVER_NL80211 = Y.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question