<Solved>Wi-fi keeps disconnecting

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
whois1230
Level 4
Level 4
Posts: 215
Joined: Mon Aug 28, 2017 5:35 am

<Solved>Wi-fi keeps disconnecting

Post by whois1230 »

Hello, my Wi-Fi keeps disconnecting. I think it's due to an interference between my USB Dual Band dongle and my network card. I can't connect through my network card, so I have to use the USB adapter. My laptops brand is Dell Latitude E6410. I have the latest kernel and BIOS version installed. Those are my specs: https://gist.githubusercontent.com/anon ... 42553d06/- --- What I did so far is to set the BSSID, disable IPv6, set Power Management from 3 to 2 and set the router to an optimal channel.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: Wi-fi keeps disconnecting

Post by JeremyB »

I would disable wifi power management with

Code: Select all

sudo sed -i 's/wifi.powersave = 3/wifi.powersave = 2/' /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf

Code: Select all

systemctl restart network-manager.service
See if the problem disappears
whois1230
Level 4
Level 4
Posts: 215
Joined: Mon Aug 28, 2017 5:35 am

Re: Wi-fi keeps disconnecting

Post by whois1230 »

JeremyB wrote:I would disable wifi power management with

Code: Select all

sudo sed -i 's/wifi.powersave = 3/wifi.powersave = 2/' /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf

Code: Select all

systemctl restart network-manager.service
See if the problem disappears
I had done this shortly after I installed Mint, it doesn't work. I had it set from 3 to 2(Power Management) https://pastebin.com/raw/2PpQhvT2 --- Is there a way to disable my laptop's wireless card, so this interference between my USB WiFi adapter and the card can stop? I can't connect to my WiFi network through the wireless card, so it's kind of useless.
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: Wi-fi keeps disconnecting

Post by JeremyB »

I would see if the internal works after

Code: Select all

echo "options iwlwifi 11n_disable=8" | sudo tee /etc/modprobe.d/iwlwifi11.conf
Reboot, if it doesn't change you can disable the internal with

Code: Select all

echo "blacklist iwlwifi" | sudo tee -a /etc/modprobe.d/blacklist.conf
Reboot
whois1230
Level 4
Level 4
Posts: 215
Joined: Mon Aug 28, 2017 5:35 am

Re: Wi-fi keeps disconnecting

Post by whois1230 »

JeremyB wrote:I would see if the internal works after

Code: Select all

echo "options iwlwifi 11n_disable=8" | sudo tee /etc/modprobe.d/iwlwifi11.conf
Reboot, if it doesn't change you can disable the internal with

Code: Select all

echo "blacklist iwlwifi" | sudo tee -a /etc/modprobe.d/blacklist.conf
Reboot
The internal does not work after

Code: Select all

echo "options iwlwifi 11n_disable=8" | sudo tee /etc/modprobe.d/iwlwifi11.conf
I disabled it and I keep getting disconnected.
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: Wi-fi keeps disconnecting

Post by JeremyB »

See the wireless script link in my signature and post results. preferred if pasted to pastebin. I would like you to upload one using the USB wifi, then remove the USB and run

Code: Select all

./wireless-info
Then put the USB back in and upload the new wireless-info.txt
whois1230
Level 4
Level 4
Posts: 215
Joined: Mon Aug 28, 2017 5:35 am

Re: Wi-fi keeps disconnecting

Post by whois1230 »

JeremyB wrote:See the wireless script link in my signature and post results. preferred if pasted to pastebin. I would like you to upload one using the USB wifi, then remove the USB and run

Code: Select all

./wireless-info
Then put the USB back in and upload the new wireless-info.txt
https://pastebin.com/raw/1LAiU5Xc ---
https://pastebin.com/raw/DjibH6fu
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: Wi-fi keeps disconnecting

Post by JeremyB »

You blacklisted the module for the internal wifi four times

Code: Select all

sudo sed -i 's/blacklist iwlwifi/#blacklist iwlwifi/' /etc/modprobe.d/blacklist.conf
Reboot
whois1230
Level 4
Level 4
Posts: 215
Joined: Mon Aug 28, 2017 5:35 am

Re: Wi-fi keeps disconnecting

Post by whois1230 »

After applying the code from your post, I stopped getting disconnected.
Locked

Return to “Networking”