[TriLUG] laptop on-net/off-net
Kevin - The Alchemist - Sonney
alchemist at darkcanvas.com
Sun Mar 17 09:29:35 EST 2002
On Sun, 2002-03-17 at 08:38, M. Mueller (bhu5nji) wrote:
> All I have to do is insert and eject the pcmcia nic. I used /sbin/ifconfig
> after each eject and insert and I can see eth0 after insert and I not see
> eth0 after eject.
/sbin/ifup & /sbin/ifdown are wrappers around ifconfig to do the up.down
functions based on the ifcfg-eth0 file for you. On RHL 7.2 these are
automagically called by the hotplug scripts.
> That's just too easy. Thanks.
>
> In the past, I was disconnecting the cable and not ejecting the nic.
Ah. That would cause a problem or two. The card would still be
registered. You could also use "cardctl eject [slot]" to software eject
the card - it stays in the machine, but pcmcia sees the slot as "empty"
until you either eject & re-insert or use "cardctl insert [slot]"
--
--------------------------------------------
-- Kevin "The Alchemist" Sonney --
-- ICQ: 4855069 AIM: ksonney --
--------------------------------------------
320C 0336 3BC4 13EC 4AEC 6AF2 525F CED7 7BB6 12C9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
URL: <http://www.trilug.org/pipermail/trilug/attachments/20020317/95f5a8f1/attachment.pgp>
More information about the TriLUG
mailing list