Results 1 to 7 of 7

Thread: Connected to wifi, but no internet on lubuntu

  1. #1
    Join Date
    Jan 2015
    Beans
    3

    Connected to wifi, but no internet on lubuntu

    Hello,


    I've been struggling with this for quite a while now but cannot resolve it. I'm running lubuntu and can connect to my wifi network, but there is no internet nor do I have access to the router from the browser.


    I know the problem is network specific because: (1) I can connect to other networks and access internet perfectly fine (2) I'm using the network on other machines


    Can anyone shed some light as to what might be the issue here?


    Thanks!

  2. #2
    Join Date
    Aug 2009
    Location
    Makati City, Philippines
    Beans
    2,269
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: Connected to wifi, but no internet on lubuntu

    Normal procedures on any operating system.
    From the terminal, post the output of each here.

    Look if you have an IP address:
    Code:
    ifconfig
    What are your routes:
    Code:
    route -n
    Do you have a dns configured:
    Code:
    cat /etc/resolv.conf
    Can you ping google?
    Code:
    ping -c 5 google.com
    Can you ping a public internet IP?
    Code:
    ping -c 5 8.8.8.8
    If you can't ping/resolve anything on the internet, try to trace the path:
    Code:
    tracepath www.google.com
    or
    Code:
    tracepath 8.8.8.8

  3. #3
    Join Date
    Jan 2015
    Beans
    3

    Re: Connected to wifi, but no internet on lubuntu

    Code:
    ifconfig
    Code:
    wlan0     Link encap:Ethernet  HWaddr c0:f8:da:5f:e1:b5            inet addr:192.168.2.15  Bcast:192.168.2.255  Mask:255.255.255.0
              inet6 addr: fe80::c2f8:daff:fe5f:e1b5/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:9734 errors:0 dropped:0 overruns:0 frame:3003092
              TX packets:3126 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:1022040 (1.0 MB)  TX bytes:337769 (337.7 KB)
              Interrupt:17

    What are your routes:
    Code:
    route -n
    Code:
    Kernel IP routing tableDestination     Gateway         Genmask         Flags Metric Ref    Use Iface
    0.0.0.0         192.168.2.1     0.0.0.0         UG    0      0        0 wlan0
    192.168.2.0     0.0.0.0         255.255.255.0   U     9      0        0 wlan0
    Do you have a dns configured:
    Code:
    cat /etc/resolv.conf
    Yes I think so
    Code:
    # 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
    search home
    Can you ping google?
    Code:
    ping -c 5 google.com
    Nope, the ping wont go through
    Code:
    ping: unknown host google.com
    Can you ping a public internet IP?
    Code:
    ping -c 5 8.8.8.8
    Cant ping this either...
    Code:
    PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
    
    --- 8.8.8.8 ping statistics ---
    5 packets transmitted, 0 received, 100% packet loss, time 4031ms

    If you can't ping/resolve anything on the internet, try to trace the path:
    Code:
    tracepath www.google.com
    gives me

    Code:
    gethostbyname2: Host name lookup failure
    or
    Code:
    tracepath 8.8.8.8
    gives me

    Code:
     1?: [LOCALHOST]                                         pmtu 1500 1:  no reply
     2:  no reply
    ...
    ideas?

    Many thanks!

  4. #4
    Join Date
    Jul 2014
    Beans
    48

    Re: Connected to wifi, but no internet on lubuntu

    Are you running any server software? Apache? Just a thought..

  5. #5
    Join Date
    Jan 2015
    Beans
    3

    Re: Connected to wifi, but no internet on lubuntu

    Nothing like that running that I know of. I just did a clean install of lubuntu 14.04.
    Internet works fine with other wifi networks, so maybe its my router settings?

  6. #6
    Join Date
    Aug 2009
    Location
    Makati City, Philippines
    Beans
    2,269
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: Connected to wifi, but no internet on lubuntu

    Your /etc/resolve.conf is wrong.
    You don't have any dns configured. did you setup a static IP address from the network manager? Can you post a screenshot of your settings on the network manager?

  7. #7
    Join Date
    Jul 2013
    Location
    Nebraska USA
    Beans
    294
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Connected to wifi, but no internet on lubuntu

    # 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
    search home {instead of home, my resolve.conf reads "domain"}

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •