[Xastir] kiss off command to restore your tnc back to command mode
David Ranch
xastir at trinnet.net
Fri Oct 19 08:15:11 PDT 2018
Hello Jaye,
Have you read:
https://xastir.org/index.php/Serial_KISS_TNC
and
http://xastir.org/index.php/XASTIR_Manual#TNC_interface
Per the first URL, it seems like doing a KISS off within Xastir might
not be (natively) available. I also see conflicting details say in the
various shutdown scripts in /usr/share/xastir/config/ or
/usr/local/share/xastir/config file using the META command but it's not
clear if it can work. You do have a few options:
1. You *don't* have to run the TNC in KISS mode if you don't want to
so the TNC is always in COMMAND mode.
2. If you still want to run your TNC in KISS mode when Xastir is
running, you need to send the KISS exit command which is intentionally
complicated but it's essentially sending the ASCII string (without the
commas):
192,255,192
I have examples of how to do this here:
KPC3 Perl script:
http://www.trinityos.com/HAM/CentosDigitalModes/usr/local/bin/
D710 binary:
http://www.trinityos.com/HAM/CentosDigitalModes/usr/local/sbin/
sources:
http://www.trinityos.com/HAM/CentosDigitalModes/usr/src/misc/D710/tmd710_tncsetup.c
If it's not possible to sent that KISS off string via the Xastir
shutdown script, consider starting Xastir with a wrapping script. In
that script, just do:
start xasitr
when xastir exits, run a modified shutdown tool from above that's
modified for your needs
exit
--David
KI6ZHD
On 10/18/2018 09:26 PM, MJ Inabnit wrote:
> Learned a lot over the last two evenings. First, I am adding this
> attachment so other newbies might find far less pain getting their
> Kantronics TNC's back into command mode following a kiss session WITHOUT
> HARD RESET! I hope I added enough help for folks to understand how to
> use it.
>
> However, I need help.
>
> I would like to use xastir to add a new SERIAL TNC and not a kiss tnc.
> I can modify the start up file and exit file. What I need help with is
> HOW to get the kiss off command into that text file so xastir will leave
> my tnc back in command mode.
>
> xastir default files in debian/ubuntu/mint are:
> tnc-start.sys and tnc-stop.sys in /usr/share/xastir/config/
>
> Is there anyone with working files that would be willing to share this
> secret?
>
> Thank you, 73
> j
More information about the Xastir
mailing list