Page 1 of 8 123 ... LastLast
Results 1 to 10 of 71

Thread: Cannot connect to ethernet with wired connection

  1. #1
    Join Date
    Jun 2011
    Beans
    217

    Cannot connect to ethernet with wired connection

    I"m running Ubuntu 12.04 and I cannot connect to the internet with a wired connection.I ran the following to see what the problam might be and ran out of ideas.

    dennis@dennis:~$ sudo lshw -C network
    [sudo] password for dennis:
    *-network UNCLAIMED
    description: Ethernet controller
    product: AR8161 Gigabit Ethernet
    vendor: Atheros Communications Inc.
    physical id: 0
    bus info: pci@0000:03:00.0
    version: 10
    width: 64 bits
    clock: 33MHz
    capabilities: pm pciexpress msi msix bus_master cap_list
    configuration: latency=0
    resources: memory:f7d00000-f7d3ffff ioport:d000(size=128)
    dennis@dennis:~$ arch
    x86_64
    dennis@dennis:~$ uname -r
    3.2.0-29-generic
    dennis@dennis:~$ cd Desktop
    dennis@dennis:~/Desktop$ sudo dpkg -i *.deb
    Selecting previously unselected package build-essential.
    (Reading database ... 140394 files and directories currently installed.)
    Unpacking build-essential (from build-essential_11.5ubuntu2_amd64.deb) ...
    Preparing to replace linux-headers-generic 3.2.0.29.31 (using linux-headers-generic_3.2.0.38.46_amd64.deb) ...
    Unpacking replacement linux-headers-generic ...
    dpkg: dependency problems prevent configuration of build-essential:
    build-essential depends on g++ (>= 4:4.4.3); however:
    Package g++ is not installed.
    build-essential depends on dpkg-dev (>= 1.13.5); however:
    Package dpkg-dev is not installed.
    dpkg: error processing build-essential (--install):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of linux-headers-generic:
    linux-headers-generic depends on linux-headers-3.2.0-38-generic; however:
    Package linux-headers-3.2.0-38-generic is not installed.
    dpkg: error processing linux-headers-generic (--install):
    dependency problems - leaving unconfigured
    Errors were encountered while processing:
    build-essential
    linux-headers-generic
    dennis@dennis:~/Desktop$

    I downloaded and transferred these to my desktop:

    http://packages.ubuntu.com/precise/build-essential

    http://packages.ubuntu.com/search?ke...se&section=all

    I don't no what to do now.

    Thank You for any help.
    Last edited by SUPERFITTER; April 27th, 2013 at 04:50 AM.

  2. #2
    Join Date
    Jun 2011
    Beans
    217

    Re: Cannot connect to ethernet with wired connection

    Is there a driver or a program that I have to run or download?

  3. #3
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    20,981
    Distro
    Ubuntu 14.10 Utopic Unicorn

    Re: Cannot connect to ethernet with wired connection

    Yes, you can install what's missing:
    Package g++ is not installed.
    Package dpkg-dev is not installed.
    Package linux-headers-3.2.0-38-generic is not installed.
    There is some possibility that these packages, too, have missing dependencies that need to be installed. In a few hours or days, I'm sure you'd get it. You could, alternatively install 12.10 and download and install linux-image-3.5.0-25 where your device is supported by default.
    Code:
    $ modinfo /lib/modules/3.5.0-25-generic/kernel/ubuntu/alx/alx.kofilename:       /lib/modules/3.5.0-25-generic/kernel/ubuntu/alx/alx.ko
    version:        1.2.2
    license:        Dual BSD/GPL
    description:    Qualcomm Atheros Gigabit Ethernet Driver
    author:         Qualcomm Corporation, <nic-devel@qualcomm.com>
    srcversion:     064F975FF20C38BFEB63745
    alias:          pci:v00001969d000010A0sv*sd*bc*sc*i*
    alias:          pci:v00001969d000010A1sv*sd*bc*sc*i*
    alias:          pci:v00001969d00001090sv*sd*bc*sc*i*
    alias:          pci:v00001969d00001091sv*sd*bc*sc*i*
    depends:        mdio
    intree:         Y
    vermagic:       3.5.0-25-generic SMP mod_unload modversions
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  4. #4
    Join Date
    Aug 2011
    Location
    Berlin, Germany
    Beans
    5,878
    Distro
    Ubuntu Gnome 14.04 Trusty Tahr

    Re: Cannot connect to ethernet with wired connection

    Hi,

    this LAN driver is packed in the 3.4-backports-modules. Downloads for this kernel:

    http://security.ubuntu.com/ubuntu/po...9.14_amd64.deb

    http://security.ubuntu.com/ubuntu/po...9.46_amd64.deb

    http://security.ubuntu.com/ubuntu/po...-29.46_all.deb

    After the installation load the driver and install the missing packages:
    Code:
    sudo modprobe alx
    sudo apt-get install --reinstall linux-headers-generic build-essential dkms linux-backports-modules-cw-3.4-precise-generic
    and update the system.

  5. #5
    Join Date
    Jun 2011
    Beans
    217

    Re: Cannot connect to ethernet with wired connection

    Thank you chili555 and praseodym
    No luck yet on this connection. Is there an advantage if I install version 12.10, will this cure my problem or is there a fix for this version 12.04?

  6. #6
    Join Date
    Aug 2011
    Location
    Berlin, Germany
    Beans
    5,878
    Distro
    Ubuntu Gnome 14.04 Trusty Tahr

    Re: Cannot connect to ethernet with wired connection

    Please show:
    Code:
    cat /etc/network/interfaces
    cat /etc/resolv.conf
    route -n
    lsmod
    ifconfig -a

  7. #7
    Join Date
    Jun 2011
    Beans
    217

    Re: Cannot connect to ethernet with wired connection

    dennis@dennis:~$ cat /etc/network/interfaces
    auto lo
    iface lo inet loopback
    dennis@dennis:~$ cat /etc/resolv.conf
    # 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
    dennis@dennis:~$ route -n
    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    dennis@dennis:~$ lsmod
    Module Size Used by
    uas 18180 0
    usb_storage 49198 1
    bnep 18281 2
    parport_pc 32866 0
    ppdev 17113 0
    rfcomm 47604 0
    bluetooth 180104 10 bnep,rfcomm
    nls_iso8859_1 12713 2
    nls_cp437 16991 2
    vfat 17585 2
    fat 61512 1 vfat
    snd_hda_codec_hdmi 32474 0
    snd_hda_codec_realtek 224066 1
    joydev 17693 0
    hid_logitech 26520 0
    ff_memless 13097 1 hid_logitech
    snd_hda_intel 33773 3
    snd_hda_codec 127706 3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_i ntel
    snd_hwdep 13668 1 snd_hda_codec
    snd_pcm 97188 3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
    snd_seq_midi 13324 0
    snd_rawmidi 30748 1 snd_seq_midi
    snd_seq_midi_event 14899 1 snd_seq_midi
    snd_seq 61896 2 snd_seq_midi,snd_seq_midi_event
    snd_timer 29990 2 snd_pcm,snd_seq
    snd_seq_device 14540 3 snd_seq_midi,snd_rawmidi,snd_seq
    video 19596 0
    snd 78855 16 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_i ntel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,s nd_seq,snd_timer,snd_seq_device
    usbhid 47199 1 hid_logitech
    hid 99559 2 hid_logitech,usbhid
    serio_raw 13211 0
    mac_hid 13253 0
    soundcore 15091 1 snd
    snd_page_alloc 18529 2 snd_hda_intel,snd_pcm
    mei 41616 0
    lp 17799 0
    parport 46562 3 parport_pc,ppdev,lp
    dennis@dennis:~$ ifconfig -a
    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:16436 Metric:1
    RX packets:176 errors:0 dropped:0 overruns:0 frame:0
    TX packets:176 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:14144 (14.1 KB) TX bytes:14144 (14.1 KB)
    dennis@dennis:~$

  8. #8
    Join Date
    Aug 2011
    Location
    Berlin, Germany
    Beans
    5,878
    Distro
    Ubuntu Gnome 14.04 Trusty Tahr

    Re: Cannot connect to ethernet with wired connection

    There are no nameservers in your /etc/resolv.conf. On-the-fly:
    Code:
    echo -e "nameserver 8.8.8.8\nnameserver 8.8.4.4" | sudo tee -a /etc/resolv.conf

  9. #9
    Join Date
    Jun 2011
    Beans
    217

    Re: Cannot connect to ethernet with wired connection

    echo -e "nameserver 8.8.8.8\nnameserver 8.8.4.4" | sudo tee -a /etc/resolv.conf

    dennis@dennis:~$ echo -e "nameserver 8.8.8.8\nnameserver 8.8.4.4" | sudo tee -a /etc/resolv.conf
    [sudo] password for dennis:
    nameserver 8.8.8.8
    nameserver 8.8.4.4
    dennis@dennis:~$

  10. #10
    Join Date
    Aug 2011
    Location
    Berlin, Germany
    Beans
    5,878
    Distro
    Ubuntu Gnome 14.04 Trusty Tahr

    Re: Cannot connect to ethernet with wired connection

    Restart the network:
    Code:
    sudo service network-manager restart

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