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

Thread: Can't connect to router via wired connection

  1. #1
    Join Date
    Jun 2011
    Location
    Belgium
    Beans
    15
    Distro
    Ubuntu 11.04 Natty Narwhal

    Can't connect to router via wired connection

    Hello,

    I have installed Ubuntu for the first time (version 11.04), finally making the step to open source software. Everything seems to be working fine, however I can't connect to my router via a wired connection.

    I can use the wireless network, which was detected and I could connect by giving the code. But when I try to connect to this network by wired network, it tries to connect and it says "connection offline" after a while. It never establishes a connection. I used the standard automatic DHCP settings of eth0. I never got this problem with another OS and it's not the cable that's not working.

    Does anyone know how to solve this problem?
    I'm using a Fujitsu Amilo-something laptop and a Siemens Gigaset wireless router.

    Thanks,
    Kristof

  2. #2
    Join Date
    Jun 2011
    Location
    Belgium
    Beans
    15
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Can't connect to router via wired connection

    No ideas?

  3. #3
    Join Date
    Dec 2009
    Beans
    Hidden!

    Re: Can't connect to router via wired connection

    Code:
    # post the output of the following, please
    lspci | grep -i ethernet

  4. #4
    Join Date
    Jun 2011
    Location
    Belgium
    Beans
    15
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Can't connect to router via wired connection

    05:05.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)

  5. #5
    Join Date
    Apr 2007
    Location
    Morrisville, NY
    Beans
    2,149

    Re: Can't connect to router via wired connection

    Ok so your card is detected. Check if the driver is installed:
    Code:
    lshw -c Network | driver
    If you do see a driver indicated then the next step is:
    Code:
    ifconfig

  6. #6
    Join Date
    Jun 2011
    Location
    Belgium
    Beans
    15
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Can't connect to router via wired connection

    It says command driver not found.

  7. #7
    Join Date
    Jun 2011
    Location
    Wollongong, Australia
    Beans
    148
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Can't connect to router via wired connection

    Quote Originally Posted by M_Krikke View Post
    It says command driver not found.
    Try:
    lshw -c Network | grep driver

  8. #8
    Join Date
    Jun 2011
    Location
    Belgium
    Beans
    15
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Can't connect to router via wired connection

    Ok, I did that and a driver was found:
    Code:
           configuration: broadcast=yes driver=iwl3945 driverversion=2.6.38-8-generic firmware=15.32.2.9 latency=0 link=no multicast=yes wireless=IEEE 802.11abg
           configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full latency=64 link=yes maxlatency=64 mingnt=32 multicast=yes port=MII speed=100Mbit/s
    Then i did ifconfig:
    Code:
    eth0      Link encap:Ethernet  HWaddr 00:03:0d:63:1e:79  
              inet6 addr: fe80::203:dff:fe63:1e79/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:12 errors:0 dropped:0 overruns:0 frame:0
              TX packets:33 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:720 (720.0 B)  TX bytes:8002 (8.0 KB)
              Interrupt:19 Base address:0x800

  9. #9
    Join Date
    Jun 2011
    Location
    Wollongong, Australia
    Beans
    148
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Can't connect to router via wired connection

    If you're certain DHCP is working properly (i.e. tested another computer using the same cable, or it's a dual boot and is working fine in another OS), try restarting the network service after the cable is plugged in:

    sudo /etc/init.d/networking restart

    or maybe one of these two (can't test right now, and i'm not sure if they've been implemented yet):
    sudo service network restart
    sudo service networking restart

    If its still not working, try assigning a manual address. If you don't know the settings, let the wireless connect, check the connection information and use that as a guide. You'll need an IP address, subnet mask, gateway and DNS address at a minimum.

    Still not working, maybe try and unload the driver kernel module and re-inserting it (sudo rmmod r8169; sudo modprobe -i r8169)
    Only try this if nothing works and you're 100% certain the DHCP server is working.

  10. #10
    Join Date
    Jun 2011
    Location
    Belgium
    Beans
    15
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Can't connect to router via wired connection

    I'm positively sure that this cable works on another OS. I tried everything above and nothing worked.

    I tried the manual connection with the connection information of the wireless connection and with this a connection was established (arrow up and down which didn't appear when DHCP was automatic). However, internet does not work and I can't even reach the page of the router.

    I'm not sure though if my information is entirely correct. For example, what should I add as MAC-address and should I add some routes in the settings tab of the IPv4 connection or not?

Page 1 of 3 123 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
  •