[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Interface type
On Wed, 2008-09-10 at 17:52 +0200, Martin Husemann wrote:
> 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
So why does tap0 (which is a tunnel as used by OpenVPN) not have the
> You can tell wired from wireless by looking at the media type
> (think "ifconfig $if | grep media:")
I'm after ioctls, but I can already tell wireless from wired. :)
BTW, the ieee80211 man page is badly out of date as it just won't work
unless COMPAT stuff has been enabled in the kernel.
Main Index |
Thread Index |