Chapter 2: Serial and network connection with Direwolf

This chapter will talk about programs that interface with Direwolf using serial communication or TCP.  This will not yet discuss AX.25 for network connectivity over packet and keep things simple













When Direwolf started, the following message was displayed


Dire Wolf version 1.0a
Audio device for both receive and transmit: plughw:CARD=Pro,DEV=0
Channel 0: 1200 baud, AFSK 1200 & 2200 Hz, C, 44100 sample rate.
Ready to accept AGW client application on port 8000 ...
Ready to accept KISS client application on port 8001 ...
Use -p command line option to enable KISS pseudo terminal.



VIA NETWORK ON PORT 8000

With no -p option we have available to us two TCP ports 8000 and 8001 on localhost.  In this example the Networked AGW will be used.  Click interface and go to interface control.  Choose Networked AGWPE





The default settings of localhost 8000 will work.  Use the allow transmitting box if you are using TX/RX as opposed to TX only.  This won't ham anything if you are not setup for TX but you will hear the computer generate packet though the selected output device from chapter 1.







Click OK and then the start button. The device should show UP.   You can then hit the close button






In short time the screen will become populated with the APRS data.







VIA SERIAL INTERFACE


Some programs do not support the networked interface and will require a serial port.  For this, direwolf must be started with the -p. Since Xastir supports both, i will use Xastir as an example.

direwolf -p


Dire Wolf version 1.0a
Audio device for both receive and transmit: plughw:CARD=Pro,DEV=0
Channel 0: 1200 baud, AFSK 1200 & 2200 Hz, C, 44100 sample rate.
Note: PTT not configured for channel 0.
Ready to accept AGW client application on port 8000 ...
Ready to accept KISS client application on port 8001 ...
Virtual KISS TNC is available on /dev/pts/3
WARNING - Dire Wolf will hang eventually if nothing is reading from it.
Created symlink /tmp/kisstnc -> /dev/pts/3


The -p option still has TCP ports 8000 and 8001 available but also creates a link to an assigned puts to /tmp/kisstnc

For your programs purposes, the serial port is /tmp/kisstnc

Click interface and go to interface control.  Choose Serial KISS TNC





add /tmp/kisstnc as the TNC port, leave the other values as default



Click OK then highlight Device 0 and click start






In short time the screen will become populated with the APRS data.







No comments:

Post a Comment