NanoPi Neo first boot with wifi

Having issues with your DietPi installation or found a bug? Post it here.
Posts: 134
Joined: Sat Oct 24, 2015 6:30 pm

Re: NanoPi Neo first boot with wifi

Post by Gord_W »

nope with the (NR_4.x)_DietPi_v147_NanoPiNEOAir-armv7-(Jessie).img image on a nanopi neo air, the wifi does not work
I don't have the "air" version so can't help you directly.

Do you have the ability to connect to the serial debug port?

What steps have you gone through to get wifi working for first boot? Which files in which directories did you edit on the SD card?

Gordon Williams

Re: NanoPi Neo first boot with wifi

Post by anemos »

Yes, I was able to connect to the debug serial port.
The wifi in the first install was working with the default 3.4.39 kernel distributed along with the nanopi official distribution. To enable it I just had to add the
auto wlan0
wpa_supplicant /etc/wpa_supplicant/wpa_supplicant.conf
the module used was the bcmdhd one. With your distribution, the module loaded is the brcmfmac one. With this new module, I don't see any error messages related to wifi when typing dmesg but the wifi is not working. it says wlan0 unrecongnized wenever I try to enable it with a ifup wlan0 command.
Posts: 134
Joined: Sat Oct 24, 2015 6:30 pm

Re: NanoPi Neo first boot with wifi

Post by Gord_W »

Glad that you have the serial port working.

I didn't edit the wpa_supplicant.conf file. But before we go there, what does ifconfig and iwconfig say? I have seen wifi named something other than wlan0 before.

What I did was edit the dietpi.txt file in the FAT boot directory to:
1) enable wifi and disable ethernet.
2) provide your ssid and pw, etc.

on boot that info gets transferred to etc/network/interfaces so it looks something like:

#Please use DietPi-Config to modify network settings.

# Local
auto lo
iface lo inet loopback

# Ethernet
#allow-hotplug eth0
iface eth0 inet static

# Wifi
allow-hotplug wlan0
iface wlan0 inet dhcp
wireless-essid Williams
wireless-key xxx_my_password
wireless-mode Managed
wireless-power off
wpa-ssid Williams
wpa-psk xxx_my_password

One of the things that I find frustrating with Linux is that there is more than one way to do things, each with their own side effects. Some ways are new-experimental, new, legacy and legacy-legacy. It really gets confusing on which way is the "best".

Anything more than what I've shown you is beyond my pay grade and you will need to get help from higher beings.

Good luck!
Posts: 13
Joined: Fri Sep 22, 2017 1:35 pm

Re: NanoPi Neo first boot with wifi

Post by NanoPat »

Hi, Armbian 4.10.3 does work for me (on NanoPI NEO) with the Jessie ISO image provided on this thread, GREAT :!:

However, something is missing. Would it be possible to get a kernel upgrade with the patchs provided here ?

These patches update the list of devices who support Native DSD. Then Alsa can retrieve them. I don't think it is necessary to update Alsa and MPD, while the version provided by DietPi are already DSD enabled (in native mode too, unlike the Kernel).
Post Reply