Linux-Hams archive - March 1998: netrom and tcp/ip

netrom and tcp/ip

Dale Seaburg (awzfpcwi@metconnect.net)
Sun, 01 Mar 1998 19:56:16 -0600


I'm playing with setting up a netrom node. I've had it working for
several weeks, OK, in a test situation - on a dummy load in the shack.

I now want to be able to ftp to the node. I gave the node an ip address
and using some suggested ifconfig and route commands attempted to "add"
tcp/ip to the ax0 port that kissattach gave for netrom. Here is the
problem:

1. tcp/ip works, in that I can now ftp to the node.

2. netrom now fails to allow connections. It goes "deaf".

Question, what would be a good rc.ax25 script (and configuration files
in /etc/ax25) to allow both ax25 netrom access to the node and ftp
(tcp/ip) access to the same node? We are primarily interested in ax25
netrom use of this node, but I need to be able to ftp from time to time
for servicing the node without having to visit the node site.

I have followed Terry's AX25-HOWTO's both sections 7 and 9. It looked
like my latest attempt using section 9 "Configuring a NetRom interface
for TCP/IP" was going to work. First attempt to add the ifconfig/route
caused the node to be *busy*. Then I rebooted the node and sandwiched
in the ifconfig & route commands right after the nrattach as per his
example, but before the netromd, and the first time I connected to the
netrom node, it worked.

But, then it went *deaf* as soon as I brought up linux on my client side
(I had been in DOS using BPQ and PAC4 for the initial node connect
testing) and attempted to connect to the node, just before trying an ftp
session to the node.

If any of this sounds familiar, please share your wisdom. I'm really at
a loss here. Any help would be appreciated. The following is my
rc.ax25 script file on the node:

#!/bin/sh
# /etc/rc.d/rc.ax25
# AX.25 stuff here

echo "Starting AX.25..."
/usr/sbin/kissattach /dev/ttyS0 1
/usr/sbin/kissparms -p 1 -t 300 -s 100 -r 64
/usr/sbin/nrattach netrom
# Add tcp/ip to netrom
#/sbin/ifconfig nr0 44.28.0.110 netmask 255.255.255.0 hw netrom K5BWD-2
#/sbin/route add 44.28.0.110 nr0
# Continue with netrom daemon start
/usr/sbin/netromd -i
/usr/sbin/ax25d
echo "Starting aprsdigi..."
/usr/sbin/aprsdigi.sh &
echo "End of rc.ax25..."

Thanks for your help.
73 - Dale. KG5LT
pkuear@hide-153.nhs.uk