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

Thread: Ubuntu Server 12.04 LTS unable to wired connect to internet

  1. #1
    Join Date
    Feb 2014
    Beans
    30

    Ubuntu Server 12.04 LTS unable to wired connect to internet

    I installed Ubuntu Server 12.04LTS on my old Dell Inspiron laptop (Dual Core). I wired connected to my router but it is unable to connect.

    Here are some info.

    Code:
    ubuntu:~$ ifconfig
    
    l0      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:8  errors:0  dropped:0  overruns:0  frame:0
            TX packets:8  errors:0  dropped:0  overruns:0  carrier:0
            Collisions:0  txqueuelen:0
            RX bytes:552  (552.0 B)   TX bytes:552  (552.2 B)
    /etc/network/interfaces
    Code:
    Auto l0
    iface l0 inet loopback
    My resolv.conf is blank.

    Please help.

    Thanks.

    hc.

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

    Re: Ubuntu Server 12.04 LTS unable to wired connect to internet

    It may not matter, but the loopback device is normally identified with "lo", not "l0".
    Dunno if it'd help to change it.

    I see no other devices listed. You might check (post):
    Code:
    sudo lshw -C network
    Linux User #415691 Ubuntu User #8629
    Iowa Team (LoCo): [Wiki] [Launchpad]
    IRC channel: #ubuntu-us-ia on irc.freenode.net

  3. #3
    Join Date
    Feb 2014
    Beans
    30

    Re: Ubuntu Server 12.04 LTS unable to wired connect to internet

    Hi,

    Sorry "Lo" thing is my mistake, I re-wrote the message from screenshot instead of copy paste it.

    Yes, I supposed to see "eth0" on ifconfig. Anyway, I will later check

    sudo lshw -C network

  4. #4
    Join Date
    Mar 2006
    Location
    Williams Lake
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Ubuntu Server 12.04 LTS unable to wired connect to internet

    Moved to General Help.

  5. #5
    Join Date
    Feb 2014
    Beans
    30

    Re: Ubuntu Server 12.04 LTS unable to wired connect to internet

    lshw -C network

    Code:
    *-network
              description: Network controller
              product: BCM4311 802.11b/g WLAN
              vendor: Broadcom Corporation
              physical id: 0
              bus info: pci@0000:0c:00.0
              version: 01
              width: 32 bits
              clock: 33MHz
              capabilities: pm msi pciexpress bus_master cap_list
              configuration: driver=b43-pci-bridge latency=0
              resources: irq:17 memory:efdfc000-efdfffff
    *-network DISABLED
             description: Ethernet interface
              product: BCM4401-B0 100Base-TX
              vendor: Broadcom Corporation
              physical id: 0
              bus info: pci@0000:02:00.0
              logical name: eth0
              version: 02
              serial: 00:15:c5:7b:10:27
              capacity: 100Mbit/s
              width: 32 bits
              clock: 33MHz
              capabilities: pm bus_master cap_list Ethernet physical mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
              configuration: autonegotiation=on broadcast=yes driver=b44 driverversion=2.0 latency=64 link=no multicast=yes port=twisted pair
              resources: irq:17 memory:ef9fe000-ef9fffff
    Last edited by Iowan; March 2nd, 2014 at 02:43 PM. Reason: Added code tags

  6. #6
    Join Date
    Feb 2014
    Beans
    30

    Re: Ubuntu Server 12.04 LTS unable to wired connect to internet

    I added this line to /etc/network/interfaces

    # The primary network interface
    auto eth0
    iface eth0 inet dhcp

    The lshw -C network result shows the Ethernet interface is not disabled any longer but when I ping yahoo.com, it still shows unknown host.

    Hc.

  7. #7
    Join Date
    Apr 2012
    Beans
    7,256

    Re: Ubuntu Server 12.04 LTS unable to wired connect to internet

    Is your /etc/resolv.conf still empty? does your DHCP server provide a list of DNS servers? if not, you may need to add a dns-nameservers line

  8. #8
    Join Date
    Feb 2014
    Beans
    30

    Re: Ubuntu Server 12.04 LTS unable to wired connect to internet

    Hi,

    The /etc/resolv.conf is not empty now, it has: nameserver 127.0.0.1

    How do I do the dns nameserver?

    Thanks.

    Hc.

  9. #9
    Join Date
    Mar 2010
    Location
    India
    Beans
    8,116

    Re: Ubuntu Server 12.04 LTS unable to wired connect to internet

    Quote Originally Posted by Hanjaya View Post
    lshw -C network

    Code:
    *-network DISABLED
             description: Ethernet interface
              product: BCM4401-B0 100Base-TX
              vendor: Broadcom Corporation
              physical id: 0
              bus info: pci@0000:02:00.0
              logical name: eth0
              version: 02
              serial: 00:15:c5:7b:10:27
              capacity: 100Mbit/s
              width: 32 bits
              clock: 33MHz
              capabilities: pm bus_master cap_list Ethernet physical mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
              configuration: autonegotiation=on broadcast=yes driver=b44 driverversion=2.0 latency=64 link=no multicast=yes port=twisted pair
              resources: irq:17 memory:ef9fe000-ef9fffff
    The Ethernet interface is disabled, despite the fact that the required driver (b44) is natively available.

    Have you, by any chance, installed the "wl" driver? It blacklists the b44 and ssb drivers that are required to activate your ethernet card.

    Please check -
    Code:
    lsmod | egrep 'b44|ssb|wl'
    Which ones do you see? Is "wl" there? If yes, please try -
    Code:
    sudo apt-get purge bcmwl-kernel-source
    ..followed by a reboot. Then check -
    Code:
    sudo lshw -C network
    ..again. Is the status "DISABLED" gone?
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags

  10. #10
    Join Date
    Feb 2014
    Beans
    30

    Re: Ubuntu Server 12.04 LTS unable to wired connect to internet

    Hi Varunendra,

    I have added this line to /etc/network/interfaces

    Code:
    # The primary network interface
    auto eth0
    iface eth0 inet dhcp 
    


    When I
    lshw -C network the Ethernet Interface networks is no longer disabled.

    Do you want me to remove the above lines that I added to /etc/network/interface before doing your steps?

    Thanks.

    hc.

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
  •