0

My wifi goes in and out on Ubuntu; I do not have this issue in OSX Yosemite (dual-boot). There is no message saying that it disconnected from the router. Sometimes it will just hang and other times it will say it cannot find the page or I am not connected to the internet in chrome (this takes 10-30 seconds when it happens, and happens every 5-10 minutes). After this it loads the page fine. Here is my wifi info (pastebin link below), any help is greatly appreciated.

wifi: http://pastebin.com/RyFuXNFR

lsmod: http://pastebin.com/jemU7fGt

Thanks in advance for any help!

edit: updated pastebin link after making changes suggested by chili555 edit: updated pastebin again to reflect recent changes - also added lsmod pastebin

4 Answers4

0

Have you tried changing wifi channel on your router? I admit if the OSX system is stable & the Ubuntu one is not, then it's less likely to be a channel interference problem. But I recently had similar symptoms where my wifi started to drop out/recover/drop out/etc. This was after it had been stable for years. Changing the wifi channel fixed the issue for me. Channels 1, 6, 11 are apparently the best to try.

paj987
  • 35
0

This: Installing Broadcom Wireless Drivers suggests that you have the incorrect driver for your device. Please get a temporary internet connection by whatever means, open a terminal and do:

sudo apt-get purge bcmwl-kernel-source
sudo apt-get install firmware-b43-installer

Reboot and your wireless should be working as expected.

I notice this in your wireless_script:

Channel occupancy:

  1   APs on   Frequency:2.417 GHz (Channel 2)
  1   APs on   Frequency:2.432 GHz (Channel 5)
  20   APs on   Frequency:2.437 GHz (Channel 6)
  4   APs on   Frequency:2.442 GHz (Channel 7)
  1   APs on   Frequency:2.452 GHz (Channel 9)
  5   APs on   Frequency:2.462 GHz (Channel 11)

Your access point is one of the 20 (!!) on channel 6. I suggest you change the router to channel 1 to avoid the interference.

chili555
  • 61,330
0

Try to disable the wifi power manager and see if it helps, it did for me.

sudo iwconfig wlan0 power off

Check to see if it's off or on

iwconfig
0

Search for rfkill in /var/log/syslog

My RealTek Wi-Fi uses power saving which gets misinterpreted by rfkill as hard blocks, causing NetworkManager to shut it down until it comes out of low power mode, then NetworkManager re-initializes Wi-Fi, which takes appreciable time.

I detected this only because the RealTek driver logs power changes, which could be correlated with rfkill change messages. Wi-Fi works fine when

1) stop network-manager

2) manually start wlan0 using wpa_supplicant and dhclient

or after NetworkManager is completely removed and replaced by Wicd, which ignores rfkill.