I am using below setup on BeagleBone Black board with Realtek USB WiFi Dongle RTL8188CUS. Same setup as my Raspberry Pi.
But this will cause below error. Any one can help this? Thanks!
deb...@arm:~$ sudo hostapd /etc/hostapd/hostapd.conf -B
[sudo] password for debian:
Configuration file: /etc/hostapd/hostapd.conf
drv->ifindex=3
l2_sock_recv==l2_sock_xmit=0x0x49648
ioctl[SIOCSIWMODE]: Invalid argument
Could not set interface to mode(3)!
Could not set interface to master mode!
rtl871xdrv driver initialization failed.