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

Thread: Ubuntu 8.04 32bit unable to connect to the net

  1. #1
    Join Date
    May 2008
    Beans
    235
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Ubuntu 8.04 32bit unable to connect to the net

    Hi,

    I recently installed ubuntu 8.04. I also have xp on the same machine.

    At first, the internet connection was working fine with ubuntu. However, after I mounted my ntfs drives and rebooted, I lost the connection. I tried a few things here and there, but was unable to restore the connection.

    I have cable internet. IP given automatically (dhcp). I use a linksys router. I tried the connection with the router and without it: same results. (note that my connection in xp works just fine, so, it cant be a hardware problem).

    Here is some ubuntu info that might help:

    Code:
    ali@ali-ubuntu:~$ sudo ifconfig 
    eth0      Link encap:Ethernet  HWaddr 00:1e:8c:9d:27:94  
              UP 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:2 
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B) 
              Memory:cffc0000-d0000000 
    
    eth0:avahi Link encap:Ethernet  HWaddr 00:1e:8c:9d:27:94  
              inet addr:169.254.6.142  Bcast:169.254.255.255  Mask:255.255.0.0 
              UP BROADCAST MULTICAST  MTU:1500  Metric:1 
              Memory:cffc0000-d0000000 
    
    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:37 errors:0 dropped:0 overruns:0 frame:0 
              TX packets:37 errors:0 dropped:0 overruns:0 carrier:0 
              collisions:0 txqueuelen:0 
              RX bytes:3872 (3.7 KB)  TX bytes:3872 (3.7 KB)

    Code:
    ali@ali-ubuntu:~$ sudo dhclient eth0 
    There is already a pid file /var/run/dhclient.pid with pid 6161 
    killed old client process, removed PID file 
    Internet Systems Consortium DHCP Client V3.0.6 
    Copyright 2004-2007 Internet Systems Consortium. 
    All rights reserved. 
    For info, please visit http://www.isc.org/sw/dhcp/ 
    
    Listening on LPF/eth0/00:1e:8c:9d:27:94 
    Sending on   LPF/eth0/00:1e:8c:9d:27:94 
    Sending on   Socket/fallback 
    DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4 
    DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9 
    DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8 
    DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8 
    DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 2 
    No DHCPOFFERS received. 
    No working leases in persistent database – sleeping.



    Code:
    ali@ali-ubuntu:~$ sudo netstat -nr 
    Kernel IP routing table 
    Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface 
    169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 eth0 
    0.0.0.0         0.0.0.0         0.0.0.0         U         0 0          0 eth0
    Also, here is a copy of my syslog:

    http://nahawand1.googlepages.com/syslogubuntu.odt

    or

    http://nahawand1.googlepages.com/syslogubuntu.txt

    any help is appreciated!


    EDIT SOLUTION:

    Click on system, administrator, network:
    Highlight wired connection, click on properties, then select: dhcp
    reboot
    reset bios settings to default
    Last edited by newbuntuxx; May 10th, 2008 at 03:44 AM.

  2. #2
    Join Date
    Jan 2007
    Beans
    5,549

    Re: Ubuntu 8.04 32bit unable to connect to the net

    go to system->administration->network and click on wired connection(eth0) properties.. and ensure that you have selected DHCP there(it may have been in roaming mode)

  3. #3
    Join Date
    May 2008
    Beans
    235
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Ubuntu 8.04 32bit unable to connect to the net

    It was on roaming superprash2003, I changed it to dhcp, then rebooted and powered off the modem, router. Still no connection.

    Anything else i should do? do you want any specific information?

    btw, my network card is:
    Atheros L2 Fast Ethernet 10/100 on board

  4. #4
    Join Date
    May 2008
    Beans
    235
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Ubuntu 8.04 32bit unable to connect to the net

    here is more information after changing the network connection type to dhcp:

    Code:
    ali@ali-ubuntu:~$ sudo lshw -C network
      *-network               
           description: Ethernet interface
           product: L2 100 Mbit Ethernet Adapter
           vendor: Attansic Technology Corp.
           physical id: 0
           bus info: pci@0000:02:00.0
           logical name: eth0
           version: a0
           serial: 00:1e:8c:9d:27:94
           capacity: 100MB/s
           width: 64 bits
           clock: 33MHz
           capabilities: pm msi pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation
           configuration: autonegotiation=on broadcast=yes driver=ATL2 driverversion=1.0.40.2 firmware=L2 latency=0 link=no module=atl2 multicast=yes port=twisted pair
    Code:
    ali@ali-ubuntu:~$ sudo dhclient -r eth0
    Internet Systems Consortium DHCP Client V3.0.6
    Copyright 2004-2007 Internet Systems Consortium.
    All rights reserved.
    For info, please visit http://www.isc.org/sw/dhcp/
    
    Listening on LPF/eth0/00:1e:8c:9d:27:94
    Sending on   LPF/eth0/00:1e:8c:9d:27:94
    Sending on   Socket/fallback

    Code:
    ali@ali-ubuntu:~$ sudo dhclient eht0
    There is already a pid file /var/run/dhclient.pid with pid 134519072
    Internet Systems Consortium DHCP Client V3.0.6
    Copyright 2004-2007 Internet Systems Consortium.
    All rights reserved.
    For info, please visit http://www.isc.org/sw/dhcp/
    
    SIOCSIFADDR: No such device
    eht0: ERROR while getting interface flags: No such device
    eht0: ERROR while getting interface flags: No such device
    Bind socket to interface: No such device

  5. #5
    Join Date
    Jun 2006
    Location
    Switzerland
    Beans
    Hidden!
    Distro
    Kubuntu Jaunty Jackalope (testing)

    Re: Ubuntu 8.04 32bit unable to connect to the net

    post:

    Code:
    cat /etc/network/interfaces

    Code:
    cat /etc/resolv.conf
    Code:
    ifconfig

  6. #6
    Join Date
    May 2008
    Beans
    235
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Ubuntu 8.04 32bit unable to connect to the net

    Here you go:

    Code:
    cat /etc/network/interfaces
    
    ali@ali-ubuntu:~$ sudo cat /etc/network/interfaces
    auto lo
    iface lo inet loopback
    
    
    
    
    iface eth0 inet dhcp
    
    auto eth0


    Code:
    cat /etc/resolv.conf
    
    ali@ali-ubuntu:~$ sudo cat /etc/resolv.conf
    search phub.net.cable.rogers.com
    nameserver 64.71.255.198
    Code:
    ifconfig
    
    ali@ali-ubuntu:~$ sudo ifconfig
    eth0      Link encap:Ethernet  HWaddr 00:1e:8c:9d:27:94  
              UP 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:1
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
              Memory:cffc0000-d0000000 
    
    eth0:avahi Link encap:Ethernet  HWaddr 00:1e:8c:9d:27:94  
              inet addr:169.254.6.142  Bcast:169.254.255.255  Mask:255.255.0.0
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              Memory:cffc0000-d0000000 
    
    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:46 errors:0 dropped:0 overruns:0 frame:0
              TX packets:46 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:4567 (4.4 KB)  TX bytes:4567 (4.4 KB)
    Also, I noticed the following:

    When I entered network settings (System, administrator, network settings) and clicked on hosts, I noticed everything in the list box has ip6. Could that be causing the problem?

    Here is a screenshot of what I saw:

    http://nahawand1.googlepages.com/Screenshot.jpg

    Also, when I went to: System, Administrator, network tools. On the devices tab, I selected my Ethernet interface (eth0:avahi) and then clicked on configure, I got the following error:

    Code:
    The interface does not exist
    check that it is correctly typed and that it is correctly supported by your system
    Here is a screenshot of that:

    http://nahawand1.googlepages.com/Screenshot1.jpg

  7. #7
    Join Date
    Jun 2006
    Location
    Switzerland
    Beans
    Hidden!
    Distro
    Kubuntu Jaunty Jackalope (testing)

    Re: Ubuntu 8.04 32bit unable to connect to the net

    how do you connect to the net? Through a dsl-modem/router? dial-up?

  8. #8
    Join Date
    May 2008
    Beans
    235
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Ubuntu 8.04 32bit unable to connect to the net

    I have cable internet. The ip address is assigned automatically. I do not have to use a username and password authentication. I have a link sys router that is connected to my cable modem. The link sys is programmed to assign the ip addresses to the computers connected to it: dynamically (dhpc). I also tried bypassing the link sys and connecting directly to the cable modem. Still not luck.

  9. #9
    Join Date
    Jun 2006
    Location
    Switzerland
    Beans
    Hidden!
    Distro
    Kubuntu Jaunty Jackalope (testing)

    Re: Ubuntu 8.04 32bit unable to connect to the net

    edit your interfaces file and set this:
    Code:
    auto eth0
    iface eth0 inet dhcp
    Instead of the other way around

    Then restart the network and post all the stuff asked before:
    Code:
    sudo /etc/init.d/networking restart

  10. #10
    Join Date
    Feb 2007
    Beans
    49

    Red face Re: Ubuntu 8.04 32bit unable to connect to the net

    I am having the same problem
    please let us know if that solve the problem
    Last edited by bobbyshafter; May 9th, 2008 at 04:23 PM.

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
  •