Showing posts with label Soundmodem. Show all posts
Showing posts with label Soundmodem. Show all posts

Saturday, October 11, 2014

Setting up my 30m APRS on HF using Quisk SDR, Soundmodem and Xastir on Linux.

Setting up my 30m APRS on HF using Quisk SDR, Soundmodem and Xastir on Linux.


Here is how I conferred my HF APRS gateway from a HF SDR. (30m Softrock SDR)

30m APRS hardware

1) Install QUISK  (SDR software) on on Linux.

2) Install Alsa loop. (loopback sound driver)
3) Install Soundmodem.  (AFSK Modem)
4) Install Xastir. ( APRS IGate and map viewer)




So lets begin.

1) Install QUISK  (SDR software) on on Linux.

The Quisk instillation need Python so you will have to install the following first.
Install the following packages.
sudo apt-get install python2.7, python2.7-dev, python-wxgtk2.8, fftw3-dev, libasound2-dev, and portaudio19-dev.

goto your Downloads directory. ( or you favorite directory)

cd Downloads
Download the Quisk application from if you want the latest version at http://james.ahlstrom.name/quisk/docs.html (quisk-3.4.4.tar.gz tar -xvf and then run quisk.py you need python ass seen above) or you could run the command  sudo apt-get install quisk


Here is the instructions if you get the latest version

 sudo apt-get install quisk
wget http://james.ahlstrom.name/quisk/quisk-3.6.18.tar.gz
unzip the quisk source code
tar -xvf quisk-3.6.18.tar.gz
there should now be a directory quisk-3.6.10
goto quisk-3.6.10 directory
cd quisk-3.6.10
Compile the quisk application
sudo make
sudo make install
you now need to create a configuration file for quisk to see your Softrock lite II sdr sound input IQ signal.
Create a text file with you favorite text editor and copy the text below and save it as 30m_aprs_quisk_conf_sdriq.py


#*****************************************************

# These are the configuration parameters for Quisk using the
# SDR-IQ by RfSpace as the capture device.

# Please do not change this sample file.

# Instead copy it to your own .quisk_conf.py and make changes there.
# See quisk_conf_defaults.py for more information.

from sdriqpkg import quisk_hardware             # Use different hardware file


# In ALSA, soundcards have these names:

#name_of_sound_play = "hw:0"
#name_of_sound_play = "hw:1"
#name_of_sound_play = "plughw"
#name_of_sound_play = "plughw:1"
#name_of_sound_play = "default"

use_sdriq = 1                                   # Use the SDR-IQ

sdriq_name = "pcm.sdrXonarD1Record12"
sdriq_clock = 66666667.0                # actual sample rate (66666667 nominal)
sdriq_decimation = 1250                 # Must be 360, 500, 600, or 1250
sample_rate = int(float(sdriq_clock) / sdriq_decimation + 0.5)  # Don't change this
name_of_sound_capt = ""                 # We do not capture from the soundcard
name_of_sound_play = "hw:0"             # Play back on this soundcard need s to be loopback device
playback_rate = 48000                   # Radio sound play rate
channel_i = 0                                   # Soundcard index of left channel
channel_q = 1                                   # Soundcard index of right channel

display_fraction = 0.85                 # The edges of the full bandwidth are not valid
#***************************************************************

Then save the file.
We now need to setup the ALSA sound system to map the alsa audio coming into the server to a friendly name "pcm.sdrXonarD1Record12" see above config file.
Run the command sudo arecord -l it will list all the ALSA audio input devices.

 sudo arecord -l
**** List of CAPTURE Hardware Devices ****
xcb_connection_has_error() returned true
Home directory /home/anton not ours.
card 0: D1 [Xonar D1], device 0: Multichannel [Multichannel]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: VT1708S Analog [VT1708S Analog]
  Subdevices: 2/2
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
card 2: D1_1 [Xonar D1], device 0: Multichannel [Multichannel]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 3: M44 [M Audio Delta 44], device 0: ICE1712 multi [ICE1712 multi]
  Subdevices: 0/1
  Subdevice #0: subdevice #0


Please note I have multiple sound cards in my Linux server so you might not have as many interfaces listed as mine above.

Identify the your sound card in the list.

in my case it is :card 3: M44 [M Audio Delta 44], device 0: ICE1712 multi [ICE1712 multi]
You now need to configure the ALSA system to map the name of quisk to this card and you do it in the ALSA config file in your user home directory. (in my case it is /home/anton)

cd  to go to your home directory

pwd To list your home directory

/home/anton
edit the following ALSA audio mapping file with you favorite text editor .asoundrc  (note the dot in front of the name it means its hidden) I use VI as an editor


 vi .asoundrc

Add the following and change the names relevant your sound card name (RED)

#************************** pcm definition ************************************
pcm.sdrM44_card {# defining the card to be used
     type hw
     card M44 # this has to be done to force reboot to point to same cards
}

#************************* controller section ***********************************
ctl.sdrM44_card {#defining the control interface
     type hw
     card M44 # this has to the same as above

     }
#****************************** recording ***********************************
pcm.sdrM44Record12 { # input input 1 and 2
     type plug
     slave {
     pcm "dsnooper_M44"
     channels 4
     }
         ttable.0.0 1
         ttable.1.1 1
}



Run the quisk with your costume configuration  with the full path to the configfile

sudo quisk -c /home/anton/Downloads/quisk-3.6.10/quisk_conf_softrock_iq.py






Now we need to setup the ALSA loop back audio interface for Quisk to send the USB demodulated audio to Xastir or Fldigi or what ever modem device you are using.

2) Install ALSA loop. (Loopback sound driver)



To check if it is already installed in the ALSA device driver.
run the command sudo arecoed -l 

If you see the loopback devise skip this section below and go section 3

Compiling snd-aloop if needed

Update: it may not be needed any longer as of kernel 2.6.38 ...

It may well be that the ALSA Loopback kernel module was not included in your distribution's kernel package (it is the case in e.g. debian, as far as I know). This is no bother as we can easily compile it. Note that there is no way around since the loopback ALSA module is not part of the kernel baseline in general. So unless your kernel packager had done the following work, you will have to do it yourself ...
Warning: I tried alsa-driver 1.0.21 against 2.6.33.5-rt22 and while it compiled fine, it would not load at all, even when forced. So don't waste your time with this version combo.
Make sure you really don't have it installed. Better check that not :)
sudo modinfo snd-aloop
If modinfo reports nada, time to check that you have installed the kernel headers corresponding to your presently running kernel. I'll leave this to you as this is very distro dependent. In debian based distros, the package is called something like linux-headers-xxx and must match the installed kernel (package linux-image-xxx).
Time to make a backup of the installed kernel modules. Example:

cd
mkdir backup
cd backup
cp -a /lib/modules/`uname -r`/kernel/sound .


Prerequisite: you of course need a compiler and other tools. In debian based distros, you can check that you have a package called build-essential installed:
dpkg -l build-essential
If not, just get it:
sudo apt-get install build-essential

Now grab the alsa-driver source code (same version as your installed ALSA, in my case 1.0.23 which I will use in my description) from the The ALSA website, uncompress, untar it and cd to the alsa-driver top dir. Here is a command summary

cd
mkdir source
cd source
wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.23.tar.bz2
tar jxvf alsa-driver-1.0.23.tar.bz2
cd alsa-driver-1.0.23


Now you have to configure the source package for compilation. To help you, look at what ALSA modules are currently loaded:
cat /proc/asound/modules

make
sudo make install

It will normally install all the compiled modules into the correct location of your kernel installation. Now check that the kernel knows about the loopback module:

~$ sudo modinfo snd-aloop
filename: /lib/modules/2.6.32/kernel/sound/drivers/snd-aloop.ko
license: GPL
description: A loopback soundcard
author: Jaroslav Kysela <perex@perex.cz>
srcversion: B85A5847D027749DCF96195
depends: snd-pcm,snd
vermagic: 2.6.32 SMP preempt mod_unload modversions CORE2
parm: index:Index value for loopback soundcard. (array of int)
parm: id:ID string for loopback soundcard. (array of charp)
parm: enable:Enable this loopback soundcard. (array of bool)
parm: pcm_substreams:PCM substreams # (1-8) for loopback driver. (array of int)


Now lets load it. But before that, shut down all audio apps (including firefox). Once done, do this:
sudo modprobe snd-whatever-module-you-need
sudo modprobe snd-aloop
sudo alsa force-unload



Now, see if it works: ~$ lsmod | grep aloop snd_aloop 4732 0
snd_pcm 57065 6 snd_aloop,snd_hdsp
snd 40404 18 snd_aloop,snd_hdsp,snd_pcm,snd_hwdep,snd_rawmidi,snd_seq,snd_timer,snd_seq_device

If all was ok then add snd-aloop in /etc/modules. (If you wish, you can give the loopback soundcard another name than "Loopback" in a modprobe option but I kept the default throughout the entire HOWTO and there is no need to change it.)
In case anything went wrong and you wish to go back to your previous ALSA installation, no problem:


sudo rm /lib/modules/`uname -r`/kernel/sound sudo cp -a ~/backup/sound /lib/modules/`uname -r`/kernel/ sudo alsa force-reload

there should be two new ALSA devicess 


This virtual sound card consists of 2 devices:
hw:Loopback,0
hw:Loopback,1
to see if the loop back connector is active run the command aplay -l or arecord -l


sudo arecord -l

**** List of CAPTURE Hardware Devices ****
xcb_connection_has_error() returned true
Home directory /home/anton not ours.

card 4: Loopback [Loopback], device 0: Loopback PCM [Loopback PCM]

  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
card 4: Loopback [Loopback], device 1: Loopback PCM [Loopback PCM]
  Subdevices: 7/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7

if you did see the above loopback then you are ok and we can just add the loopback configuration to the 30m_aprs_quisk_conf_sdriq.py file as above.

edit the file 30m_aprs_quisk_conf_sdriq.py
and make shore the it has the following.
name_of_sound_play = "hw:0"             # Play back on this soundcard need s to be loopback device
select the configeration button on quisk to see if the loopback is working fine.


Now we can configure Soundmodem and Xastir to decode our HF APRS....

3) Install Soundmodem. (AFSK Modem)

Instillation of soundmodem
sudo apt-get install soundmodem

We now need to configure the soundmodem and this can easily be done with guide.
sudo soundmodemconfig


Set up the ALSA audio driver and point it to the loopback interface we have configured above " plughw:Loopback,1,0"


Create a new channel by write clicking on the previous configuration that was created and selecting new channel.

Select KISS and then enter the serial device file /dev/soundmodem0

Select Modulator and set the bits 300 board  and Frequencies to 900Hz , 1.1 Khz and enable Differential Encoding.

Select Demodeluator and set the bits 300 board  and Frequencies to 900Hz , 1.1 Khz and enable Differential Encoding.

Now to test your configuration.
Select the diagnose menu and then the spectrum option and then tune the APRS frequency on the Quisk SDR so that the AFSK tones is in the center of pass band section in the spectrum display below. (Center frequency is 1Khz) You can also then check if you Radio audio frequency is flat. (Both peeks is the same high)


Move your mouse cursor over display to find frequency of display. ( wait for APRS message to be received on HF)

Adjust the Quisk SDR frequency until the APRS signal is across the 1Khz frequency. see above



That's it, your soundmodem is configured.

here is a copy of my soundmodem configuration file /etc/ax25/soundmodem.conf that was generated with soundmodemconfig application.

<?xml version="1.0"?>
<modem>

 <configuration name="HF_300Board">
<chaccess txdelay="150" slottime="100" ppersist="40" fulldup="0" txtail="10"/>
<audio type="alsa" device="plughw:Loopback,1,0" halfdup="0" capturechannelmode="Mono"/>
<ptt file="none" gpio="0" hamlib_model="" hamlib_params=""/>
<channel name="Channel 0">
<mod mode="afsk" bps="300" f0="900" f1="1100" diffenc="1" ifname="sm0" hwaddr="ZR6AIC-2" ip="10.0.0.1" netmask="255.255.255.0" broadcast="10.0.0.255"/>
<demod mode="afsk" bps="300" f0="900" f1="1100" diffdec="1"/>
<pkt mode="KISS" ifname="sm0" hwaddr="ZR6AIC-2" ip="10.0.0.1" netmask="255.255.255.0" broadcast="10.0.0.255" file="/dev/soundmodem0" unlink="0"/>
</channel>
</configuration>
</modem>


You will need some test audio so here is a video of a message that was recorded. Play it back and see if your modem is setup coorectely.

 

After your testing you will the close the soundmodemconfig Application and then run it as a soundmodem daemon in the background.

Close the soundmodemconfig application by clicking on the X on top.

then run the deamon sudo soundmodem&

4) Install Xastir. ( APRS IGate and map viewer)


Now lets setup the iGate of your APRS demodulated data to the internet
Install Xastir
sudo apt-get install xastir

run xastir

sudo xastir

Configure the Xastir to get the serial data from your sound modem
Select the interface menu


Now select the add  button and then then the Serial KISS TNC option

The TNC port has to be /dev/soundmodem0 as we configured in the soundmodem setup above

Then setup your internet APRS server details.

Save en setup your station detail.
Select file menu and then configeration.

Update your IGate details and station info see below.



Save your station configuration.
Now start Device 0 and Device 1 in the Interface menu and if all is well the interface will change to the up state.



If all the interfaces when up you should see your IGate on the internet. http://aprs.fi



Thursday, November 7, 2013

AENEAS Satellite Log Thursday 7 November 2013

AENEAS Satellite Log Thursday 7 November 2013

webSDR Settings

Video of Satellite reseption

Here is a log of the AENEAS Satellite on Thursday 7 November 2013. (9:53 SAST) GMT + 2

Tuning on WebSDR frequency  to 437.589Mhz on http://zr6aic.giga.co.za:8902/

Using Soundmodem at 1200 board


AENEAS Telemetry data:

1:Fm KE6YFA-1 To CQ Via TELEM <UI F/R Pid=F0 Len=78> [21:54:30R]
4341455255531D00400200091C0B0317371437050000001000F07500007013004920AABC418AB4
1:Fm KE6YFA-1 To CQ Via TELEM <UI F/R Pid=F0 Len=78> [21:54:50R]
4341455255531D00400200091C0B0317372837050000001000F07500007013004920AABC41E1B5

more data received on 9 November 8:35 (GMT)

1:Fm KE6YFA-1 To CQ Via TELEM <UI F/R Pid=F0 Len=78> [22:23:58R]
4341455255531D004002000A010B0600190037050000001000F075000070130049C062D94197E1
1:Fm KE6YFA-1 To CQ Via TELEM <UI F/R Pid=F0 Len=78> [22:24:18R]
4341455255531D004002000A010B0600191437050000001000F075000070130049C062D9414119
1:Fm KE6YFA-1 To CQ Via TELEM <UI F/R Pid=F0 Len=78> [22:25:58R]
4341455255531D004002000A010B06001B0037050000001000F07500007013004920AABC4170EC
1:Fm KE6YFA-1 To CQ Via TELEM <UI F/R Pid=F0 Len=78> [22:26:38R]
4341455255531D004002000A010B06001B2837050000001000F07500007013004920AABC41CD15
1:Fm KE6YFA-1 To CQ Via TELEM <UI F/R Pid=F0 Len=78> [22:27:59R]
4341455255531D004002000A010B06001D0037050000001000F07500007013004920AABC41185F
1:Fm KE6YFA-1 To CQ Via TELEM <UI F/R Pid=F0 Len=78> [22:28:19R]
4341455255531D004002000A010B06001D1437050000001000F07500007013004920AABC41CEA7
1:Fm KE6YFA-1 To CQ Via TELEM <UI F/R Pid=F0 Len=78> [22:28:39R]
4341455255531D004002000A010B06001D2837050000001000F07500007013004920AABC41A5A6
1:Fm KE6YFA-1 To CQ Via TELEM <UI F/R Pid=F0 Len=78> [22:29:19R]
4341455255531D004002000A010B06001E1437050000001000F07500007013004920AABC417AFE
1:Fm KE6YFA-1 To CQ Via TELEM <UI F/R Pid=F0 Len=78> [22:29:39R]
4341455255531D004002000A010B06001E2837050000001000F07500007013004920AABC4111FF
1:Fm KE6YFA-1 To CQ Via TELEM <UI F/R Pid=F0 Len=78> [22:29:59R]
4341455255531D004002000A010B06001F0037050000001000F07500007013004920AABC41C031
1:Fm KE6YFA-1 To CQ Via TELEM <UI F/R Pid=F0 Len=78> [22:30:19R]
4341455255531D004002000A010B06001F1437050000001000F07500007013004920AABC4116C9






More details on the Satellite is available here http://space.skyrocket.de/doc_sdat/aeneas.htm

Tuesday, October 8, 2013

OOREOS Satellite Telemetry reception report.

O/OREOS Satellite Telemetry reception report.

The reception was done over webSDR from http://zr6aic.giga.co.za:8902 on Windows using Chrome and Soundmodem.

More details regarding the webSDR is available here http://zr6aic.blogspot.com/2013/08/now-added-70cm-satellite-websdr-with.html

Details on the OOREOS Satellite is available here http://ooreos.engr.scu.edu/dashboard.htm

Here is my audio recording and telemetry data decoded on webSDR on 08 October 2013 at 18:22GMT.
Beacon: 437.305 MHz 1k2 AFSK, FM
Call:KF6JBP
1k2 AFSK Beacon signal of OREOS


Settings on webSDR was as follows.
Frequency :437281.50 Mhz
Band width settings 15.28 kHz @ -6dB; 15.74 kHz @ -60dB.
Modulation: FM.

webSDR http://zr6aic.giga.co.za:8902

Sound modem application can be found here http://uz7.ho.ua/packetradio.htm

Here is the setting of the sound modem configuration.



Telemetry Data decoded with Soundmodem application.


1:Fm KF6JBP To UNDEF Via TELEM <UI F/C Pid=F0 Len=64> [20:22:01R]
OOREOS.org    77899F0100001602DAFC0133000000CF090D5F094300204B46
1:Fm KF6JBP To UNDEF Via TELEM <UI F/C Pid=F0 Len=64> [20:22:06R]
OOREOS.org    7C899F0200000902C90200A301430E9A000D5F094300204B46
1:Fm KF6JBP To UNDEF Via TELEM <UI F/C Pid=F0 Len=64> [20:22:36R]
OOREOS.org    99899F000200FE011BF601A102000286010D5F094300204B46

Some more data from 28 November 2013
1:Fm KF6JBP To UNDEF Via TELEM <UI F/C Pid=F0 Len=64> [23:04:00R]
OOREOS.org    43EDE2010000FA00DA800117000000CF090D5F094300204B46
1:Fm KF6JBP To UNDEF Via TELEM <UI F/C Pid=F0 Len=64> [23:04:05R]
OOREOS.org    48EDE2020000F400920000A3017A089A000D5F094300204B46
1:Fm KF6JBP To UNDEF Via TELEM <UI F/C Pid=F0 Len=64> [23:04:10R]
OOREOS.org    4DEDE2030000E70000060032022E0054050D5F094300204B46
1:Fm KF6JBP To UNDEF Via TELEM <UI F/C Pid=F0 Len=64> [23:04:55R]

OOREOS.org    79EDE2000000F1001B9E019C02000286010D5F094300204B46

Telemetry can be decoded with the free software of Mike Rupprecht, DK3WN:http://www.dk3wn.info/sat/afu/sat_o_oreos.shtml
You will also need this ocx at this link.


Thursday, February 16, 2012

Packet Radio on Ubuntu using Soundmodem

Packet Radio on Ubuntu using Soundmodem (144.800Mhz)











I got my ax25 configuration working with soundmodem on Ubuntu.


1) Install soundmodem and all ax25 options with Synaptic Package Manager or with (apt-get)
1.1)The list of apps I installed. ax25-apps, ax25-tools, ax25-xtools, ax25mail-utils, ax25spyd, soundmodem,

sudo apt-get install ax25-apps
sudo apt-get install ax25-tools
sudo apt-get install ax25-xtools
sudo apt-get install ax25mail-utils
sudo apt-get install ax25spyd
sudo apt-get install soundmodem

1.2) I found this script EasyPacket (install it) http://www.w1hkj.com/EasyPacket.html .
It consist of a series of scipts to simplify the process of starting and configerating a user packet node, see documentation in /usr/share/doc/easypacket (after instillation) for mode details.
1.3) The document was in Spanish and I had to translate it with google. Here is the content.
****************************************************
README
Greetings, My name is Pavel and I am CO7WTCosta Milanes, a Cuban Amateur Radio

This packete software was created to provide aconfiguration standard in mind to facilitate the assembly of apacket station in GNU / Linux, is expected to be as automatic as possible throughout their development.

The ideas or main bases of this software are:

- Used to create 3 soundmodem software modems simultaneous / Individual
- Create three ports of packet: 1k2, 9k6 and 4K8,which correspond to the speed AFSK 1200, 4800 and 9600 AFSK FSK,or all together or each individually.
- As a GNU / Linux has to assign an IP address toScholarly interface, suggests the use of AMPR declared 44.128.xxsegment test for each of the interfaces on different network segments, you must reset the IP address what proveea your local coordinator, allocation is as follows:
IP Address Mode Speed ​​port interface
1200 baud AFSK 1k2 44.128.0.1 x0
4K8 AFSK
4800 baud ax1 44.128.1.1
9600 baud FSK 9k6 44.128.2.1 ax2
- Only taken into account the connections AX25;NETROSE BPQ and others are referred
- Default incoming connections to ttylinkd enrrutanis not actualemnte functional.
- The indicative NOCALL default and is configured using the packetconfig script.
*********************************************
I found the README a bit cryptic.

2) I did the following.


2.1)I run soundmodemconfig  you will need X window server if you are doing this remotely via ssh

sudo soundmodemconfig

Soundmodem config screen













2.2) Configure the sound modem as in the pictures above. ( it will save the config when you exit the app)

plughw0.0 could be different for your Linux depending how many Audio sound cards you have in your ALSA configuration.  

sudo arecord -l will list your device's

**** List of CAPTURE Hardware Devices ****
xcb_connection_has_error() returned true
Home directory /home/anton not ours.
card 0: Intel [HDA Intel], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: V10 [FUNcube Dongle V1.0], device 0: USB Audio [USB Audio]
  Subdevices: 1/1

  Subdevice #0: subdevice #0

plughw0.0  will be card 0


2.3) I connected the external speaker sound plug on Radio to laptop line in and tuned VHF radio to 144.800Mhz FM to see some local packet traffic.






























2.4) Select new configuration in file menu and then sound card.
On the older Ubuntu it was /dev/dsp (soundcard) new Ubuntu its (alsa and plughw:0,0) and your serial port (my port was /dev/ttyS0) for your PTT (I am using ZS1I radio interface between radio and laptop)

to see what is the list of serial devices run the command ls -al /dev/* | grep ttyS

crw-rw----  1 root dialout   4,  64 Sep  4 17:42 /dev/ttyS0
crw-rw----  1 root dialout   4,  65 Sep  4 17:42 /dev/ttyS1
crw-rw----  1 root dialout   4,  74 Sep  4 17:42 /dev/ttyS10
crw-rw----  1 root dialout   4,  75 Sep  4 17:42 /dev/ttyS11
crw-rw----  1 root dialout   4,  76 Sep  4 17:42 /dev/ttyS12

U can use the terminal program to see if its the correct serial port.
Install minicom serial terminal program.

sudo apt-get install minicom

sudo minicom

Welcome to minicom 2.5

OPTIONS: I18n
Compiled on May  2 2011, 00:39:27.
Port /dev/tty8

Press CTRL-A Z for help on special keys

Press [ctrl]A and then Z

You should then get this menu

    +-------------------------------------------------------------------+
     |                                  Minicom Command Summary                       |
     |                                                                                                      |
     |          Commands can be called by CTRL-A <key>                       |
     |                                                                                                      |
     |               Main Functions                  Other Functions                     |
     |                                                                                                      |
     | Dialing directory..D  run script (Go)....G        | Clear Screen.......C  |
     | Send files.........S  Receive files......R         | cOnfigure Minicom..O  |
     | comm Parameters....P  Add linefeed.......A | Suspend minicom....J  |
     | Capture on/off.....L  Hangup.............H          | eXit and reset.....X  |
     | send break.........F  initialize Modem...M      | Quit with no reset.Q |
     | Terminal settings..T  run Kermit.........K      | Cursor key mode....I  |
     | lineWrap on/off....W  local Echo on/off..E      | Help screen........Z  |
     | Paste file.........Y                                            | scroll Back........B   |
     |                                                                                                      |
     |      Select function or press Enter for none.                                     |
     |                                                                                                      |
     |             Written by Miquel van Smoorenburg 1991-1995               |
     |             Some additions by Jukka Lahtinen 1997-2000                  |
     |             i18n by Arnaldo Carvalho de Melo 1998                           |
     +-------------------------------------------------------------------+

Select option  O

+-----[configuration]------+
 | Filenames and paths      |
 | File transfer protocols    |
 | Serial port setup            |
 | Modem and dialing        |
 | Screen and keyboard     |
 | Save setup as dfl           |
 | Save setup as..              |
 | Exit                               |
+--------------------------+

Select Serial port setup

Change your comm port by selecting A

and then edit your port  /dev/ttyS0  ??

Save and exit to get back to terminal and send some characters and check your serial port TX pins for data.
select  X to exit


2.5) Then select file new channel in the soundmodemconfig ( Select modulator and demodulator afsk the rest of the defaults should be ok.)
Change your cal-sign in Packet IO tab.

2.6) Select Channel menu on left and the click on Diagnostics menu and click on scope. You should see your audio from your radio ext speaker. ( if you get an error you have the wrong audio device change it until it work)




Set the volume on receiver for reasonable level (You might have to set the level with sudo alsamixer)


Sudo alsamixer

Use the F5 and F6 keys to select the sound card and input M also selects options

2.7) Exit the soundmodem config program. ( it will save the config on exit)

2.8) There should be a config file in /etc/ax25/soundmodem.conf

2.9) make a copy and rename it to soundmodem.9k6.conf

3) you can now start the easypacket script (sudo packeton 9k6)

3.1) you should see something like (The following interfaces are ready to rock: sm0 ZR6AIC)
hi......
Almost done.
you could now monitor packet in listening mode with the following commands. (sudo ax25spy or sudo  listen  has changed to sudo axlistin -c -a).



I will continue next time how to connect using the ax25 tools ....

here is the list of commands that manages your AX25 connections.
CommandDescription
mheard
Mheard  displays information about most recently heard AX.25 callsigns, the interface upon which they were heard, the total packets heard,  the time  at  which  the  last one was heard and other information.  Mheard displays different information, in different orders  depending  on  the settings  of  the  arguments. Information on specific ports can be displayed by giving the port names as arguments.
ax25d
Ax25d  is  a  general purpose server daemon that listens on a number of AX.25, NET/ROM and Rose ports and offers different  services  depending upon port, callsign and other parameters.
axctl
The axctl commands to be issued to the Linux AX.25 protocol layer for existing AX.25 connections. The connection is uniquely  identified  via  the  combination  of port, destination callsign and source callsign, with that information the kernel is able to change the parameters, or abort the connection. .
axparms
Configure AX.25 interfaces
axspawn
Allow automatic login to a Linux system
beacon
Transmit periodic messages on an AX.25 port
bpqparms
Configure BPQ ethernet devices
mheardd
Collect information about packet activity
rxecho
Route AX.25 packets between ports transparently
sethdlc
Get/set Linux HDLC packet radio modem driver port information
smmixer
Get/set Linux soundcard packet radio modem driver mixer
smdiag
Linux soundcard packet radio modem driver diagnostics utility
kissattach
Attach a KISS or 6PACK interface
kissnetd
Create a virtual network
kissparms
Configure KISS TNCs
net2kiss
Convert a network AX.25 driver to a KISS stream on a pseudo-tty
mkiss
Attach a multi KISS interface
nodesave
Saves NET/ROM routing information
nrattach
Start a NET/ROM interface
nrparms
Configure the NET/ROM interface
nrsdrv
KISS to NET/ROM serial converter
netromd
Send and receive NET/ROM routing messages
rsattach
Start a ROSE interface
rsdwnlnk
User exit from the ROSE network
rsparms
Configure the ROSE interface
rsuplnk
User entry into the ROSE network
ttylinkd
TTYlink daemon for AX.25, NET/ROM, ROSE and IP
rip98d
Send and receive RIP98 routing messages
ax25_call
Make an AX.25, NET/ROM, ROSE or TCP connection
netrom_call
Make an AX.25, NET/ROM, ROSE or TCP connection
rose_call
Make an AX.25, NET/ROM, ROSE or TCP connection
tcp_call
Make an AX.25, NET/ROM, ROSE or TCP connection
yamcfg
Configure YAM driver parameters
dmascc_cfg
Configure dmascc devices
ax25ipd
AX.25 into IP Encapsulator
ax25rtd
AX.25 routing daemon
ax25rtctl
AX.25 routing daemon control utility
call > now axcall
Make an AX.25, NET/ROM or ROSE connection
listen
Monitor AX.25 traffic
ax25mond
Dump the AX.25 network traffic and and provide sockets where the received data will be retransmitted
soundmodem
Soundcard modem driver
soundmodemconfig
Soundcard modem configuration utility
aprsd
APRS daemon
aprspass
APRS passcode generator
aprsdigi
APRS digipeater
aprsmon
Monitor APRS AX.25 traffic for JavAPRS

More info is avalable here http://www.tldp.org/HOWTO/AX25-HOWTO/index.html