All of lore.kernel.org
 help / color / mirror / Atom feed
* unconnected mode operation
@ 2005-10-16  2:50 David Rivenburg
  0 siblings, 0 replies; only message in thread
From: David Rivenburg @ 2005-10-16  2:50 UTC (permalink / raw)
  To: linux-hams

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-10-16  2:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-16  2:50 unconnected mode operation David Rivenburg

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.