hello, i have a usb wifi card which works fine. problem is when i disable my built in wifi in
/boot/userconfig.txt with dtoverlay=disable-wifi volumio os interface sees wifi as disabled, you have to put in cable and enable it, then usb wifi works until next reboot.
This is reproduceable.
no one? how do i disable built in wifi on my rpi5 then?
Darmur
April 18, 2024, 4:12pm
4
on the Raspberry Pi 5, the string to add to userconfig.txt for disabling the onboard WiFi module is the following one:
dtoverlay=disable-wifi-pi5
source:
Introduction
============
This directory contains Device Tree overlays. Device Tree makes it possible
to support many hardware configurations with a single kernel and without the
need to explicitly load or blacklist kernel modules. Note that this isn't a
"pure" Device Tree configuration (c.f. MACH_BCM2835) - some on-board devices
are still configured by the board support code, but the intention is to
eventually reach that goal.
On Raspberry Pi, Device Tree usage is controlled from /boot/config.txt. By
default, the Raspberry Pi kernel boots with device tree enabled. You can
completely disable DT usage (for now) by adding:
device_tree=
to your config.txt, which should cause your Pi to revert to the old way of
doing things after a reboot.
In /boot you will find a .dtb for each base platform. This describes the
This file has been truncated. show original
that will indeed disable rpi5 wifi, but after reboot there will no wifi at all until you actively enable wifi again like on @SimonE screenshot, THUS you cant disable built in wifi if you use volumio headless and want to reboot from time to time… this is a bug.
What I want is my usb wifi to be the only active wifi.
thanks for replying but that wont work. the wifi will automaticly disable If I disable built in wifi on userconfig.
If I plug in a cable and enable WIFI in the settings page, it will work until next reboot.
Darmur
April 23, 2024, 8:40am
8
that’s strange, could you please try with a factory reset?
the install is just a couple of weeks old, an I havent changed anything except installing spotify connect plugin and built my libary. but ok…
factory reset did not change anything, issue remains
i can also reproduce this on a second rpi5
any updates on this? it cant be just me?
if i do systemctl start wireless after boot it works. so something is weird here
[sudo] password for volumio:
bash-5.0# systemctl status wireless
● wireless.service - Wireless Services
Loaded: loaded (/lib/systemd/system/wireless.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Wed 2024-09-25 09:13:28 CEST; 2min 8s ago
Process: 762 ExecStart=/volumio/app/plugins/system_controller/network/wireless.js start (code=exited, status=0/SUCCESS
Sep 25 09:13:27 volumio5 systemd[1]: Starting Wireless Services…
Sep 25 09:13:28 volumio5 wireless.js[762]: WIRELESS: No wireless interface, exiting
Sep 25 09:13:28 volumio5 systemd[1]: wireless.service: Succeeded.
Sep 25 09:13:28 volumio5 systemd[1]: Started Wireless Services.
bash-5.0#
thats is after boot untouched if i do systemctl start wireless it all works, guess this run before wlan0 is ready?
edit: i added ```
ExecStartPre=/bin/sleep 30
in wireless.service just to test and then it worked.
so this is indeed something that needs to be fixed!
see this @Darmur
Darmur
September 25, 2024, 9:43am
15
@volumio @DED could you please have a look?
I tried with this now:
[Unit]
Description=Wireless Services
After=network.target
Wants=network-online.target
Before=volumio.service
and it worked, i guess this is a better solution
volumio
September 25, 2024, 1:37pm
17
Wait, it is not required to disable anything.
Volumio will prioritize connection via USB dongle over the integrated one, if found.
Will have to check if that still works, will come back to you
im sure it does but rasperry pi wifi will still draw power and interface for no reason
volumio
September 25, 2024, 1:46pm
19
If it doesn’t transmit nor receive, then it’s drawing a neglectable amount of power IMHO