f6bvp
at amsat dot orgV1.5.2, 2010-01-31
Packet radio is a way of connecting
computers via Amateur Radio. This mini-HOWTO covers the installation
and configuration of an Amateur Radio packet switch. (FPAC version
3.27) under Linux operating system with kernel 2.6. The reader will
be guided step by step through the process of configuring a FPAC node
capable of automatically reach a destination via a network of
interconnected node stations (either via radio or Internet ). The user
will
be responsible for the radio interface configuration not described
here. If your Linux
box is setup with a radio device, FPAC can provide inter connections
between local packet-radio networks and remote nodes using AX.25 Packet Layer
Protocol (AX.25 PLP) RATS Open Systems Environment, ROSE. A network of
FPAC nodes can transparently
interconnect many applications such as BBS stations for bulletin or
message forwarding, DX spots, and Terminal Chat user connections, etc..
For a
complete description of FPAC software, please read this FPAC
HOWTO (or from this mirror).
FPAC for Linux was written by
Jean-Paul, F6FBB. An earlier FPAC version , written for DOS, was
coded in assembly language by Antoine, F6DWJ, in collaboration with
Rémy, F6ABJ. FPAC is based on Thomas A. Moulton W2VY
implementation of the Radio Amateur
Telecommunications Society (RATS) Open Systems Environment (ROSE),
based on X.25 CCITT standard,
in
assembly language and "C" for packet radio Terminal Node controler
TNC2. Jean-Paul also wrote the FPAC
HOWTO ( or from this mirror)
which covers the operation and setup of the FPAC node. An FPAC sysop's manual
has also been written by Charles Schumann, K4GBB.
The purpose of this document is to
assist the reader in the setup of an Amateur Radio Packet node from
scratch. The
process is based on my own experience using a Mandriva Linux
distro. Before starting here are a few recommandations. Avoid using a
brand new hardware with the most recent high performance graphic
adapter or sophisticated Ethernet interfaces included on the mother
board. Linux drivers like nVidia are proprietary and may not be
included in Linux kernel. You must know that Linux is very
performant and does not need high frequency microprocessors
as opposed to a well known commercial operating system. Take the
opportunity to recycle your old computer rejected by your children for
low performance reasons. You will be surprised how fast Linux boots on
this "old" machine.
With Linux 2.2 kernels, the last
available being 2.2.26, AX25 applications were quite stable. It
managed
a packet radio system for weeks without needing intervention.
However, you may want to use more recent Linux kernels which contain
support for USB interfaces, serial ATA disks, Blue Tooth, and
wireless LAN. Due to extensive changes in the kernel code, AX25 was
not as well supported on 2.4 and early 2.6 kernels. Although you
can run AX25 with kernel 2.4, Linux system often becomes unstable
and will lock-up. Ralf DL5RB worked intensively on AX25 code adaptation
to 2.6
kernel. Versions later than 2.6.29 are fine to run
HamRadio AX25
applications. Latest 2.6.29 kernel is however recommanded. For example
browse link LATEST-IS-2.6..... here :
ftp://ftp.kernel.org/pub/linux/kernel/v2.6/LATEST-IS-2.6.29.2
This step by step procedure to set up an FPAC node, based on Mandriva Linux distro with 2.6 Linux kernel, will cover :
1. Installation of Linux 2.6 kernel with AX25 modules
2. Installation of AX25 libraries
3. Installation of AX25 tools
4. Installation of AX25 applications
5. Configuration of the ax25ipd daemon
6. Installation of the FPAC software
7. Installation of AX25 start-up scripts
8. Setting up the FPAC switch.
Installing Mandriva Linux is
out of the scope of this MINI HOWTO. I order to familiarize yourself
with Linux, there are two Live version. One is available on a bootable
CD. Mandriva
Linux live distro is
called “One”. There are different medias (CD ISO images)
for the 2009 Spring "One"
edition for different CPU architecture (i586 for 32 bits CPUs or
x86_64), including various selection of
languages, with either a KDE or GNOME desktop. Download the
version you
need from an FTP
mirror site, most popular version is probably the Mandriva One Free
KDE iso. Burn the CD and boot it. This one of
the
fastest and simplest way to get a working Linux with a recent
kernel including AX25 capability. See Mandriva wiki pages for docs
about installing
Mandriva Linux.
If you download Mandriva One live version, the kernel is 2.6.29.1. To add AX25 applications and FPAC this live version must be installed on your hard disk by clicking the corresponding icone on your Desktop. You can then proceed by going to chapter 3 for AX25 libraries installation. However, in the next chapters you will have to choose the options of binary packages installation, for the live distro does not have any Gcc compiler or any development tool by default.
Or if you already know Linux a bit, and want a more complete system with development and server options (nfs, ftp etc..) including compile facilities, you can install a full Mandriva Linux free distro. In my experience this is one of the easiest Linux distro to install. It can be freely downloaded from a Mandriva mirror site. It is available as a 4 GB DVD ISO image.
To get Mandriva Linux 2009.1 Spring, download the ISO files and burn the DVD. Then boot your computer from the DVD. The installation is straightforward. You should select advanced or personalized install options, when being in a menu proposing KDE or Gnome desktop. Then from this advanced menu select at least : development, network servers and network client and other options of your choice. Near the installation end you will be asked for root password, a user name and password name. Later it will be useful to create another user account with the name 'fpacuser' and password 'fpac'. We shall see why.
During the installation, there are two important things to complete: graphic configuration and network configuration. Be sure that graphics are well configured by performing the proposed test. It is not a good idea to use DHCP protocole to configure your network address. Set preferably a fixed IP address to your Ethernet interface. Example 192.168.0.200. Create a user account for daily use. However, AX25 applications need to be started and run under Supervisor User account. Login as root is thus necessary to run AX25 applications. However it is not possible to run in Graphic User Interface (GUI) mode like KDE or Gnome under a root login, but as a user.
Hamradio devices are most often
connected through serial interfaces to your computer. Data and software
device control are using serial ports like ttyS0 or pseudo TTY devices.
Legacy
pseudo TTY system is now obsolete and replaced by Unix98 standard.
However AX25 libraries, AX25 applications and AX25 tools used in
this MINI HOWTO are still using legacy pseudo TTY. It is thus necessary
to instruct Linux kernel to create them at boot time.
Edit /boot/grub/menu.lst file. Next to
line 'title linux', at the end
of line begining with kernel, add pty.legacy_count=10 then save the
file and reboot. Be carefull not to write on next line with initrd or
you would get a boot failure with a kernel panic. Believe me, I know
what I am
talking about. At the same time you may add nosmp option on the same line to
instruct Linux kernel not to run in Simultaneous Multi Processing mode.
nosmp is needed until all
AX25 libraries and application program are ready to run on SMP kernels.
After reboot, you may check for the existing pseudo TTYs by listing ls /dev/ptyp* or /dev/ttyp*. Ten PTY (master and slave) pairs were created and will appear under names /dev/ttyp0 to 9 and /dev/ptyp0 to ptyp9.
You may now reboot your newly installed Linux system. Linux operating system with 2.6.29.1 kernel is well suited for AX25. It has all AX25 already enabled with AX25 modules and drivers (ax25, rose, mkiss, 6pack, netrom, etc..already compiled). Before running AX25 applications, you need to install AX25 libraries, tools and apps.
If you want to build a custom kernel, you would like to add legacy TTY devices (see below). These pseudo TTY are still necessary for AX25 applications but no more included in compiled standard kernels. At this point you will download a kernel source package from kernel.org and compile the kernel after selecting the modules needed by your computer configuration. Instructions for compiling a kernel are documented in the Linux Kernel HOWTO.
Latest stable kernel source may
be found at kernel.org site or
at http://www.eu.kernel.org/
from Europe. From there find the
latest kernel file on line. For example :
| stable: | 2.6.32.7 | 2010-01-28 | [Full Source] | [Patch] | [View Patch] | [View Inc.] | [Gitweb] | [Changelog |
Move downloaded file into /usr/src/
directory and enter this directory with cd /usr/src command
Unpack the archive :
tar xf linux-2.6.32.7.tar.bz2 this will create linux-2.6.29.2 directory.
Create a symbolic link linux
ln
-s linux-2.6.32.7 linux
Create the two
following symbolic links to linux that you can use later when you
download and apply a kernel patch.
ln
-s linux a
You are now ready to configure
your custom kernel. For more help consult the LINUX
KERNEL HOWTO. Open a console terminal and switch to a root session
by typing the command su to log in as root and enter the root
password.
Next, change directories, cd /usr/src/linux. If this is
the very first time you compile the kernel source since you installed
your Mandriva Linux distro, just type make oldconfig.
This will copy the present .config kernel
configuration file
from /boot into linux directory. By the way, it is recommanded
to make oldconfig whenever you update Linux kernel
using a kernel patch, or when you download a new kernel version source
and want to use .config from
a previous version. In that case, copy .config
from old Linux directory into new linux directory. Doing that followed
by make oldconfig you will
avoid a fastidious complete custom configuration
each time you apply a kernel patch or download a new kernel source. You
will be eventually asked to validate items that appeared or changed
between the old and the new Linux kernel version. In most of the cases
the default option can be accepted by pressing <Enter> key.
At the end of the oldconfig
process jump to start kernel compilation paragraph below.
Or you may want to build a customized kernel for the first time or change previous options, then enter make menuconfig command to perform the compilation configuration that will allow you to select or deselect some items for a custom kernel. You could also build a graphical menu with command make xconfig on the command line in a console terminal from /usr/src/linux directory. A menu will pop-up and you will be able to select or de-select the different items, depending on the hardware present on your computer. Some items are selected by default. This xconfig command needs ncurses package, QT3 and QT3 development to be installed (run command "urpmi qt3 qt3-devel" from a Konsol terminal or use Mandriva Control Center MCC to install QT3 development package). Compiling the kernel plus all modules can take a lot of time on a slow computer. For example, it can take a few hours on a 500 MHz Pentium III. You will start the script for building a kernel configuration menu with the command make menuconfig or make xconfig. In processor type and features menu it is recommanded to unselect [ ] Tickless System (Dynamic Ticks). For Linux an FPAC server you want to select timer frequency 250 Hz option. If you compile more modules than actually needed, Linux will find the necessary drivers and load them at boot time. To compile AX25 modules, you need to select the sub menu Networking and enable Amateur Radio Support. Enabled modules are indicated by a letter M (menuconfig) or by a dot (xconfig). To disable an item, type N (menuconfig) or click on the item box (xconfig). Select sub menu Amateur Radio Support and enable all the protocols. Select the AX25 Network Device Drivers menu and enable All items : serial port KISS driver, serial port 6PACK driver, BPQ Ethernet driver, Highspeed (DMA) SCC driver for AX.25, Z8530 SCC driver, all the BAYCOMs, YAM driver for AX.25.
Save the configuration by answering yes at the end of the config menu.
Start kernel compilation with the following command :
The compilation will take a while depending on the number of files to be compiled and the speed of your CPU. When compilation is done type the following commands :
make
modules_install
make
install
If everything went well you can now reboot your system. The choice for the new kernel will appear on the GRUB boot menu after the line Linux 2009 (default boot) on a line showing Linux with 2.6.29.3 kernel (if you compiled 2.6.29.3 kernel). If the system reboots correctly you will have now a Linux system with AX25 and ROSE modules up to date. You can verify the availability of AX25 modules by loading some of them:
modprobe
ax25
modprobe
rose
modprobe
mkiss
Command lsmod will display the driver list.
When you are satisfied that the new kernel is working you can make it the default kernel. Using in the Mandrake Control Center, the system configuration tool.
For the next steps, use a character mode console. It is more convenient than using the Graphic User Interface (GUI). To open a graphic console press simultaneously the three CONTROL, ALT and F1 keys. Log in as root and provide the root password. You can open up to 6 console sessions and switch between them by pressing ALT and Fn keys, with 'n' being between 1 and 6 (ALT+F1,..., ALT+F6). You may also return to graphic console by typing both ALT and F7 keys simultaneously.
We are now ready to install AX25 libraries.
Like many other AX25
applications FPAC needs the AX25 libraries. When running various AX25
applications we call common subroutines that are included into ax25
libraries. To optimize performances, I have provided the source of libax25-0.0.11
package, with changes to allow compilation under kernel 2.6. It is
always preferable to compile softwares on your own system.
Note : I only tested the packages with _f6bvp suffix. There is no
garanty that packages from other sources are working.
Click on the following link http://f6bvp.free.fr/logiciels/ax25/
and select the latest libax25 source library package version. For example libax25-0.0.11.4src_f6bvp.tgz
Download the package into the directory of your choice.
Make directory :
mkdir /usr/local/src/ax25 and change directory
cd /usr/local/src/ax25
Move
the archive file into this directory then unpack it :
tar xvf libax25-0.0.11.4src_f6bvp.tgz then change the directory
cd
libax25-0.0.11 and
type the following set of commands :
./configure
make
make install
make installconf (only if no previous configuration file
exist, as they would be overwritten)
This will copy the following configuration sample files into /usr/local/etc/ax25 directory : axports, rsports and nrports, include files into /usr/local/include, documentation manual pages accessible with man program into /usr/local/man and install AX25 libraries into the /usr/local/lib/ directory.
Note : P flag in xfP is upper case.
This should unpack ax25 libraries into /usr/local/lib/ directory and copy include, sample and documentation manual files as stated above.
ls /usr/local/lib should display the following files and symbolic links :
-rw-r--r-- 1 root root 101464 déc 4 19:59 libax25.a
-rw-r--r-- 1 root root 20816 déc 4 19:59 libax25io.a
-rwxr-xr-x 1 root root 720 déc 4 19:59 libax25io.la*
lrwxrwxrwx 1 root root 18 déc 4 19:59 libax25io.so -> libax25io.so.0.0.0*
lrwxrwxrwx 1 root root 18 déc 4 19:59 libax25io.so.0 -> libax25io.so.0.0.0*
-rwxr-xr-x 1 root root 23090 déc 4 19:59 libax25io.so.0.0.0*
-rwxr-xr-x 1 root root 706 déc 4 19:59 libax25.la*
lrwxrwxrwx 1 root root 16 déc 4 19:59 libax25.so -> libax25.so.0.0.0*
lrwxrwxrwx 1 root root 16 déc 4 19:59 libax25.so.0 -> libax25.so.0.0.0*
-rwxr-xr-x 1 root root 76967 déc 4 19:59 libax25.so.0.0.0*
I only modified some #include headers and variable type declaration in order to help the compilation of ax25tools-0.0.8 package with 2.6 kernel. You may choose to get the compiled tool binary files or the source files and compile them. It is always preferable to compile software for your system.
To get the source files archive, right click on the following link and download the package into the directory of your choice
Move the file to /usr/local/src/ax25/ then change to that directory.
Unpack the downloaded package
tar xf ax25-tools-0.0.8.2src_f6bvp.tgz then change the directory
cd ax25-tools-0.0.8 and type the following set of commands :
./configure
make
make install
make installconf (only if no previous configuration file
exist, as they would be overwritten)
This will
copy sample configuration files ax25d.conf,
ax25.profile, ax25spawn, nrbroadcast.conf, rip98d.conf, rxecho.conf,
ttylinkd.conf into /usr/local/etc/ax25,
documentation manual into /usr/local/man,
application tools will be placed into /usr/local/sbin
and /usr/local/bin
Optionally
you can download the already compiled AX25-tools (however these
executable are now obsolete)
http://f6bvp.free.fr/logiciels/ax25/ax25-tools-0.0.8_i386.tgz
Unpack the package:
tar xfP ax25-tools-0.0.8_i386.tgz
Note : flag P is upper case.
This will put configuration files into /usr/local/etc/ax25, manual files into /usr/local/man, binary files into /usr/local/sbin and others in /usr/local/bin .
Unlike the previous two packages, AX25 applications have evolved recently. Steve VK5ASF has provided an ax25ipd version with dynamic IP capability. Although there is no official release at the present time, I have provided the binary and source files of modified ax25-0.0.6 packages. You may choose to use the compiled applications (not recommanded) or get the source files and compile them. It is always preferable to compile software on your own system.
To get the source files archive, right click on the following link to download the newest version package into the directory of your choice : http://f6bvp.free.fr/logiciels/ax25/ax25-apps-0.0.6.2src_f6bvp.tgz
Move the file into a directory, for example, /usr/local/src/ax25 then change to that directory.
Unpack the package :
tar xf ax25-apps-0.0.6.2src_f6bvp.tgz –
Change
directory
cd ax25-apps-0.0.6 and type the following set of commands :
./configure
make
make install
make installconf (only if no
previous configuration file exist, as they would be overwritten)
This will
copy sample configuration files ax25ipd.conf,
ax25mond.conf, ax25rtd.conf into /usr/local/etc/ax25,
documentation manual into /usr/local/man,
application tools will be placed into /usr/local/sbin
and /usr/local/bin
The second option is to download compiled AX25 applications (however these executable are now obsolete):
http://f6bvp.free.fr/logiciels/ax25/ax25-apps-0.0.6_i386.tgz
Move this file into a directory, for example, /usr/local/src/ax25 then change to that directory.
Unpack the package :
tar xfP ax25-apps-0.0.6_i386.tgz
Note : flag P is upper case.
This will put configuration files into /usr/local/etc/ax25, manual files into /usr/local/man, binary files into /usr/local/sbin and others in /usr/local/bin .is will put some binary files into /usr/local/sbin and others in /usr/local/bin .
To run an FPAC node on a 2.6 Linux kernel we need to setup some directories and file rights. I wrote the following script to facilitate the job.
Or download the script from here into your chosen directory and use the same commands above.
#!/bin/sh
#
rc.init.script
# Part of http://rose.fpac.free.fr/MINI-HOWTO/
#
by f6bvp at amsat dot org
#
#
This script should be run only once after installation of
#
# -
libax25
# - ax25-apps
# - ax25-tools
#
# and before
installing FPAC fpac327 package
#
# AX25 libraries declaration
(into ld.so.conf)
#
echo "/usr/local/lib" >>
/etc/ld.so.conf
/sbin/ldconfig
#
# Reserving UDP port 10093
for FPAC service
#
echo "fpad 10093/tcp # FPAC" >>
/etc/services
echo "fpad 10093/udp # FPAC" >>
/etc/services
#
# Making necessary AX25 directories
#
mkdir
/usr/local/var
mkdir /usr/local/var/ax25
cd /var
ln -s
/usr/local/var/ax25 ax25
mkdir /usr/local/etc
mkdir
/usr/local/etc/ax25
cd /etc
ln -s /usr/local/etc/ax25 ax25
#
#
Add some FPAC directories and files
#
mkdir
/usr/local/var/ax25/fpac
/bin/chmod a+x /usr/local/var
/bin/chmod
a+x /usr/local/var/ax25
/bin/chmod a+x
/usr/local/var/ax25/fpac
/bin/touch
/usr/local/var/ax25/fpac/loggedin
/bin/chmod a+w
/usr/local/var/ax25/fpac/loggedin
#
mkdir
/usr/local/var/ax25/mheard
/bin/chmod a+x
/usr/local/var/ax25/mheard
/bin/touch
/usr/local/var/ax25/mheard/mheard.dat
#
/bin/touch
/usr/local/etc/ax25/axports
/bin/touch
/usr/local/etc/ax25/nrports
/bin/touch
/usr/local/etc/ax25/flexd.conf
/bin/touch
/usr/local/etc/ax25/node.routes
#
echo "Do not forget to
edit 'SYSOP=' and 'CONNECT='"
echo "in file
/usr/local/sbin/fpac.sh"
echo "according to your own BBS
callsign and sysop name"
#
Next we need to edit /usr/local/etc/ax25/axports, a very important file for the declaration of AX25 port names. Replace F6ZZZ with your call sign.
Port 0 will be attached by kissattach to pseudo tty ptyq1. I used a speed of 115200 baud, but I am not sure it is used.
Paclen is the upper limit permitted in AX25. ROSE routing protocol has a three byte overhead, so applications that use ROSE declare a Paclen of less than 253. For example in the xfbb port.sys file I set paclen at 250.
It is critical that stations talking together use the same Maxframe parameter. AX25 protocol will allow up to 7 frames but, I am convinced that a small Maxframe is better, especially on radio links. For AXIP I suggest that we set Maxframes to 4.
In the following example of /usr/local/etc/ax25/axports
I commented-out the entries for ports except port 0 that will be used
by FPAC to access Internet. Other ports could be used to connect
dual ports TNCs or single port TNCs using the mkiss driver. Callsign
SSID must be unique. You cannot use twice the same SSID number.
#
/usr/local/etc/ax25/axports
#
# The format of this file is:
#
#
name callsign speed paclen maxframes description
#
0
F6ZZZ-8 38400 256 4 Linux
(AXIP)
#1 F6ZZZ-4 38400 256
2 Linux (VHF-1)
#2 F6ZZZ-5
38400 256 2 Linux (UHF-1)
#3
F6ZZZ-6 38400 256 2 Linux
(VHF-2)
#4 F6ZZZ-7 38400 256
2 Linux (UHF-2)
#
If you plan to use KPC9612 TNCs, you may download from here a sample initialization script for two dual radio ports KPC9612 (1200 & 9600 baud). The script should be run after rc.ax25 script presented in chapter 9.
When installing ax25-apps we have compiled ax25ipd. This application runs as a daemon in the background. The configuration file is /usr/local/etc/ax25/ax25ipd.conf. It tells ax25ipd the name of the port where to get or put AX25 packet frames, the name of the port toward the Internet world, and the Internet Protocol address (IPv4) plus UDP port numbers of the remote stations. Given this, ax25ipd daemon routes frames in both inward and outward direction between UDP port 10093 and slave pseudo tty device ttyq1. Master pseudo tty device ptyq1 and slave pseudo tty ttyq1 are the two extremities of a virtual tunnel. When a character is written at one extremity it can be read at the other and vice versa. Remember that kissattach links ttyq1 device to AX25 port 0 of /usr/local/etc/ax25/axports (ax0) in our example. Thus AX25 ax0 port is connected to Internet via this complicated chain. Ax25ipd does another important work. It performs an encapsulation of AX25 frames into Internet Protocol frames (AXIP). AX25 frames are embedded into standard IP frames that Internet can handle. On the other direction, IP frames arriving on UDP port 10093 are stripped by ax25ipd and finally AX25 frames are presented to ax0 device. When ax25ipd daemon is running, any local AX25 application can discuss transparently via Internet with another remote application by writing or reading on ax0 port without knowing the operations performed after that step.
Our sample ax25ipd.conf listing follows. It can also be downloaded from here.
#
/usr/local/etc/ax25/ax25ipd.conf
#
ax25ipd configuration file for station f6zzz
#
#
Select axip transport. 'ip' is what you want for compatibility
#
with most other gates ...
#
#socket
ip
socket
udp 10093
#
#
Set ax25ipd mode of operation. (digi or tnc)
#
mode
tnc
#
#
If you selected digi, you must define a callsign. If you selected
#
tnc mode, the call sign is currently optional, but this may change
#
in the future! (2 calls if using dual port kiss)
#
#mycall2
vk5xxx-5
#
#
In digi mode, you may use an alias. (2 for dual port)
#
#myalias2
svwdn2
#
#
Send an ident every 540 seconds ...
#
#beacon
after 540
#btext
ax25ip -- tncmode rob/vk5xxx -- Experimental AXIP gateway
#
#
Serial port, or pipe connected to a kissattach in my case
#
master /dev/ptyq1 is attached to port ax0 ( 0 in
/usr/local/etc/ax25/axports)
#
device
/dev/ttyq1
#
#
Set the device speed
#
speed
38400
#
#
loglevel 0 - no output
#
loglevel 1 - config info only
#
loglevel 2 - major events and errors
#
loglevel 3 - major events, errors, and AX25 frame trace
#
loglevel 4 - all events
#
log 0 for the moment, syslog not working yet ...
#
loglevel
2
#
#
If we are in digi mode, we might have a real tnc here, so use param
to
#
set the tnc parameters ...
#
#param
1 20
#
#
Broadcast Address definition. Any of the addresses listed will be
forwarded
#
to any of the routes flagged as broadcast capable routes.
#
broadcast
QST-0 NODES-0
#
#
ax.25 route definition, define as many as you need.
#
format is route (call/wildcard) (ip host at destination)
#
ssid of 0 routes all ssid's
#
#
route <destcall> <destaddr> [flags]
#
#
Valid flags are:
#
b - allow broadcasts to be transmitted via this route
#
d - this route is the default route
#
#route
vk2sut-0 44.136.8.68 b
route
f5mtz-0 f5mtz.no-ip.org udp 10093 b
route
kp4djt-0 24.129.134.206 udp 10093 b
route
f1hci-0 f1hci.org udp 10093 b
route
f5kbw-0 147.210.91.241 udp 10093 b
route
f6bvp-0 f6bvp.org udp 10093 b
#
#delay
f5mzn-0 35
#
As can be seen on the above route lines, with the present version, ax25ipd can handle permanent IP as well as dynamic IPs, thanks to Steve VK5ASF.
Jean-Paul F6FBB, the author of Linux FPAC, stopped its development with version 3.25 for Linux kernel 2.2, but released a compiled working version (3.26) on a floppy image that can be downloaded from F6FBB FTP site or from a mirror site. This Windows program , Rawrite, will help you to make a bootable floppy that will run Fpac. FPAC 3.26 was associated with Linux system glibc6 library compatible with 2.4 kernels. For our purpose we need to compile FPAC sources.
Compiling FPAC from sources and
using recent GCC compiler and kernels gave errors. With the help of
Jean-Paul F6FBB, I included changes to enable you to compile FPAC
sources. The new FPAC release presented here is compatible with 2.4
and 2.6 kernels. With this version,
FPAC can now make connections
through alternate routes. Connection will be performed
transparently using
available opened route via one of
the three possible neighbour nodes toward any destination ROSE address.
Download latest FPAC327 source package from here. For example fpac327-13src.tgz
Move the archive file into /usr/local/src/ax25 then cd /usr/local/src/ax25
then tar xf fpac327-13src.tgz
then cd fpac327.13
Then run the commands :
make
make
install
make installconf (only if no previous FPAC configuration
file exist, as they would be overwritten)
Subdirectories and files necessary for FPAC will are created into /usr/local/var/ax25 and /usr/local/etc/ax25. FPAC application programs files are installed into /usr/local/sbin
Main FPAC configuration file is /usr/local/etc/ax25/fpac.conf and FPAC HOWTO explains how to configure it.
The example fpac.conf configuration file is setup for a FPAC station connected via Internet.
#
# Configuration file for FPAC node
# This file is /usr/local/etc/ax25/fpac.conf
#
# Node Informations
#
L2call = F6BVP-10
L3call = F6BVP-11
Trcall = F6BVP-15
DNIC = 2080
Address = 175502
Coverage =
InetPort = 10093
InetAddr = 44.151.75.15
Password = abcdefghi
City = PARIS-17
locator = JN18DV
UserPort = *
DefPort = 0
#
# Additional commands
#
Command
HRD = /usr/local/sbin/mheard -d m
BBs = connect f6bvp-1 2080175520
CLuster = /usr/bin/telnet f6bvp 9000
CLSpider = /usr/bin/telnet bernard 7300
CONVers = /usr/bin/telnet f4bwt.no-ip.org 3600
STHeure = /bin/cat /usr/local/var/ax25/fpac/fpacstat.dat
STJour = /bin/cat /usr/local/var/ax25/fpac/fpacstat.day
# Telnet =
IPLinks = /bin/netstat --ip
IPRoutes = /bin/netstat -nr
ROse = /bin/cat /proc/net/rose
RS_NEigh = /bin/cat /proc/net/rose_neigh
RS_NOdes = /bin/cat /proc/net/rose_nodes
RS_Routes = /bin/cat /proc/net/rose_routes
NR_netrom = /bin/cat /proc/net/nr
NR_NEigh = /bin/cat /proc/net/nr_neigh
NR_NOdes = /bin/cat /proc/net/nr_nodes
MANuals = /usr/bin/man %1
TRace = connect f6bvp-15 2080175502
KCK = connect f5kck-10
KBW = connect f5kbw-8 2080833501
USA = connect kd4yal-8 3100727489
End
# Bbs command will connect the user to the BBS on the same machine
# via rose level
# idem for command CLu that will connect the user to local DxNet server
# STat command will display connexion statistics
# Empty command telnet will do nothing
# Sysop reserved commands
#
Sysop
DIsk = /bin/df -k
SYSop = /usr/local/sbin/fpacshell
YGET = /usr/local/sbin/yapp -u /usr/local/etc/ax25/%1
YPUT = /usr/local/sbin/yapp -d /usr/local/etc/ax25/%1
RM = /bin/rm /usr/local/etc/ax25/%1
LS = /bin/ls -l /usr/local/etc/ax25/%1
CP = /bin/cp /usr/local/etc/ax25/%1 /usr/local/etc/ax25/%2
CAT = /bin/cat /usr/local/etc/ax25/%1
MV = /bin/mv /usr/local/etc/ax25/%1 /usr/local/etc/ax25/%2
REBoot = /sbin/reboot
WEdit = /usr/local/sbin/wpedit %*
End
#
#
# Port specific to an address
#
# on donne au port d'acces utilisateur VHF l'adresse 175502
# will add a rose device like rose1
# AddPort = VHF
# Address = 175602
# Port = 4
# End
# Port specific to an address
# AddPort = UHF
# Address = 175502
# Port = 1
# End
# Port UHF 9600 via carte SCC4 et T7F (experimental)
# AddPort = UHF-9600
# Address = 175402
# Port = 4
# End
#
# This was when Kissnetd was used to create an internal network
# in order to link applications together. But now, ax25d, xfbb,
# or dxnet are able to listen to rose connexions, so may be directly
# connected via rose0 port issuing a Level 3# on donne au port d'acces utilisateur UHF l'adresse 175502
command.
# User = BBS
# Path = F6KDS-1
# port =
# End
#
# List of alias for easy connexions to some address
#
Alias = F6BVP-3
Path = F6BVP-3,175520
End
# Alias = F6BVP-4
# Path = F6KDS-1,194501
# End
#
# List of adjacent nodes
# NoWP = 1 means no White Page
# for FPAC DOS does not know how to handle white pages
# Node = F6ABJ
# Path = F6ABJ-11
# DNIC = 2080
# Address = 175501
# Port = 0
# NoWP = 1
#End
Node = LAN522
Path = F6BVP-5
DNIC = 2080
Address = 175522
Port = 0
NoWP = 0
End
Node = VK2TV
Path = VK2TV-2
DNIC = 5050
Address = 656200
Port = 0
NoWP = 0
End
Node = KP4DJT
Path = KP4DJT-9
DNIC = 3100
Address = 813626
Port = 0
NoWp = 0
End
Node = K4GBB
Path = K4GBB-9
DNIC = 3100
Address = 352726
Port = 0
NoWp = 0
End
Node = MVP
Path = F1MVP-5
DNIC = 2080
Address = 886801
Port = 0
NoWp = 0
End
Node = YAL
Path = KD4YAL-9
DNIC = 3100
Address = 727489
Port = 0
NoWp = 0
End
Node = F5KBW
Path = F5KBW-9
DNIC = 2080
Address = 833501
Port = 0
NoWp = 0
End
Node = F4BWT
Path = F4BWT-11
DNIC = 2080
Address = 428501
Port = 0
NoWp = 0
End
Node = LAN520
Path = F6BVP-9
DNIC = 2080
Address = 175520
Port = 0
NoWp = 0
End
Node = LAN521
Path = F6BVP-7
DNIC = 2080
Address = 175521
Port = 0
NoWp = 0
End
Node = GGY
Path = F6GGY-9
DNIC = 2080
Address = 847501
Port = 0
NoWP = 0
End
Node = F3KT
Path = F3KT-11
DNIC = 2080
Address = 444501
Port = 0
NoWp = 0
End
#
# Routes to adjacent nodes
# and routes to address via adjacent nodes
# DNIC has 4 digits
# Address has 1 to 6 digits, using hierarchy
#
Routes
DNIC = 0
2080 = F4BWT
2080 = F3KT
2080 = F5KBW
3100 = KP4DJT
3100 = K4GBB
3100 = YAL
5050 = YAL
5050 = KP4DJT
5050 = VK2TV
7120 = YAL
7120 = K4GBB
7120 = KP4DJT
#
DNIC = 2080
# 175505 = KVP
175520 = LAN521
175520 = LAN522
175520 = LAN520
175521 = LAN521
175522 = LAN522
178 = LAN520
195 = LAN520
444 = MVP
444 = GGY
444 = F3KT
444501 = F3KT
7 = F5KBW
8 = F5KBW
8335 = F5KBW
833501 = F5KBW
847 = F4BWT
847 = GGY
847501 = GGY
428 = F4BWT
428501 = F4BWT
886801 = MVP
9 = F5KBW
DNIC = 3100
772 = VK2TV
772 = K4GBB
772 = YAL
352726 = K4GBB
727489 = YAL
End
Routes:
DNIC Address Primary Route ! 1st Alt Route ! 2nd Alt Route !
7120,...... KP4DJT-9 Closed ! K4GBB-9 Opened ! KD4YAL-9 Opened !
5050,...... VK2TV-2 Opened ! KP4DJT-9 Closed ! KD4YAL-9 Opened !
3100,...... KD4YAL-9 Opened ! K4GBB-9 Opened ! KP4DJT-9 Closed !
2080,...... F5KBW-9 Closed ! F3KT-11 Opened ! F4BWT-11 Opened !
2080,9..... F5KBW-9 Closed !
2080,8..... F5KBW-9 Closed !
2080,7..... F5KBW-9 Closed !
3100,772... KD4YAL-9 Opened ! K4GBB-9 Opened ! VK2TV-2 Opened !
2080,428... F4BWT-11 Opened !
2080,847... F6GGY-9 Closed ! F4BWT-11 Opened !
2080,444... F3KT-11 Opened ! F6GGY-9 Closed ! F1MVP-5 Closed !
2080,195... F6BVP-9 Opened !
2080,178... F6BVP-9 Opened !
2080,8335.. F5KBW-9 Closed !
3100,727489 KD4YAL-9 Opened !
3100,352726 K4GBB-9 Opened !
2080,886801 F1MVP-5 Closed !
2080,428501 F4BWT-11 Opened !
2080,847501 F6GGY-9 Closed !
2080,833501 F5KBW-9 Closed !
2080,444501 F3KT-11 Opened !
2080,175522 F6BVP-5 Closed !
2080,175521 F6BVP-7 Closed !
2080,175520 F6BVP-9 Opened ! F6BVP-5 Closed ! F6BVP-7 Closed !
Note that more than one adjacent node may provide the same route. In the case of link failure, this will offer automatically an alternate route to your packets.
In
case you prefere to use already
compiled FPAC 3.27 (not recommanded), I provided a compiled
archive for 2.6
kernels.
However, due to glibc version dependancies (/lib/libc.so.6 -->
libc-2.3.5.so) it will probably not run with 2.4
kernels having installed C library version different from 2.3.5.
Download fpac327-12_i386.tgz or a newer one (however these executable are now obsolete):
tar xfP fpac327-12_i386.tgz
Note : Flag P is upper case.
Subdirectories and files necessary for FPAC will are created into /usr/local/var/ax25 and /usr/local/etc/ax25. FPAC application programs files are installed into /usr/local/sbin
The following script should be placed in /etc/rc.d/rc.ax25 file and the file given the execute rights.
chmod a+x /etc/rc.d/rc.ax25
We need to initialize AX25 devices and network ports. The following script is an example that will do the initialization before starting FPAC. IP address for eth0 the Ethernet port (192.168.0.200) and gateway (192.168.0.1) were arbitrarily chosen and should be edited to fit your installion. Nodal ampr.org address (44.151.75.153) and callsign (F6ZZZ) must also be replaced by your own callsign/addresses.
The following shell script can be downloaded from here.
#!/bin/sh
# /etc/rc.d/rc.ax25
#
# This script will start AX25 FPAC switch application on a Linux 2.6 system
# at boot time with a sample callsign F6ZZZ.
# rc.eth0 : setup Ethernet eth0 device LAN address and initialize a route to Internet
# through a gateway ;
# rc.tnc : attach ax0 device to pseudo device ptyq1 ;
# rc.axip : install a tunnel between ptyq1 and ttyq1 pseudo tty devices ;
# run ax25ipd daemon that performs AX25 frame encapsulation in IP frames ;
# routes encapsulated packets from ax0 to Internet rose FPAC address;
# rc.fpac : start FPAC suite of programs and mheardd daemon;
# rc.beacon : start listen application on console 2 listening to port 0
# and install a beacon broadcast on ax0 port ;
#
echo 15 > /proc/sys/kernel/panic
echo 1 > /proc/sys/net/ipv4/ip_forward
#
# The following is an example for eth0 fixed IP address
# not necessary if protocol DHCP is used
#
#/sbin/ifconfig eth0 192.168.0.200
#/sbin/route add -net 192.168.0.0 netmask 255.255.255.0 eth0
#/sbin/ifconfig lo 127.0.0.1
#/sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo
#/sbin/route add default gw 192.168.0.1
#
# /etc/rc.d/rc.tnc
#
/usr/local/sbin/kissattach /dev/ptyq1 0 44.151.75.153
/bin/sleep 2
#
#/etc/rc.d/rc.axip
#
/bin/date > /var/log/ax25ipd.log
/usr/local/sbin/ax25ipd -l4 >> /var/log/ax25ipd.log 2>&1
#
#/etc/rc.d/rc.fpac
#
/bin/date > /var/log/fpac
/usr/local/sbin/fpac.sh
/usr/local/sbin/mheardd
#
#/etc/rc.d/rc.beacon
#
#/usr/local/bin/listen -char >> /dev/tty2 &
/usr/local/sbin/beacon -c F6ZZZ -d QST -t 10 0 'Nodal Rose FPAC F6ZZZ'
#
AX25 system can be started automatically at boot time if script /etc/rc.d/rc.ax25 is called by /etc/rc.d/rc.local. Here is a sample of /etc/rc.d/rc.local that will initialize AX25 and FPAC node each time he computer is started.
#!/bin/sh
#
#
This script will be executed *after* all the other init scripts.
#
You can put your own initialization stuff in here if you don't
#
want to do the full Sys V style init stuff.
#
echo
60 > /proc/sys/kernel/panic
echo 60 > /proc/sys/kernel/panic_on_oops
echo 1 > /proc/sys/kernel/sysrq
#
/etc/rc.d/rc.ax25
#
touch
/var/lock/subsys/local
#
If you prefer not to start AX25 automatically, edit rc.local and put a # at the beginning of the line with
/etc/rc.d/rc/ax25. Also remove the # on the line with /etc/rc.d/rc.eth0.
I like to start a task without typing a lot of characters, so I made a shortcut to start AX25.
cd /usr/local/bin
ln -s /etc/rc.d/rc.ax25 ax25
Now type ax25 on a command line to start the FPAC application.
You can also make a
symbolic link named fpac that will actually run fpacnode (ln
-s /usr/local/sbin/fpacnode /usr/local/bin/fpac)
If your Linux computer is directly connected to your DSL box without a router, the following applies to your DSL router settings.
A router not only performs the basic
routing functions but it usally includes a firewall function to
protect your computer and LAN from Internet intruders. By default the
traffic passing through the router may be filtered in both
directions. IP packets going from LAN to Internet are routed only if
you give the permission. You may already be setup to pass normal
traffic. However AX25 applications are using ports that must be
opened in both directions. Ports up to 1024 are reserved for Standard
applications and must not be used. See /etc/services
file. Our FPAC needs port 10093
to be opened in both directions for
UDP and TCP protocols. Check your router or
DSL modem documentation
to find out how to enable these ports and redirect these ports to your
computer local IP address. Same for other AX25 applications
such as port 6300 (TCP/UDP) for BBS F6BVP, port 9000 UDP for
DxNet.
Some application programs that will run on the same Linux machine can listen to a local port and may be easily interconnected with fpac node.
FBB and DxNet can communicate with FPAC without additive programs. NetRomd needs ax25d to perform the interface with FPAC.
Run the following sample script during AX25 setup. It will create NetRom devices that will be used by the following applications and start NetRomd daemon.
#!/bin/sh
#
/etc/rc.d/rc.netrom
#
#echo "NETROM"
/sbin/modprobe netrom
#
killall -KILL netromd
ifconfig nr1
down
ifconfig nr0 down
ifconfig nr2 down
ifconfig nr3 down
#
creating NET/ROM devices (please edit your own ampr.org network
address)
/usr/local/sbin/nrattach -i 44.151.75.15 -m 256
netnod
/usr/local/sbin/nrattach -i 44.151.75.15 -m 256
netbbs
/usr/local/sbin/nrattach -i 44.151.75.15 -m 256 netclu
#
adjacent NET/ROM nodes creation via port 4=ax4 (ax25 over
ip)
/usr/local/sbin/nrparms -nodes k4gbb-14 + CIT03 120 6 4
k4gbb-14
/usr/local/sbin/nrparms -nodes kp4djt-14 + DJT14 120 6 4
kp4djt-14
/usr/local/sbin/nrparms -nodes vk2tv-14 + KEMPC
120 6 4 vk2tv-14
/usr/local/sbin/nrparms -nodes vk2vy-2
+ VYNODE 120 6 4 vk2vy-2
# start ax25d daemon to link NetRom and
FPAC node
/usr/local/sbin/ax25d
# Broadcast
NET/ROM
/usr/local/sbin/netromd -lid -t 10
# Setup Netrom subnetmask
/sbin/ifconfig nr0 netmask 255.255.255.255
/sbin/ifconfig nr1 netmask 255.255.255.255
/sbin/ifconfig nr2 netmask 255.255.255.255
/sbin/ifconfig nr3 netmask 255.255.255.255
#
For deeper understanding see
nrattach and nrparms manuals.
If your Linux box is running a
BBS it can be internally connected to ROSE FPAC and interfaced with
NetRom. This will give your BBS a worldwide access to AX25 stations
Important notice : Modern distro use Simultaneous Parallel
Multiprocessing (SMP) precompiled kernels. However LinFBB BBS sometimes does not work
well under SMP
kernel. In that case the trick is to disable smp using a special
instruction "nosmp"
in GRUB /boot/grub/menu.lst file.
Edit this file and add nosmp like in the following example :
title 2.6.19.1
kernel (hd0,0)/boot/vmlinuz-2.6.19.1 BOOT_IMAGE=2.6.19.1 root=/dev/hda1
splash=silent vga=788 nosmp
initrd
(hd0,0)/boot/initrd-2.6.19.1.img
Second
important notice :
Lin FBB is using CRC table designed for 32 bits CPU architecture.
Nowadays 64 bits CPUs are more common. Thus computed CRC will be
different.
If your Linux system has a 64 bits CPU, you need to disable FBB
compressed forwarding using parameter N1 in forward file like
illustrated in the following example :
A F6BVP
P A
N 1
C C F6BVP-1 2080175520
...
Lets now have a look at different FBB configuration files under Linux. This is a partial listing from FBB BBS showing the port description file : /usr/local/etc/ax25/fbb/port.sys
#Com
Interface Adress (Hex) Baud
1
9
*****
115200
2
9
189C 0
#TNC NbCh
Com MultCh Pacln Maxfr NbFwd MxBloc M/P-Fwd Mode Freq
0 0 0
0
0 0
0
0 00/01 ---- File-fwd.
1 20 1 rose0
250
2 6
10
15/10 XULWY Rose0
2
4 1 3
250 2 2
10 08/10 XULWY UHF
3 10 2
0
250 7 8
10 15/15 TUWY Telnet
4 4 1 netbbs
250
7 2
10
15/15 XULWY NetRom
#
MultCh represents pseudo TTY devices
created by kissattach. Devices names are declared in
/usr/local/etc/ax25/axports.
Unlike in the above example Multch names can be different from 1, 2,
3,... More clearly identified names like vhf-1, vhf-2, uhf, axudp, aprs, are encouraged. Remember, Multch device names must be
identical to the names declared in axports file, or be a zero for
Telnet device.
There is a TNC linked to AX25 port 3 defined in /etc/ax25/axports file.
Telnet port 189C is decimal 6300. Command is : telnet <hostname> 6300 to enter the BBS.
Pseudo netbbs will interface
the
BBS with NetRom.
Pseudo rose0 is the interface toward
and from ROSE network handled by FPAC packet switch application.
Remember to declare BBS telnet port
6300 in /etc/services as explained earlier.
By the way, dealing with 2.6 kernels, F6FBB's xfbbd source file needed to be updated in order to be compiled with recent compilers.
You can download the latest BBS
source file archive xd704
via FTP.
You may also download the archive xd704
via HTTP, for example
xd704r6.1-src.tar.bz2
There
is a version of FBB 7.04j prepared by DM3TT and including a
patch for PACTOR of PTC-II driver on channel 31.
This patch will be included into next FBB release.
Move the source package into /usr/local/src/ax25
cd /usr/local/src/ax25
Enter the following commands :
tar xf
xd704r6.1-src.tar.bz2
cd fbbsrc.704r6.1
cd src
make
make install
A second choice (obsolete and not recommanded) would be to
download already compiled FBB suite via http from xd704o-i386.tgz
or via FTP from xd704o_i386.tgz
Extract the files from archive tar xfP xd704o_i386.tgz
Note:
flag P is uppercase
Executable programs are installed into /usr/local/sbin, others files into /usr/local/etc/ax25/fbb, and /usr/local/var/ax25/fbb/ and into /usr/lib/fbb
To start BBS application, enter command fbb that will execute /usr/local/sbin/script. The first
time it will proceed to initialization of the necessary configuration
files asking a few questions and create /usr/local/etc/ax25/fbb.conf and /usr/local/etc/ax25/port.sys if they
did not exist yet. Next times it will start xfbbd the BBS daemon application.
To help you configuring FBB there is a BBS
keywords documentation provided by charlie K4GBB.
For local connexions, edit sysop
CALLSIGN
and PASSWORD
in file /etc/ax25/fbb/passwrd.sys
# Passwords
123456789
PASSWORD OF ALL NON DEFINED CALLSIGNS.
CALLSIGN 63 1023 PASSWORD
44.151.75.15 *
#
You can start a console FBB client manually with the command :
xfbbC -c -i CALLSIGN -w PASSWORD
However is is more convenient to
write a script to start a console FBB client :
#!/bin/sh
#
/usr/local/sbin/xfbbC -c -i CALLSIGN -w PASSWORD
#
Replace CALLSIGN and PASSWORD by
the corresponding names in /etc/ax25/fbb/passwrds
Lets call the following script file bbs and put it in
/usr/local/bin and
make it executable :
chmod +x bbs
Simple bbs command will now allow you the SYSOP to
enter your local BBS by running the FBB client xfbbC.
Dxnet system/dxnet.cfg file will look like :
set/node
+f8kgk-3 +f5mtz-3 +f5kbw-3 +f6cdd-3 +tu5ex-3 +kp4ig-5
set/call
f6bvp-2
set/sys +F6BVP
set/ssid +2
set/port 0 1 3 4 rose0
inet:9000 netclu
set/tz +2
The Dx cluster can be accessed via
either ax25 radio ports 0, 1, 3
and 4, via FPAC node port rose0, telnet port
9000 and NetRom port netclu.
If you want to provide FPAC users
access to DxSpider (callsign F6BVP-2) you
can use ax25d daemon.
Install DxSpider following
its documentation. Follow the examples for configuring telnet or radio
ports user access. Don't forget to change the file name of startup.issue and rename it startup after editing it according
to your needs, as it took me a long time since I found out why DxSPider
did not work properly for it did not find startup file but did not complain
about it !
The following will give the necessary instructions to interface FPAC with a NetRom net.
Example of /usr/local/etc/ax25/nrports file
#
/usr/local/etc/ax25/nrports
#
# The format of this file is:
# name
callsign alias paclen description
#
netnod F6BVP-10
BVPNOD 235 F6BVP FPAC node
netbbs F6BVP-1 BVPBBS
235
F6BVP BBS
netclu F6BVP-2 BVPDX
235 F6BVP Dx Cluster
#
This is the content of your
/usr/local/etc/ax25/ax25d.conf file
#
<netrom>
parameters
1 10 * * * * *
NOCALL * * * * * * L
default *
* * * * * * root /usr/sbin/fpacnode fpacnode -q
%S
#
Add the letter b after UDP port number of the
route description in /usr/local/etc/ax25ipd.conf
to allow broadcast of NetRom
routes.
This is how to configure
Internet acces to your FPAC
node using either a TELNET or SSH connection.
Note : this will not give users access to your Linux machine but only
give them access to FPAC node.
You can now check that your configuration is working by
making a local connection via telnet or ssh to your FPAC Linux :
# telnet localhost -l fpacuser
or
# ssh -l fpacuser
localhost
Net-tools includes some usefull programs. Among them, netstat is interesting for it can display a list of Linux sockets opened, kernel route table and network statistics.
In present net-tools (1.60) with debian patches (-23), netstat handles NetRom and AX.25 sockets, but does not provide any information about ROSE sockets used by FPAC.
From here ( http://f6bvp.free.fr/logiciels/netstat/
) can be downloaded a patch to make
netstat know about ROSE sockets.
Also download those three patches : hostname,
inet,
x25.
Download and move all six above files into /usr/local/src/
cd /usr/local/src/
Unpack net-tools original source package :
Unpack debian patch :
Patch net-tools package :
Rename directory :
Apply remaining four patches :
cd net-tools-1.60-23
[root@f6bvp-9 net-tools-1.60-23]# netstat --ax25 --netrom --rose
Active AX.25 sockets
Dest Source Device State Vr/Vs Send-Q Recv-Q
F6BVP-12 F6BVP-14 ax2 ESTABLISHED 006/003 0 0
F6BVP-11 F6BVP-9 ax2 ESTABLISHED 003/000 0 0
* F6BVP-1 ax2 LISTENING 000/000 0 0
* F6BVP-1 ax1 LISTENING 000/000 0 0
* F6BVP-1 ax0 LISTENING 000/000 0 0
* F6BVP-15* ??? LISTENING 000/000 0 0
* F6BVP-15 ??? LISTENING 000/000 0 0
* F6BVP-8 ??? LISTENING 000/000 0 0
* F6BVP-8* ??? LISTENING 000/000 0 0
* F6BVP-9* ??? LISTENING 000/000 0 0
Active NET/ROM sockets
User Dest Source Device State Vr/Vs Send-Q Recv-Q
* * F6BVP-0 nr1 LISTENING 000/000 0 0
Active ROSE sockets
dest_addr dest_call src_addr src_call dev lci neigh state
2080175521 ROUTE-0 2080175520 F6BVP-9 rose0 0 0 LISTENING
2080175520 F6BVP-0 2080175520 F6BVP-15 rose0 0 1 LISTENING
* * 2080175520 F6BVP-1 rose0 0 0 LISTENING
2080428501 F4BWT-10 2080175520 F6BVP-0 rose0 0 0 LISTENING
* * 2080175520 ROUTE-0 rose0 0 0 LISTENING
* * 2080175520 F6BVP-15 rose0 0 0 LISTENING
2080175520 FPAD-0 2080175520 WP-0 rose0 0 0 LISTENING
* * 2080175520 WP-0 rose0 0 0 LISTENING
2080175520 WP-0 2080175520 FPAD-0 rose0 1 1 ESTABLISHED
* * 2080175520 ??????-? rose0 0 0 LISTENING
[root@f6bvp-11 bernard]# netstat --rose -r
Table de routage ROSE du noyau
Destination neigh1 callsign device neigh2 callsign device neigh3 callsign device
2080175502 00001 RSLOOP-0 ???
2080175522 00016 F6BVP-5 ax0
2080175521 00015 F6BVP-7 ax0
2080175520 00014 F6BVP-9 ax0
2080854509 00012 F8COJ-11 ax0
2080444501 00013 F3KT-11 ax0
2080833501 00008 F5KBW-9 ax0
2080847501 00011 F6GGY-9 ax0
2080428501 00010 F4BWT-11 ax0
2080886801 00009 F1MVP-5 ax0
3100352726 00007 K4GBB-9 ax0
3100727489 00006 KD4YAL-9 ax0
3100813626 00005 KP4DJT-9 ax0
5050699300 00004 VK2XB-2 ax0
5050656200 00003 VK2TV-2 ax0
7120282700 00002 TI2HAS-9 ax0
2080833500 00008 F5KBW-9 ax0
2080444000 00013 F3KT-11 ax0 00011 F6GGY-9 ax0 00009 F1MVP-5 ax0
2080847000 00011 F6GGY-9 ax0 00010 F4BWT-11 ax0
2080428000 00010 F4BWT-11 ax0
3100772000 00006 KD4YAL-9 ax0 00007 K4GBB-9 ax0 00003 VK2TV-2 ax0
2080100000 00014 F6BVP-9 ax0 00015 F6BVP-7 ax0
2080700000 00008 F5KBW-9 ax0
2080800000 00012 F8COJ-11 ax0 00008 F5KBW-9 ax0
2080900000 00008 F5KBW-9 ax0
2080000000 00008 F5KBW-9 ax0 00013 F3KT-11 ax0 00010 F4BWT-11 ax0
3100000000 00006 KD4YAL-9 ax0 00007 K4GBB-9 ax0 00005 KP4DJT-9 ax0
5050000000 00003 VK2TV-2 ax0 00004 VK2XB-2 ax0 00006 KD4YAL-9 ax0
7120000000 00002 TI2HAS-9 ax0 00007 K4GBB-9 ax0 00006 KD4YAL-9 ax0
7100000000 00002 TI2HAS-9 ax0 00007 K4GBB-9 ax0 00006 KD4YAL-9 ax0
There are many other documents that relate to Linux networking in a general way. I strongly recommend you also read them. They will assist your efforts and provide a stronger insight into other possible configurations.
They are:
and:
More general Linux information may be found in other Linux HOWTO documents.
Remember that FPAC is a network switch. You must be able to connected to at least one other FPAC node. The more adjacent nodes you are linked to the better your network will perform.
Stations already running an FPAC node is a good place to get help.
Reading messages from FPAC News list is a must.. To see the collection of prior postings to the list, visit the fpac Archives.
Subscribe to the FPAC list by going to this page.
Global help about Linux and Ham
radio can be requested via the Linux Ham list. First check the
Linux-hams archive. or
the actual Linux-ham list.
Linux-Hams is a mailing list for the discussion of the Linux
operating system, and it's use in Amateur Radio. Anyone with an
interest in both subjects is encouraged to subscribe. The discussion
is mostly concentrated on the use and development of the AX.25 code
in the Linux kernel. If you would like to subscribe to the Linux-hams
mailing list and receive these messages in your own mailbox, send a
message to majordomo@vger.kernel.org,
placing the line
subscribe linux-hams
in
the body of the message.
Other useful links are :
Florida Amateur Digital Communication Association
Readers interested in ROSE
protocol may start with those readings :
- User
Guide to ROSE X.25 Packet Networking, Donald A. Rotolo, N2IRZ.
- RATS Open
Systems Environment (ROSE)
The most recent version of this FPAC
MINI HOWTO may be
found here : http://rose.fpac.free.fr/MINI-HOWTO/
I would appreciate any error report or remarks about this documentation. Please contact Bernard F6BVP at the address mentioned in the title.
Happy networking !