DietPi WiFi Access Point - wlan0 not found Topic is solved

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
hillz

DietPi WiFi Access Point - wlan0 not found

Post by hillz »

I'm trying to set up a WiFi AP on my Orange Pi Zero with dietpi-software. Everything went well until I start hostapd:

Code: Select all

root@DietPi:~# hostapd /etc/hostapd/hostapd.conf 
Configuration file: /etc/hostapd/hostapd.conf
Could not read interface wlan0 flags: No such device
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Could not read interface wlan0 flags: No such device
nl80211 driver initialization failed.
wlan0: interface state UNINITIALIZED->DISABLED
wlan0: AP-DISABLED 
hostapd_free_hapd_data: Interface wlan0 wasn't started

Code: Select all

root@DietPi:~# iwconfig
lo        no wireless extensions.

tunl0     no wireless extensions.

eth0      no wireless extensions.

Code: Select all

root@DietPi:~# cat /etc/network/interfaces
#/etc/network/interfaces
#Please use DietPi-Config to modify network settings.

# Local
auto lo
iface lo inet loopback

# Ethernet
allow-hotplug eth0
iface eth0 inet dhcp
address 192.168.0.100
netmask 255.255.255.0
gateway 192.168.0.1
#dns-nameservers 8.8.8.8 8.8.4.4

# Wifi
allow-hotplug wlan0
iface wlan0 inet static
address 192.168.42.1
netmask 255.255.255.0
#gateway 192.168.0.1
#wireless-essid FuzonWifi
#wireless-key abcde12345
#wireless-mode Managed
wireless-power off
#wpa-ssid FuzonWifi
#wpa-psk abcde12345
#dns-nameservers 8.8.8.8 8.8.4.4

# IP tables
up iptables-restore < /etc/iptables.ipv4.nat
How do I solve this?
User avatar
Fourdee
Site Admin
Posts: 2782
Joined: Tue Feb 06, 2007 1:36 pm

Re: DietPi WiFi Access Point - wlan0 not found

Post by Fourdee »

Hi,

Unfortunately my OPi Zero died, replacement on its way.

Although, I believe the xradio_wlan module may have built in module options to switch to AP mode, if you can paste results i'd be grateful:

Code: Select all

systool -vm xradio_wlan
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Post Reply