-
Notifications
You must be signed in to change notification settings - Fork 419
Update wireless.md #1335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Link02211986
wants to merge
18
commits into
master
Choose a base branch
from
Link02211986-patch-3
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Update wireless.md #1335
Changes from 10 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
d1203b7
Update wireless.md
Link02211986 d4e9a1f
Update wireless.md
Link02211986 77e8a21
Update wireless.md
Link02211986 0adf7e8
Update wireless.md
Link02211986 045890a
Update wireless.md
Link02211986 e17468a
Update wireless.md
Link02211986 678f4e1
docs: fix lint issues in wireless.md
Link02211986 4c228ea
docs: fix lint issues in wireless.md
Link02211986 3b3b01b
fix(CI/lint): remove trailing punctuation and whitespace
Link02211986 598298b
fix(CI/lint): remove trailing punctuation and whitespace
Link02211986 dc45b19
Fix wireless troubleshooting docs
Link02211986 8e1f893
Clean up wireless.md per review
Link02211986 8282ce7
Clean up wireless.md per review
Link02211986 0837106
Put package name in backticks for inline code formatting
jacobgkau f53248d
Add the rest of the list items to the list
jacobgkau 47a8102
Add description back to command
jacobgkau 7ca0534
Better phrasing for keyboard shortcut description
jacobgkau 79be4a8
Remove obsolete CRDA info with non-existent config file
jacobgkau File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,10 @@ | ||
| --- | ||
| title: Wireless Troubleshooting | ||
| title: Wireless and Basic Troubleshooting | ||
| description: > | ||
| If you’re having problems with your wireless Internet connection, take a look at the suggestions in this article. | ||
| If your computer can’t connect to wireless networks or the connection is unstable, use this guide to diagnose and resolve the issue. | ||
| keywords: | ||
| - wireless | ||
| - wifi | ||
| - Wi-Fi | ||
| - support | ||
| - System76 | ||
|
|
||
|
|
@@ -16,43 +16,197 @@ section: network-troubleshooting | |
| tableOfContents: true | ||
| --- | ||
|
|
||
| WiFi issues are influenced by many different factors, including: | ||
| If your computer can’t connect to wireless networks or the connection is unstable, use this guide to diagnose and resolve the issue. | ||
| Start with the quick checks, then follow the targeted diagnostic and recovery steps. | ||
jacobgkau marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| - Hardware (WiFi card, access point) | ||
| - Settings at both ends of the connection | ||
| - The local environment | ||
| --- | ||
|
|
||
| ## Initial Troubleshooting | ||
|
|
||
| 1.Reboot the router/modem and the computer. | ||
jacobgkau marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| 2.Toggle Airplane Mode by pressing **Fn + F11 →.** | ||
jacobgkau marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| 3.If your Wi-Fi issues started after an update, try removing the backported Wi-Fi driver using the command line. Open the Terminal by pressing Super+t and type the following and press Enter: | ||
jacobgkau marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| ```bash | ||
| sudo apt remove backport-iwlwifi-dkms | ||
jacobgkau marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| ``` | ||
| Then restart your computer. | ||
|
|
||
| 4.Temporarily use a phone hotspot to confirm whether the network or your computer is the issue. | ||
|
|
||
| 5.[Boot from a Live USB](https://support.system76.com/articles/live-disk) of your distribution to determine whether the issue exists outside your installed system. | ||
|
|
||
| ## Router and Access Point Recommendations | ||
|
|
||
| Make sure your access point is configured for stability and compatibility. | ||
jacobgkau marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| Use 2.4 GHz channels 1, 6, or 11 to minimize overlap. | ||
|
|
||
| Set the channel width to 20 MHz for crowded networks. | ||
|
|
||
| For 5 GHz, use an explicit channel instead of “Auto” when troubleshooting. | ||
|
|
||
| Use mixed mode (b/g/n/ax) if devices vary by generation. | ||
|
|
||
| If a single device struggles, temporarily set your router to a common mode and test. | ||
jacobgkau marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| Avoid complex access point features such as | ||
jacobgkau marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| Band steering | ||
jacobgkau marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| Aggressive airtime fairness | ||
|
|
||
| Deep MAC filtering | ||
|
|
||
| Ensure your device’s MAC address isn’t being filtered | ||
jacobgkau marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| Check with | ||
|
|
||
| ```bash | ||
| ip link show | grep ether | ||
| ``` | ||
|
|
||
| Then confirm that address is allowed in your router’s admin panel. | ||
jacobgkau marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| You can also confirm what channel and frequency your connection is using: | ||
|
|
||
| ```bash | ||
| iw dev | ||
| iwlist wlan0 scan | grep -E 'SSID|Channel|Frequency' | ||
| ``` | ||
|
|
||
| ## Device-Level Checks and Commands | ||
|
|
||
| These commands help verify whether your wireless card and drivers are functioning correctly. | ||
|
|
||
| ```bash | ||
| ip a | ||
| ``` | ||
|
|
||
| List all network interfaces and IP addresses confirms your Wi-Fi interface (usually wlp2s0 or wlan0) is recognized. | ||
jacobgkau marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| ```bash | ||
| iw dev | ||
| ``` | ||
|
|
||
| Show wireless devices and their states. | ||
|
||
|
|
||
| ```bash | ||
| sudo rfkill list | ||
| ``` | ||
|
|
||
| Check for hardware or software Wi-Fi blocks. | ||
|
|
||
| ```bash | ||
| nmcli device status | ||
| ``` | ||
|
|
||
| Check NetworkManager device states. | ||
|
|
||
| ```bash | ||
| sudo systemctl restart NetworkManager | ||
| ``` | ||
|
|
||
| Restart the network stack (safe to run anytime). | ||
jacobgkau marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| ## Basic Troubleshooting | ||
| ```bash | ||
| journalctl -b | grep -i network | ||
| ``` | ||
|
|
||
| View network-related boot logs. | ||
|
|
||
| ```bash | ||
| dmesg | grep -i -E 'wifi|wlan|firmware|ieee80211|rtl|brcm|ath' | ||
| ``` | ||
|
|
||
| View driver and firmware kernel logs. | ||
|
|
||
| To collect diagnostic info automatically: | ||
|
|
||
| ```bash | ||
| sudo dmesg | grep -i wlan > ~/wireless-dmesg.txt | ||
| ``` | ||
|
|
||
| ## Driver and Firmware Checks | ||
|
|
||
| If the device is detected but unstable, verify the driver and firmware setup. | ||
|
|
||
| Confirm the kernel has loaded the correct driver and firmware. | ||
jacobgkau marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| Check for missing firmware messages: | ||
|
|
||
| ```bash | ||
| dmesg | grep -i firmware | ||
| ``` | ||
|
|
||
| Reinstall firmware packages: | ||
|
|
||
| ```bash | ||
| sudo apt update | ||
| sudo apt install --reinstall linux-firmware | ||
| ``` | ||
|
|
||
| Test with a different router or mobile hotspot. | ||
|
|
||
| Try a Live USB session to determine if the issue is system-specific. | ||
jacobgkau marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| ## NetworkManager and Configuration Tips | ||
|
|
||
| NetworkManager controls Wi-Fi connections on most Linux systems. | ||
jacobgkau marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| If you’re having problems, try these steps first: | ||
| Restart NetworkManager: | ||
|
|
||
| - Try unplugging the wireless router or modem to reboot it. | ||
| - Try airplane mode by pressing <kbd>Fn</kbd>+<kbd>F11</kbd>, waiting 10s, then disabling. | ||
| - Try rebooting the computer. | ||
| ```bash | ||
| sudo systemctl restart NetworkManager | ||
| ``` | ||
|
|
||
| Delete and recreate saved connections: | ||
|
|
||
| ```bash | ||
| nmcli connection delete <SSID> | ||
| nmcli device wifi connect <SSID> | ||
| ``` | ||
|
|
||
| For unstable networks, set IPv6 to “Ignore” in the network settings | ||
jacobgkau marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| 1. Open Settings → Network. | ||
|
|
||
jacobgkau marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| 2. Select your Wi-Fi connection. | ||
|
|
||
| 3. Go to IPv6 tab → change method to Ignore. | ||
jacobgkau marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| ## Bluetooth and Airplane Mode Interactions | ||
|
|
||
| If Wi-Fi disappears when Bluetooth is active: | ||
|
|
||
| Some router settings can cause problems. Try adjusting your access point to these settings: | ||
| ```bash | ||
| sudo rfkill list | ||
| sudo systemctl restart bluetooth | ||
| ``` | ||
|
|
||
| - WPA2-AES is preferred over WPA/WPA2 mixed mode or TKIP. | ||
| - A channel width of 20 MHz in the 2.4 GHz band is more stable than automatic 20/40 MHz or fixed 40 MHz. | ||
| - Set 2.4Ghz and 5Ghz SSID names differently. | ||
| - Pick a fixed channel. Use either 1, 6, or 11 in the 2.4 Ghz band, rather than automatic selection. | ||
| - Check if the router is set to N speeds only. Auto B/G/N is preferred. | ||
| - Lower the max/burst speeds, turn off channel bonding, and reduce channel width. Setting the speed to 600 Mb/s or 450 Mb/s will use spread frequencies to achieve those speeds and may decrease stability. Try setting it to 289/300 Mb/s (N speed) or or 54 Mb/s (G speed). | ||
| - After making these changes, reboot the router. | ||
| You can also disable Bluetooth coexistence in the Intel Wi-Fi driver configuration file: | ||
|
|
||
| If the issues started after you applied updates, try running this command to make sure a bad WiFi driver has not been installed, then reboot your computer: | ||
| ```bash | ||
| sudo gedit /etc/modprobe.d/iwlwifi.conf | ||
jacobgkau marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| ``` | ||
|
|
||
| Add the following line: | ||
|
|
||
| ```bash | ||
| sudo apt remove backport-iwlwifi-dkms | ||
| options iwlwifi bt_coex_active=0 | ||
| ``` | ||
|
|
||
| Save, then reboot. | ||
|
|
||
| ## Advanced Troubleshooting | ||
|
|
||
| If the above steps aren't working, or you would like to fine tune and improve you connection, see the following steps. | ||
|
|
||
| ### Regulatory Domain | ||
|
|
||
| In many cases, it's recommended to explicitly set the WiFi regulatory domain. Check yours with this command: | ||
| In many cases, it's recommended to explicitly set the Wi-Fi regulatory domain. Check yours with this command: | ||
|
|
||
| ```bash | ||
| sudo iw reg get | ||
|
|
@@ -107,7 +261,7 @@ If you have trouble with a Bluetooth headset and keeping a steady downlink speed | |
|
|
||
| ### Power Management | ||
|
|
||
| Another way to help with Wifi issues is to turn off power management for the hardware. To do so, edit the configuration file with this command: | ||
| Another way to help with Wi-Fi issues is to turn off power management for the hardware. To do so, edit the configuration file with this command: | ||
|
|
||
| ```bash | ||
| sudo gedit /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf | ||
jacobgkau marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
@@ -118,7 +272,7 @@ And change the file to read (effective upon reboot): | |
| > \[connection\] | ||
| > wifi.powersave = 2 | ||
|
|
||
| If `tlp` is installed, take a look at the settings file found here for additional Wifi power saving being enabled: | ||
| If `tlp` is installed, take a look at the settings file found here for additional Wi-Fi power saving being enabled: | ||
|
|
||
| ```bash | ||
| sudo gedit /etc/default/tlp | ||
|
|
@@ -144,7 +298,7 @@ sudo wavemon | |
| iwevent | ||
| ``` | ||
|
|
||
| Run this command to watch what the Wifi hardware is doing. Pay attention to the disconnect reasons, and ignore the scans. | ||
| Run this command to watch what the Wi-Fi hardware is doing. Pay attention to the disconnect reasons, and ignore the scans. | ||
|
|
||
| ```bash | ||
| sudo systemctl restart NetworkManager | ||
|
|
@@ -186,15 +340,19 @@ This will reinstall network-manager, which can fix some network issues. | |
|
|
||
| ## Additional Info | ||
|
|
||
| Wifi Speeds and Frequencies: | ||
| Wi-Fi Speeds and Frequencies: | ||
|
|
||
| - 54 Mb/s uses the 802.11g & 802.11b standards. | ||
|
|
||
| - 145 Mb/s and 300 Mb/s modes use the 802.11n standard and 20MHz or 40MHz bandwidths. | ||
|
|
||
| - 300Mbps / 40Mhz will provide the maximum performance in most cases. | ||
|
|
||
| - 145Mbps / 20MHz will work better in areas with more access points. | ||
|
|
||
| - 450Mbps uses a 60Mhz channel width and 600Mbps uses a 80Mhz channel width, and is typically less stable. | ||
|
|
||
| The name of the Linux driver for Intel Wifi cards is called <u>iwlwifi</u> and is included in the kernel by default. All information about the driver can be found here: | ||
| The name of the Linux driver for Intel Wi-Fi cards is called <u>iwlwifi</u> and is included in the kernel by default. All information about the driver can be found here: | ||
|
|
||
| [wireless.wiki.kernel.org/en/users/drivers/iwlwifi](https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi) | ||
|
|
||
|
|
@@ -206,4 +364,8 @@ Sometimes the newest version of the firmware will clear up occasional bugs. Ple | |
|
|
||
| ### Windows Dual Boot | ||
|
|
||
| If you are dual booting Windows, you may lose access to your wifi card entirely after running driver/OS updates in Windows. You may be able to gain access to your wifi card again by disabling "Fast Startup" in the Windows power options before booting back into Pop!_OS. | ||
| If you are dual booting Windows, you may lose access to your Wi-Fi card entirely after running driver/OS updates in Windows. You may be able to gain access to your Wi-Fi card again by disabling "Fast Startup" in the Windows power options before booting back into Pop!_OS. | ||
jacobgkau marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| ## Contact System76 Support | ||
|
|
||
| If you purchased a System76 computer and you’ve tried all the steps above, but your wireless connection still isn’t working as expected, please collect the output from the diagnostic commands and contact [System76 Support](https://system76.com/contact/support) | ||
jacobgkau marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.