Re: e100 and hotplug on Thinkpad T23
On Thu, Nov 14, 2002 at 03:27:43PM -0800, Expert User wrote:
> > If they don't already have something to go and look, you can make one
> > (and maybe submit it to update the package). But I think you can have
> > it trigger other events too, so it can become your pcmcia/event.d/
> > equivalent.
> >
> How do I make the cable plug/unplug trigger an event?
If you don't mind dipping into testing/unstable...
$ apt-cache show ifplugd
Package: ifplugd
Priority: optional
Section: net
Installed-Size: 144
Maintainer: Oliver Kurth <oku@masqmail.cx>
Architecture: i386
Version: 0.9-2
Depends: libc6 (>= 2.3.1-1)
Recommends: ifupdown
Filename: pool/main/i/ifplugd/ifplugd_0.9-2_i386.deb
Size: 20642
MD5sum: a78ebda25590f48fa32bfc4a0ff45f31
Description: A configuration daemon for ethernet devices
ifplugd is a daemon which will automatically configure your
ethernet device when a cable is plugged in and automatically
unconfigure it if the cable is pulled. This is useful on laptops with
onboard network adapters, since it will only configure the interface
when a cable is really connected.
should do everything you want.
HTH
dt
--
Dave Thayer | If trees could scream, would we be so cavalier about
Denver, Colorado USA | cutting them down? We might, if they screamed all
dave@thayer-boyle.com | the time, for no good reason. - Jack Handey
Reply to: