WiFi Problem in Ubuntu 14.04

DBS

The Problem:

I have a dual boot setup with Windows 7 and Ubuntu 14.04. Everything was working fine until yesterday morning after login I couldn't get the wifi in ubuntu stopped to work (see details below) the windows part seems to work just fine. I would like to restore the wifi in ubuntu.

Some Background:

The last time everything was fine, I was trying to (unsuccessfully) install haskell-platform in ubuntu (see here ). I followed the advice here and downgraded my libgl1-mesa-glx package. As a result some brutal changes took place and I had to reinstall Xorg and Desktop-Environment. The problem with network manager started after that so I am guessing this was the source.

As mentioned before, I can access wifi via Windows. I can also access wifi by using a live ubuntu-usb. So, I can install packages to my hdd-ubuntu distribution. This makes me believe that there is no hardware problem and somehow I have deleted some essential packages.

I am a noob in networking issues so most of what I have done (outlined below) is based on my very limited (and perhaps wacky) understanding and reading through many threads on this site and elsewhere. So it is entirely possible that I have missed something trivial.

What I did

I purged and then reinstalled the packages network-manager, resolvconf; isc-dhcp-client and isc-dhcp-server packages couple of times.

This doesn't seem to solve the problem.

My ifconfig -a reads:

eth0 Link encap:Ethernet HWaddr 78:45:c4:b6:b4:85
UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Interrupt:17

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:27488 errors:0 dropped:0 overruns:0 frame:0 TX packets:27488 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:2028140 (2.0 MB) TX bytes:2028140 (2.0 MB)

virbr0 Link encap:Ethernet HWaddr 3e:e3:92:b9:ab:c6
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

wlan0 Link encap:Ethernet HWaddr 08:3e:8e:04:2f:9f
UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

lshw -C shows

 

*-network description: Wireless interface product: AR9485 Wireless Network Adapter vendor: Qualcomm Atheros physical id: 0 bus info: pci@0000:07:00.0 logical name: wlan0 version: 01 serial: 08:3e:8e:04:2f:9f width: 64 bits clock: 33MHz capabilities: pm msi pciexpress bus_master cap_list rom ethernet physical wireless configuration: broadcast=yes driver=ath9k driverversion=3.13.0-77-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11bgn resources: irq:19 memory:f7d00000-f7d7ffff memory:f7d80000-f7d8ffff *-network description: Ethernet interface product: AR8162 Fast Ethernet vendor: Qualcomm Atheros physical id: 0 bus info: pci@0000:09:00.0 logical name: eth0 version: 10 serial: 78:45:c4:b6:b4:85 capacity: 100Mbit/s width: 64 bits clock: 33MHz capabilities: pm pciexpress msi msix bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation configuration: autonegotiation=on broadcast=yes driver=alx latency=0 link=no multicast=yes port=twisted pair resources: irq:47 memory:f7c00000-f7c3ffff ioport:e000(size=128)


Some other configuration files that I checked were :/etc/network/interfaces which reads

auto lo iface lo inet loopback

I added and then commented out #auto eth0, #iface eth0 inet dhcp, #auto wlan0, #iface wlan0 inet dhcp because it didn't solve the problem and just started the message waiting for network configuration when booting into ubuntu.

My /etc/resolv.conf reads

#Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) #DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN nameserver 127.0.1.1 nameserver 8.8.8.8

My /etc/hosts reads

 

127.0.0.1 localhost 127.0.1.1 my-comp #The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters

and my /etc/NetworkManager/NetworkManager.conf reads

 

[main] plugins=ifupdown,keyfile,ofono dns=dnsmasq

[ifupdown] managed=false

My iwconfig outputs:


wlan0     IEEE 802.11bgn  ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=16 dBm
Retry long limit:7 RTS thr:off Fragment thr:off Power Management:off

If tried `sudo ifdown wlan0' and 'sudo ifup wlan0' and didn't get any output which makes me think they are ok.

I am looking for any directions that I might take to solve the problem. One possible way out, I think, is to try to transfer all relevant packages from live-usb to my home folder but I am not sure how to go about it.... I would prefer any solution short of a fresh install at this point.

Thank you for your help in advance (and special thanks for any impromptu networking lessons too). I would be happy to put any additional information.


Edit

Some additional info based on answers/comments.

rfkill list output


0: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
1: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no

DBS

A million thanks to this question here the problem is a bug in libnl package (see here for details ).

I do not claim any credit for this answer. I am posting it because I myself wasn't aware of this issue (and erroneously thought that the reason was something else) so people doing google search on wifi issues on ubuntu maynot get directed to that question but they might benefit from the solution .

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Wifi problem on Ubuntu 16.04

From Dev

Dual boot ubuntu 14 .04LTS

From Dev

Error installing ubuntu server 14:04 / 15:04

From Dev

Ubuntu Resolving Host & Wifi Problem

From Dev

Ubuntu 14 Wifi Doesn't Work

From Dev

Problem with my ssh in ubuntu 14?

From Dev

Ubuntu 14 display problem on Virtualbox

From Dev

Ubuntu 14.04 - 14.10 - 15,04 wifi disconnection

From Dev

How do I install Muvizu on Ubuntu 14,04 LTS?

From Dev

Ubuntu-16-04 : How to remove wifi adaptor from wifi tray

From Dev

WiFi problem after Ubuntu 12.10 update

From Dev

Ubuntu 16.04 LTS Problem with wifi connections

From Dev

i have wifi problem with my ubuntu suddenly

From Dev

Wifi problem with Ubuntu Gnome 16.04.1 LTS

From Dev

Problem having 2 wifi interfaces on ubuntu 20.04

From Dev

How To Resolve Wifi Driver Problem on Ubuntu 20.04

From Dev

Ubuntu 14 - WIFI unstable and slow with rtl8723be

From Dev

Wifi not working on Ubuntu 16.04 ACER Aspire E14

From Dev

Ubuntu 14 upgrade problem , because i installed ROS in Ubuntu

From Dev

Wifi home network authentication problem only with Ubuntu on laptop

From Dev

Wifi home network authentication problem only with Ubuntu on laptop

From Dev

WiFi problem on lenovo E520 ubuntu 18.04.1

From Dev

wifi problem on MacBook pro early 2015 running Ubuntu LTS 16.04

From Dev

Ubuntu 18.04 problem: Wifi disconnects after a few seconds

From Dev

WiFi problem on lenovo E520 ubuntu 18.04.1

From Dev

Just installed ubuntu gnome 3 15.04, on a new Yoga 3 14 but the hardware for the wifi is disabled and I can't turn it on with the wifi switch?

From Dev

Wifi breaks all the time - Ubuntu 18.04 - [14e4:4331]

From Dev

Wifi breaks all the time - Ubuntu 18.04 - [14e4:4331]

From Dev

Wifi Intel AC 3165 Yoga 700-14ISK, does not work with ubuntu

Related Related

  1. 1

    Wifi problem on Ubuntu 16.04

  2. 2

    Dual boot ubuntu 14 .04LTS

  3. 3

    Error installing ubuntu server 14:04 / 15:04

  4. 4

    Ubuntu Resolving Host & Wifi Problem

  5. 5

    Ubuntu 14 Wifi Doesn't Work

  6. 6

    Problem with my ssh in ubuntu 14?

  7. 7

    Ubuntu 14 display problem on Virtualbox

  8. 8

    Ubuntu 14.04 - 14.10 - 15,04 wifi disconnection

  9. 9

    How do I install Muvizu on Ubuntu 14,04 LTS?

  10. 10

    Ubuntu-16-04 : How to remove wifi adaptor from wifi tray

  11. 11

    WiFi problem after Ubuntu 12.10 update

  12. 12

    Ubuntu 16.04 LTS Problem with wifi connections

  13. 13

    i have wifi problem with my ubuntu suddenly

  14. 14

    Wifi problem with Ubuntu Gnome 16.04.1 LTS

  15. 15

    Problem having 2 wifi interfaces on ubuntu 20.04

  16. 16

    How To Resolve Wifi Driver Problem on Ubuntu 20.04

  17. 17

    Ubuntu 14 - WIFI unstable and slow with rtl8723be

  18. 18

    Wifi not working on Ubuntu 16.04 ACER Aspire E14

  19. 19

    Ubuntu 14 upgrade problem , because i installed ROS in Ubuntu

  20. 20

    Wifi home network authentication problem only with Ubuntu on laptop

  21. 21

    Wifi home network authentication problem only with Ubuntu on laptop

  22. 22

    WiFi problem on lenovo E520 ubuntu 18.04.1

  23. 23

    wifi problem on MacBook pro early 2015 running Ubuntu LTS 16.04

  24. 24

    Ubuntu 18.04 problem: Wifi disconnects after a few seconds

  25. 25

    WiFi problem on lenovo E520 ubuntu 18.04.1

  26. 26

    Just installed ubuntu gnome 3 15.04, on a new Yoga 3 14 but the hardware for the wifi is disabled and I can't turn it on with the wifi switch?

  27. 27

    Wifi breaks all the time - Ubuntu 18.04 - [14e4:4331]

  28. 28

    Wifi breaks all the time - Ubuntu 18.04 - [14e4:4331]

  29. 29

    Wifi Intel AC 3165 Yoga 700-14ISK, does not work with ubuntu

HotTag

Archive