In the FreeBSD kernel, we need at least one serial interface, and the tunnel
device driver. So we need the sio and tun lines to be included. When doing
debugging or playing, some other devices as
bpf and the
options might be interesting. Please see the documentation and FreeBSD
handbook for more information on kernel configuration, compile and install.
Note: My experiments have been done on FreeBSD 4.1-STABLE, so an other version might need other options or completely different work.
This is a snipped from the PPP configuration;
cassi: set device /dev/cuaa0 set speed 57600 set timeout 120 disable dns set ifaddr 192.168.55.101 192.168.55.100 255.255.255.0 add default HISADDR set login "\"CLIENT\" \"CLIENTSERVER\""
ppp -ddial cassi with the sync cradle attached to
first serial interface) should work and get the thing connected as seen in
ifconfig -a output:
tun0: flags=8151 mtu 1500 inet 192.168.55.101 --> 192.168.55.100 netmask 0xffffff00 Opened by PID 938
where the PID is the process ID of the