Re: Detecting Network connections...
* On Tue, Nov 20, 2001 at 06:33:16AM -0800, David Roundy (droundy@civet.berkeley.edu) wrote:
>
> 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/
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
You could try arping which pings MAC addresses instead of IP numbers
Cheers
Hugo Graumann
Reply to: