Eduroam worker-leader connection with one interface

hello all,

since I don’t have an ethernet cable and only one wifi interface, I’m facing the issue that I cannot connect the workers to the leader.
Why? I cannot view them from my PC unless they are connected to a network, but I can only connect them to eduroam after I ssh’d them.

So I see two solutions:

  1. adding the eduroam connection “instruction” (like a .sh script) to the SD card and it executes the script (.sh) on bootup. (alternative would be to change the PioreactorAP file?)
  2. creating a local-access point (the wifi I mean), ssh-ing into it with my PC, adding the eduroam.profile file adding the “instruction” script, executing it
    2.2) using the p2p connection option, the rest stays the same
    Which approach would be the best?

Here would be my instruction script:
wifi_connection.sh:
nmcli device disconnect wlan0
nmcli device connect wlan0
sudo wpa_supplicant -i wlan0 -c eduroam.profile
sudo dhclient -v wlan0

i get however the issue: permission denied, when trying to run it.

Hi @rls333

I can’t speak much about eduroam connections. Have you successfully added a RPi to the eduroam network using your eduroam.profile?


The permission denied might be because you need to be root / sudo to edit nmcli devices. Ex: sudo nmcli device disconnect wlan0

Yes I added one RP successfully to the eduroam. This was easy because I could this via keyboard (it was a raspberry pi with a keyboard)
But I don’t know how to add the others since they don’t have a keyboard and I don’t have an ethernet cable and the only have the wlan0 interface (RP Zero 2)

Regarding this:
The permission denied might be because you need to be root / sudo to edit nmcli devices. Ex: sudo nmcli device disconnect wlan0

Yes you might be right, and I will try this tomorrow.