Hello again,
I got another FreeBSD-4.7 box, which installed from completely new source tree.
And it works fine with tun device.
So, I rebuild troubling FreeBSD-4.7 box from completely new source tree like this:
# mv /usr/src /usr/src.4.6.2
# mkdir /usr/src
# cvsup -g -L 2 /usr/share/examples/cvsup/standard-supfile
# cd /usr/src; make buildworld; make buildkernel
# cd /usr/src; make installworld; make installkernel
Then it works...
I'm not sure what's difference between new source tree and updated source tree.
In message "tun device driver in FreeBSD 4.7-RELEASE and ipfilter",
TANABE Hiroyasu wrote...
>ipfilter in my FreeBSD-4.x box with tun device (=with ppp) is working fine
>for many months, but after upgrading to 4.7-RELEASE it does not work.
>I tried to '/sbin/ipf -y' after ppp-linkup, in vain.
>
>Now, this box is working with 4.6.2-kernel(ipf 3.4.27) and 4.7-userland(ipf 3.4.29).
>Some error messages are appeared, so I feel bad.
>
>On the other hand, ipf in another box upgraded to 4.7-RELEASE
>without tun device is still working fine.
>
>Both 4.7-RELEASE boxes have almost same configuration,
>so I'm guessing ipf does not work with tun device driver in 4.7-RELEASE.
>
>Does anyone have similar troubles and solutions?