On Mon, Nov 11, 2002 at 10:49:11AM +0100, Stefan Sonnenberg-Carstens wrote: > in my effort to write a configuration program for pf, I'd like to know > if there is a easy way to figure out, what hardware interfaces are > present to the system (fxp0 etc.)
ifconfig -a will give you a list of all the network interfaces on the system, including "virtual" interfaces like ppp*, enc*, tun*, etc. Generally the hardware interfaces are the ones with the "media" directive. -Ryan
