User Tools

Site Tools


public:linux:rpi-buster-eduroam-campusroam-wifi-bug

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
public:linux:rpi-buster-eduroam-campusroam-wifi-bug [2021/01/29 13:06] – timdv91public:linux:rpi-buster-eduroam-campusroam-wifi-bug [2023/02/26 04:51] (current) – external edit 127.0.0.1
Line 7: Line 7:
 ==== 1) Setting sources.list file: ==== ==== 1) Setting sources.list file: ====
 Add **one** of the following lines to your **'/etc/apt/sources.list'** file. Comment out previously existing lines with '#' Add **one** of the following lines to your **'/etc/apt/sources.list'** file. Comment out previously existing lines with '#'
-<code bash| Pick 1 out of two lines!>+<code bash Pick 1 out of two lines!>
 deb http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi deb http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi
 deb http://raspbian.raspberrypi.org/raspbian/ jessie main contrib non-free rpi deb http://raspbian.raspberrypi.org/raspbian/ jessie main contrib non-free rpi
Line 27: Line 27:
 </code> </code>
  
-==== 2) Checking available 'wpasupplicant' versions: ====+==== 2) Checking and installing the available 'wpasupplicant' versions: ====
 The previous step should have downgraded the 'wpasupplicant' versions available for installation on your system. Run a check using **'apt-cache policy wpasupplicant'** The previous step should have downgraded the 'wpasupplicant' versions available for installation on your system. Run a check using **'apt-cache policy wpasupplicant'**
 \\ Follow the previous step with **'sudo apt-get install <package of choice>'** \\ Follow the previous step with **'sudo apt-get install <package of choice>'**
-<code bash| Type: >+<code bash Type: >
 apt-cache policy wpasupplicant                                                     # this prints the wpasupplicant versions available on your system.  apt-cache policy wpasupplicant                                                     # this prints the wpasupplicant versions available on your system. 
  
Line 42: Line 42:
 \\ //Note: The print-screen was taken after downgrading wpasupplicants on my system!// \\ //Note: The print-screen was taken after downgrading wpasupplicants on my system!//
  
 +
 +==== 3) Set the wifi configuration correctly: ====
 +Open up the **/etc/wpa_supplicant/wpa_supplicant.conf** file using nano. 
 +<code bash>
 +sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
 +# press 'ctrl + o' to save the file!
 +# press 'ctrl + x' to exit nano!
 +</code>
 +
 +Add additional lines to the file:
 +<code bash | wpa_supplicant.conf>
 +ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
 +update_config=1
 +country=BE
 +
 +network={
 +         ssid="campusroam-2.4"
 +         scan_ssid=1
 +         mode=0
 +         proto=RSN
 +         key_mgmt=WPA-EAP
 +         eap=PEAP
 +         identity="u******@kuleuven.be"
 +         ca_cert="/usr/share/ca_certificates/mozilla/DigiCert_Assured_ID_Root_CA.crt"
 +         password="*******" # Ask google if you want this encrypted.
 +         phase1="peapleabel=auto peapver=auto"
 +         pahse2="auth=MSCHAPV2"
 +}
 +</code>
 +
 +<code>
 +# press 'ctrl + o' to save the file!
 +# press 'ctrl + x' to exit nano!
 +</code>
 +
 +__**Reboot your system!**__
 +
 +==== 4) Optionally - Change DNS server: ====
 +First make sure you have network connection using **ip a**. 
 +\\ Secondly if you're connected, check your current DNS settings using **'cat /etc/resolv.conf'**
 +
 +<code bash>
 +ip a
 +cat /etc/resolv.conf
 +</code>
 +
 +Use nano to open the **'/etc/dhcpcd.conf'** file
 +add the following to it: **'static domain_name_server=8.8.8.8 134.58.126.3'**
 +
 +<code bash>
 +sudo nano /etc/dhcpcd.conf
 +static domain_name_server=8.8.8.8 134.58.126.3  # change the secondary '134.58.126.3' ip address to one of the addresses shown inside your '/etc/resolv.conf' file. 
 +</code>
 +
 +__**Reboot your system!**__
public/linux/rpi-buster-eduroam-campusroam-wifi-bug.1611925615.txt.gz · Last modified: (external edit)