Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: Connected to wireless router, but can't connect to Internet

  1. #1
    Join Date
    May 2009
    Beans
    26

    Connected to multiple interfaces on router, can't connect to internet

    I think something weird is going on. On a fresh installation of 11.04, I seem to be connected to my router just fine, but I can't reach the internet or anywhere else on my network. Anybody see my problem from what I've posted? The computer is only connected via wireless (so I don't know why eth0 would be connected as well). I can't think of what I'm missing...

    My system seems to be connected to my router on two interfaces. "ip addr" gives:
    Code:
    1: lo <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
        link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
        inet 127.0.0.1/8 scope host lo
        inet6 ::1/128 scope host
           valid_lft forever preferred_lft forever
    2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
        link/ether 22:00:00:00:00:22 brd ff:ff:ff:ff:ff:ff
        inet 192.168.1.120/24 brd 192.168.1.255 scope global eth0
        inet6 fe80::21e:ecff:fe5d:6905/64 scope link
           valid_lft forever preferred_lft forever
    3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
        link/ether 11:00:00:00:00:11 brd ff:ff:ff:ff:ff:ff
        inet 192.168.1.100/24 brd 192.168.1.255 scope global wlan0
        inet6 fe80::21f:3cff:fe18:55cc/64 scope link
           valid_lft forever preferred_lft forever
    , and these are reflected in my router's connected device list:
    Code:
    interface     MAC                IP               name
    eth1	11:00:00:00:00:11	192.168.1.100	old_name
    br0     22:00:00:00:00:22       192.168.1.120   new_name
    Running nm-tool gives the correct settings for wlan0 (not so sure about eth0):
    Code:
    NetworkManager Tool
    
    State: connected
    
    - Devicce: wlan0 [network] ---------------------------------
      Type:            802.11 WiFi
      Driver:          iwl3945
      State:           connected
      Default:         yes
      HW Address:      11:00:00:00:00:11
    
      ...
    
      IPv4 Settings:
        Address:       192.168.1.100
        Prefix:        24 (255.255.255.0)
        Gateway:       192.168.1.1
    
        DNS:           192.168.1.1
    
    - Device: eth0 ------------------------------------
      Type:            Wired
      Driver:          r8169
      State:           unmanaged
      Default:         no
      HW Address:      22:00:00:00:00:22
    
      Capabilities:
       Carrier Detect: yes
       Speed:          10 Mb/s
    
      Wired Properties
        Carrier:       off
    Last edited by sauerpauer; August 3rd, 2011 at 12:55 AM. Reason: better description

  2. #2
    Join Date
    Jul 2011
    Beans
    20
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Connected to wireless router, but can't connect to Internet

    Do you have Internet access via wired connection?

  3. #3
    Join Date
    May 2009
    Beans
    26

    Re: Connected to wireless router, but can't connect to Internet

    The wired port isn't connected, and I was unable to connect to the internet via wired. I'm fairly certain that it's due to an issue with /etc/network/interfaces, but I didn't think an eth0 problem would affect wireless.

    Currently /etc/network/interfaces reads:
    Code:
    auto lo
    iface lo inet loopback
    
    auto eth0
    iface eth0 inet static
        address 192.168.1.100
        netmask 255.255.255.0
        network 192.168.0.1
        broadcast 192.168.1.255
        gateway 192.168.1.1
        dns-nameservers 192.168.1.1
        dns-search hostname.dns.org

  4. #4
    Join Date
    Jul 2011
    Beans
    20
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Connected to wireless router, but can't connect to Internet

    Perhaps it is a problem with your ISP.

  5. #5
    Join Date
    May 2009
    Beans
    26

    Re: Connected to wireless router, but can't connect to Internet

    Shouldn't be anything wrong with my ISP - every other computer on the network can access the internet.

  6. #6
    Join Date
    Jul 2011
    Beans
    20
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Connected to wireless router, but can't connect to Internet

    Have you checked your router settings? Maybe it has a MAC address filter.

  7. #7
    Join Date
    May 2009
    Beans
    26

    Re: Connected to wireless router, but can't connect to Internet

    The router does have a MAC address filter, but I made sure it was off. If it was on, the router wouldn't be able to allow the machine to connect. I'm thinking a clue might be given by the fact that I can connect to the router fine, but can't use any network apps on the machine I'm talking about... This is a fresh install, so is there a configuration file somewhere I need to set up for this to work? I don't think it's a DNS error, since I can't access the router's web-interface nor its command-line interface from the machine in question.

  8. #8
    Join Date
    Mar 2007
    Location
    INDIA-Kerala
    Beans
    1,604
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Connected to wireless router, but can't connect to Internet

    Is there any specific reason for editing /etc/network/interfaces ?
    I suggest you make /etc/network/interfaces to read only the first two lines,ie
    auto lo
    iface lo inet loopback
    then do manual configurations for eth0 and wlan0 via Network Manager.ie click NM icon on right top then edit connections......
    Note:Your /etc/network/interfaces has a line
    network 192.168.0.1
    I think it should be
    network 192.168.1.0 (though it is for eth0)
    Last edited by dineshs; August 3rd, 2011 at 08:56 AM.
    Registered linux user #518022

  9. #9
    Join Date
    May 2009
    Beans
    26

    Re: Connected to wireless router, but can't connect to Internet

    I edited /etc/network/interfaces in an attempt to be able to use a wired connection. The line "network 192.168.0.1 was automatically put there during the install process-I'm not sure what that line is even responsible for. Changing it to 192.168.1.0 didn't seem to help, nor did deleting the line entirely. As of now, the only three properties specified in the eht0 stanza are address, netmask, and gateway. I think that the lack of wired connectivity I'm experiencing might be tied to the fact that NetworkManager lists the wired network as "device not managed", but I don't know what the problem there is either.

    There is currently no entry in /interfaces for wlan0, and commenting out the eth0 stanza didn't seem to change anything. I did try to add a wired connection in Network Manager, but it still hasn't allowed me to connect and it still lists the device as "not managed".

    It still seems like I'm able to establish a wireless connection with my router, but I'm not able to pass any information through that connection. Anybody have any other ideas?

    Thanks to those who have already tried to help .

  10. #10
    Join Date
    Feb 2008
    Location
    Texas
    Beans
    15,665
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Connected to wireless router, but can't connect to Internet

    Hi, the only thing that is suppose to be in
    Code:
    cat /etc/network/interfaces
    is
    Code:
    auto lo
    iface lo inet loopback
    Thank you

Page 1 of 3 123 LastLast

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
  •