Subject: Re: Reset PCMCIA network card
To: Steven M. Bellovin <smb@research.att.com>
From: Mark White <mjw@celos.net>
List: port-i386
Date: 11/21/2001 22:51:01
Steven M. Bellovin writes:
> In message <20011121192323.B2512@celos.net>, Mark White writes:
> >Is there any way to reset PCMCIA ethernet devices (simulate
> >having them removed and replaced) from software?
> >
> I assume you've tried ifconfig down/up?

If the interface was left running, it did't respond to
ifconfig after sleep-wake, but...

> Does it work if the card is ifconfig'ed down before the suspend, and 
> ifconfig'ed up after resume?  If so, you can write some /etc/apm 
> scripts to automate that.

...this does indeed solve the problem (modulo a message
about a stray interrupt just before it goes to sleep);
thanks.

Cheers
Mark <><