-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rpi w2 various glitches #3682
Comments
Nov 28 16:50:08 box systemd[1]: Starting hostapd.service - Hostapd IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator... I was surprised at this as hostapd had been running on the rpi 4 After a restart hostapd ran successfully and I was able to connect to it with my laptop. Not sure how to automate this so that a card can be prepared on a bigger rpi and deployed on w2. |
Dec 10 15:13:50 box systemd[1]: Starting kiwix-serve.service - Provides the Kiwix ZIM File Server... Again, Kiwix was running on the rpi 4. OS is 64 bit and w2 is also 64 bit, so I expected it to work, but perhaps it is the arm level.
|
root@box:~# getconf LONG_BIT I assumed that running the 64 bit raspios would come up in 64, not 32 bit. Now I'm questioning if this is actually 64 bit raspian. |
put the card back into the rpi 4 and root@box:~# uname -a kiwix runs. root@box:~# getconf LONG_BIT another surprise checked kiwix download version: kiwix-tools_linux-aarch64-musl-3.5.0-2.tar.gz |
starting again with 12-5-2023 raspios and small install |
now in rpi w2:
|
kiwix worked, presumably because the OS is now 64 bit |
This seems like a boot time race between hostapd and whatever is invoking rfkill to enable the wifi. Is the problem gone on subsequent boots? Check the logs of sequence of events. |
it does not happen on the rpi 4. It only happens on the first book of the w2 with the sd card that was previously in the rpi 4 |
I'm not really seeing anything in the logs, but I also don't know what to look for. |
Are you installing the "Bookworm" version of 64-bit Raspberry Pi OS Lite ? There are contradictory claims circulating — that "Bookworm" is or was unfortunately not fully supported on Raspberry Pi Zero 2 W hardware. 🤔 In Short: Answering all these questions will be extremely valuable, if in the end we can understand a bit better what aspects are not workable. |
vs Should be able to see the timestamps of the processes. Happy hunting. |
yes In my experience 64 bit 12/5/23 properly boots as 64 bit on w2 whereas 64 bit previous version booted as 32 bit on w2 as it does on w 0 The rfkill problem has a work around in that you can simply restart hostapd, but that makes for complications. |
Huge thanks @tim-moody for researching this critical question 💯 (I wish I could help but this coming week is extremely difficult for me.) |
I repeated the install on 12-5-2023 with the same result that an install on rpi 4 with working hostapd when the card is moved to w2 has hostapd killed by rfkill. But after systemctl restart hostapd works fine. |
I then repeated with 12-11-2023 with the same result. For any who are interested here are some logs: http://sprunge.us/6Cv8RM entire log from install on rpi4 http://sprunge.us/GVveEQ log from boot on w2 http://sprunge.us/Q7bd4H hostapd references on w2 http://sprunge.us/9CJ3kQ kill references on w2 |
I'll note that NetworkManager is active and looks to be the new out of the box default on this image. Think the easiest with 'systemd-rfkill.service' in the logs is to add to the both versions of hostapd.service file Edit: no PR forthcoming from me. |
Perhaps Before=NetworkManager.service might become After= as NM is the process unlocking the WiFi |
is that hostapd.legacy.j2 and hostapd.service.j2?
instead of previous suggestion? |
Did more or less medium install on rpi 4 with 2023-10-05 raspian and added 256G of content. I then put this sd card in a rpi w2 and booted. It seemed to boot fine and got to a linux prompt shown on the monitor. There were a number of glitches.
The text was updated successfully, but these errors were encountered: