Jump to content

missing wifi on orangepi zero , before worked.....


soldato

Recommended Posts

hi all, 

 

i had a orange pi zero board that worked fine until yesterday. MY BOARD IS ORANGEPI ZERO (not 2)

 

i upgraded the OS armbian :   Linux orangepizero 6.6.31-current-sunxi #1 SMP Fri May 17 10:02:40 UTC 2024 armv7l GNU/Linux

 

the board worked fine until the last reboot in order to test octopi startup, but before this reboot the OS was upgraded and rebooted

 

the issue now is that the wlan0 seems to be always down

 

i do a lot of setup but it still to remain down, i am not a very expert with these board but i am very new with this kind of issue.

 

can anyone help me with the troubleshooting ?

 

i can access the board via LAN (eth0)

 

i can show some details:

 

root@orangepizero:~# lsmod
Module                  Size  Used by
xradio_wlan           110592  0
mac80211              643072  1 xradio_wlan
cfg80211              606208  2 mac80211,xradio_wlan
rfkill                 20480  2 cfg80211
libarc4                12288  1 mac80211
sun4i_gpadc_iio        12288  0
ch341                  16384  1
industrialio           57344  1 sun4i_gpadc_iio
usbserial              36864  3 ch341
sun8i_thermal          12288  0
uio_pdrv_genirq        16384  0
uio                    16384  1 uio_pdrv_genirq
cpufreq_dt             16384  0
usb_f_acm              16384  1
u_serial               20480  3 usb_f_acm
g_serial               12288  0
libcomposite           49152  2 g_serial,usb_f_acm
ip_tables              20480  0
x_tables               24576  1 ip_tables
autofs4                36864  2
pwrseq_simple          12288  1
sunxi                  12288  0
phy_generic            16384  2 sunxi
ac200_phy              12288  1

 

 

root@orangepizero:~# sudo iwlist wlan0 scan
wlan0     Interface doesn't support scanning : Network is down

 

root@orangepizero:~#  nmcli dev wifi list
IN-USE  SSID  MODE  CHAN  RATE  SIGNAL  BARS  SECURITY

 

root@orangepizero:~# ifconfig -a

..................................................

wlan0: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 0a:5e:7a:3c:fa:2a  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

 

now i had this error but before was different:

 

root@orangepizero:~# ifup wlan0
RTNETLINK answers: Invalid argument
ifup: failed to bring up wlan0

 

 

root@orangepizero:~# rfkill list all
0: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no

 

 

the network interfaces was not touched before this issue, yesterday i only upgraded OS , python3 and octopi.

 

i prefer don't reimage the OS.....

 

i observed that the wlan0 MAC changes at every reboot.

 

 

many thanks 

 

i pologize if i posted into orangepi zero 2 section

 

 

 

Edited by soldato
Link to comment
Share on other sites

i apology but for some misteryous issue i lost completly the network, using nmtui i added only the IP gateway on my wired connection and after that i lost completly the network, i also mounted the SD on a ubuntu but all seems fine. but no network.

 

after that i reimaged a new SD card with last armbian/noble release , and wifi connection works. i need to reinstall all OctoPrint sw.

 

without IP gateway i cannot install armbianmonitor.

 

i think we can close this thread if i cannot resume at least the wired connection.

 

the next steps could be to disable Network Manager , can any one has a guide to perform this task using the SD mounted on a another machine ?

 

bye

 

Link to comment
Share on other sites

I tried the orangepizero image from https://dl.armbian.com/orangepizero/Bookworm_current_minimal (Bookworm, Linux 6.6.44)

 

and wifi didn't work

 

Then I tried the image from https://armbian.tnahosting.net/archive/orangepizero/archive/Armbian_24.2.1_Orangepizero_bookworm_current_6.6.20_minimal.img.xz (bookworm, Linux 6.6.20)

 

and wifi worked again

 

Then I did apt update+upgrade, the kernel upgraded to 6.6.31, and the wifi connection was still working

 

Result of armbianmonitor -u: https://paste.armbian.com/irowedahuc

 

^ In case someone needs a reference of how it should work

 

I will try the 6.6.44 image again

 

v Below is the result of the Bookworm 6.6.44 image

 

https://paste.armbian.com/odeyapojal

 

Also:

 

sudo iwlist wlan0 scan
wlan0     Interface doesn't support scanning : Network is down

 

It is also missing armbian-config:

 

sudo apt install armbian-config
[sudo] password for roberto:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package armbian-config

 

 

Then, when I tried the image from https://dl.armbian.com/orangepizero/Noble_current_server (on August 24), then Wifi works

 

armbian-config and nmtui are included in this image, and it has a new option: Radio

 

Here's the result of armbianmonitor -u : https://paste.armbian.com/erofizifam

 

I will continue working with Ubuntu Server, instead of Debian Minimal :)

 

Screenshot from 2024-08-24 02-12-39.png

Link to comment
Share on other sites

10 hours ago, robertoj said:

Minimal

Minimal really means minimal.  So it doesn't come installed with even basic things like Armbian-config.  The minimal install is an 'expert' type build, use only if you know what you are doing and are willing to install a lot of basic things to get your system working the way you want.  The standard server builds are likely what you are looking for.

Link to comment
Share on other sites

Did apt update beforehand? Images do not come with pre-installed apt lists since they would be outdated the moment the image was assembled.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines