Re: unsupported interface type 00 for ng0 and tun0 on FreeBSD
Roy Marples
Thu Mar 05 19:46:52 2015
Hi
On Thursday 05 Mar 2015 21:19:48 Guy Yur wrote:
> I am running dhcpcd on FreeBSD for IPv6 prefix delegation on netgraph
> ppp interface (mpd5) and also to give an OpenVPN tun0 an IPv6 prefix.
>
> dhcpcd complains tun0 and ng0 have unsupported interface type
> because tun0 is IFT_PPP and ng0 is IFT_PROPVIRTUAL.
> This is only cosmetic, the default case still allows them
> when they are specified in the configuration.
>
> dhcpcd[821]: tun0: unsupported interface type 00
> dhcpcd[821]: ng0: unsupported interface type 00
>
>
> 1. Should sdl->sdl_type be printed instead of ifp->family
> for "%s: unsupported interface type %.2x"?
> (print_unknown_sdl_type.patch)
> with the patch:
> dhcpcd[4233]: tun0: unsupported interface type 17
> dhcpcd[4233]: ng0: unsupported interface type 35
Fixed here
http://roy.marples.name/projects/dhcpcd/ci/bedb6c9ef19c233d94a2b92af2ee727e0dcc6e8b?sbs=0
>
> 2. Can IFT_PPP and IFT_PROPVIRTUAL be added to the
> known types and be like bridge - only used if
> specified in config without warning on unsupported?
> (something like handle_ppp_and_propvirtual.patch)
Sure!
http://roy.marples.name/projects/dhcpcd/ci/30fa515bb63fb41534e34d2513f24f51bacfbca5?sbs=0
Thanks for the patches!
Roy
Archive administrator: postmaster@marples.name