Re: Network hardware: "Network Media Detection"

From: [MOc]cda*mirabilos (mirabilos@netcologne.de)
Date: Sat Nov 24 2001 - 21:52:04 EST


> > That is, it detects the presence of a (10BaseT) cable in the back of
the
> > card.. and then does appropriate stuff (ifup/down, dhcpcd) when the
event
> > happens.
> This is basically taking the interface down when the link disappears
> (and vice versa.) Rather useful for portable systems. Don't think
> anyone has implemented it, but it should be easy enough to do.

pcmcia-cs has (had?) this, just edit /etc/pcmcia/blah-script...
needed to do this to get the default route set on card load,
and removed on unload.

-mirabilos

--
Redistribution of this message body via AOL or the
Microsoft network strictly prohibited.
Quotation permitted if due credit is given.
(Excuse the X-Mailer, accusate my ISP for that)

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Nov 30 2001 - 21:00:18 EST