Today I updated my Umbrel to 1.2.2
Then I connected to the local wifi network. Everything worked fine (the first time)
Fast forward 5 hours to a new location, where I don’t have an ethernet enabled router. I shared my laptop’s wifi over ethernet with my umbrel (running on raspi), waited for everything to sync, and tried connecting umbrel with the wifi network at the new location. every time I try, umbrel crashes, and takes a few minutes to reboot.
can anyone help me get it to work ? otherwise my umbrel is bricked. I cannot keep it connected to my laptop 24/7. wifi is currently the only option in my new home.
I think the error in the logs related to Mender (failed to authorize, failed to obtain identity data) suggests the system can’t communicate with the update server or Mender service. Since you’re on a new network, this could be caused by improper network configurations or firewall restrictions.
First check the Umbrel Wi-Fi configuration /etc/wpa_supplicant/wpa_supplicant.conf and make sure the correct SSID and password are saved for the new Wi-Fi network. You can edit this file by SSHing into the Pi and manually entering the Wi-Fi credentials:
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
If all that doesn’t work, then you may need to update or fix Mender components. You can try: sudo apt-get --reinstall install mender-client
Concerning your first suggestion: If I enter http://umbrel.local/settings/terminal/umbrelos and cd into /etc/wpa_supplicant, ‘ls’ only shows me these 3 files: action_wpa.sh functions.sh ifupdown.sh
for reference, Umbrel 1.2.2 has a UI for configuring WIFI (selecting the SSID and entering the password): http://umbrel.local/settings/wifi. That’s what I tried to use repeatedly yesterday.
Concerning mender, your command seems to have executed successfully: sudo apt-get --reinstall install mender-client.
After reinstalling mender, I tried connecting to wifi again, but again umbrel crashed with the message “something went wrong”.
For reference, my umbrelOS is running on a Raspberry PI 4. My wifi network is 192.168.8.x and my ethernet cable subnet between macos and raspi is 192.168.2.x.
here’s what I found in the log after the most recent crash described above:
Sep 16 15:25:59 umbrel avahi-daemon[226]: New relevant interface vethe1d2d8a.IPv6 for mDNS.
Sep 16 15:25:59 umbrel avahi-daemon[226]: Registering new address record for fe80::a005:f4ff:fee8:fb5e on vethe1d2d8a..
Sep 16 15:25:59 umbrel NetworkManager[273]: [1726500359.1209] device (veth04b2457): carrier: link connected
Sep 16 15:25:59 umbrel kernel: eth0: renamed from vethf7fc70d
Sep 16 15:25:59 umbrel avahi-daemon[226]: Joining mDNS multicast group on interface veth78aad77.IPv6 with address fe80::50dd:e1ff:fe09:acc7.
Sep 16 15:25:59 umbrel kernel: br-86839b5a6c52: port 18(veth2f97d83) entered blocking state
Sep 16 15:25:59 umbrel kernel: br-86839b5a6c52: port 18(veth2f97d83) entered forwarding state
Sep 16 15:25:59 umbrel avahi-daemon[226]: New relevant interface veth78aad77.IPv6 for mDNS.
Sep 16 15:25:59 umbrel avahi-daemon[226]: Registering new address record for fe80::50dd:e1ff:fe09:acc7 on veth78aad77..
Sep 16 15:25:59 umbrel NetworkManager[273]: [1726500359.4583] device (veth2f97d83): carrier: link connected
Sep 16 15:25:59 umbrel avahi-daemon[226]: Joining mDNS multicast group on interface vethc4864d4.IPv6 with address fe80::acc5:7cff:feaf:ed1c.
Sep 16 15:25:59 umbrel avahi-daemon[226]: New relevant interface vethc4864d4.IPv6 for mDNS.
Sep 16 15:25:59 umbrel avahi-daemon[226]: Registering new address record for fe80::acc5:7cff:feaf:ed1c on vethc4864d4..
Sep 16 15:25:59 umbrel avahi-daemon[226]: Joining mDNS multicast group on interface veth194033c.IPv6 with address fe80::b008:69ff:fe73:7073.
Sep 16 15:25:59 umbrel avahi-daemon[226]: New relevant interface veth194033c.IPv6 for mDNS.
Sep 16 15:25:59 umbrel avahi-daemon[226]: Registering new address record for fe80::b008:69ff:fe73:7073 on veth194033c..
Sep 16 15:25:59 umbrel avahi-daemon[226]: Joining mDNS multicast group on interface vethf67fe5e.IPv6 with address fe80::410:63ff:fe2e:92aa.
Sep 16 15:25:59 umbrel avahi-daemon[226]: New relevant interface vethf67fe5e.IPv6 for mDNS.
Sep 16 15:25:59 umbrel avahi-daemon[226]: Registering new address record for fe80::410:63ff:fe2e:92aa on vethf67fe5e..
Sep 16 15:26:00 umbrel avahi-daemon[226]: Joining mDNS multicast group on interface veth04b2457.IPv6 with address fe80::a0bc:abff:fe4b:a7ff.
Sep 16 15:26:00 umbrel avahi-daemon[226]: New relevant interface veth04b2457.IPv6 for mDNS.
Sep 16 15:26:00 umbrel avahi-daemon[226]: Registering new address record for fe80::a0bc:abff:fe4b:a7ff on veth04b2457..
Sep 16 15:26:00 umbrel avahi-daemon[226]: Joining mDNS multicast group on interface veth2f97d83.IPv6 with address fe80::4c4:9ff:feff:7f8e.
Sep 16 15:26:00 umbrel avahi-daemon[226]: New relevant interface veth2f97d83.IPv6 for mDNS.
Sep 16 15:26:00 umbrel avahi-daemon[226]: Registering new address record for fe80::4c4:9ff:feff:7f8e on veth2f97d83.*.
Sep 16 15:26:01 umbrel dockerd[481]: time=“2024-09-16T15:26:01.242361597Z” level=info msg=“Loading containers: done.”
Sep 16 15:26:01 umbrel systemd[1]: mnt-root-var-lib-docker-overlay2-opaque\x2dbug\x2dcheck2447778459-merged.mount: Deactivated successfully.
Sep 16 15:26:01 umbrel systemd[1]: data-umbrel\x2dos-var-lib-docker-overlay2-opaque\x2dbug\x2dcheck2447778459-merged.mount: Deactivated successfully.
Sep 16 15:26:01 umbrel systemd[1]: mnt-root-mnt-data-docker-overlay2-opaque\x2dbug\x2dcheck2447778459-merged.mount: Deactivated successfully.
Sep 16 15:26:01 umbrel systemd[1]: mnt-data-docker-overlay2-opaque\x2dbug\x2dcheck2447778459-merged.mount: Deactivated successfully.
Sep 16 15:26:01 umbrel systemd[1]: var-lib-docker-overlay2-opaque\x2dbug\x2dcheck2447778459-merged.mount: Deactivated successfully.
Sep 16 15:26:02 umbrel dockerd[481]: time=“2024-09-16T15:26:02.133341652Z” level=info msg=“Docker daemon” commit=061aa95 containerd-snapshotter=false storage-driver=overlay2 version=25.0.4
Sep 16 15:26:02 umbrel dockerd[481]: time=“2024-09-16T15:26:02.140366671Z” level=info msg=“Daemon has completed initialization”
Sep 16 15:26:02 umbrel dockerd[481]: time=“2024-09-16T15:26:02.786097448Z” level=info msg=“API listen on /run/docker.sock”
Sep 16 15:26:02 umbrel systemd[1]: Started docker.service - Docker Application Container Engine.
Sep 16 15:26:02 umbrel systemd[1]: Started umbrel.service - Umbrel daemon.
Sep 16 15:26:02 umbrel systemd[1]: Starting umbrel-tty-message.service - Display Umbrel access information on TTY…
Sep 16 15:26:05 umbrel systemd[1]: umbrel-tty-message.service: Deactivated successfully.
Sep 16 15:26:05 umbrel systemd[1]: Finished umbrel-tty-message.service - Display Umbrel access information on TTY.
Sep 16 15:26:05 umbrel systemd[1]: Reached target multi-user.target - Multi-User System.
Sep 16 15:26:05 umbrel systemd[1]: Reached target graphical.target - Graphical Interface.
Sep 16 15:26:05 umbrel systemd[1]: Starting systemd-update-utmp-runlevel.service - Record Runlevel Change in UTMP…
Sep 16 15:26:05 umbrel systemd[1]: systemd-update-utmp-runlevel.service: Deactivated successfully.
Sep 16 15:26:05 umbrel systemd[1]: Finished systemd-update-utmp-runlevel.service - Record Runlevel Change in UTMP.
Sep 16 15:26:05 umbrel systemd[1]: Startup finished in 3.379s (kernel) + 1min 6.349s (userspace) = 1min 9.728s.
Sep 16 15:26:14 umbrel mender[370]: time=“2024-09-16T15:26:14Z” level=info msg=“State transition: inventory-update-retry-wait [Sync] → inventory-update [Sync]”
Sep 16 15:26:14 umbrel mender[370]: time=“2024-09-16T15:26:14Z” level=info msg=“Device unauthorized; attempting reauthorization”
Sep 16 15:26:14 umbrel mender[370]: time=“2024-09-16T15:26:14Z” level=error msg=“Failed to authorize with "": failed to build authorization request: failed to obtain authorization message data: failed to obtain identity data: failed to call /usr/share/mender/identity/mender-device-identity: fork/exec /usr/share/mender/identity/mender-device-identity: no such file or directory”
Sep 16 15:26:14 umbrel mender[370]: time=“2024-09-16T15:26:14Z” level=warning msg=“Reauthorization failed with error: transient error: authorization request failed”
Sep 16 15:26:14 umbrel mender[370]: time=“2024-09-16T15:26:14Z” level=error msg=“Failed to submit inventory data: transient error: authorization request failed”
Sep 16 15:26:14 umbrel mender[370]: time=“2024-09-16T15:26:14Z” level=error msg=“inventory submit failed: transient error: authorization request failed”
Sep 16 15:26:14 umbrel mender[370]: time=“2024-09-16T15:26:14Z” level=warning msg=“Failed to refresh inventory: failed to submit inventory data: inventory submit failed: transient error: authorization request failed”
Sep 16 15:26:14 umbrel mender[370]: time=“2024-09-16T15:26:14Z” level=info msg=“State transition: inventory-update [Sync] → inventory-update-retry-wait [Sync]”
Sep 16 15:26:14 umbrel mender[370]: time=“2024-09-16T15:26:14Z” level=info msg=“Handle update inventory retry state try: 1”
Sep 16 15:26:14 umbrel mender[370]: time=“2024-09-16T15:26:14Z” level=info msg=“Device unauthorized; attempting reauthorization”
Sep 16 15:26:14 umbrel mender[370]: time=“2024-09-16T15:26:14Z” level=error msg=“Failed to authorize with "": failed to build authorization request: failed to obtain authorization message data: failed to obtain identity data: failed to call /usr/share/mender/identity/mender-device-identity: fork/exec /usr/share/mender/identity/mender-device-identity: no such file or directory”
Sep 16 15:26:14 umbrel mender[370]: time=“2024-09-16T15:26:14Z” level=warning msg=“Reauthorization failed with error: transient error: authorization request failed”
Sep 16 15:26:14 umbrel mender[370]: time=“2024-09-16T15:26:14Z” level=error msg=“Failed to submit inventory data: transient error: authorization request failed”
Sep 16 15:26:14 umbrel mender[370]: time=“2024-09-16T15:26:14Z” level=error msg=“inventory submit failed: transient error: authorization request failed”
Sep 16 15:26:14 umbrel mender[370]: time=“2024-09-16T15:26:14Z” level=warning msg=“Failed to refresh inventory: failed to submit inventory data: inventory submit failed: transient error: authorization request failed”
Sep 16 15:26:14 umbrel mender[370]: time=“2024-09-16T15:26:14Z” level=warning msg=“RetryPollIntervalSeconds is not defined”
Sep 16 15:26:14 umbrel mender[370]: time=“2024-09-16T15:26:14Z” level=warning msg=“RetryPollIntervalSeconds is not defined”
Sep 16 15:26:14 umbrel mender[370]: time=“2024-09-16T15:26:14Z” level=info msg=“Wait 1m0s before next inventory update attempt in 59.999945646s”
Sep 16 15:26:55 umbrel umbreld[2846]: [umbreld ] Starting Umbrel v1.2.2
It appears that Umbrel’s built-in Wi-Fi configuration UI is crashing when attempting to connect to certain networks. One approach would be to manually configure the Wi-Fi settings via the terminal instead of relying on the UI.
Try creating the Wi-Fi configuration file in /etc/wpa_supplicant/wpa_supplicant.conf to manually set up the SSID and password of the new network:
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
Add the following lines (adjust with your network details):
Aside from that your network configuration shows two different subnets for Wi-Fi and Ethernet (192.168.8.x and 192.168.2.x). This could cause routing or communication issues.
Ensure there are no IP conflicts, and try disconnecting the Ethernet cable before connecting to Wi-Fi to see if it resolves the crash. If you need the Ethernet connection temporarily, try changing the subnet of one network to avoid conflicts (or use a bridge mode on your Mac to share the same subnet).
You can also try to disable or bypass Mender to isolate the problem. This could be done by editing the mender-client service or removing it entirely from the boot process:
I created the /etc/wpa_supplicant/wpa_supplicant.conf file with my SSID and password, but neither sudo systemctl restart NetworkManager nor rebooting the Raspi seems to result in a successful wifi connection.
But guess what: stopping / disabling mender-client and then using the GUI to enable wifi worked! Once I unplugged the ethernet cable and verified that I could still connect to umbrel.local, I started / enabled mender-client again using:
Restarting my Raspi I can now no longer connect to it, not through ethernet, not through wifi, not with umbrel.local and not with the IP address. I suspect that maybe re-enabling mender-client may have broken something.
One thing that seems fairly consistent is that since configuring umbrel to connect to my main wifi network, I cannot connect to umbrel at all if the main wifi network is on. if I turn my wifi router off then umbrel.local answers over the ethernet connection. any idea where umbrel stores the wifi connection information, so that I could delete those files as well ?
I think it’s time to give up. I might check back in in a few months to see if there has been any progress on the umbrel wifi with umbrelOS 1. Doesn’t seem to be fully functional so far.
PS: it looks to me like the sudo nano /etc/NetworkManager/system-connections/ssid.nmconnection don’t survive reboot. after reboot, my file was completely empty, whereas before reboot it had the full config.