Rohit forced the electrons to say:
> 1. o/p of dmesg eth0 : Realtex RTL 8139 Fast Ethernet at 0xe800, IRQ = 10.
The card is detected...
> 3. /etc/conf.modules
The simple 'alias eth0 ne2k-pci' will work for PCI cards (ne compatible).
Remove the rest from there.
> 5. loopback device works : ping 127.0.0.1 works with some 250 ms avg time.
Irrelevant...
> Setting up routing [/etc/route.conf]
> Error while executing /sbin/route add default gw 192.168.15.1
> SIOCADDRT: Network is unreachable.
That is your problem. There is probably no physical link.
Try this:
stop network subsystem - /sbin/init.d/network stop
Now, the /sbin/route o/p should not have eth0 in it. modprobe ne2k-pci if
necessary.
Type the following commands:
ifconfig eth0 192.168.15.222 netmask 255.255.255.0 up
route add -net 192.168.15.0 netmask 255.255.255.0 dev eth0
Now, if you can ping 192.168.15.222 but cannot 192.168.15.1, then you can
almost assume that it is a cabling problem. Try with the broadcast address,
192.168.15.255, and see how many ping replies you get. (Windows doesn't
respond to broadcast pings, but linux does).
I am assuming things about the hostel network from the good old days. :-)
In particular, I am assuming 15.222 is your machine and 15.1 is the gateway.
Binand
--
The prompt for all occasions:
export PS1="F:\$(pwd | tr '/[a-z]' '\134\134[A-Z]')> "
--------------- Binand Raj S. ([EMAIL PROTECTED])
-----------------------------------------------------------------------
The LIH mailing list archives are available at:
http://lists.linux-india.org/cgi-bin/wilma/linux-india-help