There are a number of people developing new features and modules for the Linux networking code. Some of these are in quite an advanced state (read working), and it is these that I intend to include in this section until they are standard release code, when they will be moved forward.
The AX.25 protocol is used by Amateur Radio Operators worldwide. It offers both connected and connectionless modes of operation, and is used either by itself for point-point links, or to carry other protocols such as TCP/IP and netrom.
It is similar to X.25 level 2 in structure, with some extensions to make it more useful in the amateur radio environment.
Alan Cox has developed some kernel based AX.25 software support for Linux and these are available in ALPHA form for you to try. Alan's code supports both KISS based TNC's (Terminal Node Controllers), and the Z8530 SCC driver.
The User programs contain a P.M.S. (Personal Message System), a beacon facility, a line mode connect program, and `listen' an example of how to capture all AX.25 frames at RAW interface level.
Be sure to read /usr/local/ax25/README
as it contains more complete
information regarding this software.
The AX.25 software is available from:
sunacm.swan.ac.uk
/pub/misc/Linux/Radio/*
You will find a number of directories, each containing different versions of the code. Since it is closely linked with the kernel code, you will need to ensure that you choose the version appropriate for the kernel version you are running. The following table shows the mapping between the two:
AX25007 Prehistoric
AX25010 Obsolete
AX25012 for release 1.0.* kernels and higher
AX25016 for release 1.1.5 kernels
AX25017 for release 1.1.6 kernels
AX25018
AX25021
AX25022 for release 1.1.28 kernels
AX25023
AX25024
AX25026
AX25027
AX25028 for release 1.1.88 kernels and later.
In each directory you will find at least two files, one called something like
krnl028.tgz
, and the other called something like util028.tgz
.
These are the kernel software, and the user programs respectively.
The software comes in two parts, the kernel drivers, and the user programs.
To install the kernel drivers, do the following:
# cd /usr/src
# gzip -dc krnl028.tgz | tar xvf -
you will need to uncomment (remove the #
symbol from) the line in
the /usr/src/linux/arch/i386/config.in
file that looks like
this:
bool 'Amateur Radio AX.25 Level 2' CONFIG_AX25 n
If you want your kernel to support the H.A.P.N. PI2 driver then you will
have to edit the /usr/src/linux/arch/i386/config.in
file and add
some text in the appropriate place.
Change:
bool 'PPP (point-to-point) support' CONFIG_PPP n
bool 'PLIP (parallel port) support' CONFIG_PLIP n
bool 'Do you want to be offered ALPHA test drivers' CONFIG_NET_ALPHA n
to:
bool 'PPP (point-to-point) support' CONFIG_PPP n
bool 'PLIP (parallel port) support' CONFIG_PLIP n
bool 'HAPN PI2 Card support' CONFIG_PI n
bool 'Do you want to be offered ALPHA test drivers' CONFIG_NET_ALPHA n
This will ensure the driver for the PI card is provided as an option when building the kernel. The driver will automatically probe for the cards settings.
You should then:
# cd /usr/src/linux
# make config
# make dep;make
Be sure to answer `yes' when you are asked if you should include the AX.25 support in the make config step. You will also need to answer `yes' to including SLIP if you want the AX.25 code to support a KISS TNC.
To install the user programs you should try:
# cd /usr/local
# gzip -dc util028.tgz | tar xvvof -
# cd ax25
You should then read the README
file and follow its instructions.
When you are happy you are ready to compile, then do:
# cd /usr/local/ax25/src
# make clean
# make install
Configuring an AX.25 port is very similar to configuring a SLIP device. The AX.25 software has been designed to work with a TNC in kiss mode or a H.A.P.N. PI2 card. You will need to have the TNC preconfigured and connected. You can use a comms program like minicom or seyon to configure the TNC into kiss mode if you wish.
You use the axattach program in much the same way as you would use the slattach program. For example:
# /usr/local/ax25/bin/axattach -s 4800 /dev/cua1 VK2KTJ &
would configure your /dev/cua1
serial device to be a kiss
interface at 4800 bps, with the hardware address VK2KTJ
.
You would then use the ifconfig program to configure the ip address and netmask as for an ethernet device:
# /sbin/ifconfig sl0 44.136.8.5
# /sbin/ifconfig sl0 netmask 255.255.255.0
# /sbin/ifconfig sl0 broadcast 44.136.8.255
# /sbin/ifconfig sl0 arp mtu 257 up
To test it out, try the following:
/usr/local/ax25/bin/call VK2DAY via VK2RVT
The call program is a linemode terminal program for making ax.25 calls. It recognizes lines that start with `~' as command lines. The `~.' command will close the connection.
You also need to configure some items such as the window to use. This
necessitates editing only one file. Edit the /usr/local/ax25/etc/ports
file. This is an ascii file containing one line for each AX.25 port. You must
have the entries in this file in the same order as you configure your AX.25
interfaces.
The format is as follows:
callsign baudrate window frequency
At this stage not much of this information is used, it will be picked up and used in later developments.
I haven't had a chance to try this code out yet. Please refer to the
man pages in /usr/local/ax25/man
and the README
file
in /usr/local/ax25
for more information.
The Zilog Z8530 SCC provides Synchronous/Asynchronous, HDLC, NRZI encoding
and other capabilities. There are a number of peripheral cards that use the
Z850 as the basis of their design. A driver has been written by
Joerg Reuter, <DL1BKE@melaten.ihf.rwth-aachen.de>
, that is
generic enough to be pushed into service for just about any sort of
8530 card and is available on:
ftp.ucsd.edu
/hamradio/packet/tcpip/incoming/z8530drv-1.8.dl1bke.tar.gz
Please read the README file that accompanies the driver for more details.
The Ottawa PI card is a Z8530 SCC based card for IBM PC type machines that is in common usage by Amateur Radio operators worldwide. While it is most commonly used by Amateur Radio Operators, it could be pressed into service in other fields where it is desirable to have the features of a Z8530. It supports a high speed half duplex (single DMA channel) port, and a low speed (<19.2kbps interrupt driven) full duplex port. The PI2 is a new version of the card that supports an on board radio modem, and improved hardware design.
A driver for this card has been written by David Perry,
<dp@hydra.carleton.edu>
, and is available from:
hydra.carleton.ca
/pub/hamradio/packet/tcpip/linux/pi2-0.5ALPHA.tgz
Please read the README file that accompanies the driver for more details.
There is an experimental snmp agent for Linux, ported from the cmu-snmp
source by Erik Schoenfelder, <schoenfr@ibr.cs.tu-bs.de>
.
It is available from:
ftp.ibr.cs.tu-bs.de
/pub/local/cmu-snmp2.1.2l3-src.tar.gz
Please read the file called cmu-snmp2.1.2l3.README
, as it
contains information that you will need to know about the package.
This package provides a nearly complete MIB-II variable set. and parts of the host MIB. Setting of system group variables is provided. The private community string is setable in the config file.
nstat.tar.gz
contains a formatter of the output from
/proc/net/snmp
called nstat.
You will need Linux v1.1.60 and libc v4.6.27 or higher to compile and run the agent.
An experimental Token Ring driver is being developed by Peter
De
Schrijver
<stud11@cc4.kuleuven.ac.be>
.
His latest version, at the time of
writing was available at:
linux3.cc.kuleuven.ac.be
/pub/Linux/TokenRing/TokenRing.patch-1.2.0.gz
ftp.cs.kuleuven.ac.be
/pub/unix/linux/TokenRing.patch-1.1.64.gz
There are a number of patch files against various kernel versions. Just pick the one that suits your kernel.
Note also that there are versions of the network tools to suit Token Ring in
the same directory at linux3.cc.kuleven.ac.be
.
Most boards based on IBM's TROPIC chipset should work now. The following boards are known to be working with the driver :
Boards which use the TI chipset or busmastering DMA won't work with the current driver. However someone is working on a driver for the IBM busmaster adapters.
V.35 is a C.C.I.T.T. standard interface that provides a high speed balanced serial interface suitable for speeds up to about 2 Mbps. The use of differential pair balanced transmission allows the V.35 interface to support longer cables than can the more familiar V.24/RS232C type interface and higher data rates.
Pete Kruckenberg <kruckenb@sal.cs.utah.edu>
located a company
that supplies V.35 interface hardware for ISA bus machines. The company is
also developing a Linux driver for this card that is nearing Beta testing stage.
This would allow you to directly connect your Linux machine to a 48/56kbps
synchronous leased line. The card supports multiple protocols and allows for
interface speeds of up to 12 Mbps.
More information is available from:
ftp.std.com
pub/sdl/n2
or you can email Dale Dhillon <sdl@world.std.com>
Vinod G Kulkarni <vinod@cse.iitb.ernet.in>
has cowritten some
software for Linux that will allow it to act as an IPX bridge.
The software is available from:
sunsite.unc.edu
/pub/Linux/Systems/Network/router/ipxbridge.tar.gz
Alex Liu <labrat@unitrx.com
has written support for the Novell RIP
and SAP protocols to allow your Linux machine to act as a Novell router.
This software is alpha and includes a kernel patch. Be warned that you should take the usual precautions when testing this software.
You can obtain the software from:
sunsite.unc.edu
/pub/Linux/Incoming/ipxripd-002.tar.gz (until it is moved)
/pub/Linux//system/Network/router/ipxripd-002.tar.gz
A README
file is included, and you should read this for installation
and configuration details.
Eric Schenk <schenk@cs.toronto.edu>
has written a demand dial
daemon that will work with either SLIP or PPP. It relies on you having
a SLIP device configured which the daemon connects to via a pty. When your
SLIP connection is not active all datagrams for non local hosts will be
routed to this device, and the daemon will detect them, when it receives
a datagram it executes a script to activate your network link, and then
reroutes datagrams to that link.
The software is available at:
sunsite.unc.edu
/pub/Linux/system/Network/serial/diald-0.7.tar.gz
Note: You must configure your kernel so that it includes the SLIP driver, even if you only want to run PPP.
The included documentation describes how to install and configure the software.
Matthias Urlichs <urlichs@smurf.noris.de>
has developed
some experimental ISDN support for Linux. The most recent version was
for kernel version 1.1.88 and is reported to work.
It is available at:
ftp.uni-stuttgart.de
/pub/systems/linux/isdn/kernel/1.1.83-88/*
Be warned, the documentation is in German, and the code is designed to support the European ISDN network.
Next Chapter, Previous Chapter
Table of contents of this chapter, General table of contents
Top of the document, Beginning of this Chapter