Ubuntu – Disconnecting wifi every few minutes

14.04disconnectdropboxnetworkingwireless

I'm new in Ubuntu and I have some small problem with my wifi. I manage to connect it after an hour of using this forum, however now whatever I'm doing I'm loosing the connection every few minutes. I think it started when I've installed dropbox and all of the software required for it. I have to turn off and again on network to get it for next few minutes.

 - Ubuntu version 14.04 
 - asus x550L
 - belkin f7d2301 v1

I have logged to another account and everything was fine before I have installed dropbox.

Any ideas how to fix it? I have such a limited knowledge about this system that I don't even know where to start.

Edit: I have blocked IPv6 and worked without dropbox, problem still occur. I have noticed that it's more likely to appear if I open 2-3 tabs at the same moment, or download update and at the same moment open tab; watch playlist on youtube so it download all the time..

Any ideas how to fix it? I can't believe I have such a problems with linux from the very beginning.

Edit2: should I maybe change my router settings? I have almost default from benkin.
Dynamic connection on channel 10, bandwidth 20/40, 802.11e/WMM QoS on; wpa-psk+wpa2+psk.

Edit3: I had enough of it so I have reinstalled system. Same story, installed dropbox which was updating something, using internet and crash after 20sec.

Edit4: I tried to play with MTU, no idea how to change it on my router but I learned that I should have 1472 (+28 = 1500). I added to /etc/dhcp/dhclient.conf two lines:

default interface-mtu 1500;
supercede interface-mtu 1500;

It didn't change anything. It seems like I'm trying to use too much internet (?). I made limit 1024 kb/s on dropbox and it works. However when I try to update information in "incomplete language support" it crushes..

Best Answer

I had an issue with either my ISP or my router - don't really care which it was. Ipv6 was not being handled well, and causing periodic disconnects.

I disabled ipv6 according to instructions I found on itsfoss.com - The following lines are added to /etc/sysctl.conf

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1

This is best done from a terminal: press alt+ctrl+t to open a terminal window, and enter the command sudo nano /etc/sysctl.conf to start an editor with the file open. Add the lines by typing them, or copying them from here (shift+ctrl+v to paste), and press ctrl+o to write the file, and ctrl+x to exit the editor. You will need to reboot for the changes to take effect.

Because I seem to be a little OCD, I also set IPV6 to IGNORE in the NM applet

Related Question