[PLUG] Rather Dumb Newbie Question
Kyle Accardi
sandbox at pacifier.com
Mon Apr 29 17:02:17 UTC 2002
Eric Jahn wrote:
> Is there a way to tell Linux to disconnect and then later reconnect my
> eth0 connection. I've looked through the manuals, but no luck. Also,
> even better, would there be a way to hotplug my eth0 ethernet cable
> connection?
A cron job should be able to do this (ifconfig eth0 down/up).
You can just pull the cable out of the nic. You may get a few complaints
from your mail client (if it's set to auto check for new mail). When you
plug the cable back in, you may need to restart your dhcp client (if you
use that).
PCMCIA nics are hot-pluggable.
--
Kyle Accardi
More information about the PLUG
mailing list