Wifi Setup still flaky with i20250822 and i20251109 #1994
Replies: 16 comments 9 replies
-
|
Any progress please ? Thanks Chris |
Beta Was this translation helpful? Give feedback.
-
|
@rern Thanks Chris |
Beta Was this translation helpful? Give feedback.
-
|
@rern Chris |
Beta Was this translation helpful? Give feedback.
-
|
@rern Can this issue be fixed ? It is still an issue with i20251109 / 20260111 (and latest updates up to 09:00 GMT Jan 14th) as detailed in the first post of this thread and in the previous posts identified there. Thanks Chris |
Beta Was this translation helpful? Give feedback.
-
|
Hi Chris Not really helping a lot, but I can at least confirm you're not the only one having wifi connection problems To get the wifi up initially I had to disable local browser to start wifi-menu from cli, now wifi is connected (only automatically on wlan0) only if I disable onboard wifi after setting everything else in boot/config.txt One trick I have used to remediate is add an extra script that replaces that wlan0 file at the end of boot so at least the networks page displays A8 |
Beta Was this translation helpful? Give feedback.
-
|
@rern I have also discovered a small typo whilst checking out the original problem in: /srv/http/bash/status.sh Line 174 needs to change from:
to
Thanks, nearly there. Chris |
Beta Was this translation helpful? Give feedback.
-
|
@rern This is preventing me from updating 3 x RPi3A+ devices, which are using an old rAudio version but only have the onboard wifi available, to the latest release. Thanks Chris |
Beta Was this translation helpful? Give feedback.
-
|
A friend of mine has RPI 4 with rAudio working , but only with Lan . It says WLan connection failed . Could it be that special characters in the WIFI-Password are not allowed , because in my Network it is working ? |
Beta Was this translation helpful? Give feedback.
-
|
If I may chip in.. Are the rpi3's in a metal case, rather far from router, behind walls/ceilings perhaps ? Or a lot of iot devices around ? Or lots of neighbors who insist on using the same wifi channels ? As a trial try increasing sec=30 to sec=60 or more in /bash/startup.sh to see if that is the culprit HTH |
Beta Was this translation helpful? Give feedback.
-
|
The problem isn't with the wifi connection surviving a reboot but with setting it up in the first place. On the 3A+ I have historicaly used a 'wifi' file in /boot. Using this method, I can see see the file being actioned by /srv/http/bash/startup.sh (around line numbers 135 - 138, these have changed in recent releases) and the connection IS made for a few seconds but then the logic kills the onboard wifi connection and disables the setting so that it no longer available in subsequent boots. @Alien8ions - the RPi3A+ is not in a metal case, is around 1.5m from the router and has worked perfectly with previous releases. I believe it a logic issue which is causing the problem as previously detailed. |
Beta Was this translation helpful? Give feedback.
-
|
I'm not sure when this happened but now systemd-networkd is enabled and run. It used to be dhcpd+netctl for network support and wlan connection in rAudio (and still is) and looks superfluous. Maybe there is some interference. |
Beta Was this translation helpful? Give feedback.
-
|
As requested: Booted using USB Ethernet conector and with System / Onboard / WiFi enabled: After reboot, with a new '/boot/wifi' file in place. The USB adapter was reconnected after boot to be able to access the system: The attached snippet file (wlan0_setup.log, attached below) is the relevant output from a 'journalctl -b' command during the reboot above and shows wlan0 initially being identified and configured, dropped and the onboard wifi connection being disabled. Chris |
Beta Was this translation helpful? Give feedback.
-
|
@rern Got me thinking and a bit of Google searching led me to: https://bbs.archlinux.org/viewtopic.php?id=166607 and from this then,
removed the wlan1 network 'profile' (?), and following a new /boot/wifi file and a reboot - seems to have solved the problem. The RPi 3A+ seems to now be working as I would expect. I might just wait a little before marking this as solved - just in case :-) Chris |
Beta Was this translation helpful? Give feedback.
-
|
Spoke too soon. Having had success with my test rig above, I moved on to one of my lesser used RPi3A+ "production" systems. I flashed a new SD card with i20251109 and booted using a USB ethernet adaptor to ensure I could get a connection. I applied the latest update release 202602122, created a new wifi file in /boot, removed the USB ethernet adaptor and rebooted. On reboot I could not access the wifi connection and further investigation showed that I had the same problem as at the start of this thread. Not Good! I then applied the same 'fix' as in the previous post:
which told me it was removing: I then created another new wifi file in /boot, with no other changes to anything else, and rebooted. This time the system came back up WITH the onboard wifi enabled and working. Checking the system it appears that the files removed above have been recreated: I cannot begin to understand why this has the effect it does but I can live with it until somebody better than me works out what is happening and why. Chris |
Beta Was this translation helpful? Give feedback.
-
|
Is the /etc/netctl file being created correctly? Also, grasping at straws, do you have the same SSID for both frequency bands? If so, does turning off the 5GHz band at the router make any difference? |
Beta Was this translation helpful? Give feedback.
-
|
@rern Thanks very much! Chris |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
As noted in #1965 and #1987, the tried and trusted method of setting up a wifi connection via a 'WiFi' file in the '/BOOT' partition is still flaky in this release. If setup in this way the wifi starts but almost immediately it is shutdown. The only way I have found to configure wifi is manually through the web pages but even this sometimes takes several attempts for it to 'stick'.
The issue, which I documented in #1965 (reply in thread), is with the startup.sh file around lines 140/142
Chris
Beta Was this translation helpful? Give feedback.
All reactions