summaryrefslogtreecommitdiffstats
path: root/ax25ipd/ax25ipd.conf
diff options
context:
space:
mode:
authorThomas Osterried <thomas@osterried.de>2005-10-30 10:31:40 +0000
committerThomas Osterried <thomas@osterried.de>2005-10-30 10:31:40 +0000
commitf3a4c67e9091c98596c19784040b88ad446a87cf (patch)
treed200e4c73346a29e72452a2a62e7263b8cdecbeb /ax25ipd/ax25ipd.conf
parent20a2c84a1c4488ae730bcb8c0ae52a12624c1848 (diff)
- 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.
Diffstat (limited to 'ax25ipd/ax25ipd.conf')
-rw-r--r--ax25ipd/ax25ipd.conf22
1 files changed, 21 insertions, 1 deletions
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