1

I had Ubuntu 12.04 previously installed on my Laptop and i was having problems in connecting to internet (I was connecting to Wifi), and Chrome and Firefox both showed "Connection to Server lost", and when i tried updating through terminal it was also not able to connect to internet, but my bittorrent client was connecting fine to Wifi internet connection. So i installed Ubuntu 14.04 alongside Windows 7 and i'm having same problem in it also.

Also if i try disconnecting to Wifi and connect again, internet works fine for 5-10 minutes but then again it starts giving error. Also, there is no problem in internet connection as it is working fine with my Android Device and Windows 7.

Here is some of my lspci -v output: Qualcomm Atheros AR9285 Wireless Network Adaptor - kernel driver atk9k

The full output can be found here.

The script output can be found here.

2

1 Answer 1

1

Please do:

echo "options ath9k nohwcrypt=1" | sudo tee /etc/modprobe.d/ath9k.conf
sudo modprobe -rfv ath9k
sudo modprobe -v ath9k

First in your router change 802.11bgn to 802.11bg.

Second change the wep encryption to just wpa2 (CCMP)(AES) not (TKIP) if you have that option it will work best.

Third set your wireless channel in the router to 1 or 11 then save the router configuration and reboot it.

Fourth go into network manager at top right corner of the screen and click on edit connections>wireless tab and set IPV6 to ignore and change your dns server to google according to the screenshots. DNS SettingsIPV6 Setting

Then reboot.

12
  • I can't connect to my wifi network now. :( It got disconnected by this command !! Jul 25, 2014 at 20:06
  • Did you copy and paste for accuracy? did you run the code one line at a time? did you run the third command?
    – Wild Man
    Jul 25, 2014 at 20:11
  • Yes i did. I restarted the system and till now it's working fine. Thanks. Can you give me some rough idea what this command did? Jul 25, 2014 at 20:14
  • This command change the encryption from being controlled by hardware to being controlled by software. Please accept the answer so everyone will benefit from it.
    – Wild Man
    Jul 25, 2014 at 20:15
  • I'm having those problems again. And i'm also sometimes not able to connect to wifi network like i said earlier. It gives this error !! Jul 26, 2014 at 6:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .