From f3a4c67e9091c98596c19784040b88ad446a87cf Mon Sep 17 00:00:00 2001 From: Thomas Osterried Date: Sun, 30 Oct 2005 10:31:40 +0000 Subject: - tun/tap support for ax25ipd - fclose() fix in config.c description of tun/tap: added a new fast and efficient link to the linux kernel ax25 stack, via the ethertap interface. ax25 goes directly to the bpqether interface in the kernel via ethertap/tuntap interfaces, which is a much better way than traditional kissattach to a ttyp/ptyp pair. --- ax25ipd/ax25ipd.conf | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'ax25ipd/ax25ipd.conf') diff --git a/ax25ipd/ax25ipd.conf b/ax25ipd/ax25ipd.conf index 391494f..af28d32 100644 --- a/ax25ipd/ax25ipd.conf +++ b/ax25ipd/ax25ipd.conf @@ -27,10 +27,30 @@ mode tnc #beacon after 540 #btext ax25ip -- tncmode rob/vk5xxx -- Experimental AXIP gateway # -# Serial port, or pipe connected to a kissattach in my case # +# Serial port, ethertap interface, or pipe connected to a kissattach in my case +# +# alternatively, if you have the kernel module bpqether: +# if you use tun/tap or ethertap instead of kissattach you may say, without +# leading slashes (!! - that's how ax25ipd consideres using the tty kiss +# driver or tun/tap or ethertap): +# with tun/tap: +# device foobar +# with ethertap (obsolete): +# device tap0 +# make sure you set a mycall above, or say axparms foobar -setcall te1st +# note: the device will be up when you assign an ip address +# _after_ starting ax25rtd (which initializes the device), start ax25d +# with bpqether or pty, you do not need to care abt the speed +# tun/tap: as descriped in /usr/src/linux/Documentatioa/networking/tuntap.txt, +# make a device # like this: +# crw-r--r-- 1 root root 10, 200 Nov 26 13:32 tun +# with the command mknod /dev/net/tun c 10 200 +# +#device ampr device /dev/ttyp0 # +# # Set the device speed # speed 9600 -- cgit v1.2.3