Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Connected to router, but no internet access

  1. #1
    Join Date
    Jan 2012
    Beans
    41

    Connected to router, but no internet access

    Hello. My wireless is working perfectly with public or closed wifi networks. However this time there are some problems. I can connect to the router, but I am unable to transfer any data outside the network. It works perfectly with windows or live usb.

    $ cat /etc/resolv.conf
    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 212.25.58.2
    nameserver 212.25.58.8
    nameserver 127.0.1.1
    $ ifconfig eth1 // I have no idea why my wireless is shown like this
    Code:
    eth1      Link encap:Ethernet  HWaddr c0:14:3d:d3:ca:7f  
              inet addr:172.16.1.105  Bcast:172.16.1.255  Mask:255.255.255.0
              inet6 addr: fe80::c214:3dff:fed3:ca7f/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:64 errors:0 dropped:0 overruns:0 frame:124786
              TX packets:328 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:12927 (12.9 KB)  TX bytes:39700 (39.7 KB)
              Interrupt:17
    $ nm-tool | grep DNS
    Code:
        DNS:             212.25.58.2
        DNS:             212.25.58.8
        DNS:             212.25.58.2
        DNS:             212.25.58.8
    $ cat /etc/modprobe.d/iwlwifi.conf
    Code:
    # /etc/modprobe.d/iwlwifi.conf
    # iwlwifi will dyamically load either iwldvm or iwlmvm depending on the
    # microcode file installed on the system.  When removing iwlwifi, first
    # remove the iwl?vm module and then iwlwifi.
    
    
    # remove iwlwifi \
    # (/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
    # && /sbin/modprobe -r mac80211
    
    
    options iwlwifi 11n_disable=1

  2. #2
    Join Date
    Jan 2006
    Location
    Not heaven... Iowa
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Connected to router, but no internet access

    Can you ping outside your network - either by name or (IP) address?
    Linux User #415691 Ubuntu User #8629
    Iowa Team (LoCo): [Wiki] [Launchpad]
    IRC channel: #ubuntu-us-ia on irc.freenode.net

  3. #3
    Join Date
    Jan 2012
    Beans
    41

    Re: Connected to router, but no internet access

    I can't ping anything outside the network with wifi. However I'm writing this connected to the same router by cable.

  4. #4
    Join Date
    Jan 2009
    Location
    ::1
    Beans
    2,485

    Re: Connected to router, but no internet access

    eth1 is your fixed ethernet. What is the full output of "ifconfig"? Is there a wlan0 or wlan1?

    If so, what is the output of "mtr -nrc2 8.8.8.8". Make sure your ethernet cable is disconnect before running that command.

  5. #5
    Join Date
    Jan 2012
    Beans
    41

    Re: Connected to router, but no internet access

    $ ifconfig // eth1 has always been my wireless connection
    Code:
    eth0      Link encap:Ethernet  HWaddr b8:88:e3:94:bf:12  
              inet6 addr: fe80::ba88:e3ff:fe94:bf12/64 Scope:Link
              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:16 
    
    
    eth1      Link encap:Ethernet  HWaddr c0:14:3d:d3:ca:7f  
              inet addr:172.16.1.105  Bcast:172.16.1.255  Mask:255.255.255.0
              inet6 addr: fe80::c214:3dff:fed3:ca7f/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:4872 errors:0 dropped:0 overruns:0 frame:7412475
              TX packets:21132 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:1121330 (1.1 MB)  TX bytes:1412006 (1.4 MB)
              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:273529 errors:0 dropped:0 overruns:0 frame:0
              TX packets:273529 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:20273983 (20.2 MB)  TX bytes:20273983 (20.2 MB)
    $ mtr -nrc2 8.8.8.8 // No other output
    Code:
    Start: Fri Dec 27 18:33:41 2013
    HOST: orange                      Loss%   Snt   Last   Avg  Best  Wrst StDev

  6. #6
    Join Date
    Jan 2006
    Location
    Not heaven... Iowa
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Connected to router, but no internet access

    What (if any) are the differences in ifconfig, /etc/resolv.conf , and sudo route -n between wired and wireless.
    Network Manager provides options for manually setting routes (if it becomes necessary).
    Linux User #415691 Ubuntu User #8629
    Iowa Team (LoCo): [Wiki] [Launchpad]
    IRC channel: #ubuntu-us-ia on irc.freenode.net

  7. #7
    Join Date
    Jan 2009
    Location
    ::1
    Beans
    2,485

    Re: Connected to router, but no internet access

    What's the output of "ip route show"?

  8. #8
    Join Date
    Jan 2012
    Beans
    41

    Re: Connected to router, but no internet access

    $ ip route show # Cable plugged in
    Code:
    default via 172.16.1.1 dev eth0  proto static 
    172.16.1.0/24 dev eth0  proto kernel  scope link  src 172.16.1.106  metric 1 
    172.16.1.0/24 dev eth1  proto kernel  scope link  src 172.16.1.105  metric 9
    $ ip route show # Wireless only
    Code:
    default via 172.16.1.1 dev eth1  proto static 
    172.16.1.0/24 dev eth1  proto kernel  scope link  src 172.16.1.105  metric 9
    $ sudo route -n # Cable plugged in
    Code:
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    0.0.0.0         172.16.1.1      0.0.0.0         UG    0      0        0 eth0
    172.16.1.0      0.0.0.0         255.255.255.0   U     1      0        0 eth0
    172.16.1.0      0.0.0.0         255.255.255.0   U     9      0        0 eth1
    $ sudo route -n # Wireless only
    Code:
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    0.0.0.0         172.16.1.1      0.0.0.0         UG    0      0        0 eth1
    172.16.1.0      0.0.0.0         255.255.255.0   U     9      0        0 eth1

  9. #9
    Join Date
    Jan 2009
    Location
    ::1
    Beans
    2,485

    Re: Connected to router, but no internet access

    Can you "ping 172.16.1.1"?

  10. #10
    Join Date
    Jan 2012
    Beans
    41

    Re: Connected to router, but no internet access

    $ ping 172.16.1.1
    Code:
    PING 172.16.1.1 (172.16.1.1) 56(84) bytes of data.
    From 172.16.1.105 icmp_seq=1 Destination Host Unreachable

Page 1 of 2 12 LastLast

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
  •