+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ # /etc/ax25/node.conf - LinuxNode configuration file
+ #
+ # see node.conf(5)
+
+ # Idle timeout (seconds).
+ #
+ IdleTimeout 1800
+
+ # Timeout when gatewaying (seconds).
+ #
+ ConnTimeout 40000
+
+ # Visible hostname. Will be shown at telnet login.
+ #
+ HostName gb7mbc.ampr.org
+
+ # ReConnect flag.
+ #
+ ReConnect off
+
+ # "Local" network.
+ #
+ #LocalNet 44.139.8.48/32
+
+ # Command aliases. See node.conf(5) for the meaning of the uppercase
+ # letters in the name of the alias.
+ #
+ ##Alias CAllbook 'telnet %{2:44.17.0.53} 1235 %1 s'
+ #Alias CONVers 'telnet %{2:oh2ti} 3600 "/n %u %{1:139}\n/w *"'
+ #Alias CLuster 'c hkiclh'
+ Alias CONV "telnet lurpac 3600"
+ Alias BBS "c 70cm gb7crv"
+ Alias DXC "telnet localhost 9000"
+ Alias MUD "telnet homer 4000"
+ ##Alias TEMP "finger temp@mary.g6phf"
+ ##Alias TNOS "c ip1 gb7mbc-5"
+ ##Alias TUtor "telnet gb7mbc 3599"
+
+ # Hidden ports.
+ #
+ #HiddenPorts 2
+
+ # External commands. See node.conf(5) for the meaning of the uppercase
+ # letters in the name of the extcmd.
+ #
+ # Flags: 1 Run command through pipe
+ # 2 Reconnected flag
+ #
+ #ExtCmd TPM 3 nobody /usr/bin/finger finger tpm
+ #ExtCmd ECho 1 nobody /bin/echo echo \%U \%u \%S \%s \%P \%p \%R \%r \%T \%t \%\% \%0 \%{1:foobar} \%{2} \%3 \%4 \%5
+
+ # Node ID.
+ #
+ NodeId "\nBARE:GB7MBC-1"
+ #NodeId \033[01;31m***\033[0m
+
+ # Netrom port name. This port is used for outgoing netrom connects.
+ #
+ NrPort netrom
+
+ # Logging level
+ #
+ LogLevel 3
+
+ # The escape character (CTRL-T)
+ #
+ EscapeChar ^T
+
+ # Resolve ip numbers to addresses?
+ #
+ ResolveAddrs off
+
+ # Node prompt.
+ #
+ #NodePrompt "\n"
+ #NodePrompt "%s@%h \%i> "
+ NodePrompt "\nBARE:GB7MBC-1 \%i > "
+ #NodePrompt "\a\033[36m%U\033[0m de \033[01;32m#LNODE\033[0m:\033[01;33mOH2BNS-10\033[0m> "
+
+
+
+
+
+ This should be fairly obvious I hope.
+
+
+ 3.10. Getting it all running
+
+ Ok, now we have all the relevant files configured, the next step is to
+ get it all running.
+
+
+ The first thing to do is attach the TNC's. Your TNC's should be in
+ KISS mode and connected to the serial ports involved.
+
+
+ You now use the 'kissattach' command to connect the TNC's to the
+ system like this ...
+
+
+
+ kissattach /dev/ttyS0 2m 44.131.96.199
+ kissattach /dev/ttyS1 4m 44.131.96.199
+
+
+
+
+
+ Assuming that 44.131.96.199 is your IP address. The devices ttyS0 and
+ ttyS1 are com1 and com2 respectively. Now we can set some parameters
+ ...
+
+
+
+ kissparms -p 2m -t 150 -l 150 -s 50 -r 50
+ kissparms -p 4m -t 150 -l 150 -s 50 -r 50
+
+
+
+
+
+ The command 'man kissparms' will give you the explanation of the
+ switches.
+
+
+ Now we need to attach the NET/ROM ports in the same way ...
+
+
+
+ nrattach netrom
+ nrattach netrom2
+
+ All of the above can be put in a file and called from
+ /etc/rc.d/rc.local. Put all the above commands in a file called
+ rc.ax25 and put a line in rc.local to call it.
+
+
+ Now you can start the daemons that set everything in motion ...
+
+
+
+ ax25d
+ netromd -i
+
+
+
+
+
+ All should now be running. All that remains is to get the node
+ working for telnet connections. If nothing else, this will allow you
+ to connect to the node yourself to check on connection status etc.
+ There are 2 files that need to be edited.
+
+
+ First edit /etc/services and add
+
+
+
+ node 3000/tcp #OH2BNS's Node Software
+
+
+
+
+
+ Assuming you want it to run on port 3000
+
+
+ Now cd /etc/xinetd.d and edit a new file called node. It should look
+ like this ...
+
+
+
+ # default: on
+ # unencrypted username/password pairs for authentication.
+ service node
+ {
+ socket_type = stream
+ wait = no
+ user = root
+ server = /usr/sbin/node
+ log_on_failure += USERID
+ disable = no
+ }
+
+
+
+
+
+ You now need to restart the xinetd daemon. First find out what the
+ PID is like so ..
+
+
+
+ ps auxw |grep xinetd
+
+
+
+
+ You will get a reply something like this ...
+
+
+
+ root 592 0.0 0.1 2256 620 ? S Feb07 0:00 xinetd -stayalive -reuse -pidfile /var/run/xinetd.pid
+
+
+
+
+
+ The PID or Process ID is 592 in this case so now we can issue the
+ command ...
+
+
+
+ kill -HUP 592
+
+
+
+
+
+ All should now be operational and you should be able to log into the
+ node by using a telnet session to the relevant port, like so ...
+
+
+
+ telnet localhost 3000
+
+
+
+
+
+ If that works, you are just about there. you should (assuming you
+ have radios connected to the TNC's) be able to connect out to other
+ stations and receive incoming ax25 and netrom connections.
+
+
+ 4. Configuration
+
+ 4.1. Allowing ax25 connects from users
+
+ This is dealt with in the previous section
+
+
+ 4.2. Allowing telnet connects from users
+
+
+ >From version 1.47 there is a new (more efficient) way of doing this