I recently bought a Raspberry Pi 5 to work through Programming Nerves, which starts with using Nerves Livebook. I have a tri-band router with WP2/WPA3 enabled. I haven’t been able to get WiFi working (direct Ethernet and Ethernet to USB adapter are fine). I used Nerves Burner passing in my WiFi credentials; directly loaded the nerves livebook firmware with fwup (passing in WiFi credentials); and cloned the repo, using mix to create and burn the firmware and setting up WiFi with VintageNetWiFi.quick_configure/2.
I have a RPi Zero W, which works fine. And on the RPi5, I actually built the “hello nerves” project, burned the firmware, set up WiFi with VintageNet, and WiFi works. Does anyone have any suggestions on how to get WiFi working on the RPi5 with Nerves Livebook?
This is the output (with ssid and passphrase redacted). I made the firmware using nerves_burner without configuring WiFi credentials. When I tried the quick_configure, this was in RingLogger.next:
19:48:26.111 [warn] RouteManager: new set_connection_status wlan0 → :disconnected (Elixir.VintageNet.Interface.start_configuring/3([file: ~c"lib/vintage_net/interface.ex", line: 666]))
19:48:37.683 [warn] Ignoring error getting info on BSSID “9a:18:65:da:39:29”: :timeout
I didn’t think it was that informative, so I reburned the firmware and set the logger level to :debug before trying again:
It seems that my Raspberry Pi doesn’t like mixed WPA2/WPA3, which nerves_livebook uses with quick_configure. If I build nerves_livebook and change the quick_configure configuration in config/rpi5.exs to use wpa_psk, or use VintageNetWiFi.Cookbook.wpa_psk/2 with VintageNet.configure, WiFi works.
I wonder if the Livebook section on WiFi Configuration could point out that quick_configure could fail because of WPA2/WPA3 issues that can be resolved by using specific configurations.
I know I had quick_configure fail on some other issue years ago but it has been reliable for me recently but I don’t have anything special in terms of wifi.
can you log an issue on the vintage_net_wifi repo?