Hi. I had two disks in IDE1, and DVD and CDROM in IDE2. I've added a CDRW and Atapi Zip, so I have used IDE4 on old SoundBlaster. Final configuration is two disks in IDE1, DVD+CDRW in IDE2 and CDROM+ZIP in IDE4, all of which work perfectly in W98SE and W2000. I use Suse 7.0 with 2.2.16. Atapi Zip needs CONFIG_BLK_DEV_IDEFLOPPY in kernel. I changed this, but although at boot all six IDE devices are recognized, a lot of error messages appear related to the devices in IDE4 ("unexpected interrupt", "ATAPI reset", "irq timeout"). I upgraded to modutils and kernel 2.4.2, and these problems disappeared. But the PC has two network cards, to a cable modem (DHCP) and to a laptop (192.168.0.4). Laptop IP is 192.168.0.7. I used 'ipchains' on 2.2.16 before for giving Internet access to the laptop, but it seems that a new philosophy with "iptables" is recommended with 2.4.2. I have tried a little bit with 'iptables' but cold not make it work, so I stay by now with old 'ipchains'. Can someone provide a simple set of 'iptables' commands to give Internet access to the laptop through the PC connected to the cable modem? TIA, Webillo Disperso.
On Tue, 6 Mar 2001 12:54:48 +0100
"Webillo Disperso"
Hi.
I had two disks in IDE1, and DVD and CDROM in IDE2. I've added a CDRW and Atapi Zip, so I have used IDE4 on old SoundBlaster. Final configuration is two disks in IDE1, DVD+CDRW in IDE2 and CDROM+ZIP in IDE4, all of which work perfectly in W98SE and W2000.
I use Suse 7.0 with 2.2.16. Atapi Zip needs CONFIG_BLK_DEV_IDEFLOPPY in kernel. I changed this, but although at boot all six IDE devices are recognized, a lot of error messages appear related to the devices in IDE4 ("unexpected interrupt", "ATAPI reset", "irq timeout").
I upgraded to modutils and kernel 2.4.2, and these problems disappeared. But the PC has two network cards, to a cable modem (DHCP) and to a laptop (192.168.0.4). Laptop IP is 192.168.0.7. I used 'ipchains' on 2.2.16 before for giving Internet access to the laptop, but it seems that a new philosophy with "iptables" is recommended with 2.4.2.
I have tried a little bit with 'iptables' but cold not make it work, so I stay by now with old 'ipchains'.
Can someone provide a simple set of 'iptables' commands to give Internet access to the laptop through the PC connected to the cable modem?
TIA, Webillo Disperso.
I can't help with iptables, but if you want you can build an ipchains
compatibility module within the kernel.
Regards...
--
Jean-François Bocquet
On Tue, 6 Mar 2001, Webillo Disperso wrote: <*]I upgraded to modutils and kernel 2.4.2, and these problems disappeared. But <*]the PC has two network cards, to a cable modem (DHCP) and to a laptop <*](192.168.0.4). Laptop IP is 192.168.0.7. I used 'ipchains' on 2.2.16 before <*]for giving Internet access to the laptop, but it seems that a new philosophy <*]with "iptables" is recommended with 2.4.2. <*] <*]I have tried a little bit with 'iptables' but cold not make it work, so I <*]stay by now with old 'ipchains'. <*] <*]Can someone provide a simple set of 'iptables' commands to give Internet <*]access to the laptop through the PC connected to the cable modem? Webillo, Here is what you could try. I suppose that your first NIC aliased eth0 provides network access to your laptop, and eth1 through your cable modem with DHCP services. ifconfig eth0 192.168.0.4 route add -host 192.168.0.4 dev eth0 Then /usr/local/bin/iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE and keep your laptop's config unchanged. ciao /nb ________________ Nicolas Beaulieu http://patagonia.dyndns.org " La raison fait l`homme, mais c`est le sentiment qui le conduit. " Jean-Jacques Rousseau Discours sur l`origine et le fondement de l`inegalite parmi les hommes. _________________
participants (3)
-
Jean-Fran�ois Bocquet
-
Nicolas Beaulieu
-
Webillo Disperso