old-www/HOWTO/Netrom-Node-4.html

97 lines
2.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE>Netrom-Node mini-Howto: Setting Up Netrom</TITLE>
<LINK HREF="Netrom-Node-5.html" REL=next>
<LINK HREF="Netrom-Node-3.html" REL=previous>
<LINK HREF="Netrom-Node.html#toc4" REL=contents>
</HEAD>
<BODY>
<A HREF="Netrom-Node-5.html">Next</A>
<A HREF="Netrom-Node-3.html">Previous</A>
<A HREF="Netrom-Node.html#toc4">Contents</A>
<HR>
<H2><A NAME="s4">4. Setting Up Netrom</A></H2>
<P>Netrom has applications and files that control it's function
and to achieve the G8BPQ look and function we must use these in ways
never intended. Below is a list of these components of Netrom:
<P>
<UL>
<LI>nrattach Application</LI>
<LI>netromd Application</LI>
<LI>nrports Configuration File</LI>
<LI>nrbroadcast Configuration File</LI>
</UL>
Nrattach is the application that works with the kernel and
establishes the ports and tcp-ip used by Netrom. To use nrattach you
place it in your startup file and the example looks like this:
<P>
<BLOCKQUOTE><CODE>
<PRE>
/usr/sbin/nrattach -i 44.30.2.5 netrom
/usr/sbin/nrattach -i 44.30.2.5 netnod
</PRE>
</CODE></BLOCKQUOTE>
<P>Nrattach gets some of it's information from a configuration file
called nrports. This file is shown below:
<P>
<BLOCKQUOTE><CODE>
<PRE>
# /etc/ax25/nrports
#
# The format of this file is:
#
# name call-sign alias paclen description
#
netrom K5DI-1 #CRUCE 235 Switch
netnod K5DI-4 CRUCES 235 Real Node
</PRE>
</CODE></BLOCKQUOTE>
<P>There is no change to the nrbroadcast file so the remaining
changes will be made to the ax25d.conf file. In this file you
normally put the real netrom application called k5di-1, but since a
call to k5di-1 or #CRUCE gets undesirable results, leave that entry
out of ax25d.conf and a user will get just a "busy" when calling.
<P>Instead put in the netnod and that will allow ax25d to answer
a call to CRUCES. This is shown in the example below:
<P>
<BLOCKQUOTE><CODE>
<PRE>
# /etc/ax25/ax25d.conf
#
# AX25D Configuration File.
#
# AX.25 ports begin with a '['.
#
[CRUCES VIA ax0]
default * * * * * 0 - root /usr/sbin/node node
[k5di-4 VIA ax0]
default * * * * * 0 - root /usr/sbin/node node
[CRUCES VIA ax1]
default * * * * * 0 - root /usr/sbin/node node
[k5di-4 VIA ax1]
default * * * * * 0 - root /usr/sbin/node node
#
# NET/ROM ports begin with a '&lt;'.
#
&lt;netnod>
default * * * * * * - root /usr/sbin/node node
#
</PRE>
</CODE></BLOCKQUOTE>
<P>With these changes netrom node broadcasts will include the
node K5DI-4:CRUCES and K5DI-1:#CRUCE. By testing it was determined
that a call from any node to k5di-1 or #CRUCE got a busy, and a call
to k5di-4 or CRUCES connected to the node on this system.
<P>
<HR>
<A HREF="Netrom-Node-5.html">Next</A>
<A HREF="Netrom-Node-3.html">Previous</A>
<A HREF="Netrom-Node.html#toc4">Contents</A>
</BODY>
</HTML>