All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Rivenburg <driven@onr.com>
To: linux-hams@vger.kernel.org
Subject: unconnected mode operation
Date: Sat, 15 Oct 2005 21:50:07 -0500	[thread overview]
Message-ID: <4351BFDF.7070106@onr.com> (raw)

Hello All, Dave AD5OO here.
Old to linux, new to ham, really new to linux-hams.

My initial searches have not turned up any software that will let you 
use an ax25 port to do interactive unconnected mode operation like you 
are able to do when talking directly to a hardware tnc.  So I wrote a 
short script that uses the already available tools to implement a crude 
unconnected mode tnc which is permanently in converse mode.  Since there 
is no flow control, incoming packets can disrupt something you may be 
typing.  As usual, ctrl-r will re-type the input and allow you to 
continue from there.  Ctrl-d will close the input and kill the listen 
command.  Ctrl-c will exit immediately and leave listen running.

Enjoy!



#!/bin/bash

# your ax25 port and unproto go here
PORT=ax0
UNPROTO="cq via relay-1 relay-2"

listen -r -p $PORT &

while [ 0 ]; do
   read INPUT
   if [ $? == 1 ]; then break; fi
   beacon -d "$UNPROTO" -s $PORT "$INPUT"
done

kill %1 # to stop the listen

                 reply	other threads:[~2005-10-16  2:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4351BFDF.7070106@onr.com \
    --to=driven@onr.com \
    --cc=linux-hams@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.