Find the answer to your Linux question:
Results 1 to 10 of 10
So i upgraded and updated my system (ubuntu 10.04) using terminal, and after that internet (eth0) won't connect. i don't know much about ubuntu, but have been using it for ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2010
    Location
    India
    Posts
    5

    wired connection not working after i updated and upgraded my system.


    So i upgraded and updated my system (ubuntu 10.04) using terminal, and after that internet (eth0) won't connect. i don't know much about ubuntu, but have been using it for more than a year (and i love it), so i really need beginner's help here. someone please help me get my internet back on please. [version-ubuntu 10.04].

    P.S-i need internet urgently as i have to take mock tests for an exam i'm sitting for in a few days. please please please, help me people

  2. #2
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,272
    Quote Originally Posted by shreyashukla View Post
    So i upgraded and updated my system (ubuntu 10.04) using terminal, and after that internet (eth0) won't connect. i don't know much about ubuntu, but have been using it for more than a year (and i love it), so i really need beginner's help here. someone please help me get my internet back on please. [version-ubuntu 10.04].

    P.S-i need internet urgently as i have to take mock tests for an exam i'm sitting for in a few days. please please please, help me people
    My first step on trying to solve this problem is to post the outputs asked here. It would make it easier for the wireless gurus to spot any problems.
    nujinini
    Linux User #489667

  3. #3
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    Hello and Welcome.
    Did you install the driver yourself when you installed Ubuntu? If yes, then you'll need to re-install them after updating the kernel.
    Post the output of
    Code:
    sudo lspci -knn
    Code:
    sudo ifconfig -a
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  4. #4
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    Hello there!

    Just adding to the request for information...
    Please also post the output of
    Code:
    dmesg | grep Ethernet
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  5. #5
    Just Joined!
    Join Date
    Oct 2010
    Location
    India
    Posts
    5
    output for sudo lspci -knn

    Code:
    00:00.0 Host bridge [0600]: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub [8086:2a00] (rev 0c)
    	Kernel driver in use: agpgart-intel
    	Kernel modules: intel-agp
    00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller [8086:2a02] (rev 0c)
    	Kernel driver in use: i915
    	Kernel modules: i915
    00:02.1 Display controller [0380]: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller [8086:2a03] (rev 0c)
    00:1a.0 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 [8086:2834] (rev 03)
    	Kernel driver in use: uhci_hcd
    00:1a.1 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 [8086:2835] (rev 03)
    	Kernel driver in use: uhci_hcd
    00:1a.7 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 [8086:283a] (rev 03)
    	Kernel driver in use: ehci_hcd
    00:1b.0 Audio device [0403]: Intel Corporation 82801H (ICH8 Family) HD Audio Controller [8086:284b] (rev 03)
    	Kernel driver in use: HDA Intel
    	Kernel modules: snd-hda-intel
    00:1c.0 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 [8086:283f] (rev 03)
    	Kernel driver in use: pcieport
    	Kernel modules: shpchp
    00:1c.1 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 [8086:2841] (rev 03)
    	Kernel driver in use: pcieport
    	Kernel modules: shpchp
    00:1c.3 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 [8086:2845] (rev 03)
    	Kernel driver in use: pcieport
    	Kernel modules: shpchp
    00:1c.4 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 [8086:2847] (rev 03)
    	Kernel driver in use: pcieport
    	Kernel modules: shpchp
    00:1d.0 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 [8086:2830] (rev 03)
    	Kernel driver in use: uhci_hcd
    00:1d.1 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 [8086:2831] (rev 03)
    	Kernel driver in use: uhci_hcd
    00:1d.2 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 [8086:2832] (rev 03)
    	Kernel driver in use: uhci_hcd
    00:1d.7 USB Controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 [8086:2836] (rev 03)
    	Kernel driver in use: ehci_hcd
    00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev f3)
    00:1f.0 ISA bridge [0601]: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller [8086:2815] (rev 03)
    	Kernel modules: iTCO_wdt
    00:1f.1 IDE interface [0101]: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller [8086:2850] (rev 03)
    	Kernel driver in use: ata_piix
    00:1f.2 SATA controller [0106]: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller [8086:2829] (rev 03)
    	Kernel driver in use: ahci
    	Kernel modules: ahci
    00:1f.3 SMBus [0c05]: Intel Corporation 82801H (ICH8 Family) SMBus Controller [8086:283e] (rev 03)
    	Kernel modules: i2c-i801
    06:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g [14e4:4315] (rev 01)
    	Kernel driver in use: b43-pci-bridge
    	Kernel modules: ssb
    07:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 02)
    	Kernel driver in use: r8169
    	Kernel modules: r8169
    08:05.0 FireWire (IEEE 1394) [0c00]: O2 Micro, Inc. Firewire (IEEE 1394) [1217:00f7] (rev 02)
    	Kernel driver in use: ohci1394
    	Kernel modules: firewire-ohci, ohci1394
    08:05.2 SD Host controller [0805]: O2 Micro, Inc. Integrated MMC/SD Controller [1217:7120] (rev 02)
    	Kernel driver in use: sdhci-pci
    	Kernel modules: sdhci-pci
    08:05.3 Mass storage controller [0180]: O2 Micro, Inc. Integrated MS/xD Controller [1217:7130] (rev 01)
    output for sudo ifconfig -a
    Code:
    eth0      Link encap:Ethernet  HWaddr 00:21:70:c8:f5:2f  
              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:29 Base address:0x6000 
    
    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:7836 errors:0 dropped:0 overruns:0 frame:0
              TX packets:7836 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:704880 (704.8 KB)  TX bytes:704880 (704.8 KB)
    
    wlan0     Link encap:Ethernet  HWaddr 00:23:4e:3f:85:13  
              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)
    output for dmesg | grep Ethernet
    Code:
    [    1.149701] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
    Last edited by MikeTbob; 10-23-2011 at 06:07 PM. Reason: Added Code Tags

  6. #6
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    What happens when you try these commands?
    Code:
    sudo ifup eth0
    Code:
    sudo dhclient eth0
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  7. #7
    Just Joined!
    Join Date
    Oct 2010
    Location
    India
    Posts
    5
    And to the asked question, a friend of mine did pretty much the whole installation of ubuntu for me..so i guess he must've installed the ethernet driver when he was installing the essential drivers.
    Oh and i must add one more thing, that i got ubuntu installed in a different place than i'm in right now. The person who helped me install it also told me to make some changes (when i change network) in the source list (i think i had to delete some mirror sources in there), which i did. When i returned to my permanent network, i had problems installing flash player, or even routine updating for that matter. It fails to fetch most of the links. Whenever i go back to that place (network), my laptop updates fine, and i even got my flash player on! But now i'm at my permanent place, and the net was working fine until i updated it..
    do u think this is related to the problem?

    P.S- thanks for helping me out..

  8. #8
    Just Joined!
    Join Date
    Oct 2010
    Location
    India
    Posts
    5
    here's the output for sudo ifup eth0

    Ignoring unknown interface eth0=eth0.

    output for sudo dhclient eth0

    There is already a pid file /var/run/dhclient.pid with pid 2548
    killed old client process, removed PID file
    Internet Systems Consortium DHCP Client V3.1.3
    Copyright 2004-2009 Internet Systems Consortium.
    All rights reserved.

    Listening on LPF/eth0/00:21:70:c8:f5:2f
    Sending on LPF/eth0/00:21:70:c8:f5:2f
    Sending on Socket/fallback
    DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
    DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
    DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
    DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
    DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 16
    DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
    No DHCPOFFERS received.
    No working leases in persistent database - sleeping.

  9. #9
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    Is this computer connected to a modem? Or to a router?
    Do this:
    Code:
    sudo rm /var/run/dhclient.pid
    Code:
    sudo dhclient eth0

    As to your other question, could you tell us what steps you went through to 'change networks'? For a physical, wired connection you shouldn't need to change anything at all to connect to the Internet.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  10. #10
    Just Joined!
    Join Date
    Oct 2010
    Location
    India
    Posts
    5
    ok i just found that my internet started working again! i think because the connection here fluctuates a lot, and people have set their systems to switch automatically to static I.P, i didn't get to know that net wasn't there only and it looked like everyone except me was getting internet. sorry for the trouble :P I still have that improper updating problem though.. and to your question, i just deleted 2 or 3 mirror sources (of the network where i installed linux in), from the source list. The sources referred to the name of that network, so i guessed it was only logical to do that.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •