LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Destination Host Unreacheable (https://www.linuxquestions.org/questions/linux-networking-3/destination-host-unreacheable-101168/)

azornoz 10-07-2003 06:57 AM

Destination Host Unreacheable
 
Hi, please need help with getting a nic working:
I installed mandrake 9.1 in a new pc and seems working great but the connection to lan with realtek 8139 chip netword card .

No iptables running, security low, and everytime I ping another mandrake machine I get Destination Host Unreacheable, I boot with knoppix and the nic works just fine (log in with ssh in another machine).

Something is going wrong , this is the end of `dmesg` and it just looks bad:

8139too Fast Ethernet driver 0.9.26
eth0: RealTek RTL8139 Fast Ethernet at 0xce89e000, 00:e0:7d:b6:65:ba, IRQ 17
eth0: Identified 8139 chip type 'RTL-8139C'
devfs_register(1): could not append to parent, err: -17
devfs_register(a1): could not append to parent, err: -17
eth0: Setting 100mbps full-duplex based on auto-negotiated partner ability 41e1.
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Tx queue start entry 4 dirty entry 0.
eth0: Tx descriptor 0 is 00002000. (queue head)
eth0: Tx descriptor 1 is 00002000.
eth0: Tx descriptor 2 is 00002000.
eth0: Tx descriptor 3 is 00002000.
eth0: Setting 100mbps full-duplex based on auto-negotiated partner ability 41e1.
devfs_register(2): could not append to parent, err: -17
devfs_register(a2): could not append to parent, err: -17
devfs_register(3): could not append to parent, err: -17
devfs_register(a3): could not append to parent, err: -17
devfs_register(5): could not append to parent, err: -17
devfs_register(a5): could not append to parent, err: -17
devfs_register(4): could not append to parent, err: -17
devfs_register(a4): could not append to parent, err: -17
devfs_register(6): could not append to parent, err: -17
devfs_register(a6): could not append to parent, err: -17


If anyone can help I just would be very happy to learn why this weird thing is happening.
Another clue is that netconf hangs when trying to configure, but the result of lots of
ifconfig eth0 $ip netmask $mask
/etc/init.d/network start|restart|stop
is Destination host unreacheable

Thanks in advance.

adz 10-07-2003 07:21 AM

Do you have anything in /etc/network/interfaces? You should have something like what I've got:

# The loopback interface
auto lo eth0
iface lo inet loopback

iface eth0 inet static
address 192.168.0.1
network 192.168.0.0
netmask 255.255.255.0

I assume you're running a class "C" network.

azornoz 10-07-2003 07:37 AM

yes i have, in mandrake is ifcg-eth0 but it's nearly the same

have ip, have netmask, etc

azornoz 10-07-2003 07:39 AM

I can ping eth0 and lo with success
but no others

thanks for the reply from spain.

adz 10-07-2003 08:21 AM

Could you run ifconfig eth0 for me? Also, can you ping your external IP? Is this computer running as a router or just a slave?

azornoz 10-07-2003 09:15 AM

#ifconfig
eth0 Link encap:Ethernet HWaddr 00:E0:7D:B6:65:BA
inet addr:192.168.1.200 Bcast:192.168.1.255 Mask:255.255.255.0
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:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:17 Base address:0x1000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:133 errors:0 dropped:0 overruns:0 frame:0
TX packets:133 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:10178 (9.9 Kb) TX bytes:10178 (9.9 Kb)


I told u i can ping eth0

ping -c1 192.168.1.200
PING 192.168.1.200 (192.168.1.200) 56(84) bytes of data.
64 bytes from 192.18.1.200: icmp_seq=1 ttl=64 time=0.033 ms

as a result 0% packet loss.

This computer now is just slave, running ciertain free software over apache+perl+mysql but without network it just does not worth a dime.

Thanks for the replay. Ask any information u need.

adz 10-07-2003 09:42 AM

I don't suppose there is a dhcp server on that network is there? If so type dhclient and that should fix it. If not, have a look at the output of route. Post that here. In said output see what it says under the gateway setting for your nework (which should be 192.168.0.0).

azornoz 10-07-2003 09:45 AM

the motherboard gigabite with sis650 chipset has onboard lan realtek 8100lb but I just disabled in bios. The situation was just the same, I put a nic realtek 8139 to see if things get better but just stays the same.

If I change the card from the pci slot it just change the irq but the problem is the same.

azornoz 10-07-2003 09:55 AM

No dhcp server, only 2 computers running linux mandrake 9.1

#route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo

No need of gateway cos only want to connect 2 pc to see the webpage that this one serves (nogui, but lots of lynx, D:)
have u think of a web server without network connection?

Thanks

azornoz 10-07-2003 11:40 AM

searching through google :

http://www.google.com/linux?hl=es&ie...+en+Google&lr=

It seems that I'm not the only one with this problem.

azornoz 10-07-2003 12:11 PM

Problem solved see:

http://www.mail-archive.com/cooker@l.../msg77612.html

simply add option kernel noapic

now it works.

Thanks to adz.


All times are GMT -5. The time now is 03:14 AM.