I just picked up some cheap used NE2K pci ethernet cards to use for a
home lan. I installed two in this Linux box since it may become a
proxy-gateway/firewall for a DSL connection soon. 

I re-compiled the kernel to support the cards, and set my BIOS to use
irq's that were available. This is the relevant boot message:

ne2k-pci.c:v0.99L 2/7/98 D. Becker/P. Gortmaker
http://cesdis.gsfc.nasa.gov/linu
x/drivers/ne2k-pci.html
ne2k-pci.c: PCI NE2000 clone 'Winbond 89C940' at I/O 0x6c00, IRQ 10.
eth0: PCI NE2000 found at 0x6c00, IRQ 10, 00:20:78:14:51:6B.
ne2k-pci.c: PCI NE2000 clone 'Winbond 89C940' at I/O 0x7000, IRQ 5.
eth1: PCI NE2000 found at 0x7000, IRQ 5, 00:20:78:12:8C:3C.

I made entries in /etc/init.d/network so that it now reads:

#! /bin/sh
ifconfig lo 127.0.0.1
route add -net 127.0.0.0
ifconfig eth0 netmask 255.255.255.0 broadcast 192.168.1.255 192.168.1.1
route add -net 192.168.1.0 netmask 255.255.255.0 dev eth0

But when the above is executed at boot time it returns the following
errors:

SIOCSIFNETMASK: Cannot assign requested address
SIOCSIFBRDADDR: Cannot assign requested address

The card (eth0) is now listed in the routing table, as well as being
identified by ifconfig, but I can not pass packets to my other computers
although I see the light blinking on the card when I try to ping another
box.

Any help will be appreciated. Thank you.

-Ben

-- 
------------------------------------
Ben Messinger   [EMAIL PROTECTED]
Debian GNU/Linux user.
------------------------------------

Reply via email to