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

Thread: Lost internet connectivity???

  1. #1
    Join Date
    Mar 2007
    Location
    OH
    Beans
    42
    Distro
    Ubuntu 6.10 Edgy

    Lost internet connectivity???

    I am a newb that needs some networking help. I just ran an update on Hardy and now my networking connectivity is gone! It seems like every time I run a kernel update from the update manager, I lose eth0 connectivity. In the past I have gotten so frustrated, I would just reinstall Ubuntu. The reason I switched to Ubuntu is I had so many problems with Windows locking up and needing to reinstall it every few months. I never had problems with Dapper or Feisty. It's pretty much started in Gutsy for me. I have tried Pinging on my network without any luck. I know something in the configs is changing because I am using a dual-boot system and the Windows boot is working.

    Please HELP!!!

    Thanks
    Greg

  2. #2
    Join Date
    Apr 2007
    Location
    Germany
    Beans
    952
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Lost internet connectivity???

    i sometimes have the problem that the driver for my internal network card is not loaded properly. Since i do not know what kind of network hardware you have, i need to know this first in oder to tell you the right command to test this.
    can you please run the following command:
    Code:
    lspci
    and paste the output here. This will show all devices in your computer, including your network card. From there, i might be able to tell you a command to reload the config.

    On the off chance that this is NOT a problem with the driver, but the configuration, please post the output of these commands:

    Code:
    ifconfig
    cat /etc/network/interfaces
    the first will show your currently active network cards, the second will show the configuration for the network card that is loaded when booting.

    hope we can figure this out

    PS: i am usually not helping with hardware issues, and i am not really good at it. This just seems similar to problems i ran into the past.
    So, if anyone else has an idea, PLEASE POST IT
    Calvin: I'm being educated against my will! My rights are being trampled!
    Hobbes: Is it a right to remain ignorant?
    Calvin: I don't know, but I refuse to find out!

  3. #3
    Join Date
    Mar 2007
    Location
    OH
    Beans
    42
    Distro
    Ubuntu 6.10 Edgy

    Re: Lost internet connectivity???

    ok, here's the info requested:
    Code:
    golah@desktop:~$ lspci
    00:00.0 Host bridge: VIA Technologies, Inc. K8T890 Host Bridge
    00:00.1 Host bridge: VIA Technologies, Inc. K8T890 Host Bridge
    00:00.2 Host bridge: VIA Technologies, Inc. K8T890 Host Bridge
    00:00.3 Host bridge: VIA Technologies, Inc. K8T890 Host Bridge
    00:00.4 Host bridge: VIA Technologies, Inc. K8T890 Host Bridge
    00:00.5 PIC: VIA Technologies, Inc. K8T890 I/O APIC Interrupt Controller
    00:00.7 Host bridge: VIA Technologies, Inc. K8T890 Host Bridge
    00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800/K8T890 South]
    00:02.0 PCI bridge: VIA Technologies, Inc. K8T890 PCI to PCI Bridge Controller
    00:03.0 PCI bridge: VIA Technologies, Inc. K8T890 PCI to PCI Bridge Controller
    00:03.1 PCI bridge: VIA Technologies, Inc. K8T890 PCI to PCI Bridge Controller
    00:03.2 PCI bridge: VIA Technologies, Inc. K8T890 PCI to PCI Bridge Controller
    00:03.3 PCI bridge: VIA Technologies, Inc. K8T890 PCI to PCI Bridge Controller
    00:0b.0 Network controller: RaLink RT2500 802.11g Cardbus/mini-PCI (rev 01)
    00:0c.0 Communication controller: Conexant HCF 56k Data/Fax/Voice Modem (Worldwide) (rev 08)
    00:0f.0 RAID bus controller: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)
    00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
    00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
    00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
    00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
    00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
    00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
    00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South]
    00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
    00:11.6 Communication controller: VIA Technologies, Inc. AC'97 Modem Controller (rev 80)
    00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
    00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
    00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
    00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
    02:00.0 VGA compatible controller: ATI Technologies Inc RV370 5B60 [Radeon X300 (PCIE)]
    02:00.1 Display controller: ATI Technologies Inc RV370 [Radeon X300SE]
    05:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 19)
    golah@desktop:~$ ifconfig
    eth0      Link encap:Ethernet  HWaddr 00:13:d4:d6:bc:f7  
              inet addr:192.168.1.66  Bcast:192.168.1.255  Mask:255.255.255.0
              inet6 addr: fe80::213:d4ff:fed6:bcf7/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:50 errors:0 dropped:0 overruns:0 frame:0
              TX packets:58 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:3106 (3.0 KB)  TX bytes:11344 (11.0 KB)
              Interrupt:24 
    
    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:1221 errors:0 dropped:0 overruns:0 frame:0
              TX packets:1221 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:61676 (60.2 KB)  TX bytes:61676 (60.2 KB)
    
    wlan0     Link encap:Ethernet  HWaddr 00:12:17:8c:59:74  
              inet6 addr: fe80::212:17ff:fe8c:5974/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:55 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:13076 (12.7 KB)
    
    wlan0:avahi Link encap:Ethernet  HWaddr 00:12:17:8c:59:74  
              inet addr:169.254.5.141  Bcast:169.254.255.255  Mask:255.255.0.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
    
    wmaster0  Link encap:UNSPEC  HWaddr 00-12-17-8C-59-74-00-00-00-00-00-00-00-00-00-00  
              UP BROADCAST RUNNING 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)
    
    golah@desktop:~$ cat /etc/network/interfaces
    auto lo
    iface lo inet loopback
    
    
    
    iface wlan0 inet dhcp
    wireless-key s:2432633612
    wireless-essid 2WIRE704
    
    auto wlan0
    
    iface eth0 inet static
    address 192.168.1.66
    netmask 255.255.255.0
    gateway 192.168.1.0
    
    auto eth0
    
    mapping hotplug       
    script grep       
    map usb0
    
    iface usb0 inet static
    address 192.168.0.200      
    netmask 255.255.255.0      
    broadcast 192.168.0.255
    pre-up /etc/network/ipaq
    
    #
    To me, it looks like the eth0 is loaded and reporting. FYI...I checked the network card and the cable looks connected (lights on) and the router looks ok also.

  4. #4
    Join Date
    Feb 2008
    Beans
    23

    Re: Lost internet connectivity???

    Quote Originally Posted by flyinggreg View Post
    I am a newb that needs some networking help. I just ran an update on Hardy and now my networking connectivity is gone
    I'm not a newb, but I have had the same exact problem in the last couple of days. Ever since I ran an update two or three days ago, my networking settings have gone haywire. I had a bridged interface set up a la the KVM community HOWTO page for virtual machine support. That stopped working completely. I reverted to dhcp on eth0, but the system is constantly deleting my nameserver settings and default gateway and leaving me with no routing.

    Ubuntu has been really good so far, especially compared to older Linux distros, but this is just ridiculous.

  5. #5
    Join Date
    Apr 2007
    Location
    Germany
    Beans
    952
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Lost internet connectivity???

    mhm... this is indeed very strange. The interface should be there. Btw. is there a reason why both your networks are configured are statically ? Anyway, lets run some more tests.
    first off, is your routing set correctly ? you can find that by typing
    Code:
    route -n
    also, check the nameservers, with:
    Code:
    cat /etc/resolv.conf
    but i suspect they are find too...
    besdies that, i only have one more idea before i am out... check your iptables setup please. Can you post the output of the following commands here:
    Code:
    iptables -L -vnx
    iptables -L -vnx --table nat
    if i cannot see anything there, i am as hopelessly lost as cfmunster.

    let's pray a little and see if we can (still) figure this out...
    Calvin: I'm being educated against my will! My rights are being trampled!
    Hobbes: Is it a right to remain ignorant?
    Calvin: I don't know, but I refuse to find out!

  6. #6
    Join Date
    Feb 2008
    Beans
    23

    Re: Lost internet connectivity???

    Thanks for the reply. Here are the diagnostics. Worth noting- whenever I reboot, and perhaps when I go idle as well (because it just happened) I lose my default gateway and my nameserver settings and I have to add them back in manually. Right now I am using DHCP. Just for good measure I have added the dhclient output as well.

    It's also worth noting that I have seen several other threads today that look like similar issues, one in particular where the user said his nameserver was getting wiped out after a reboot.

    Thanks for any help or suggestions.


    route -n

    Code:
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    169.254.2.0     0.0.0.0         255.255.255.0   U     0      0        0 eth1
    192.168.2.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
    192.168.122.0   0.0.0.0         255.255.255.0   U     0      0        0 vnet0
    169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 eth0
    0.0.0.0         192.168.2.1     0.0.0.0         UG    0      0        0 eth0
    0.0.0.0         169.254.2.1     0.0.0.0         UG    0      0        0 eth1
    0.0.0.0         192.168.2.1     0.0.0.0         UG    100    0        0 eth0
    cat /etc/resolv.conf

    Code:
    ### BEGIN INFO
    #
    # Modified_by:  NetworkManager
    # Process:      /usr/bin/NetworkManager
    # Process_id:   7191
    #
    ### END INFO
    
    nameserver 192.168.2.1
    iptables -L -vnx

    Code:
    Chain INPUT (policy ACCEPT 116342 packets, 57271435 bytes)
        pkts      bytes target     prot opt in     out     source               destination         
           0        0 ACCEPT     udp  --  vnet0  *       0.0.0.0/0            0.0.0.0/0           udp dpt:53 
           0        0 ACCEPT     tcp  --  vnet0  *       0.0.0.0/0            0.0.0.0/0           tcp dpt:53 
           0        0 ACCEPT     udp  --  vnet0  *       0.0.0.0/0            0.0.0.0/0           udp dpt:67 
           0        0 ACCEPT     tcp  --  vnet0  *       0.0.0.0/0            0.0.0.0/0           tcp dpt:67 
    
    Chain FORWARD (policy ACCEPT 3 packets, 704 bytes)
        pkts      bytes target     prot opt in     out     source               destination         
           0        0 ACCEPT     all  --  *      vnet0   0.0.0.0/0            192.168.122.0/24    state RELATED,ESTABLISHED 
           0        0 ACCEPT     all  --  vnet0  *       192.168.122.0/24     0.0.0.0/0           
           0        0 ACCEPT     all  --  vnet0  vnet0   0.0.0.0/0            0.0.0.0/0           
           0        0 REJECT     all  --  *      vnet0   0.0.0.0/0            0.0.0.0/0           reject-with icmp-port-unreachable 
           0        0 REJECT     all  --  vnet0  *       0.0.0.0/0            0.0.0.0/0           reject-with icmp-port-unreachable 
    
    Chain OUTPUT (policy ACCEPT 118219 packets, 12984510 bytes)
        pkts      bytes target     prot opt in     out     source               destination
    iptables -L -vnx --table nat

    Code:
    Chain PREROUTING (policy ACCEPT 30 packets, 5106 bytes)
        pkts      bytes target     prot opt in     out     source               destination         
    
    Chain POSTROUTING (policy ACCEPT 3312 packets, 255702 bytes)
        pkts      bytes target     prot opt in     out     source               destination         
          39     6888 MASQUERADE  all  --  *      *       192.168.122.0/24     0.0.0.0/0           
    
    Chain OUTPUT (policy ACCEPT 3350 packets, 262542 bytes)
        pkts      bytes target     prot opt in     out     source               destination

    cat /etc/dhcp3/dhclient.conf:

    Code:
    # Configuration file for /sbin/dhclient, which is included in Debian's
    #	dhcp3-client package.
    #
    # This is a sample configuration file for dhclient. See dhclient.conf's
    #	man page for more information about the syntax of this file
    #	and a more comprehensive list of the parameters understood by
    #	dhclient.
    #
    # Normally, if the DHCP server provides reasonable information and does
    #	not leave anything out (like the domain name, for example), then
    #	few changes must be made to this file, if any.
    #
    
    send host-name "<hostname>";
    #send dhcp-client-identifier 1:0:a0:24:ab:fb:9c;
    #send dhcp-lease-time 3600;
    #supersede domain-name "fugue.com home.vix.com";
    #prepend domain-name-servers 127.0.0.1;
    request subnet-mask, broadcast-address, time-offset, routers,
    	domain-name, domain-name-servers, host-name,
    	netbios-name-servers, netbios-scope;
    #require subnet-mask, domain-name-servers;
    timeout 30;
    #retry 60;
    #reboot 10;
    #select-timeout 5;
    #initial-interval 2;
    #script "/etc/dhcp3/dhclient-script";
    #media "-link0 -link1 -link2", "link0 link1";
    #reject 192.33.137.209;
    
    #alias {
    #  interface "eth0";
    #  fixed-address 192.5.5.213;
    #  option subnet-mask 255.255.255.255;
    #}
    
    #lease {
    #  interface "eth0";
    #  fixed-address 192.33.137.200;
    #  medium "link0 link1";
    #  option host-name "andare.swiftmedia.com";
    #  option subnet-mask 255.255.255.0;
    #  option broadcast-address 192.33.137.255;
    #  option routers 192.33.137.250;
    #  option domain-name-servers 127.0.0.1;
    #  renew 2 2000/1/12 00:00:01;
    #  rebind 2 2000/1/12 00:00:01;
    #  expire 2 2000/1/12 00:00:01;
    #}

  7. #7
    Join Date
    Apr 2006
    Location
    Cork, Ireland
    Beans
    Hidden!
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Lost internet connectivity???

    Quote Originally Posted by flyinggreg View Post
    I am a newb that needs some networking help. I just ran an update on Hardy and now my networking connectivity is gone! It seems like every time I run a kernel update from the update manager, I lose eth0 connectivity. In the past I have gotten so frustrated, I would just reinstall Ubuntu. The reason I switched to Ubuntu is I had so many problems with Windows locking up and needing to reinstall it every few months. I never had problems with Dapper or Feisty. It's pretty much started in Gutsy for me. I have tried Pinging on my network without any luck. I know something in the configs is changing because I am using a dual-boot system and the Windows boot is working.

    Please HELP!!!

    Thanks
    Greg
    Networking is not really my thing but are you using the network-manager applet to manage your connections? If so, I think your /etc/network/interfaces file should be empty except for the first two lines.

    auto lo
    iface lo inet loopback

  8. #8
    Join Date
    Feb 2008
    Beans
    23

    Re: Lost internet connectivity???

    Hmm, definitely something funny going on. I was just browsing around and I lost connectivity. I had to re-add my nameserver and default gw again. This is becoming a serious hassle.

    UPDATE: I switched back to bridged networking and that works, but I just lost my gw and nameserver, again. fyi I am adding them back in on the command line rather than through the network manager app.
    Last edited by cfmunster; June 21st, 2008 at 02:51 AM.

  9. #9
    Join Date
    Mar 2007
    Location
    OH
    Beans
    42
    Distro
    Ubuntu 6.10 Edgy

    Re: Lost internet connectivity???

    The other lines are for connecting to my handheld IPaq. There never was an issue with those lines before the update. I am going to check out my /etc/resolv.conf and see if my nameserver changed.

  10. #10
    Join Date
    Jul 2007
    Location
    Midwest
    Beans
    503
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: Lost internet connectivity???

    I lost wireless after the "helpful" updates and still trying to resolve it. Seems that the mad wi fi.org site is down and cannot reinstall the wireless. No more updates for this laptop. Using Ubuntu 8.04.
    Your TV might soon be obsolete...find out at https://www.dtv2009.gov/
    Close the Windows and "open" the "source" . 2008 is the year for Linux

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
  •