From: Bernard Pidoux (fyirlbnf.srwfcgigeg@ekstrom.fi)
Date: Sat Feb 14 2004 - 14:40:01 EET
Hi,
With kernel 2.6 there are some differences for initializing a multi
serial kiss connexion using a dual port TNC.
This is part of my rc.ax25 script for two KPC9612 tncs I am using.
Hope it will help starting with 2.6
73 de Bernard, f6bvp
#!/bin/sh
# /etc/rc.d/rc.ax25
# script for initializing ax25 multi kiss connexions
# on two KPC9612 dual ports
# to be used with kernel 2.6
# igave.txuiqljnbn@tayloru.edu
echo "Attaching kiss serial ports ax0, ax1, ax2, ax3"
# radio ports ax0 ax1 ax2 ax3 are declared in /etc/axports
# serial port 1 at 38400 bauds connected to KPC9612 #2
/usr/local/sbin/mkiss -s 38400 -l /dev/tts/1 /dev/pty/m3 /dev/pty/m4
# PORT #1 KPC9612 = 1200 ---> ax0
/usr/local/sbin/kissattach -m 256 /dev/pty/s3 ax0 44.151.75.15
# PORT #2 KPC9612 = 9600 ---> ax1
/usr/local/sbin/kissattach -m 256 /dev/pty/s4 ax1 44.151.75.15
# serial port 0 at 38400 bauds connected to KPC9612 #1
/usr/local/sbin/mkiss -s 38400 -l /dev/tts/0 /dev/pty/m1 /dev/pty/m2
# PORT #1 KPC9612 = 1200 ---> ax2
/usr/local/sbin/kissattach -m 256 /dev/pty/s1 ax2 44.151.75.15
# PORT #2 KPC9612 = 9600 ---> ax3
/usr/local/sbin/kissattach -m 256 /dev/pty/s2 ax3 44.151.75.15
#
-
To unsubscribe from this list: send the line "unsubscribe linux-hams" in
the body of a message to vvwrqec.pclgidjvg@safenz.net.nz
More majordomo info at http://vger.kernel.org/majordomo-info.html
This archive was generated by hypermail 2b30 : Sat Feb 14 2004 - 13:40:38 EET