home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 8 / CDACTUAL8.iso / docs / ax25-how < prev    next >
Encoding:
Text File  |  1996-07-11  |  65.6 KB  |  1,786 lines

  1.   Linux AX25-HOWTO, Amateur Radio.
  2.   Terry Dawson, VK2KTJ, terry@perf.no.itg.telecom.com.au
  3.   v1.0 25 Apr 1996
  4.  
  5.   The Linux Operating System is perhaps the only operating system in the
  6.   world that can boast native and standard support for the AX.25 packet
  7.   radio protocol utilised by Amateur Radio Operators worldwide. This
  8.   document aims to describe how to install and configure this support.
  9.  
  10.   1.  Introduction.
  11.  
  12.   This document was originally an appendix to the HAM-HOWTO, but grew
  13.   too large to be reasonably managed in that fashion. This document
  14.   describes how to install and configure the native AX.25 and NetRom
  15.   support for Linux. A few typical configurations are described that
  16.   could be used as models to work from.
  17.  
  18.   1.1.  Changes from the previous version
  19.  
  20.   Additions:
  21.           everything.
  22.   Corrections/Updates:
  23.  
  24.   1.2.  Other related documentation.
  25.  
  26.   There is a lot of related documentation. There are many documents that
  27.   relate to Linux networking in more general ways and I strongly
  28.   recommend you also read these as they will assist you in your efforts
  29.   and provide you with stronger insight into other possible
  30.   configurations.
  31.  
  32.   They are:
  33.  
  34.   The HAM-HOWTO <http://sunsite.unc.edu/mdw/HOWTO/HAM-HOWTO.html>
  35.  
  36.   the Net-2-HOWTO <http://sunsite.unc.edu/mdw/HOWTO/NET-2-HOWTO.html>
  37.  
  38.   the Ethernet-HOWTO <http://sunsite.unc.edu/mdw/HOWTO/Ethernet-
  39.   HOWTO.html>
  40.  
  41.   the IPX-HOWTO <http://sunsite.unc.edu/mdw/HOWTO/IPX-HOWTO.html>
  42.  
  43.   and
  44.  
  45.   the Firewall-HOWTO <http://sunsite.unc.edu/mdw/HOWTO/Firewall-
  46.   HOWTO.html>
  47.  
  48.   2.  Where to obtain new versions of this document.
  49.  
  50.   The best place to obtain the latest version of this document is from a
  51.   Linux Documentation Project archive. The Linux Documentation Project
  52.   runs a Web Server and this document appears there as The AX25-HOWTO
  53.   <http://sunsite.unc.edu/mdw/HOWTO/AX25-HOWTO.html>. You can always
  54.   contact me, but I pass new versions of the document directly to the
  55.   LDP HOWTO coordinator, so if it isn't there then chances are I haven't
  56.   finished it.
  57.  
  58.   3.  Linux and the AX.25 and NetRom Packet Radio Protocols.
  59.  
  60.   The AX.25 protocol offers both connected and connectionless modes of
  61.   operation, and is used either by itself for point-point links, or to
  62.   carry other protocols such as TCP/IP and NetRom.
  63.  
  64.   It is similar to X.25 level 2 in structure, with some extensions to
  65.   make it more useful in the amateur radio environment.
  66.  
  67.   The NetRom protocol is an attempt at a full network protocol and uses
  68.   AX.25 at its lowest layer as a datalink protocol. It provides a
  69.   network layer that is an adapted form of AX.25.
  70.  
  71.   Alan Cox developed some early kernel based AX.25 software support for
  72.   Linux.  Jonathon Naylor <g4klx@g4klx.demon.co.uk> has taken up ongoing
  73.   development of the code, has added NetRom support and is now the
  74.   developer of the AX.25 related kernel code and utilities.
  75.  
  76.   DAMA support was developed by Joerg, DL1BKE.
  77.  
  78.   The Linux code supports KISS based TNC's (Terminal Node Controllers),
  79.   the Ottawa PI card, the Gracilis PacketTwin card and other Z8530 SCC
  80.   based cards with the generic SCC driver.
  81.  
  82.   The User programs contain a simple PMS (Personal Message System), a
  83.   beacon facility, a line mode connect program, `listen' an example of
  84.   how to capture all AX.25 frames at raw interface level and programs to
  85.   configure the NetRom protocol. Included also are an AX.25 server style
  86.   program to handle and despatch incoming AX.25 connections and a NetRom
  87.   daemon which does most of the hard work for NetRom support.
  88.  
  89.   4.  The AX.25/NetRom software components.
  90.  
  91.   The AX.25 software is comprised of three components, the kernel
  92.   source, the network configuration tools and the utility programs.
  93.  
  94.   The version 1.3.xx Linux kernels include the AX.25, NetRom, Z8530 SCC,
  95.   PI card and PacketTwin drivers by default. I recommend you obtain and
  96.   use the version 1.3.xx kernel source.
  97.  
  98.   These are three reasons I'm recommending you use the alpha version
  99.   software even though most everyone else will recommend you don't use
  100.   it:
  101.  
  102.   ╖  it makes the process of building and configuring the software a
  103.      whole lot simpler. There are no patches to apply it is a simple
  104.      matter of configuring and compiling a kernel with the appropriate
  105.      options enabled.
  106.  
  107.   ╖  it is the most recent software and is most likely to provide the
  108.      most satisfactory results.
  109.  
  110.   ╖  like all new software, it needs testing and bug reports. The more
  111.      people that take the software and attempt to use it in their own
  112.      configurations the more likely it will be that bugs are uncovered
  113.      and the easier it will be to get the software debugged. Join the
  114.      team, contribute bug reports and help everybody.
  115.  
  116.   Be warned though, this software is alpha and may have problem that you
  117.   wouldn't otherwise encounter. Please take all the usual precautions
  118.   and be sure to keep a working kernel as backup when testing new
  119.   kernels. It is wise to test a new kernel by booting from it from
  120.   floppy before actually installing it with lilo, though I haven't
  121.   bothered for about 90 kernels revisions so I'm fairly confident you
  122.   can pretty safely run with alpha kernels.
  123.   4.1.  Finding the kernel, tools and utility packages.
  124.  
  125.   4.1.1.  The kernel source:
  126.  
  127.   The kernel source can be found in its usual place at:
  128.  
  129.   ftp.funet.fi
  130.  
  131.        /pub/Linux/PEOPLE/Linus/v1.3/
  132.  
  133.   4.1.2.  The network tools:
  134.  
  135.   Not all of the changes to the AX.25 software have made it into all
  136.   related software packages yet. While the kernel now comes standard
  137.   with AX.25 and NetRom support the standard net-tools package doesn't
  138.   yet support NetRom properly. Jonathon Naylor has made a package that
  139.   does support it available until Bernd can put the modifications into
  140.   the standard release.
  141.  
  142.   If you intend to use the NetRom protocol then the special net-tools
  143.   package that supports NetRom can be found at:
  144.  
  145.   ftp.ucsd.edu
  146.  
  147.        /hamradio/packet/tcpip/incoming/net-tools-1.1.95d.tar.gz
  148.  
  149.   If you don't want to use NetRom then I strongly recommend you stick to
  150.   the latest release of the standard net-tools package which can be
  151.   found at:
  152.  
  153.   ftp.inka.de
  154.  
  155.        /pub/comp/Linux/networking/net-tools/
  156.  
  157.   or:
  158.  
  159.   ftp.linux.org.uk
  160.  
  161.        /pub/linux/Networking/PROGRAMS/NetTools/
  162.  
  163.   The latest ipfwadm package can be found at:
  164.  
  165.   ftp.xos.nl
  166.  
  167.        /pub/linux/ipfwadm/
  168.  
  169.   4.1.3.  The AX25 utilities:
  170.  
  171.   The AX.25 utility programs can be found at:
  172.  
  173.   sunsite.unc.edu
  174.  
  175.        /pub/Linux/apps/ham/ax25-utils-1.3.91a.tar.gz
  176.  
  177.   or:
  178.  
  179.   ftp.ucsd.edu
  180.  
  181.        /hamradio/packet/tcpip/incoming/ax25-utils-1.3.91a.tar.gz
  182.  
  183.   5.  Installing the AX.25/NetRom software.
  184.  
  185.   To successfully install AX.25 support on your linux system you must
  186.   configure and install an appropriate kernel and then install the AX.25
  187.   utilities.
  188.  
  189.   5.1.  Compiling the kernel.
  190.  
  191.   If you are already familiar with the process of compiling the Linux
  192.   Kernel then you can skip this section, just be sure to select the
  193.   appropriate options when compiling the kernel. If you are not, then
  194.   read on.
  195.  
  196.   The normal place for the kernel source to be unpacked to is the
  197.   /usr/src directory into a subdirectory called linux.  To do this you
  198.   should be logged in as root and execute a series of commands similar
  199.   to the following:
  200.  
  201.        # mv linux linux.old
  202.        # cd /usr/src
  203.        # gzip -dc linux-1.3.93.tar.gz | tar xvofp -
  204.        # cd linux
  205.  
  206.   After you have unpacked the kernel source into place you need to run
  207.   the configuration script and choose the options that suit your
  208.   hardware configuration and the options that you wish built into your
  209.   kernel.  You do this by using the command:
  210.  
  211.        # make config
  212.  
  213.   You might also try:
  214.  
  215.        # make menuconfig
  216.  
  217.   if you prefer a full screen menu based method. I'm going to describe
  218.   the original method, but you use whichever you are most comfortable
  219.   with.
  220.  
  221.   In either case you will be offered a range of options at which you
  222.   must answer `Y' or `N'. (Note you may also answer `M' if you are using
  223.   modules.  For the sake of simplicity I will assume you are not, please
  224.   make appropriate modifications if you are).
  225.  
  226.   The options most relevant to an AX.25 configuration are:
  227.  
  228.   Networking support (CONFIG_NET) [Y/n/?]                             Y
  229.   Loopback device support (CONFIG_BLK_DEV_LOOP) [N/y/m/?]             Y
  230.   Network firewalls (CONFIG_FIREWALL) [N/y/?]
  231.   TCP/IP networking (CONFIG_INET) [Y/n/?]                             Y
  232.   IP: forwarding/gatewaying (CONFIG_IP_FORWARD) [N/y/?]
  233.   IP: firewalling (CONFIG_IP_FIREWALL) [N/y/?] (NEW)
  234.   IP: tunneling (CONFIG_NET_IPIP) [N/y/m/?] (NEW)
  235.   Amateur Radio AX.25 Level 2 (CONFIG_AX25) [N/y/?]                   Y
  236.   AX.25 over Ethernet (CONFIG_BPQETHER) [N/y/?] (NEW)
  237.   Amateur Radio NET/ROM (CONFIG_NETROM) [N/y/?] (NEW)
  238.   Kernel/User network link driver(ALPHA) (CONFIG_NETLINK) [N/y/?]
  239.   Network device support (CONFIG_NETDEVICES) [Y/n/?]                  Y
  240.   SLIP (serial line) support (CONFIG_SLIP) [N/y/m/?]
  241.   Z8530 SCC kiss emulation driver for AX.25 (CONFIG_SCC) [N/y/m/?]
  242.   Other ISA cards (CONFIG_NET_ISA) [N/y/?]
  243.   Ottawa PI and PI/2 support (CONFIG_PI) [N/y/?] (NEW)
  244.   Gracilis PackeTwin support (CONFIG_PT) [N/y/?] (NEW)
  245.   Standard/generic serial support (CONFIG_SERIAL) [Y/n/?]
  246.  
  247.   The options I have flagged with a `Y' are those that you must must
  248.   answer `Y' to. The rest are dependent on what hardware you have and
  249.   what options you want to include. Some of these options are described
  250.   in more detail later on, so if you don't know what you want yet, then
  251.   read ahead and come back to this step later.
  252.  
  253.   After you have completed the kernel configuration you should be able
  254.   to cleanly compile your new kernel:
  255.  
  256.        # make dep
  257.        # make clean
  258.        # make zImage
  259.  
  260.   Make sure you move your arch/i386/boot/zImage file wherever you want
  261.   it and then run lilo to ensure that you actually boot from it.
  262.  
  263.   5.2.  The network configuration tools.
  264.  
  265.   After you have compiled the kernel you should compile the new network
  266.   configuration tools. These tools allow you to modify the configuration
  267.   of network devices and to add routes to the routing table.
  268.  
  269.   The new release of the standard net-tools package includes support for
  270.   AX.25 by the NetRom support isn't yet complete. Jonathon Naylor has
  271.   produced an interim package which you should use if you intend to use
  272.   the NetRom protocol, otherwise stick to the standard release.
  273.  
  274.   5.2.1.  Building the `Special' net-tools release
  275.  
  276.   I built Jonathons special release of net-tools with the following
  277.   commands:
  278.  
  279.        # cd /usr/src
  280.        # tar xvfz net-tools-1.1.95d.tar.gz
  281.        # cd net-tools-1.1.95d
  282.  
  283.   There are a couple of things you now need to do. Firstly, the ipfw no
  284.   longer works with new kernels, it has been replaced by the ipfwadm
  285.   command described below. Trying to compile it will result in errors so
  286.   you should edit the Makefile and place a `#' character before `ipfw'
  287.   in the line beginning with `PROGS' as illustrated:
  288.  
  289.        PROGS   = ifconfig hostname arp netstat route slattach rarp plipconfig
  290.                dnsdomainname #ipfw
  291.  
  292.   Now you can enter:
  293.  
  294.        # make
  295.  
  296.   At this stage you will be prompted with a series of simple questions
  297.   to answer. Make sure you answer `Y' to AX.25 and NetRom support and
  298.   also to Ethernet, SLIP and PPP if you need them.
  299.  
  300.   After answering the questions the software will begin to compile.
  301.  
  302.   I compiled the tools with the 1.3.93 kernel source online and ran
  303.   across the following error in a number of different files:
  304.  
  305.        In file included from slip.c:26:
  306.        /usr/include/linux/if_arp.h:119: `MAX_ADDR_LEN' undeclared here (not in a functi
  307.        on)
  308.  
  309.   I solved this by modifying each of the files listed, in this case
  310.   lib/slip.c, as follows:
  311.  
  312.   replace:
  313.  
  314.        #include <linux/if_arp.h>
  315.  
  316.   with:
  317.  
  318.        #include <linux/netdevice.h>
  319.        #include <linux/if_arp.h>
  320.  
  321.   You should make this modification for each of these files, all in the
  322.   lib subdirectory:
  323.  
  324.        ax25.c ether.c netrom.c slip.c
  325.  
  326.   and also these files in the top level directory:
  327.  
  328.        arp.c ifconfig.c rarp.c
  329.  
  330.   Newer kernels, or newer net-tools may not require this, so it is
  331.   probably wise to try without modifying first.
  332.  
  333.   When the compilation is complete, you should need only use the:
  334.  
  335.        # make install
  336.  
  337.   command to install the programs in their proper place.
  338.  
  339.   5.2.2.  Building the standard net-tools release.
  340.  
  341.   Don't forget to read the Release file and follow any instructions
  342.   there. The steps I used to compile the tools were:
  343.  
  344.   # cd /usr/src
  345.   # tar xvfz net-tools-1.3.50-BETA6f.tar.gz
  346.   # cd net-tools-1.3.50-BETA6f
  347.   # make
  348.  
  349.   At this stage you will be presented with a series of configuration
  350.   questions, similar to the kernel configuration questions. Be sure to
  351.   include support for all of the protocols and network devices types
  352.   that you intend to use. If you do not know how to answer a particular
  353.   question then answer `Y'. The first question relates to NLS (National
  354.   Language Support). I do not use this, and it will always be safe to
  355.   answer `N' to, but if you require it then include it.
  356.  
  357.   I compiled the tools with the 1.3.93 kernel source online and ran
  358.   across the following error in a number of different files:
  359.  
  360.        In file included from slip.c:26:
  361.        /usr/include/linux/if_arp.h:119: `MAX_ADDR_LEN' undeclared here (not in a function)
  362.  
  363.   I solved this by modifying each of the files listed, in this case
  364.   lib/slip.c, as follows:
  365.  
  366.   replace:
  367.  
  368.        #include <linux/if_arp.h>
  369.  
  370.   with:
  371.  
  372.        #include <linux/netdevice.h>
  373.        #include <linux/if_arp.h>
  374.  
  375.   You should make this modification for each of these files, all in the
  376.   lib subdirectory:
  377.  
  378.        arcnet.c    ax25.c ether.c netrom.c
  379.        netrom_rt.c ppp.c  slip.c  tr.c
  380.        tunnel.c
  381.  
  382.   and also these files in the top level directory:
  383.  
  384.        arp.c ifconfig.c rarp.c
  385.  
  386.   Newer kernels, or newer net-tools may not require this, so it is
  387.   probably wise to try without modifying first.
  388.  
  389.   When the compilation is complete, you should need only use the:
  390.  
  391.        # make install
  392.  
  393.   command to install the programs in their proper place.
  394.  
  395.   If you wish to use the IP firewall facilities then you will need the
  396.   latest firewall administration tool ipfwadm. This tool replaces the
  397.   older ipfw tool which will not work with new kernels.
  398.  
  399.   I compiled the ipfwadm utility with the following commands:
  400.  
  401.        # cd /usr/src
  402.        # tar xvfz ipfwadm-2.0beta2.tar.gz
  403.        # cd ipfwadm-2.0beta2
  404.        # make install
  405.        # cp ipfwadm.8 /usr/man/man8
  406.        # cp ipfw.4 /usr/man/man4
  407.  
  408.   5.3.  The AX.25 user programs.
  409.  
  410.   After you have successfully compiled and booted your new kernel, you
  411.   need to compile the user programs. To compile and install the user
  412.   programs you should use a series of commands similar to the following:
  413.  
  414.        # cd /usr/local
  415.        # gzip -dc ax25-utils-1.3.91a.tar.gz | tar xvvof -
  416.        # cd ax25-utils-1.3.91a
  417.        # make install
  418.  
  419.   The files will be installed under the /usr/local directory by default
  420.   in subdirectories: bin, sbin, etc and man.
  421.  
  422.   6.  Configuring a RAW AX.25 connected mode interface.
  423.  
  424.   The first stage to configuration of an AX.25 interface is to configure
  425.   it to work as a `vanilla' AX.25 interface with no TCP/IP. There are
  426.   two distinct parts to the configuration, configuring to allow outgoing
  427.   connections and configuring to accepting incoming connections. They
  428.   are described in turn.
  429.  
  430.   6.1.  Configuring to allow outgoing connections.
  431.  
  432.   The AX.25 software has been designed to work with a TNC in kiss mode
  433.   or an Ottawa PI2 card/PacketTwin card.
  434.  
  435.   If you are using a KISS TNC then you will need to create the AX.25
  436.   interface as it will not already exist. Creating an AX.25 port is very
  437.   similar to creating a slip device. You will need to have the TNC
  438.   preconfigured and connected to your serial port. You can use a comms
  439.   program like minicom or seyon to configure the TNC into kiss mode if
  440.   you wish.
  441.  
  442.   You use the axattach program in much the same way as you would use the
  443.   slattach program (refer to the NET-2-HOWTO for more information on
  444.   slattach and the other network software for Linux). For example:
  445.  
  446.        # /usr/local/sbin/axattach -s 4800 /dev/ttyS1 VK2KTJ-1 &
  447.        # sleep 2
  448.  
  449.   would configure your /dev/ttyS1 serial device to be a kiss interface
  450.   at 4800 bps, with the hardware address VK2KTJ-1. The sleep of 2
  451.   seconds is necessary just to give the kernel a little time to do some
  452.   housekeeping that it has to do before you try and change the
  453.   interface.
  454.  
  455.   If you are using a PI or PacketTwin card then you should use the
  456.   axsetcall command to change the callsign of the appropriate port to
  457.   that which you intend to use. Refer to the PI/PacketTwin section for
  458.   the names of the network devices to use.
  459.  
  460.   All this step has done is to actually activate the device in the
  461.   kernel, you need to run other programs before you an actually make use
  462.   of the port. The AX.25 ports have a configuration file that can be
  463.   read by any program that wants to find information about an AX.25
  464.   port. This file is called the:
  465.  
  466.        /usr/local/etc/axports
  467.  
  468.   file. The format of the file is as follows:
  469.  
  470.        callsign baudrate window label
  471.  
  472.   where:
  473.  
  474.      callsign
  475.         is the AX.25 callsign you want to assign to the port.
  476.  
  477.      baudrate
  478.         is the speed at which you wish the port to communicate with your
  479.         TNC.
  480.      window
  481.         is the AX.25 window (K) parameter. This is the same as the
  482.         MAXFRAME setting of many tnc's.
  483.  
  484.      label
  485.         is a name for the port.
  486.  
  487.   In my case, mine looks like:
  488.  
  489.        VK2KTJ-1 4800 1 radio
  490.  
  491.   Note that this file is line based, that is, the first entry is
  492.   considered to describe `AX25 port 1' and the second line to describe
  493.   `AX25 port 2'.  Some of the application programs need this `port
  494.   number'. At this stage not all of this information is used, it will be
  495.   picked up and used in later developments.
  496.  
  497.   You now should be able to make outgoing AX.25 connections. To test
  498.   AX.25 connected mode you could use the call program as demonstrated:
  499.  
  500.        /usr/local/bin/call VK2DAY via VK2SUT
  501.  
  502.   The call program is a linemode terminal program for making AX.25
  503.   calls. It recognises lines that start with `~' as command lines.  The
  504.   `~.' command will close the connection.
  505.  
  506.   Please refer to the man pages in /usr/local/man and the README file in
  507.   ax25-utils-1.3.91a distribution for more information.
  508.  
  509.   6.2.  Configuring to accept incoming connections.
  510.  
  511.   Linux is a powerful operating system and offers a great deal of
  512.   flexibility in how it is configured. With this flexibility comes a
  513.   cost in configuring it to do what you want. When configuring your
  514.   Linux machine to accept incoming AX.25 connections there are a number
  515.   of questions you need to ask yourself.  The most important of which
  516.   is: "What do I want users to see when they connect?". As detailed in
  517.   the software list at the start of this document there are BBS systems
  518.   that are being developed that you might want users to see when they
  519.   connect, alternatively you might want to give users a login prompt so
  520.   that they can make use of a shell account, or you might even have
  521.   written your own program, such as a customised database or a game,
  522.   that you want people to connect to. Whatever you choose, you must tell
  523.   the AX.25 software about this so that it knows what software to run
  524.   when it accepts an incoming AX.25 connection.
  525.  
  526.   You do this within the /usr/local/etc/ax25d.conf. This file is the
  527.   configuration file for the ax25d AX.25 daemon which handles incoming
  528.   AX.25 connections.
  529.  
  530.   The file is a little cryptic looking at first, but you'll soon
  531.   discover it is very simple in practice, with a small trap for you to
  532.   be wary of.
  533.  
  534.   The format of the ax25d.conf file is as follows:
  535.  
  536.        # This is a comment and is ignored by the ax25d program.
  537.        [<interface_call>]
  538.        <peer1>  window T1 T2 T3 N2 <mode> <uid> <cmd> <cmd-name> <arguments>
  539.        <peer2>  window T1 T2 T3 N2 <mode> <uid> <cmd> <cmd-name> <arguments>
  540.        defaults window T1 T2 T3 N2 <mode> <uid> <cmd> <cmd-name> <arguments>
  541.        <peer3>  window T1 T2 T3 N2 <mode> <uid> <cmd> <cmd-name> <arguments>
  542.        default  window T1 T2 T3 N2 <mode> <uid> <cmd> <cmd-name> <arguments>
  543.  
  544.   Where:
  545.  
  546.      #  at the start of a line marks a comment and is completely ignored
  547.         by the ax25d program.
  548.  
  549.      <interface_call>
  550.         is the AX.25 callsign of the interface that this particular
  551.         paragraph is for.
  552.  
  553.      <peer>
  554.         is the callsign of the peer node that this particular
  555.         configuration applies to. If you don't specify an SSID here then
  556.         any SSID will match.
  557.  
  558.      window
  559.         is the AX.25 Windows parameter (K) or MAXFRAME parameter for
  560.         this configuration.
  561.  
  562.      T1 is the Frame retransmission (T1) timer in half second units.
  563.  
  564.      T2 is the amount of time the AX.25 software will wait for another
  565.         incoming frame before preparing a response in 1 second units.
  566.  
  567.      T3 is the amount of time of inactivity before the AX.25 software
  568.         will disconnect the session in 1 second units.
  569.  
  570.      N2 is the number of consecutive retransmissions that will occur
  571.         before the connection is closed.
  572.  
  573.      <mode>
  574.         provides a mechanism for determining certain types of general
  575.         permissions. The modes are enabled or disabled by setting or
  576.         resetting bits in an 8 bit map. You set that map by setting
  577.         <mode> to the sum of the following values:
  578.  
  579.         1  Setup utmp, and run on a ptty (planned).
  580.  
  581.         2  UNUSED.
  582.  
  583.         4  UNUSED.
  584.  
  585.         8  UNUSED.
  586.  
  587.         16 UNUSED.
  588.  
  589.         32 UNUSED.
  590.  
  591.         64 Disallow digipeated uplinks, only allow direct connections.
  592.  
  593.         128
  594.            Lockout, Barred, immediate disconnect.
  595.      <uid>
  596.         is the userid that the program to be run to support the
  597.         connection should be run as.
  598.  
  599.      <cmd>
  600.         is the full pathname of the command to be run, with no arguments
  601.         specified.
  602.  
  603.      <cmd-name>
  604.         is the text that should appear in a ps as the command name
  605.         running (normally the same as <cmd> except without the directory
  606.         path information.
  607.  
  608.      <arguments>
  609.         are the command line argument to be passed to the <:cmd> when it
  610.         is run. You pass useful information into these arguments by use
  611.         of the following tokens:
  612.  
  613.         %U AX.25 callsign of the connected party without the SSID, in
  614.            uppercase.
  615.  
  616.         %u AX.25 callsign of the connected party without the SSID, in
  617.            lowercase.
  618.  
  619.         %S AX.25 callsign of the connected party with the SSID, in
  620.            uppercase.
  621.  
  622.         %s AX.25 callsign of the connected party with the SSID, in
  623.            lowercase.
  624.  
  625.   You need one section in the above format for each AX.25 interface you
  626.   want to accept incoming AX.25 connections on.
  627.  
  628.   There are two special lines in the paragraph, one starts with the
  629.   string `defaults' and other starts with the string `default' (yes
  630.   there is a difference). These lines serve special functions.
  631.  
  632.   The `default' lines purpose should be obvious, this line acts as a
  633.   catch-all, so that any incoming connection on the <interface_call>
  634.   interface that doesn't have a specific rule will match the `default'
  635.   rule. If you don't have a `default' rule, then any connections not
  636.   matching any specific rule will be disconnected immediately without
  637.   notice.
  638.  
  639.   The `defaults' line is a little more subtle, and here is the trap I
  640.   mentioned earlier. In any of the fields for any definition for a peer
  641.   you can use the `*' character to say `use the default value'. The
  642.   `default' line is what sets those default values. The kernel software
  643.   itself has some defaults which will be used if you don't specify any.
  644.   The trap is that the these defaults apply only to those rules below
  645.   the `default' line not to those above. You may have more than one
  646.   `default' rule per interface definition, and in this way you may
  647.   create groups of default configurations.
  648.  
  649.   Ok, an illustrative example:
  650.  
  651.   # ax25d.conf for VK2KTJ - 21/11/95
  652.   # This configuration uses the AX.25 port defined earlier.
  653.   [VK2KTJ-1]
  654.   NOCALL     *     *  *  *  *   0    guest /usr/games/fortune
  655.   defaults   1    10  *  *  *   0    root  /usr/local/sbin/axspawn axspawn %u +
  656.   VK2XLZ-1   *     *  *  *  *   *      *     *         *
  657.   VK2DAY-1   *     *  *  *  *   *      *     *         *
  658.   default    1    10  5 100 5   0    root  /usr/lbbs/bin/bbsrx bbsrx -s %u
  659.   #
  660.  
  661.   This example says that anybody connecting to the interface on my
  662.   machine with the callsign VK2KTJ-1 will have the following rules
  663.   applied:
  664.  
  665.   Anyone whose callsign is set to `NOCALL' should use the kernel default
  666.   parameters and have the fortune program run as guest for them.
  667.  
  668.   The defaults line changes two parameters from the kernel defaults
  669.   (Window and T1) and will run the /usr/local/sbin/axspawn program for
  670.   them. Any copies of /usr/local/sbin/axspawn run this way will appear
  671.   as axspawn in a ps listing for convenience. The next two lines
  672.   definitions for two stations who will receive those permissions.
  673.  
  674.   The last line in the paragraph is the `catch all' definition that
  675.   everybody else will get (including VK2XLZ and VK2DAY using any other
  676.   SSID other than -1).  This definition sets all of the parameters
  677.   implicitly and will cause the bbsrx program to run with a command line
  678.   argument of the callsign of the connecting peer in lower case with no
  679.   SSID.
  680.  
  681.   If you wanted to define rules for another interface, even a NetRom
  682.   interface, then you would add another paragraph coded in the same way
  683.   with rules and callsign appropriate to it.
  684.  
  685.   This example is a contrived one but I think it illustrates clearly the
  686.   important features of the syntax of the configuration file. Jonathon
  687.   includes a much longer and more detailed example in the ax25-utils
  688.   package.
  689.  
  690.   6.2.1.  Configuring axspawn.
  691.  
  692.   The axspawn program is a simple program that allows AX.25 stations who
  693.   connect to be log in to your machine. It is invoked from the ax25d
  694.   program as described above. To allow a user to log in to your machine
  695.   you should add a line similar to the following into your
  696.   /usr/local/etc/ax25d.conf file:
  697.  
  698.        default * * * * * 1 root /usr/local/sbin/axspawn axspawn %u
  699.  
  700.   If the line ends in the + character then the connecting user must hit
  701.   return before they will be allowed to login. The default is to not
  702.   wait.  Any individual host configurations that follow this line will
  703.   have the axspawn program run when they connect. When axspawn is run it
  704.   first checks that the command line argument it is supplied is a legal
  705.   callsign, strips the SSID, then it checks that /etc/passwd file to see
  706.   if that user has an account configured. If there is an account, and
  707.   the password is either "" (null) or + then the user is logged in, if
  708.   there is anything in the password field the user is prompted to enter
  709.   a password. If there is not an existing account in the /etc/passwd
  710.   file then axspawn may be configured to automatically create one.
  711.  
  712.   You can alter the behaviour of axspawn in various ways by use of the
  713.   /usr/local/etc/axspawn.conf file. This file is formatted as follows:
  714.  
  715.        # /usr/local/etc/axspawn.conf
  716.        #
  717.        # allow automatic creation of user accounts
  718.        create    yes
  719.        #
  720.        # guest user if above is 'no' or everything else fails. Disable with "no"
  721.        guest     no
  722.        #
  723.        # group id or name for autoaccount
  724.        group     ax25
  725.        #
  726.        # first user id to use
  727.        first_uid 2001
  728.        #
  729.        # maximum user id
  730.        max_uid   3000
  731.        #
  732.        # where to add the home directory for the new users
  733.        home      /home/ax25
  734.        #
  735.        # user shell
  736.        shell     /bin/bash
  737.        #
  738.        # bind user id to callsign for outgoing connects.
  739.        associate yes
  740.  
  741.   The eight configurable characteristics of axspawn are as follows:
  742.  
  743.      #  indicates a comment.
  744.  
  745.      create
  746.         if this field is set to yes then axspawn will attempt to
  747.         automatically create a user account for any user who connects
  748.         and does not already have an entry in the /etc/passwd file.
  749.  
  750.      guest
  751.         this field names the login name of the account that will be used
  752.         for people who connect who do not already have accounts if
  753.         create is set to no. This is usually ax25 or guest.
  754.  
  755.      group
  756.         this field names the group name that will be used for any users
  757.         who connect and do not already have an entry in the /etc/passwd
  758.         file.
  759.  
  760.      first_uid
  761.         this is the number of the first userid that will be
  762.         automatically created for new users.
  763.  
  764.      max_uid
  765.         this is the maximum number that will be used for the userid of
  766.         new users.
  767.  
  768.      home
  769.         this is the home (login) directory of new users.
  770.      shell
  771.         this is the login shell of any new users.
  772.  
  773.      associate
  774.         this flag indicates whether outgoing AX.25 connections made by
  775.         this user after they login will use their own callsign, or your
  776.         stations callsign.
  777.  
  778.   7.  Configuring an AX.25 interface for tcp/ip.
  779.  
  780.   It is very simple to configure an AX.25 port to carry tcp/ip. You need
  781.   to use the ifconfig program to configure the ip address and netmask
  782.   details for the port and add a route via the port, just as you would
  783.   for any other tcp/ip interface.
  784.  
  785.        # /sbin/ifconfig sl0 44.136.8.5
  786.        # /sbin/ifconfig sl0 netmask 255.255.255.0
  787.        # /sbin/ifconfig sl0 broadcast 44.136.8.255
  788.        # /sbin/ifconfig sl0 arp mtu 256 up
  789.        # /sbin/route add -net 44.136.8.0 sl0
  790.        # /sbin/route add default sl0
  791.  
  792.   The commands listed above are typical of the sort of configuration
  793.   many of you would be familiar with if you have used NOS or any of its
  794.   derivatives or any other tcp/ip software. Note that the default route
  795.   might not be required in your configuration if you have some other
  796.   network device configured.
  797.  
  798.   To test it out, try a ping or a telnet to a local host.
  799.  
  800.        # ping -i 5 44.136.8.58
  801.  
  802.   Note the use of the `-i 5' arguments to ping to tell it to send pings
  803.   every 5 seconds instead of its default of 1 second.
  804.  
  805.   8.  Configuring an AX.25 interface for NetRom.
  806.  
  807.   To configure NetRom on an AX.25 interface you must configure two
  808.   files.
  809.  
  810.   8.1.  Configuring /usr/local/etc/nrports
  811.  
  812.   The first is the /usr/local/etc/nrports file. This file describes the
  813.   NetRom port.
  814.  
  815.   This file is formatted as follows:
  816.  
  817.        callsign  alias     description
  818.  
  819.   Where:
  820.  
  821.      callsign
  822.         is the callsign that the NetRom traffic from this port will use.
  823.  
  824.      alias
  825.         is the NetRom alias this port will have assigned to it.
  826.  
  827.      description
  828.         is a free text description of the port.
  829.  
  830.   An example would look something like the following:
  831.  
  832.        VK2KTJ    MTCOLAH   NetRom Switch Port
  833.  
  834.   Note again that the first line refers to the first NetRom interface,
  835.   the second line refers to the second NetRom interface and so on.
  836.  
  837.   8.2.  Configuring /usr/local/etc/nrbroadcast
  838.  
  839.   The second file is the /usr/local/etc/nrbroadcast file.
  840.  
  841.   This file is formatted as follows:
  842.  
  843.        port min_obs def_qual worst_qual verbose
  844.  
  845.   Where:
  846.  
  847.      port
  848.         is the port number obtained from the /usr/local/etc/axports
  849.         file. The first line in the file describes AX.25 port number
  850.         one, the second describes port number two etc. If you do not
  851.         have an entry in /usr/local/etc/nrbroadcasts for a port then
  852.         this means that no NetRom routing will occur and any received
  853.         NetRom broadcasts will be ignored for that port.
  854.  
  855.      min_obs
  856.         is the minimum obselesence value for the port.
  857.  
  858.      def_qual
  859.         is the default quality for the port.
  860.  
  861.      worst_qual
  862.         is the worst quality value for the port, any routes under this
  863.         quality will be ignored.
  864.  
  865.      verbose
  866.         is a flag determining whether full NetRom routing broadcasts
  867.         will occur from this port or only a routing broadcast
  868.         advertising the node itself.
  869.  
  870.   An example would look something like the following:
  871.  
  872.   1    1       200      10         1
  873.   2    1       200      10         1
  874.  
  875.   8.3.  Starting NetRom
  876.  
  877.   When you have the two configuration files completed you start NetRom
  878.   with the command:
  879.  
  880.        # /usr/local/sbin/netromd
  881.  
  882.   You should then be able to make NetRom connections with the call
  883.   program to NetRom hosts.
  884.  
  885.   9.  Configuring IP on a NetRom interface.
  886.  
  887.   Configuring a NetRom interface for tcp/ip is almost identical to
  888.   configuring an AX.25 interface for tcp/ip.
  889.  
  890.   Again you use the ifconfig and route commands, but you need to
  891.   manually add arp entries for hosts you wish to route to because there
  892.   is no mechanism available for your machine to learn what NetRom
  893.   address it should use to reach a particular IP host.
  894.  
  895.   So, to configure your nr0 for IP with an IP address of 44.136.8.5 and
  896.   a callsign of VK2KTJ-1 you would use something like:
  897.  
  898.        # ifconfig nr0 44.136.8.5 hw netrom VK2KTJ-1
  899.        # route add 44.136.8.5 nr0
  900.  
  901.   Then for each IP host you wish to reach via NetRom you need to set
  902.   route and arp entries. To reach a destination host with an IP address
  903.   of 44.136.80.4 at NetRom address BBS:VK3BBS via a NetRom neighbour
  904.   with callsign VK2SUT-0 you would use commands as follows:
  905.  
  906.        # route add 44.136.80.4 nr0
  907.        # arp -t netrom -s 44.136.80.4 vk2sut-0
  908.        # nrparms -nodes vk3bbs + BBS 120 6 sl0 vk2sut-0
  909.  
  910.   The `120' and `6' arguments to the nrparms command are the NetRom
  911.   quality and obsolescence count values for the route.
  912.  
  913.   10.  Configuring an Ethernet device for AX.25 ala BPQ
  914.  
  915.   Linux support BPQ Ethernet compatibility. This enables you to run the
  916.   AX.25 protocol over your Ethernet LAN and to interwork your linux
  917.   machine with other BPQ machines on the LAN.
  918.  
  919.   Configuration is quite straightforward. You firstly must have
  920.   configured a standard Ethernet device. This means you will have
  921.   compiled your kernel to support your Ethernet card, and executed
  922.   configuration commands similar to the following:
  923.  
  924.        # ifconfig eth0 44.136.8.5 netmask 255.255.255.248 up
  925.        # ifconfig eth0 broadcast 44.136.8.103
  926.        # route add -net 44.136.8.96 netmask 255.255.255.248 eth0
  927.  
  928.   To configure the BPQ support you need to associate an AX.25 callsign
  929.   with your Ethernet hardware address. You should use the following:
  930.  
  931.        # axparms -dev eth0 vk2ktj-9
  932.  
  933.   This says that AX.25 callsign vk2ktj-9 is associated with the eth0
  934.   device.
  935.  
  936.   BPQ Ethernet normally uses a multicast address. The Linux
  937.   implementation does not, and instead it uses the normal Ethernet
  938.   broadcast address. The NET.CFG file for the BPQ ODI driver should
  939.   therefore look similar to this:
  940.  
  941.        LINK SUPPORT
  942.  
  943.                MAX STACKS 1
  944.                MAX BOARDS 1
  945.  
  946.        LINK DRIVER E2000                    ; or other MLID to suit your card
  947.  
  948.                INT 10                       ;
  949.                PORT 300                     ; to suit your card
  950.  
  951.                FRAME ETHERNET_II
  952.  
  953.                PROTOCOL BPQ 8FF ETHERNET_II ; required for BPQ - can change PID
  954.  
  955.        BPQPARMS                             ; optional - only needed if you want
  956.                                             ; to override the default target addr
  957.  
  958.                ETH_ADDR  FF:FF:FF:FF:FF:FF  ; Target address
  959.  
  960.   11.  Ottawa PI/PI2 card driver and Gracilis PacketTwin driver.
  961.  
  962.   The Ottawa PI and the Gracilis PacketTwin are Z8530 SCC based card for
  963.   IBM PC type machines that are in common usage by Amateur Radio
  964.   operators worldwide.  The PI card supports a high speed half duplex
  965.   (single DMA channel) port, and a low speed (<9k6bps interrupt driven)
  966.   half duplex port. The PI2 is a new version of the card that supports
  967.   an on board radio modem and improved hardware design. The PacketTwin
  968.   card supports two high speed port and is capable of accepting on board
  969.   modems.
  970.  
  971.   The PI card driver was written by David Perry, <dp@hydra.carleton.edu>
  972.   The PacketTwin card driver was written by Craig Small VK2XLZ,
  973.   <csmall@triode.apana.org.au>.  Both drivers are a standard feature of
  974.   the 1.3.xx kernel.
  975.  
  976.   Please refer to the AX.25 section above for details on how to
  977.   configure the kernel to include the PI card or the PacketTwin card
  978.   drivers.
  979.  
  980.   Once you have the appropriate driver configured into your kernel then
  981.   you should reboot and when you do, you should see mention of the PI or
  982.   PacketTwin card driver in the messages that appear on the screen while
  983.   the kernel is booting. The drivers test each of the I/O port addresses
  984.   that the card might be configured for and reports any that it finds.
  985.   You should then look at the /proc/net/dev file and you should see
  986.   reference to devices called pi0a and pi0b or pt0a and pt0b for the PI
  987.   and PacketTwin cards respectively.
  988.  
  989.   If the devices don't appear then recheck that you have configured and
  990.   compiled your kernel correctly and that you are in fact actually
  991.   running your new kernel. If you still don't then this suggests that
  992.   your PI or PacketTwin card was not detected by the kernel while it
  993.   booted and may indicate that you have some sort of hardware
  994.   conflicting with your PI/PT card that prevented it being detected.
  995.  
  996.   If all of the above went as planned then you will need to configure
  997.   your PI/PT card for IP. The configuration of the PI/PT cards is
  998.   virtually identical to that of any other IP interface. Something like
  999.   the following should work ok for you:
  1000.  
  1001.        # /sbin/ifconfig pi0a 44.136.8.5
  1002.        # /sbin/ifconfig pi0a netmask 255.255.255.0
  1003.        # /sbin/ifconfig pi0a broadcast 44.136.8.255
  1004.        # /sbin/ifconfig pi0a arp mtu 256 up
  1005.        # /sbin/route add -net 44.136.8.0 pi0a
  1006.        # /sbin/route add default pi0a
  1007.  
  1008.   Note that pi0a refers to the `a' port on the first PI card found, and
  1009.   that pi0b would therefore refer to the `b' port on the first PI card
  1010.   found. pt0a would therefore be the first port on the first PacketTwin
  1011.   card detected.
  1012.  
  1013.   As usual, when this has been done you can test the interface with the
  1014.   ping or telnet command to ensure it is working.
  1015.  
  1016.   12.  Z8530 SCC Kiss Emulation
  1017.  
  1018.   Joerg Reuter, DL1BKE has developed generic support for Z8530 SCC based
  1019.   cards.  His driver is configurable to support a range of different
  1020.   types of cards and present an interface that looks like a KISS TNC so
  1021.   you can treat it as though it were a KISS TNC.
  1022.  
  1023.   12.1.  Obtaining and building the configuration tool package.
  1024.  
  1025.   The kernel driver is included in the standard kernel distribution, but
  1026.   there are a suite of configuration tools that you will need to obtain
  1027.   as well.
  1028.  
  1029.   To compile the kernel support you must be sure to answer `Y' to:
  1030.   `Z8530 SCC kiss emulation driver for AX.25' when asked during a kernel
  1031.   `make config'.
  1032.  
  1033.   You can obtain the configuration tools package from:
  1034.  
  1035.   ftp.ucsd.edu
  1036.  
  1037.        /hamradio/packet/tcpip/incoming/z8530drv-2.0.dl1bke.real.tar.gz
  1038.  
  1039.   The following command were what I used to compile and install the
  1040.   package for kernel version 1.3.93:
  1041.  
  1042.        # cd /usr/src
  1043.        # gzip -dc z8530drv-2.0.dl1bke.real.tar.gz | tar xvpofz -
  1044.        # cd z8530drv
  1045.        # rm gencfg sccinit sccstat
  1046.        # make dep
  1047.        # make utils
  1048.        # make install
  1049.  
  1050.   Note: I've not followed the instructions included because the version
  1051.   of driver in the 1.3.93 kernel is actually newer than that included in
  1052.   the package and the normal installation process would have overwritten
  1053.   the new kernel source with the older version.
  1054.  
  1055.   After the above is complete you should have three new programs
  1056.   installed in your /sbin directory: gencfg, sccinit and sccstat. It is
  1057.   these programs that you will use to configure the driver for your
  1058.   card.
  1059.  
  1060.   You will also have a group of new special device files created in your
  1061.   /dev called scc0 .. scc7. These will be used later and will be the
  1062.   `KISS' devices you will end up using.
  1063.  
  1064.   12.2.  Configuring the driver for your card.
  1065.  
  1066.   The z8530 SCC driver has been designed to be as flexible as possible
  1067.   so as to support as many different types of cards as possible. With
  1068.   this flexibility has come some cost in configuration.
  1069.  
  1070.   There is more comprehensive documentation in the package and you
  1071.   should read this if you have any problems. You should particularly
  1072.   look at doc/scc_eng.doc or doc/scc_ger.doc for more detailed
  1073.   information. I've paraphrased the important details, but as a result
  1074.   there is a lot of lower level detail that I have not included.
  1075.  
  1076.   The main configuration file is read by the sccinit program and is
  1077.   called /etc/z8530drv.rc. This file is broken into two main stages:
  1078.   Configuration of the hardware parameters and channel configuration.
  1079.   After you have configured this file you need only add:
  1080.  
  1081.        # sccinit
  1082.  
  1083.   into the rc file that configures your network and the driver will be
  1084.   initialised according to the contents of the configuration file. You
  1085.   must do this before you attempt to use the driver.
  1086.  
  1087.   12.2.1.  Configuration of the hardware parameters.
  1088.  
  1089.   The first section is broken into stanzas, each stanza representing an
  1090.   8530 chip. Each stanza is a list of keywords with arguments. You may
  1091.   specify up to four SCC chips in this file by default. The #define
  1092.   MAXSCC 4 in scc.c can be increased if you require support for more.
  1093.  
  1094.   The allowable keywords and arguments are:
  1095.  
  1096.      chip
  1097.         the chip keyword is used to separate stanzas. It will take
  1098.         anything as an argument. The arguments are not used.
  1099.  
  1100.      data_a
  1101.         this keyword is used to specify the address of the data port for
  1102.         the z8530 channel `A'. The argument is a hexadecimal number e.g.
  1103.         0x300
  1104.  
  1105.      ctrl_a
  1106.         this keyword is used to specify the address of the control port
  1107.         for the z8530 channel `A'. The arguments is a hexadecimal number
  1108.         e.g. 0x304
  1109.  
  1110.      data_b
  1111.         this keyword is used to specify the address of the data port for
  1112.         the z8530 channel `B'. The argument is a hexadecimal number e.g.
  1113.         0x301
  1114.  
  1115.      ctrl_b
  1116.         this keyword is used to specify the address of the control port
  1117.         for the z8530 channel `B'. The arguments is a hexadecimal number
  1118.         e.g. 0x305
  1119.  
  1120.      irq
  1121.         this keyword is used to specify the IRQ used by the 8530 SCC
  1122.         described in this stanza. The argument is an integer e.g. 5
  1123.  
  1124.      pclock
  1125.         this keyword is used to specify the frequency of the clock at
  1126.         the PCLK pin of the 8530. The argument is an integer frequency
  1127.         in Hz which defaults to 4915200 if the keyword is not supplied.
  1128.  
  1129.      board
  1130.         the type of board supporting this 8530 SCC. The argument is a
  1131.         character string. The allowed values are:
  1132.  
  1133.         PA0HZP
  1134.            the PA0HZP SCC Card
  1135.  
  1136.         EAGLE
  1137.            the Eagle card
  1138.  
  1139.         PC100
  1140.            the DRSI PC100 SCC card
  1141.  
  1142.         PRIMUS
  1143.            the PRIMUS-PC (DG9BL) card
  1144.  
  1145.         BAYCOM
  1146.            BayCom (U)SCC card
  1147.  
  1148.      escc
  1149.         this keyword is optional and is used to enable support for the
  1150.         Extended SCC chips (ESCC) such as the 8580, 85180, or the 85280.
  1151.         The argument is a character string with allowed values of `yes'
  1152.         or `no'. The default is `no'.
  1153.  
  1154.      vector
  1155.         this keyword is optional and specifies the address of the vector
  1156.         latch (also known as "intack port") for PA0HZP cards. There can
  1157.         be only one vector latch for all chips. The default is 0.
  1158.  
  1159.      special
  1160.         this keyword is optional and specifies the address of the
  1161.         special function register on several cards. The default is 0.
  1162.  
  1163.      option
  1164.         this keyword is optional and defaults to 0.
  1165.  
  1166.   Some example configurations for the more popular cards are as follows:
  1167.  
  1168.      BayCom USCC
  1169.  
  1170.           chip    1
  1171.           data_a  0x300
  1172.           ctrl_a  0x304
  1173.           data_b  0x301
  1174.           ctrl_b  0x305
  1175.           irq     5
  1176.           board   BAYCOM
  1177.           #
  1178.           # SCC chip 2
  1179.           #
  1180.           chip    2
  1181.           data_a  0x302
  1182.           ctrl_a  0x306
  1183.           data_b  0x303
  1184.           ctrl_b  0x307
  1185.           board   BAYCOM
  1186.  
  1187.      PA0HZP SCC card
  1188.  
  1189.      chip 1
  1190.      data_a 0x153
  1191.      data_b 0x151
  1192.      ctrl_a 0x152
  1193.      ctrl_b 0x150
  1194.      irq 9
  1195.      pclock 4915200
  1196.      board PA0HZP
  1197.      vector 0x168
  1198.      escc no
  1199.      #
  1200.      #
  1201.      #
  1202.      chip 2
  1203.      data_a 0x157
  1204.      data_b 0x155
  1205.      ctrl_a 0x156
  1206.      ctrl_b 0x154
  1207.      irq 9
  1208.      pclock 4915200
  1209.      board PA0HZP
  1210.      vector 0x168
  1211.      escc no
  1212.  
  1213.      DRSI SCC card
  1214.  
  1215.           chip 1
  1216.           data_a 0x303
  1217.           data_b 0x301
  1218.           ctrl_a 0x302
  1219.           ctrl_b 0x300
  1220.           irq 7
  1221.           pclock 4915200
  1222.           board DRSI
  1223.           escc no
  1224.  
  1225.   If you already have a working configuration for your card under NOS,
  1226.   then you can use the gencfg command to convert the PE1CHL NOS driver
  1227.   commands into a form suitable for use in the z8530 driver
  1228.   configuration file.
  1229.  
  1230.   To use gencfg you simply invoke it with the same parameters as you
  1231.   used for the PE1CHL driver in NET/NOS. For example:
  1232.  
  1233.        # gencfg 2 0x150 4 2 0 1 0x168 9 4915200
  1234.  
  1235.   will generate a skeleton configuration for the OptoSCC card.
  1236.  
  1237.   12.2.2.  Channel Configuration
  1238.  
  1239.   The Channel Configuration section is where you specify all of the
  1240.   other parameters associated with the port you are configuring. Again
  1241.   this section is broken into stanzas. One stanza represents one logical
  1242.   port, and therefore there would be two of these for each one of the
  1243.   hardware parameters stanzas as each 8530 SCC supports two ports.
  1244.  
  1245.   These keywords and arguments are also written to the /etc/z8530drv.rc
  1246.   file and must appear after the hardware parameters section.
  1247.  
  1248.   Sequence is very important in this section, but if you stick with the
  1249.   suggested sequence it should work ok. The keywords and arguments are:
  1250.  
  1251.      device
  1252.         this keyword must be the first line of a port definition and
  1253.         specifies the name of the special device file that the rest of
  1254.         the configuration applies to. e.g. /dev/scc0
  1255.  
  1256.      speed
  1257.         this keyword specifies the speed in bits per second of the
  1258.         interface. The argument is an integer: e.g. 1200
  1259.  
  1260.      clock
  1261.         this keyword specifies where the clock for the data will be
  1262.         sourced. Allowable values are:
  1263.  
  1264.         dpll
  1265.            normal halfduplex operation
  1266.  
  1267.         external
  1268.            MODEM supplies its own Rx/Tx clock
  1269.  
  1270.         divider
  1271.            use fullduplex divider if installed.
  1272.  
  1273.      mode
  1274.         this keyword specifies the data coding to be used. Allowable
  1275.         arguments are: nrzi or nrz
  1276.  
  1277.      rxbuffers
  1278.         this keyword specifies the number of receive buffers to allocate
  1279.         memory for. The argument is an integer, e.g. 8.
  1280.  
  1281.      txbuffers
  1282.         this keyword specifies the number of transmit buffers to
  1283.         allocate memory for. The argument is an integer, e.g. 8.
  1284.  
  1285.      bufsize
  1286.         this keyword specifies the size of the receive and transmit
  1287.         buffers. The arguments is in bytes and represents the total
  1288.         length of the frame, so it must also take into account the AX.25
  1289.         headers and not just the length of the data field. This keyword
  1290.         is optional and default to 384
  1291.  
  1292.      txdelay
  1293.         the KISS transmit delay value, the argument is an integer in mS.
  1294.  
  1295.      persist
  1296.         the KISS persist value, the argument is an integer.
  1297.  
  1298.      slot
  1299.         the KISS slot time value, the argument is an integer in mS.
  1300.  
  1301.      tail
  1302.         the KISS transmit tail value, the argument is an integer in mS.
  1303.  
  1304.      fulldup
  1305.         the KISS full duplex flag, the argument is an integer.  1==Full
  1306.         Duplex, 0==Half Duplex.
  1307.  
  1308.      wait
  1309.         the KISS wait value, the argument is an integer in mS.
  1310.  
  1311.      min
  1312.         the KISS min value, the argument is an integer in S.
  1313.  
  1314.      maxkey
  1315.         the KISS maximum keyup time, the argument is an integer in S.
  1316.  
  1317.      idle
  1318.         the KISS idle timer value, the argument is an integer in S.
  1319.  
  1320.      maxdef
  1321.         the KISS maxdef value, the argument is an integer.
  1322.  
  1323.      group
  1324.         the KISS group value, the argument is an integer.
  1325.  
  1326.      txoff
  1327.         the KISS txoff value, the argument is an integer in mS.
  1328.  
  1329.      softdcd
  1330.         the KISS softdcd value, the argument is an integer.
  1331.  
  1332.      slip
  1333.         the KISS slip flag, the argument is an integer.
  1334.  
  1335.   12.3.  Using the driver.
  1336.  
  1337.   To use the driver you simply treat the /dev/scc* devices just as you
  1338.   would a serial tty device with a KISS TNC connected to it. For
  1339.   example, to configure Linux Kernel networking to use your SCC card you
  1340.   could use something like:
  1341.  
  1342.        # axattach -s 4800 /dev/scc0 VK2KTJ
  1343.  
  1344.   You can also use NOS to attach to it in precisely the same way. From
  1345.   JNOS for example you would use something like:
  1346.  
  1347.        attach asy scc0 0 ax25 scc0 256 256 4800
  1348.  
  1349.   12.4.  The sccstat and sccparam tools.
  1350.  
  1351.   To assist in the diagnosis of problems you can use the sccstat program
  1352.   to display the current configuration of an SCC device. To use it try:
  1353.  
  1354.        # sccstat /dev/scc0
  1355.  
  1356.   you will displayed a very large amount of information relating to the
  1357.   configuration and health of the /dev/scc0 SCC port.
  1358.   The sccparam command allows you to change or modify a configuration
  1359.   after you have booted. Its syntax is very similar to the NOS param
  1360.   command, so to set the txtail setting of a device to 100mS you would
  1361.   use:
  1362.  
  1363.        # sccparam /dev/scc0 txtail 0x8
  1364.  
  1365.   13.  HOWTO link NOS and the Linux kernel networking software
  1366.  
  1367.   Many people like to run some version of NOS under Linux because it has
  1368.   all of the features and facilities they are used to. Most of those
  1369.   people would also like to have the NOS running on their machine
  1370.   capable of talking to the Linux kernel so that they can offer some of
  1371.   the linux capabilities to radio users.
  1372.  
  1373.   13.1.  Linking NOS and Linux using a pipe device
  1374.  
  1375.   Brandon S. Allbery, KF8NH, contributed the following information to
  1376.   explain how to interconnect the NOS running on a Linux machine with
  1377.   the kernel code using the Linux pipe device.
  1378.  
  1379.   Since both Linux and NOS support the slip protocol it is possible to
  1380.   link the two together by creating a slip link. You could do this by
  1381.   using two serial ports with a loopback cable between them, but this
  1382.   would be slow and costly. Linux provides a feature that many other
  1383.   Unix-like operating systems provide called `pipes'. These are special
  1384.   pseudo devices that look like a standard tty device to software but in
  1385.   fact loopback to another pipe device. To use these pipes the first
  1386.   program must open the master end of the pipe, and the open then the
  1387.   second program can open the slave end of the pipe. When both ends are
  1388.   open the programs can communicate with each other simply by writing
  1389.   characters to the pipes in the way they would if they were terminal
  1390.   devices.
  1391.  
  1392.   To use this feature to connect the Linux Kernel and a copy of NOS, or
  1393.   some other program you first must choose a pipe device to use. You can
  1394.   find one by looking in your /dev directory. The master end of the
  1395.   pipes are named: ptyp[1-f] and the slave end of the pipes are known
  1396.   as: ttyp[1-f]. Remember they come in pairs, so if you select
  1397.   /dev/ptypf as your master end then you must use /dev/ttypf as the
  1398.   slave end.
  1399.  
  1400.   Once you have chosen a pipe device pair to use you should allocate the
  1401.   master end to you linux kernel and the slave end to the NOS program,
  1402.   as the Linux kernel starts first and the master end of the pipe must
  1403.   be opened first.  You must also remember that your Linux kernel must
  1404.   have a different IP address to your NOS, so you will need to allocate
  1405.   a unique address for it if you haven't already.
  1406.  
  1407.   You configure the pipe just as if it were a serial device, so to
  1408.   create the slip link from your linux kernel you can use commands
  1409.   similar to the following:
  1410.  
  1411.   # /sbin/slattach -s 38400 -p slip /dev/ptypf &
  1412.   # /sbin/ifconfig sl0 broadcast 44.255.255.255 pointopoint 44.70.248.67 /
  1413.           mtu 1536 44.70.4.88
  1414.   # /sbin/route add 44.70.248.67 sl0
  1415.   # /sbin/route add -net 44.0.0.0 gw 44.70.248.67
  1416.  
  1417.   In this example the Linux kernel has been given IP address 44.70.4.88
  1418.   and the NOS program is using IP address 44.70.248.67. The route
  1419.   command in the last line simply tells your linux kernel to route all
  1420.   datagrams for the amprnet via the slip link created by the slattach
  1421.   command. Normally you would put these commands into your
  1422.   /etc/rc.d/rc.inet2 file after all your other network configuration is
  1423.   complete so that the slip link is created automatically when you
  1424.   reboot.  Note: there is no advantage in using cslip instead of slip as
  1425.   it actually reduces performance because the link is only a virtual one
  1426.   and occurs fast enough that having to compress the headers first takes
  1427.   longer than transmitting the uncompressed datagram.
  1428.  
  1429.   To configure the NOS end of the link you could try the following:
  1430.  
  1431.        # you can call the interface anything you want; I use "linux" for convenience.
  1432.        attach asy ttypf - slip linux 1024 1024 38400
  1433.        route addprivate 44.70.4.88 linux
  1434.  
  1435.   These commands will create a slip port named `linux' via the slave end
  1436.   of the pipe device pair to your linux kernel, and a route to it to
  1437.   make it work. When you have started NOS you should be able to ping and
  1438.   telnet to your NOS from your Linux machine and vice versa. If not,
  1439.   double check that you have made no mistakes especially that you have
  1440.   the addresses configured properly and have the pipe devices around the
  1441.   right way.
  1442.  
  1443.   14.  Some sample configurations.
  1444.  
  1445.   Following are examples of the most common types of configurations.
  1446.   These are guides only as there are as many ways of configuring your
  1447.   network as there are networks to configure, but they may give you a
  1448.   start.
  1449.  
  1450.   14.1.  Small Ethernet LAN with Linux as a router to Radio LAN
  1451.  
  1452.   Many of you may have small local area networks at home and want to
  1453.   connect the machines on that network to your local radio LAN. This is
  1454.   the type of configuration I use at home. I arranged to have a suitable
  1455.   block of addresses allocated to me that I could capture in a single
  1456.   route for convenience and I use these on my Ethernet LAN. Your local
  1457.   IP coordinator will assist you in doing this if you want to try it as
  1458.   well. The addresses for the Ethernet LAN form a subset of the radio
  1459.   LAN addresses. The following configuration is the actual one for my
  1460.   linux router on my network at home:
  1461.  
  1462.                                             .      .   .    .    . .
  1463.     ---                                .
  1464.      | Network       /---------\     .    Network
  1465.      | 44.136.8.96/29|         |    .     44.136.8/24        \ | /
  1466.      |               | Linux   |   .                          \|/
  1467.      |               |         |  .                            |
  1468.      |          eth0 | Router  |  .  /-----\    /----------\   |
  1469.      |---------------|         |-----| TNC |----| Radio    |---/
  1470.      |   44.136.8.97 |  and    |  .  \-----/    \----------/
  1471.      |               |         | sl0
  1472.      |               | Server  | 44.136.8.5
  1473.      |               |         |    .
  1474.      |               |         |     .
  1475.      |               \_________/       .
  1476.     ---                                     .      .   .    .    . .
  1477.  
  1478.        #!/bin/sh
  1479.        # /etc/rc.net
  1480.        # This configuration provides one KISS based AX.25 port and one
  1481.        # Ethernet device.
  1482.  
  1483.        echo "/etc/rc.net"
  1484.        echo "  Configuring:"
  1485.  
  1486.        echo -n "    loopback:"
  1487.        /sbin/ifconfig lo 127.0.0.1
  1488.        /sbin/route add 127.0.0.1
  1489.        echo " done."
  1490.  
  1491.        echo -n "    ethernet:"
  1492.        /sbin/ifconfig eth0 44.136.8.97 netmask 255.255.255.248 \
  1493.                        broadcast 44.136.8.103 up
  1494.        /sbin/route add 44.136.8.97 eth0
  1495.        /sbin/route add -net 44.136.8.96 netmask 255.255.255.248 eth0
  1496.        echo " done."
  1497.  
  1498.        echo -n "    AX.25: "
  1499.        /usr/local/sbin/axattach -s 4800 /dev/ttyS1 VK2KTJ-0 &
  1500.        sleep 2
  1501.        /sbin/ifconfig sl0 44.136.8.5 netmask 255.255.255.0 \
  1502.                        broadcast 44.136.8.255 mtu 512 up
  1503.        /sbin/route add 44.136.8.5 sl0
  1504.        /sbin/route add -net 44.136.8.0 netmask 255.255.255.0 window 1024 sl0
  1505.  
  1506.        echo "  Routing:"
  1507.        /sbin/route add default gw 44.136.8.68 window 1024 sl0
  1508.        echo "    default route."
  1509.        echo done.
  1510.  
  1511.        # end
  1512.  
  1513.   ╖  You must have IP_FORWARDING enabled in your kernel.
  1514.  
  1515.   ╖  The AX.25 configuration files are pretty much those used as
  1516.      examples in the earlier sections, refer to those where necessary.
  1517.  
  1518.   ╖  I've chosen to use an IP address for my radio port that is not
  1519.      within my home network block. I needn't have done so, I could have
  1520.      easily used 44.136.8.97 for that port too.
  1521.  
  1522.   ╖  44.136.8.68 is my local IPIP encapsulated gateway and hence is
  1523.      where I point my default route.
  1524.  
  1525.   ╖  Each of the machines on my Ethernet network have a route:
  1526.  
  1527.        route add -net 44.0.0.0 gw 44.136.8.97 window 512 mss 512 eth0
  1528.  
  1529.   The use of the mss and window parameters means that I can get optimum
  1530.   performance from both local Ethernet and radio based connections.
  1531.  
  1532.   ╖  I also run my sendmail, http, ftp and other daemons on the router
  1533.      machine so that it needs to be the only machine to provide others
  1534.      with facilities.
  1535.  
  1536.   ╖  The router machine is a lowly 386DX20 with a 20Mb harddrive.
  1537.  
  1538.   14.2.  IPIP encapsulated gateway configuration.
  1539.  
  1540.   Linux is now very commonly used for tcp/ip encapsulated gateways
  1541.   around the world. The new tunnel driver supports multiple encapsulated
  1542.   routes and makes the older ipip daemon obsolete.
  1543.  
  1544.   A typical configuration would look similar to the following.
  1545.  
  1546.                                                  .      .   .    .    . .
  1547.          ---                                .
  1548.           | Network       /---------\     .    Network
  1549.           | 154.27.3/24   |         |    .     44.136.16/24       \ | /
  1550.           |               | Linux   |   .                          \|/
  1551.           |               |         |  .                            |
  1552.           |          eth0 | IPIP    |  .  /-----\    /----------\   |
  1553.        ---|---------------|         |-----| TNC |----| Radio    |---/
  1554.           |   154.27.3.20 | Gateway |  .  \-----/    \----------/
  1555.           |               |         | sl0
  1556.           |               |         | 44.136.16.1
  1557.           |               |         |    .
  1558.           |               |         |     .
  1559.           |               \_________/       .
  1560.          ---                                     .      .   .    .    . .
  1561.  
  1562.   The configuration files of interest are:
  1563.  
  1564.   # /etc/rc.net
  1565.   # This file is a simple configuration that provides one KISS AX.25
  1566.   # radio port, one Ethernet device, and utilises the kernel tunnel driver
  1567.   # to perform the IPIP encapsulation/decapsulation
  1568.   #
  1569.   echo "/etc/rc.net"
  1570.   echo "  Configuring:"
  1571.   #
  1572.   echo -n "    loopback:"
  1573.   /sbin/ifconfig lo 127.0.0.1
  1574.   /sbin/route add 127.0.0.1
  1575.   echo " done."
  1576.   #
  1577.   echo -n "    ethernet:"
  1578.   /sbin/ifconfig eth0 154.27.3.20 netmask 255.255.255.0 \
  1579.                   broadcast 154.27.3.255 up
  1580.   /sbin/route add 154.27.3.20 eth0
  1581.   /sbin/route add -net 154.27.3.0 netmask 255.255.255.0 eth0
  1582.   echo " done."
  1583.   #
  1584.   echo -n "    AX.25: "
  1585.   /usr/local/sbin/axattach -s 4800 /dev/ttyS1 VK2KTJ-0 &
  1586.   sleep 2
  1587.   /sbin/ifconfig sl0 44.136.16.1 netmask 255.255.255.0 \
  1588.                   broadcast 44.136.16.255 mtu 512 up
  1589.   /sbin/route add 44.136.16.1 sl0
  1590.   /sbin/route add -net 44.136.16.0 netmask 255.255.255.0 window 1024 sl0
  1591.   #
  1592.   echo -n "    tunnel:"
  1593.   /sbin/ifconfig tunl0 44.136.16.1 mtu 512 up
  1594.   #
  1595.   echo done.
  1596.   #
  1597.   echo -n "Routing ... "
  1598.   source /etc/ipip.routes
  1599.   echo done.
  1600.   #
  1601.   # end.
  1602.  
  1603.   and:
  1604.  
  1605.        # /etc/ipip.routes
  1606.        # This file is generated using the munge script
  1607.        #
  1608.        /sbin/route add 44.134.8.0 netmask 255.255.255.0 tunl0 gw 134.43.26.1
  1609.        /sbin/route add 44.34.9.0 netmask 255.255.255.0 tunl0 gw 174.84.6.17
  1610.        /sbin/route add 44.13.28.0 netmask 255.255.255.0 tunl0 gw 212.37.126.3
  1611.           ...
  1612.           ...
  1613.           ...
  1614.  
  1615.   Some points to note here are:
  1616.  
  1617.   ╖  The new tunnel driver uses the gw field in the routing table in
  1618.      place of the pointopoint parameter to specify the address of the
  1619.      remote IPIP gateway. This is why it now supports multiple routes
  1620.      per interface.
  1621.   ╖  You can configure two network devices with the same address.  In
  1622.      this example both the sl0 and the tunl0 devices have been
  1623.      configured with the IP address of the radio port. This is done so
  1624.      that the remote gateway sees the correct address from your gateway
  1625.      in encapsulated datagrams sent to it.
  1626.  
  1627.   ╖  The route commands used to specify the encapsulated routes can be
  1628.      automatically generated by a modified version of the munge script.
  1629.      This is included below. The route commands would then be written to
  1630.      a separate file and read in using the bash source /etc/ipip.routes
  1631.      command (assuming you called the file with the routing commands
  1632.      /etc/ipip.routes) as illustrated. The source file must be in the
  1633.      NOS route command format.
  1634.  
  1635.   ╖  Note the use of the mtu and window arguments on the ifconfig and
  1636.      route commands where appropriate. Setting these parameters to
  1637.      appropriate values improves the performance of your radio link.
  1638.  
  1639.   The new tunnel-munge script:
  1640.  
  1641.   #!/bin/sh
  1642.   #
  1643.   # From: Ron Atkinson <n8fow@hamgate.cc.wayne.edu>
  1644.   #
  1645.   #  This script is basically the 'munge' script written by Bdale N3EUA
  1646.   #  for the IPIP daemon and is modified by Ron Atkinson N8FOW. It's
  1647.   #  purpose is to convert a KA9Q NOS format gateways route file
  1648.   #  (usually called 'encap.txt') into a Linux routing table format
  1649.   #  for the IP tunnel driver.
  1650.   #
  1651.   #        Usage: Gateway file on stdin, Linux route format file on stdout.
  1652.   #               eg.  tunnel-munge < encap.txt > ampr-routes
  1653.   #
  1654.   # NOTE: Before you use this script be sure to check or change the
  1655.   #       following items:
  1656.   #
  1657.   #     1) Change the 'Local routes' and 'Misc user routes' sections
  1658.   #        to routes that apply to your own area (remove mine please!)
  1659.   #     2) On the fgrep line be sure to change the IP address to YOUR
  1660.   #        gateway Internet address. Failure to do so will cause serious
  1661.   #        routing loops.
  1662.   #     3) The default interface name is 'tunl0'. Make sure this is
  1663.   #        correct for your system.
  1664.  
  1665.   echo "#"
  1666.   echo "# IP tunnel route table built by $LOGNAME on `date`"
  1667.   echo "# by tunnel-munge script v960307."
  1668.   echo "#"
  1669.   echo "# Local routes"
  1670.   echo "route add -net 44.xxx.xxx.xxx netmask 255.mmm.mmm.mmm dev sl0"
  1671.   echo "#"
  1672.   echo "# Misc user routes"
  1673.   echo "#"
  1674.   echo "# remote routes"
  1675.  
  1676.   fgrep encap | grep "^route" | grep -v " XXX.XXX.XXX.XXX" | \
  1677.   awk '{
  1678.           split($3, s, "/")
  1679.           split(s[1], n,".")
  1680.           if      (n[1] == "")    n[1]="0"
  1681.           if      (n[2] == "")    n[2]="0"
  1682.           if      (n[3] == "")    n[3]="0"
  1683.           if      (n[4] == "")    n[4]="0"
  1684.           if      (s[2] == "1")   mask="128.0.0.0"
  1685.           else if (s[2] == "2")   mask="192.0.0.0"
  1686.           else if (s[2] == "3")   mask="224.0.0.0"
  1687.           else if (s[2] == "4")   mask="240.0.0.0"
  1688.           else if (s[2] == "5")   mask="248.0.0.0"
  1689.           else if (s[2] == "6")   mask="252.0.0.0"
  1690.           else if (s[2] == "7")   mask="254.0.0.0"
  1691.           else if (s[2] == "8")   mask="255.0.0.0"
  1692.           else if (s[2] == "9")   mask="255.128.0.0"
  1693.           else if (s[2] == "10")  mask="255.192.0.0"
  1694.           else if (s[2] == "11")  mask="255.224.0.0"
  1695.           else if (s[2] == "12")  mask="255.240.0.0"
  1696.           else if (s[2] == "13")  mask="255.248.0.0"
  1697.           else if (s[2] == "14")  mask="255.252.0.0"
  1698.           else if (s[2] == "15")  mask="255.254.0.0"
  1699.           else if (s[2] == "16")  mask="255.255.0.0"
  1700.           else if (s[2] == "17")  mask="255.255.128.0"
  1701.           else if (s[2] == "18")  mask="255.255.192.0"
  1702.           else if (s[2] == "19")  mask="255.255.224.0"
  1703.           else if (s[2] == "20")  mask="255.255.240.0"
  1704.           else if (s[2] == "21")  mask="255.255.248.0"
  1705.           else if (s[2] == "22")  mask="255.255.252.0"
  1706.           else if (s[2] == "23")  mask="255.255.254.0"
  1707.           else if (s[2] == "24")  mask="255.255.255.0"
  1708.           else if (s[2] == "25")  mask="255.255.255.128"
  1709.           else if (s[2] == "26")  mask="255.255.255.192"
  1710.           else if (s[2] == "27")  mask="255.255.255.224"
  1711.           else if (s[2] == "28")  mask="255.255.255.240"
  1712.           else if (s[2] == "29")  mask="255.255.255.248"
  1713.           else if (s[2] == "30")  mask="255.255.255.252"
  1714.           else if (s[2] == "31")  mask="255.255.255.254"
  1715.           else                    mask="255.255.255.255"
  1716.  
  1717.   if (mask == "255.255.255.255")
  1718.           printf "route add -host %s.%s.%s.%s gw %s dev tunl0\n"\
  1719.                   ,n[1],n[2],n[3],n[4],$5
  1720.   else
  1721.           printf "route add -net %s.%s.%s.%s gw %s netmask %s dev tunl0\n"\
  1722.                   ,n[1],n[2],n[3],n[4],$5,mask
  1723.    }'
  1724.  
  1725.   echo "#"
  1726.   echo "# default the rest of amprnet via mirrorshades.ucsd.edu"
  1727.   echo "route add -net 44.0.0.0 gw 128.54.16.18 netmask 255.0.0.0 dev tunl0"
  1728.   echo "#"
  1729.   echo "# the end"
  1730.  
  1731.   15.  Discussion relating to Amateur Radio and Linux.
  1732.  
  1733.   There are various places that discussion relating to Amateur Radio and
  1734.   Linux take place. They take place in the comp.os.linux.* newsgroups,
  1735.   they also take place on the HAMS list on vger.rutgers.edu. Other
  1736.   places where they are held include the tcp-group mailing list at
  1737.   ucsd.edu (the home of amateur radio tcp/ip discussions), and you might
  1738.   also try the #linpeople channel on the linuxnet irc network.
  1739.  
  1740.   To join the Linux linux-hams channel on the mail list server, send
  1741.   mail to:
  1742.  
  1743.        Majordomo@vger.rutgers.edu
  1744.  
  1745.   with the line:
  1746.  
  1747.        subscribe linux-hams
  1748.  
  1749.   in the message body. The subject line is ignored.
  1750.  
  1751.   To join the tcp-group send mail to:
  1752.  
  1753.        listserver@ucsd.edu
  1754.  
  1755.   with the line:
  1756.        subscribe tcp-group
  1757.  
  1758.   in the body of the text.
  1759.  
  1760.   Note: Please remember that the tcp-group is primarily for discussion
  1761.   of the use of advanced protocols, of which tcp/ip is one, in Amateur
  1762.   Radio. Linux specific questions should not ordinarily go there.
  1763.  
  1764.   16.  Copyright.
  1765.  
  1766.   The HAM-HOWTO, an introduction to Amateur Radio software available for
  1767.   Linux and information on how to configure some of it.  Copyright (c)
  1768.   1996 Terry Dawson.
  1769.  
  1770.   This program is free software; you can redistribute it and/or modify
  1771.   it under the terms of the GNU General Public License as published by
  1772.   the Free Software Foundation; either version 2 of the License, or (at
  1773.   your option) any later version.
  1774.  
  1775.   This program is distributed in the hope that it will be useful, but
  1776.   WITHOUT ANY WARRANTY; without even the implied warranty of
  1777.   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  1778.   General Public License for more details.
  1779.  
  1780.   You should have received a copy of the GNU General Public License
  1781.   along with this program; if not, write to the:
  1782.  
  1783.   Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139,
  1784.   USA.
  1785.  
  1786.