Operating Systems » UNIX (Linux All Variants)

ID #1003

How to reset back to KPC 3 KISS mode via RMS Gate


I dont know why removing my KPC 3 from power during maintenance causes so many issues. I have a hot battery inside to retain the eprom setting but no matter if I take the main power away it seems to fall out of kiss mode. Any way here are the steps to get it back on line.
(J7 shorted with applied power performs a hard reset and puts the TNC back to factory settings)

1) Shut down AX25
2) Shut down FPAC / FBB
3) Start up minicom check the TNC's status (set minicom baud to 9600 8-1-N to talk to it)
4) Set INTFACE to KISS
5) Run script below
6) Reset
7) Power cycle
8) Restart services 1 & 2 above


./kiss on /dev/ttyS0 9600

kiss (script):

#!/bin/bash
SPEED=$3
DEVICE=$2
OFFON=$1

case $1 in
on|ON) #Kiss-on
echo Setting baud rate of $DEVICE to $SPEED ...
stty -F $DEVICE $SPEED
echo Setting Kiss $1
/bin/echo -e "KISS $0B\r" > $DEVICE
exit 0
;;
off|OFF) #Kiss-off
echo Setting baud of $DEVICE to $SPEED
stty -F $DEVICE $SPEED
echo Setting Kiss $1
/bin/echo -e "\300\377\300\300" > $DEVICE
exit 0
;;
*)
echo Useage: [On Off] Device Speed
exit 1
;;
esac


How this help people, if nothing else it gives me a simple reference to my steps taken.
73's
Marcus

Tags: -

Related entries:

Last update: 2011-05-06 06:54
Author: Marcus Martinez
Revision: 1.0

Digg it! Share on Facebook Print this record Send FAQ to a friend Show this as PDF file
Propose a translation for Propose a translation for
Please rate this FAQ:

Average rating: 5 (1 Vote)

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry