Setting up WPA2 wifi with username and passphrase

Applications, development tools, FPGA, C, WEB
Post Reply
Eddy77
Posts: 4
Joined: Fri Nov 12, 2021 3:39 pm

Setting up WPA2 wifi with username and passphrase

Post by Eddy77 » Fri Nov 12, 2021 3:47 pm

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?
Last edited by Eddy77 on Fri Nov 12, 2021 4:41 pm, edited 1 time in total.

pavel
Posts: 790
Joined: Sat May 23, 2015 5:22 pm

Re: Setting up WPA2 wifi with username and passphrase

Post by pavel » Fri Nov 12, 2021 4:30 pm

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"
}

Eddy77
Posts: 4
Joined: Fri Nov 12, 2021 3:39 pm

Re: Setting up WPA2 wifi with username and passphrase

Post by Eddy77 » Fri Nov 12, 2021 4:40 pm

Thanks a lot for the reply. This looks good.
There are also similar instructions on https://www.lrz.de/services/netz/mobil/ ... _1x-linux/.

Eddy77
Posts: 4
Joined: Fri Nov 12, 2021 3:39 pm

Re: Setting up WPA2 wifi with username and passphrase

Post by Eddy77 » Sun Nov 14, 2021 7:51 pm

Initially, I had problems with write permissions:

Code: Select all

/opt/redpitaya/wpa_supplicant.conf
nor

Code: Select all

/etc/wpa_supplicant.conf
were writable.

I realized I need to enter

Code: Select all

rw
in the Terminal of the image to make these files writable.

kitzhabz
Posts: 2
Joined: Thu Oct 06, 2022 5:24 pm

Re: Setting up WPA2 wifi with username and passphrase

Post by kitzhabz » Wed Jan 03, 2024 7:10 pm

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.

Post Reply
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie

Who is online

Users browsing this forum: No registered users and 27 guests