Re: PI on packet radio - need script help


Edit (your favorite text editor) a file named packet

Write into it

MiniCom -b 1200 -o -D /dev/ttyAMA0

Save it.

Make it executable by typing

sudo chmod +x packet

Execute it



You can also do this without an editor

echo "MiniCom -b 1200 -o -D /dev/ttyAMA0" > packet

chmod +x packet


If you move it to something on your path you can execute it as packet from anywhere rather than ./packet from the directory where you created it.

You can find your path by

echo $PATH

Then if you see something like /usr/local/bin

cp packet /usr/local/bin

Et voila!

On Nov 17, 2012, at 5:55 AM, "kc2eq" <> wrote:

MiniCom -b 1200 -o -D /dev/ttyAMA0

Join to automatically receive all group messages.