> I've seen all the other posts concerning this card, but my problem is
> *special* :)
> I have a Linksys Etherfast 10/100 NIC (PCI). I have compiled and
> insmodded the tulip.o that comes with the card, and it recognizes it
> wonderfully upon boot as eth0. Now, my problem is, I can't do anything
> with it.
> What I know:
> * I can ping "myself": 192.168.0.1
> * From the other system on my network (via crossover cable, a Win98), I
> can ping it fine.
> * I should be connecting to the inernet via Win98's DHCP / "Internet
> Connection Sharing."
> * In linuxconf I have IP address set to 192.168.0.1, driver set to
> tulip, interface set to eth0, and netmask to 255.255.255.0... (I have
> also tried selectively eliminating various parameters to no avail)
> * I cannot ping to anywhere from linux but myself.
> * ifconfig sees the card fine with the IP address set up.
> So, what am I doing wrong? All I'd like to do is to be able to use the
> other computer's net connection via DHCP...
Okay, I think there are a few things jumbled here:
1. If ping works then the card is working fine - this is a sofware
configuration (not driver or hardware) issue
2. DHCP is a protocol used for one server to automatically assign
addresses to all the other machines on a subnet. If you want to use
Win98 as a DHCP server and have your Linux machine get an address via
DHCP, you need to run a DHCP client (like dhcpcd) on the Linux box. I'd
suggest however that you *don't* do that, and just stick to using
192.168.0.1 as a fixed address.
3. By "Internet Connection Sharing" I think you mean having the Win98 PC
act as a masquerading firewall. I don't know if the software you have
will do this (AFAIK it isn't a standard feature of Win98, and WinGate is
the most popular add-on that does it). For this to work, you need two
things:
- have the Win98 machine set up for IP masquerading
- tell the Linux machine to use the Win98 machine as its default router
(gateway), like this:
/sbin/route add default gw 192.168.0.2 eth0
Long term: I would give due consideration to swapping them round,
putting the internet connection on the Linux box and using it as a
masquerading router. Linux supports this very well, with built in
masquerading and firewall capabilties.
Dave
--
David Crooke, Austin TX, USA. +1 (512) 656 6102
"Open source software - with no walls and fences, who needs Windows
and Gates?"