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: 665
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.

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 3 guests