tech-net archive

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

Re: Interface type



On Wed, Sep 10, 2008 at 04:46:53PM +0100, Roy Marples wrote:
> The order I want is basically
> loopback > PPP > tunnel -> wired -> wireless
> 
> Working out if it's a tunnel is the missing step in my code!

A tunnel is a point to point interface too, why do you want to tell them
apart?

You can tell wired from wireless by looking at the media type
(think "ifconfig $if | grep media:")

Martin


Home | Main Index | Thread Index | Old Index