tech-net archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Interface type
On Wed, 2008-09-10 at 16:57 +0100, Stephen Borrill wrote:
> > You can tell wired from wireless by looking at the media type
> > (think "ifconfig $if | grep media:")
>
> Or look at the check in wiconfig.
>
> http://cvsweb.netbsd.org/bsdweb.cgi/src/usr.sbin/wiconfig/wiconfig.c.diff?r1=1.39&r2=1.40&f=h
>
I already do this for wireless detection.
I was after how to find out that tap0 is a tunnel as opposed to the
physical interface bge0.
Thanks
Roy
Home |
Main Index |
Thread Index |
Old Index