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:
- 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?)
- 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.