首次安装Ubuntu 17.1后Intel Wireless 3160 WiFi频繁断开求助
Hey there, sorry to hear you're stuck with this annoying WiFi drop issue—nothing's worse than losing connection randomly and having to manually reset it every time. Since you're using the Intel Wireless 3160 adapter on Ubuntu 17.1, let's try some hardware-specific fixes that often resolve this exact problem:
Disable WiFi power management
Intel adapters are notorious for acting up when power-saving features kick in. To turn this off permanently, run these commands in your terminal:sudo sed -i 's/wifi.powersave = 3/wifi.powersave = 2/' /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf sudo systemctl restart NetworkManager.serviceThis switches the power save mode from enabled (3) to disabled (2), which should prevent the adapter from shutting down unexpectedly.
Update Intel wireless firmware
Ubuntu 17.1 might not have the latest firmware for your 3160 adapter. Install the updated version with:sudo apt update && sudo apt install firmware-iwlwifiReboot your system after installation to let the new firmware load.
Tweak NetworkManager's roaming sensitivity
Aggressive roaming (the adapter jumping between networks too quickly) can cause random disconnects. Adjust this setting by editing the NetworkManager config:sudo nano /etc/NetworkManager/NetworkManager.confAdd this line under the
[connection]section:wifi.roam-sensitivity=1Save the file (press Ctrl+O, then Enter) and exit (Ctrl+X), then restart NetworkManager:
sudo systemctl restart NetworkManager.serviceA value of 1 means less aggressive roaming, which helps with stability.
Reload the WiFi module with bug-fix parameters
Sometimes the default iwlwifi module settings cause issues for the 3160. Let's reload it with specific parameters to test:sudo modprobe -r iwlwifi sudo modprobe iwlwifi 11n_disable=1 swcrypto=1If this stops the disconnects temporarily, make the change permanent by adding the parameters to the module config:
echo "options iwlwifi 11n_disable=1 swcrypto=1" | sudo tee /etc/modprobe.d/iwlwifi.confReboot your system to apply the permanent fix.
Give these steps a try one at a time, and see if any of them resolve your WiFi issues. Let me know how it goes!
内容的提问来源于stack exchange,提问作者raghav singh

