https://learn.adafruit.com/setting-up-a ... youll-need
My Wifi Dongle:
https://www.adafruit.com/products/2638
Pimoroni claims AP is supported:
https://shop.pimoroni.com/collections/r ... ifi-dongle
First error showed up when running:
pi@raspberrypi ~ $ sudo apt-get install hostapd isc-dhcp-server
Returned:
Code: Select all
Generating /etc/default/isc-dhcp-server...
[....] Starting ISC DHCP server: dhcpd[....] check syslog for diagnostics [FAIL failed!
failed!
invoke-rc.d: initscript isc-dhcp-server, action "start" failed.
I continued with the tutorial with no issue until the 'First test!' section, where you run:
sudo /usr/sbin/hostapd /etc/hostapd/hostapd.conf
I get a return of:
Code: Select all
Configuration file: /etc/hostapd/hostapd.conf
drv->ifindex=3
l2_sock_recv==l2_sock_xmit=0x0xed6638
ioctl[SIOCSIWMODE]: Invalid argument
Could not set interface to mode(3)!
Could not set interface to master mode!
rtl871xdrv driver initialization failed.
Code: Select all
interface=wlan0
driver=rtl871xdrv
ssid=TomsPi
hw_mode=g
channel=6
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_passphrase=Raspberry
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
using the nl80211 referenced in the tutorial doesnt work either, returns 'unknown driver'
If I skip the first step test and try to start hostapd I get a return of
Code: Select all
[FAIL] Starting advanced IEEE 802.11 management: hostapd failed!
it looks to be a driver error (rtl871xdrv driver initialization failed)
and configuration file errors (ioctl[SIOCSIWMODE]: Invalid argument
Could not set interface to mode(3)!
Could not set interface to master mode!)
I've spent the past two days looking all over the place, but I have not found a working fix, I've found the same errors but with different adapters/adapters.
Any help would be appreciated! Pulling my hair out over this!