[TriLUG] laptop on-net/off-net
Kevin - The Alchemist - Sonney
trilug@trilug.org
17 Mar 2002 09:29:35 -0500
--=-dKjIS34XyABCbYBQuRuj
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
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/ifconf=
ig=20
> after each eject and insert and I can see eth0 after insert and I not see=
=20
> 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.
>=20
> 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]"
--=20
--------------------------------------------
-- Kevin "The Alchemist" Sonney --
-- ICQ: 4855069 AIM: ksonney --
--------------------------------------------
320C 0336 3BC4 13EC 4AEC 6AF2 525F CED7 7BB6 12C9
--=-dKjIS34XyABCbYBQuRuj
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQA8lKhPUl/O13u2EskRAmjyAJ44RhkWX9u7PENdXK5AedpH2pGjwACgigeX
6LtlAgVQYb9SrWhJi7c3XGY=
=ahPk
-----END PGP SIGNATURE-----
--=-dKjIS34XyABCbYBQuRuj--