Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Frans Luteijn <f.a.g.luteijn@knoware.nl>
To: netfilter@lists.netfilter.org
Subject: Re: Problem: ISA card & iptables (2.4.26) - disappearing packets
Date: Mon, 19 Jul 2004 17:29:05 +0200	[thread overview]
Message-ID: <40FBE8C1.CF721322@knoware.nl> (raw)
In-Reply-To: 200407181140.35100.Antony@Soft-Solutions.co.uk

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



      parent reply	other threads:[~2004-07-19 15:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-17  7:28 Problem: ISA card & iptables (2.4.26) - disappearing packets adderek
2004-07-18  8:39 ` Antony Stone
2004-07-17  8:20   ` adderek
2004-07-18 10:40     ` Antony Stone
2004-07-17 10:18       ` adderek
2004-07-17 14:47       ` adderek
2004-07-18 15:56         ` Antony Stone
2004-07-17 16:20           ` adderek
2004-07-19 15:29       ` Frans Luteijn [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40FBE8C1.CF721322@knoware.nl \
    --to=f.a.g.luteijn@knoware.nl \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox