public:linux:rpi-buster-eduroam-campusroam-wifi-bug
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| public:linux:rpi-buster-eduroam-campusroam-wifi-bug [2021/01/29 12:32] – created timdv91 | public:linux:rpi-buster-eduroam-campusroam-wifi-bug [2023/02/26 04:51] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ===== Intro ===== | ===== Intro ===== | ||
| Connecting an Raspberry PI to the eduroam or campusroam wifi network results in intermittent connections on Raspbian Buster. | Connecting an Raspberry PI to the eduroam or campusroam wifi network results in intermittent connections on Raspbian Buster. | ||
| - | Following tutorial explains how to fix this issue, | + | \\ Following tutorial explains how to fix this issue, a working internet connection is required! |
| - | ==== Solution: ==== | + | ===== Solution: Downgrading wpasupplicant ===== |
| - | Add **one** of the following lines to your '/ | + | ==== 1) Setting sources.list file: ==== |
| - | <code bash> | + | Add **one** of the following lines to your **'/ |
| + | <code bash Pick 1 out of two lines!> | ||
| deb http:// | deb http:// | ||
| deb http:// | deb http:// | ||
| #Note: copy pasting in a terminal using the keyboard shortcuts requires an additional ' | #Note: copy pasting in a terminal using the keyboard shortcuts requires an additional ' | ||
| </ | </ | ||
| - | Full example: | + | |
| + | Run **' | ||
| + | |||
| + | __**Full example**__ | ||
| + | <code bash Full example> | ||
| + | sudo nano / | ||
| + | deb http:// | ||
| + | |||
| + | # Use the '#' | ||
| + | # press 'ctrl + o' to save the file! | ||
| + | # press 'ctrl + x' to exit nano! | ||
| + | |||
| + | sudo apt-get update | ||
| + | </ | ||
| + | |||
| + | ==== 2) Checking and installing the available ' | ||
| + | The previous step should have downgraded the ' | ||
| + | \\ Follow the previous step with **' | ||
| + | <code bash Type: > | ||
| + | apt-cache policy wpasupplicant | ||
| + | |||
| + | # Select one of following versions (stretch or jessie). Selection is based on your config inside / | ||
| + | # Note that the version numbers could be different on your system! Check the apt-cache policy wpasupplicant output for certainty! | ||
| + | sudo apt-get install sudo apt-get install wpasupplicant=2: | ||
| + | sudo apt-get install wpasupplicant=2.3.1+deb8u10 -t jessie | ||
| + | </ | ||
| + | |||
| + | {{: | ||
| + | \\ //Note: The print-screen was taken after downgrading wpasupplicants on my system!// | ||
| + | |||
| + | |||
| + | ==== 3) Set the wifi configuration correctly: ==== | ||
| + | Open up the **/ | ||
| <code bash> | <code bash> | ||
| - | sudo nano /etc/apt/sources.list # | + | sudo nano /etc/wpa_supplicant/wpa_supplicant.conf |
| - | deb http:// | + | # press 'ctrl + o' |
| - | # Comment out the previously existing lines for certainty --> use the '#' | + | # press 'ctrl + x' to exit nano! |
| </ | </ | ||
| + | |||
| + | Add additional lines to the file: | ||
| + | <code bash | wpa_supplicant.conf> | ||
| + | ctrl_interface=DIR=/ | ||
| + | update_config=1 | ||
| + | country=BE | ||
| + | |||
| + | network={ | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | # press 'ctrl + o' to save the file! | ||
| + | # press 'ctrl + x' to exit nano! | ||
| + | </ | ||
| + | |||
| + | __**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 / | ||
| + | |||
| + | <code bash> | ||
| + | ip a | ||
| + | cat / | ||
| + | </ | ||
| + | |||
| + | Use nano to open the **'/ | ||
| + | add the following to it: **' | ||
| + | |||
| + | <code bash> | ||
| + | sudo nano / | ||
| + | static domain_name_server=8.8.8.8 134.58.126.3 | ||
| + | </ | ||
| + | |||
| + | __**Reboot your system!**__ | ||
public/linux/rpi-buster-eduroam-campusroam-wifi-bug.1611923545.txt.gz · Last modified: (external edit)
