Set-up in LINUX.
The version for LINUX is almost identical to the DOS version. For Linux AX25_MAC is not needed, this function is embedded in the Linux kernel.
Instead '-p' options have to be used to specify which AX25 ports should be used. The possible ports are define in the /etc/ax25/axports file, see the AX25-HOWTO for details.
You have to compile the Linux version yourself. The makefile is setup for use with the old kernel tools for 2.0.36 kernels. For use with the new kernel-tools the Makefile has to be changed; remove the '#' on de "DEFS = -DNEW_AX25" definition.
Building DIGI_NED is as usual for Linux: "make depend" followed by "make". This results in an executable "digi_ned". This executable uses just like the DOS version a digi_ned.ini file, exact the same file as for DOS can be used. '\' characters in file-paths will be interpreted as '/' for Linux (and '/' will be interpreted as '\' in DOS...).
Port '1' is linked to the first port defined with the '-p' option, port '2' is linked to the second specification etc. Up to 8 ports can be uses. A start example:
./digi_ned -p 1k2 -p lfbb -v
In this example "1k2" will be port 1 and "lfbb" port 2. The '-v' option enables verbose output. DIGI_NED only works with kernel interfaces, using that you can connect almost everything, read the AX25-HOWTO how to do that.
Note that DIGI_NED has to run under 'root' privilege to be able to listen on a socket for incoming packets, just like 'listen', 'net2kiss' and other programs that listen for connectionless traffic on a socket.
To exit the program under LINUX signal SIGINT has to be send to the program. Normally this signal is generated by Ctrl-C, but it does not need to be so. For more information see the "stty" command. A simple shell script is provided to start DIGI_NED in background.