Peter Grace wrote:
> Tomi and Bob-
> Thanks for your help with this.
> I have ax25ipd running now.
Peter it's running but it's not doing anything. /dev/ttyS0 is your serial
port where I'm guessing your TNC is connected. It looks like both your axip's
and your radio's interfaces are not working correctly.
make these symbolic links
ln -sf /dev/ttyS0 /dev/radio
ln -sf /dev/ptyp0 /dev/axip
ln -sf /dev/ttyp0 /dev/axipd
Make your /etc/axports file look like this...
radio KB1CVH 9600 512 2 ax25 on an unknown frequency
axip KB1CVH-1 9600 512 2 axip link
# attach the devices Ya got two, the radio and the axip
/usr/sbin/kissattach -i 44.56.20.25 -m 512 /dev/radio radio
/usr/sbin/kissattach -i 44.56.20.25 -m 512 /dev/axip axip
I have a redhat6 host too and when I do a kissattach the interface is given a
netmask of 255.0.0.0 and an net route to match. If you want to send all IP
traffic with an address from 44.56.20.0 thru 44.56.29.255 out the radio on
ttyS0 all you need to is enter the command...
ifconfig ax0 netmask 255.255.255.0
and the route will change for you.
If you want to control these things yourself set the netmask to
255.255.255.255 and add the route manually. You won't want a route on the
axip interface so set the netmask to 255.255.255.255.
# configure the interface
ifconfig ax0 netmask 255.255.255.255
ifconfig ax1 netmask 255.255.255.255
route add -net 44.56.20.0 netmask 255.255.255.0 ax0
This is all you need in your ax25ipd.conf file if you use tnc mode. Well, you
need more routes but... ;-)
socket ip
mode tnc
device /dev/axipd
route ko6ri-* 44.2.1.2
# start the application
/usr/sbin/ax25ipd
Bob