I got an OrangePi Lite a couple of days ago - using Armbian finally managed to get it working, almost (still have problems with automatic dhclient!)
I’ve just discovered DietPi & … WAW!
Great work!
I’ve tried the OrangePi One distro since the Lite is just a One with Wifi instead of the Ethernet.
It worked just fine - I added ESSID & Key in dietpi.txt file & the board just booted & successfully updated. After that the wifi was not recognized & not enabled.
The OrangePi One has no built-in wifi - the question is why it worked on the first run before the update? On first run.zip (220 KB)
Can you remember which version of DietPi you had installed, prior to updating? I’ll then check sourecode.
Might not fix this issue, but its always worth setting your WiFi country code in dietpi-config WiFi menu. Increases power ratings and available channels for your country.
Also, can you please paste results of the following commands:
root@DietPi:~# uname -a
Linux DietPi 3.4.112-sun8i #2 SMP PREEMPT Thu Sep 15 12:08:42 BST 2016 armv7l GNU/Linux
I already did in the dietpi.txt file:
#WiFi country code. 2 character value (eg GB US DE JP): https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
wifi_country_code=EG
After the update (wifi not working:
root@DietPi:~# lsmod
Module Size Used by
root@DietPi:~# lsusb
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 0781:5567 SanDisk Corp. Cruzer Blade
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[/code]
I burned the img again and ^C during the update & the outputs are:
root@DietPi:~# lsmod
Module Size Used by
8189fs 1057328 0
8723bs 1591846 0
brcmfmac 92803 0
brcmutil 2926 1 brcmfmac
root@DietPi:~# lsusb
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 0781:5567 SanDisk Corp. Cruzer Blade
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
also, did you setup your WiFi key + SSID in dietpi.txt before booting for the 1st time?
I tried both but same results - losing wifi after upgrade
can you please paste results of the following (after the update + reboot):
root@DietPi:~# cat /etc/modprobe.d/disable_wifi.conf
cat: /etc/modprobe.d/disable_wifi.conf: No such file or directory
oot@DietPi:~# cd /etc/modprobe.d/
root@DietPi:/etc/modprobe.d# ls
8188eu.conf 8192cu.conf cfg80211.conf disable_bt.conf fbdev-blacklist.conf
I’ve tried everything I could (my last UNIX experience was on SGIs IRIX back in early nineties ) … I think the variables for eth# & wlan# wrongly calculated at some point of the configuration script.