Re: TNC's and Linux

From: Ricardo Volkweis LOPES (ssts@nebi.com)
Date: Fri Jun 01 2001 - 19:50:36 EEST

  • Next message: Ted Gervais: "Re: TNC's and Linux"

    Hello Ted,

    I am send command to TNC2 with scripts from bash like this:

    Script to "kiss off" on COM1, serial baud 19200, this works with tiny2
    and TheFirmware.
    -----------------------------------------
    #! /bin/bash
    stty 19200 < /dev/ttyS0
    echo -e "\r\xC0\xFF\r" > /dev/ttyS0
    sleep 2
    -----------------------------------------

    tiny2 "kiss on"
    -----------------------------------------
    #! /bin/bash
    stty 19200 < /dev/ttyS0
    echo -e "kiss on\rrestart\r" > /dev/ttyS0
    sleep 2
    exit
    -----------------------------------------

    TheFirmware "kiss on"
    -----------------------------------------
    #! /bin/bash
    stty 19200 < /dev/ttyS0
    echo -e "\r\033@K1\r" > /dev/ttyS0
    sleep 2
    -----------------------------------------

    I have this lines in to scripts I use to load ax25.

    If your TNC is a AEA PK-88, I think the script it is a same to
    TNC2/TINY.

    The minicom terminal is good to put on kiss mode but not to back to cmd:
    mode.
    I hope can be useful for you.

    73 de Ricardo PY3VHQ

    Ted Gervais wrote:
    >
    > What are the commands to talk to a TNC so I can take it out of
    > kiss and return it to kiss.
    >
    > I have always used Tnos with its 'tip' program to do this for me.
    > But I thought - there should be a way to do it from a 'command line'.
    > Or is that possible.???
    >
    > ---
    > The mosquito is the state bird of New Jersey.
    > -- Andy Warhol
    >
    > Ted Gervais <cwi@mikrovisata.net>
    > 44.135.34.201 linux.ve1drg.ampr.org
    >
    > -
    > To unsubscribe from this list: send the line "unsubscribe linux-hams" in
    > the body of a message to imth.pyfavb@trecc.org

    -
    To unsubscribe from this list: send the line "unsubscribe linux-hams" in
    the body of a message to yhib.uqmdmszpl@digitalcraftsmen.net



    This archive was generated by hypermail 2b30 : Fri Jun 01 2001 - 19:53:35 EEST