Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have problems in connecting to internet via my WLAN.

I had ubuntu 10.04 LTS initially which I recently upgraded to 12.04 LTS, the problem existed from the earlier version.

I can connect to internet with a ethernet.

I am able to scan for the available WLANs. Also I can connect to a WLAN of my choice. But I am unable to access internet.

So I am afraid I might have misconfigured something. Any pointers on what would have went wrong ?.

Additional Information:


NetworkManager Tool

State: connected (global)

- Device: wlan0  [MyWLAN] --------------------------------------------------------
  Type:              802.11 WiFi
  Driver:            iwlwifi
  State:             connected
  Default:           yes
  HW Address:        00:1E:65:94:11:86

    Speed:           6 Mb/s

  Wireless Properties
    WEP Encryption:  yes
    WPA Encryption:  yes
    WPA2 Encryption: yes

  Wireless Access Points (* = current AP)
    MyWLAN5:           Infra, 00:24:01:38:BC:6B, Freq 5240 MHz, Rate 54 Mb/s, Strength 54 WPA WPA2

    SSFWLAN:         Infra, 00:16:01:AF:38:33, Freq 2422 MHz, Rate 54 Mb/s, Strength 24 WPA
    AndroidAP:       Infra, 04:46:65:4A:B6:5D, Freq 2437 MHz, Rate 54 Mb/s, Strength 97 WPA
    *MyWLAN:           Infra, 00:24:01:38:BC:69, Freq 2457 MHz, Rate 54 Mb/s, Strength 75 WPA WPA2

  IPv4 Settings:
    Prefix:          24 (


- Device: eth0 -----------------------------------------------------------------
  Type:              Wired
  Driver:            e1000e
  State:             unmanaged
  Default:           no
  HW Address:        00:22:68:11:D4:F8

    Carrier Detect:  yes
    Speed:           100 Mb/s

  Wired Properties
    Carrier:         on

$ lspci -nnk | grep -iA2 net
00:19.0 Ethernet controller [0200]: Intel Corporation 82567LF Gigabit Network Connection [8086:10bf] (rev 03)
    Subsystem: Lenovo Device [17aa:20ee]
    Kernel driver in use: e1000e
03:00.0 Network controller [0280]: Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection [8086:4237]
    Subsystem: Intel Corporation WiFi Link 5100 AGN [8086:1211]
    Kernel driver in use: iwlwifi

$ netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface         UG        0 0          0 wlan0         UG        0 0          0 eth0     U         0 0          0 eth0   U         0 0          0 eth0   U         0 0          0 wlan0

$ ping -c4
PING ( 56(84) bytes of data.
From icmp_seq=1 Destination Host Unreachable
From icmp_seq=2 Destination Host Unreachable

--- ping statistics ---
4 packets transmitted, 0 received, +2 errors, 100% packet loss, time 3005ms
pipe 2

$ ping -c4
PING ( 56(84) bytes of data.
64 bytes from icmp_req=1 ttl=50 time=39.3 ms
64 bytes from icmp_req=2 ttl=50 time=121 ms
64 bytes from icmp_req=3 ttl=50 time=41.9 ms
64 bytes from icmp_req=4 ttl=50 time=37.8 ms

--- ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3002ms
rtt min/avg/max/mdev = 37.808/60.048/121.087/35.271 ms
share|improve this question
Maybe it is a problem with the DNS? Open a terminal and type ping; do you get a response? ( is the DNS from google, if that is accessible, then most likely there is some problem with the DNS). – January Oct 9 '12 at 8:06
$ ping PING ( 56(84) bytes of data. ^C --- ping statistics --- 33 packets transmitted, 0 received, 100% packet loss, time 32177ms – aspdeepak Oct 9 '12 at 8:14
But all my friends are able to use the same network with out any issues. I was able to access the network before this issue. – aspdeepak Oct 9 '12 at 8:16
So, this is not a problem with the DNS. Sorry, can't help you here except for giving +1 to your question. – January Oct 9 '12 at 8:17
@aspdeepak, you should add some tech info to the question. How about the outputs of nm-tool and lspci -nnk | grep -iA2 net to start with? As said, please edit the original question and add the outputs to it. – mikewhatever Oct 9 '12 at 8:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.