[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Detecting Network connections...



On Tue, Nov 20, 2001 at 07:35:32AM -0500, Andrew M. Davenport wrote:
> Unfortunately you can't really ping a remote host until after you have
> configured the interface, which is what I want to avoid.  

You could use mii-tool, which when run without arguments returns false if
there is no wire plugged into the ethernet (or if the other end isn't
plugged in).  I'm not sure where you would do the checking, though.
-- 
David Roundy
http://civet.berkeley.edu/droundy/



Reply to: