[Gllug] adding a network card to a linux machine

Mike Brodbelt mike at coruscant.demon.co.uk
Tue Aug 27 23:36:52 UTC 2002


On Wed, 2002-08-28 at 00:25, Philippe Rousselot wrote:
> Hi,
> 
> I have a machine running mandrake SNF
> 
> My ethernet PCI card has been recognised without any problem and I am 
> connected to the outside world
> 
> my second card is an ISA card a 3COM 3c509b and has not been recognized 
> during the install.(I know that the card works fine as my first install 
> was done with a regular linux distro and with only this card)

The kernel probes for network cards at boot. When it finds one, it stops
probing. For a multi homed host, you need to pass the kernel parameters
at boot if your network drivers were compiled in, or specify the
appropriate parameters in module load statements. Here's an example from
the lilo.conf for a monolithically compiled kernel:-

boot=/dev/sda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
image=/boot/vmlinuz
        label=linux
        root=/dev/md0
        append="ether=15,0x6a00,eth0 9,0x6900,eth1"
        read-only

 
> Md SNF runs at level 3

???

> What are the files that I have to modify in order to be able to connect 
> another computer to this firewall throught the ISA card ? and how do I 
> modify them ?

Once you've got the interface up and working (which can be a bit more
awkward with ISA cards, as you'll need to know the IRQ and I/O port
assignments), you'll need to ensure that routing is enablced in your
kernel (if "cat /proc/sys/net/ipv4/ip_forward" returns 1, it is), and
then you'll need to use iptables/ipchains to set up appropriate
firewalling rules.

HTH,

Mike.


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list