Announcement

Collapse
No announcement yet.

Network unreachable...?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Network unreachable...?

    So I used to have Breezy, but did a clean install of Dapper to clean up my HD a bit. Now I can't get network access! It's basically just an ethernet cable (interface listed as "enabled" in system settings), but when I use telnet to gain access to the network, it just says "network unreachable". It's set up with dhcp and the output from ifconfig looks normal. I can't ping other computers in the network either...

    It works flawlessly in XP, btw.

    Any help would be greatly appreciated; being a n00b is tough! :P

    #2
    Re: Network unreachable...?

    Have you tried a different ethernet cable?
    Can you ping localhost?
    Are your network setting correct- gateway & subnet especially?
    When you ping other hosts, are you trying IP addresses or hostnames?
    Do you have a firewall on your Linux pc?

    this might help:
    http://www.enterprisenetworkingplane...le.php/3603211

    Comment


      #3
      Re: Network unreachable...?

      It can't be the cable since it works when I boot up Windows. Pinging localhost works, but it just gives "network unreachable" if I try to ping anything else. As I said, interface is enabled, and configured to be automatic dhcp (so I don't have to worry about gateway, etc.?).

      /etc/network/interfaces has "auto eth0 \n iface eth0 inet dhcp", which seems about right, so I really don't see why this shouldn't work! Wi-Fi seems to work (though I don't have the rights to access any of the networks it picks up).

      Do Kubuntu 6.06 has a firewall enabled by default?

      Comment


        #4
        Re: Network unreachable...?

        Hi,

        No it doesn't have any firewall...
        Can you give the output of ifconfig and
        cat /etc/network/resolv.conf please ?

        Cheers

        Comment


          #5
          Re: Network unreachable...?

          resolv.conf doesn't exist. Output from ifconfig:

          eth0
          Link encap:Ethernet HWaddr 00:A01:C1:1B:B3
          UP BROADCAST MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:345 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:11 Base address:0xe000

          I had the same problem in 5.10 at first as well, but it just worked all of a sudden; I have know idea why.

          Comment


            #6
            Re: Network unreachable...?

            what happens if you run:

            $ sudo ifdown eth0
            $ sudo ifup eht0

            Or if you try renewing your DHCP lease manually:

            $ sudo /sbin/dhclient

            Comment


              #7
              Re: Network unreachable...?

              Sorry for resolv.conf, it's /etc/resolv.conf it should be with ips of servers, if yes it's ok.
              Can you give the content of file /etc/network/interfaces ?

              And try what alrac gave, the only trouble is that you still need a password.

              Comment


                #8
                Re: Network unreachable...?

                deus,

                What NIC chipset do you have? If 'lspci' shows Davicom / Tulip, then here is the fix:

                http://www.ubuntuforums.org/showthread.php?t=186430

                It sure sounds like the same symptom.

                Good luck!
                ricnmar

                Comment


                  #9
                  Re: Network unreachable...?

                  - /etc/resolv.conf is empty.

                  - Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)

                  - ifdown eth0:
                  Listening on LPF/eth0/00:a0:d1:c1:1b:b3
                  Sending on LPF/eth0/00:a0:d1:c1:1b:b3
                  Sending on Socket/fallback

                  - ifup eth0:
                  Listening on LPF/eth0/00:a0:d1:c1:1b:b3
                  Sending on LPF/eth0/00:a0:d1:c1:1b:b3
                  Sending on Socket/fallback
                  DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
                  DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15
                  DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
                  DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
                  DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
                  DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
                  No DHCPOFFERS recieved
                  No working leases in persistent database - sleeping

                  - /sbin/dhclient gives the same as ifup eth0, except it uses eth1 (wireless) as well.

                  So, do any of this make sense to anyone...?

                  Comment


                    #10
                    Re: Network unreachable...?

                    It looks like drivers are not ok for me...
                    Maybe you should try in "dmesg" command to see if you can find an error reporting to your card.

                    Cheers

                    Comment

                    Working...
                    X