From: Arno Verhoeven (ELN) (yxwasjih.eovz@mail.dy.fi)
Date: Mon May 21 2001 - 18:37:13 EEST
Joop Stakenborg wrote:
>
> Just wondering...
>
> In order to do some tests with AX.25 without using a live connection,
> would it be possible to make a dummy AX.25 interface and actually
> use programs like listen and node with it?
Joop,
Is this what you need?
---- start: part of my rc.ham script------
echo -n "Setting up pseudo interfaces... "
SC=`/sbin/lsmod | grep mkiss | wc -c` # check if module is already loaded
if [ ! "$SC" -gt "0" ]; then # if not, then load module...
echo -n "Loading kernel module: mkiss... "
/sbin/modprobe mkiss
fi
kissattach /dev/ptypf loop1 ${IPADDR}
/sbin/route del -net 44.0.0.0 netmask 255.0.0.0 ax0
echo 5 > /proc/sys/net/ax25/ax0/standard_window_size # AX.25 MAXFRAME op 5 zetten...
kissattach /dev/ptype loop2 ${IPADDR}
/sbin/route del -net 44.0.0.0 netmask 255.0.0.0 ax1
echo 5 > /proc/sys/net/ax25/ax1/standard_window_size # AX.25 MAXFRAME op 5 zetten...
mkiss /dev/ttypf /dev/ttype &
echo "done"
---- end: part of my rc.ham script------
---- start: axports------
#/etc/ax25/axports
#
#name call speed paclen window description
axip0 PI8ZAA-14 - 255 7 AX.25-IP tunnel
loop1 L0OP-1 - 255 7 pseudo tty link naar FBB BBS
loop2 L0OP-2 - 255 7 pseudo tty link naar FBB BBS
ether PI8ZAA-13 - 255 7 ETHERNET LINK
lap48 PE1ICQ-1 - 255 7 144.850 MHz 1200 bps
lap768 PI8ZAA-2 - 512 7 76k8
---- end: axports------
-- 73, Arno pe1icq http://sharon.pi8zaa.ampr.org - To unsubscribe from this list: send the line "unsubscribe linux-hams" in the body of a message to saw@mts.cl
This archive was generated by hypermail 2b30 : Mon May 21 2001 - 18:39:05 EEST