Polishing touch
Maksim Yevmenkin
m_evmenkin at yahoo.com
Sun Jun 1 15:25:58 PDT 2003
Hello,
> just in case re@ or a maintainer finds this worhtwhile :
>
> from my /etc/rc.conf :
>
> ifconfig_tap0="lladdr 00:90:27:3f:12:9f"
> apm_enable="YES"
> apmd_enable="YES"
>
> This gives me in dmesg-a (today's CVS) :
>
> 1)
>
> Setting hostname: M.
> > module_register: module if_tap already exists!
> > Module if_tap failed to register: 17
> > can't re-use a leaf (if_tap_debug)!
> tap0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
> ether 00:90:27:3f:12:9f
>
> bit I just compiled if_tap into my kernel, and I nowehere asked
> explicitly for kldloading "if_tap" (IIRC)
here what is (probably) going on. when system starts up you have
no "tap0" interface. ifconfig(8) can not find "tap0" interface and
tries to kldload(8) if_tap(4) module. since you already have if_tap(4)
compiled into the kernel you get these messages.
now the thing about tap(4) (and tun(4)) interfaces is that they are
*virtual*, i.e. in order to create interface one need to open
corresponding character device first, i.e. /dev/tapX (or /dev/tunX).
i'm not sure why do you need to ifconfig tap0 interface in system
startup script. the application that *uses* tap0 interface is supposed
to do that.
thanks,
max
__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
More information about the freebsd-current
mailing list