Page 1 of 1
Setting up WPA2 wifi with username and passphrase
Posted: Fri Nov 12, 2021 3:47 pm
by Eddy77
Hello everybody out there using Red Pitaya,
Setting up an ethernet connection to the Red Pitaya worked well.
For wifi, I have a USB wifi dongle which is recognized by the Red Pitaya and shows the available wifis.
Available wifis at my university are the eduroam wifi and a university one, which requires more complicated login credentials than indicated by the form of the Red Pitaya's web interface.
Is it sufficient to edit the /etc/wpa_supplicant/wpa_supplicant.conf in this case?
Re: Setting up WPA2 wifi with username and passphrase
Posted: Fri Nov 12, 2021 4:30 pm
by pavel
Eddy77 wrote: ↑Fri Nov 12, 2021 3:47 pm
Is it sufficient to edit the /etc/wpa_supplicant.conf in this case?
Yes. Something like the following should work with eduroam:
Code: Select all
network={
ssid="eduroam"
proto=RSN
key_mgmt=WPA-EAP
eap=TTLS
identity="user@institute.edu"
password="password"
phase2="auth=MSCHAPV2"
}
Re: Setting up WPA2 wifi with username and passphrase
Posted: Fri Nov 12, 2021 4:40 pm
by Eddy77
Thanks a lot for the reply. This looks good.
There are also similar instructions on
https://www.lrz.de/services/netz/mobil/ ... _1x-linux/.
Re: Setting up WPA2 wifi with username and passphrase
Posted: Sun Nov 14, 2021 7:51 pm
by Eddy77
Initially, I had problems with write permissions:
Code: Select all
/opt/redpitaya/wpa_supplicant.conf
nor
were writable.
I realized I need to enter
in the Terminal of the image to make these files writable.
Re: Setting up WPA2 wifi with username and passphrase
Posted: Wed Jan 03, 2024 7:10 pm
by kitzhabz
This worked for me on the STEMlab 125-14 with OS 2.00-23. There was no "wpa_supplicant.conf" file in the /opt/redpitaya directory, so I created the file and added the following code:
Code: Select all
network={
ssid="eduroam"
key_mgmt=WPA-EAP
eap=PEAP
identity="user@domain"
phase2="auth=MSCHAPV2"
password="plain_text_password"
}
Then I rebooted the Red Pitaya, and BAM! connected!
I haven't been able to connect using the .local/ address, but I used the serial console connection to find the IP with "ip a", then I was able to connect.