Re: Problem: ISA card & iptables (2.4.26) - disappearing packets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Antony Stone schreef:

> >
> > It's ISA PnP card so it's autoconfigured. I've checked and there is no
> > conflicts :(
>
> Are you sure it is actually being fully configured?   Are you doing the PnP
> setup in the Bios, or under Linux?
>

In my firewall based on Debian I have a 3Com Etherlink III card. I have
the
drivers for that card build in the kernel, not as modules (why using
modules if a
module is constantly loaded).Next I have written a script to activate
the card
(/etc/init.d/isapnp):
#!/bin/sh
#
# isapnp initialize isa-pnp devices
#
PATH="/sbin:/bin:/usr/sbin:/usr/bin"
case "$1" in
  start|restart)
    if [ -r /etc/isapnp.conf ]
    then
      if [ ! -e /proc/isapnp ]
      then
        if [ -e /lib/modules/`uname -r`/kernel/drivers/pnp/isa-pnp.o ]
        then
          modprobe isa-pnp
          result=$?
          if [ $result -ne 0 ]
          then
            exit 2
          fi
        else
          exit 1
        fi
      fi

      cat /etc/isapnp.conf >/proc/isapnp
    fi
    ;;
  stop)
    ;;
esac

And the configuration in /etc/isapnp.conf:
card 0 TCM5095
dev 0 TCM5095
port 0 0x220
irq 0 5
activate

Read kernel-source-'version'/Documentation/isapnp.txt for the options
Finaly I have created a symlink from /etc/rcS.d/S15isapnp to
../init.d/isapnp

Be sure that there are no IRQ's or Port conflicts, or you will find
difficulties
activating cards.


>
>
> Regards,
>
> Antony.
>
> --


Regards
--
Frans Luteijn
PGP PblKey fprnt=C4 87 CE AF BC B6 98 C1  EF 42 A1 9A E2 C0 42 5B
GPG PblKey fprnt=ED20 0F25 C233 DC59 3FFA  170E D0BF 15F5 0BA6 1355



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux