ODROID WiFi Adapter 3 Won't Work as HotSpot

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
Ferrari Steve
Posts: 8
Joined: Sun Jun 24, 2018 4:43 pm

ODROID WiFi Adapter 3 Won't Work as HotSpot

Post by Ferrari Steve »

Can't get the ODROID WiFi Adater 3 to work with DietPi:

Code: Select all

root@DietPi:~# lsusb
Bus 001 Device 003: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

root@DietPi:~# iwconfig wlan0
wlan0     IEEE 802.11bgn  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
          Retry short limit:7   RTS thr=2347 B   Fragment thr:off
          Encryption key:off
          Power Management:off`

root@DietPi:~# cat /etc/hostapd/hostapd.conf
interface=wlan0
driver=rtl871xdrv
ssid=MobilePi
hw_mode=g
channel=9
macaddr_acl=0
auth_algs=1
ssid=MobilePi

root@DietPi:~# hostapd /etc/hostapd/hostapd.conf -dd
random: Trying to read entropy from /dev/random
Configuration file: /etc/hostapd/hostapd.conf
drv->ifindex=4
l2_sock_recv==l2_sock_xmit=0x0x48c3b0
ioctl[SIOCSIWMODE]: Invalid argument
Could not set interface to mode(3)!
Could not set interface to master mode!
rtl871xdrv driver initialization failed.
hostapd_interface_deinit_free(0x48b950)
hostapd_interface_deinit_free: num_bss=1 conf->num_bss=1
hostapd_interface_deinit(0x48b950)
wlan0: interface state UNINITIALIZED->DISABLED
hostapd_bss_deinit: deinit bss wlan0
wlan0: AP-DISABLED 
hostapd_cleanup(hapd=0x48cba0 (wlan0))
hostapd_free_hapd_data: Interface wlan0 wasn't started
hostapd_interface_deinit_free: driver=(nil) drv_priv=(nil) -> hapd_deinit
hostapd_interface_free(0x48b950)
hostapd_interface_free: free hapd 0x48cba0
hostapd_cleanup_iface(0x48b950)
hostapd_cleanup_iface_partial(0x48b950)
hostapd_cleanup_iface: free iface=0x48b950

root@DietPi:~# service hostapd status
● hostapd.service - LSB: Advanced IEEE 802.11 management daemon
   Loaded: loaded (/etc/init.d/hostapd; generated; vendor preset: enabled)
   Active: active (exited) since Mon 2018-07-23 00:48:41 BST; 12h ago
     Docs: man:systemd-sysv-generator(8)
  Process: 1718 ExecStart=/etc/init.d/hostapd start (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/hostapd.service

Jul 23 00:48:40 DietPi systemd[1]: Starting LSB: Advanced IEEE 802.11 management daemon...
Jul 23 00:48:40 DietPi hostapd[1718]: Starting advanced IEEE 802.11 management: hostapdioctl[SIOCSIWMODE]: Invalid argume
nt
Jul 23 00:48:41 DietPi hostapd[1718]:  failed!
Jul 23 00:48:41 DietPi systemd[1]: Started LSB: Advanced IEEE 802.11 management daemon.
Ferrari Steve
Posts: 8
Joined: Sun Jun 24, 2018 4:43 pm

Re: ODROID WiFi Adapter 3 Won't Work as HotSpot

Post by Ferrari Steve »

Using "iwlist wlan0 scan" I'm able to get it to scan and see APs around me, but I still can't get it to act as an AP itself:
Post Reply