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

Re: Pcmcia network card startup



From: "tony godshall" <tony@of.net>
>
> When I was using pcmcia networking, I recall putting network config into
> /etc/pcmcia/network.opts instead of /etc/network/interfaces .
>
> Is this the debian way or does it subvert it?
>
> It did work.  When my card was inserted, it configured, and when it was
> ejected, it deconfigured.
>
> So my question is, is this good advice for Kevin?

Kevin wasn't asking :-)

Yours isn't the debian way (anymore - you say "when", so it might have been your
only option way back...), but it does work.  Kevin's is "correct".  Every time
you upgrade pcmcia, you'll be prompted to replace network.opts.  Kevin won't.

derek

> On Thu, May 01, 2003 at 11:33:09AM -0400, Kevin McKinley wrote:
> > On Thu, 01 May 2003 14:16:56 +1000
> > Russell Shaw <rjshaw@iprimus.com.au> wrote:
> >
> > > Hi,
> > > I've installed and used the pcmcia-cs package on debian.
> > >
> > > When i plug a 3com 3c589c pcmcia NIC in, then the card
> > > is detected and started, but to get it to appear as eth0
> > > in "ifconfig", i need to do /etc/init.d/networking restart.
> > > Is there a standard way of making this happen automatically?
> >
> > Yes. man interfaces.
> >
> > In /etc/network/interfaces make a stanza for eth0, but do *not* make it
> > auto.
> >
> > The reason is that networking runs before PCMCIA in the startup sequence.
> >
> > The PCMCIA scripts check /etc/network/interfaces and use what's there.
> >
> > Kevin



Reply to: