Hello all, I need assistance with an issue.
I am trying to configure my Pi as a Wireless Access Point (WAP).
I have it all configured according to the Adafruit Guide https://learn.adafruit.com/setting-up-a-raspberry-pi-as-a-wifi-access-point/overview
When I run "sudo /usr/sbin/hostapd /etc/hostapd/hostapd.conf"
I get the following error:
Configuration file: /etc/hostapd/hostapd.conf
Line 4: unknown hw_mode "N"
1 errors found in configuration file '/etc/hostapd/hostapd.conf'
the content of my hostapd.conf file is such:
interface=wlan0
driver=rt2870
ssid=Pi_AP
hw_mode=N
channel=6
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_passphrase=Raspberry
wpa_keymgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
I have tried it with "g" and with "n" and get the same error (with "g" and "n" respectively)
If I comment out "hw_mode=N" I get the following error
configuration file : /etc/hostapd/hostapd.conf
dry->ifindex=3
l2_sock_recv==l2_sockxmit=0x0f3e638
IOCtl[SIOCSIWMODE]:invalid arugment
could not set interface mode(3)!
could not set interface to master mode!
rtl871xdrv driver initialization failied.
My wireless adapter is from element 14 https://www.element14.com/community/docs/DOC-69361/l/wifi-usb-dongle-for-raspberry-pi#cblogposts
I have the drivers for the device placed It into the /bin folder.
any and all help will be greatly appreciated
Thank you