¿ªÔÆÌåÓý

Date

Re: How to use Direwolf with multiple clients and multiple radios?

 

Hello I am new to this group.? I tried this in the beta release 1.7 and when I run Direolf I only see my channel 2 ports?

In short :
ADEVICE? plughw:1,0
ACHANNELS 1
ADEVICE1? plughw:4,0
ACHANNELS 1
CHANNEL 0
MYCALL KC3SMW-1
MODEM 300
PTT /dev/ttyUSB0 RTS ;radio soundcard

CHANNEL 2
MYCALL KC3SMW-2
MODEM 1200
;signalink

AGWPORT 8001 0
KISSPORT 8100 0
?
AGWPORT 8003 2
KISSPORT 8101 2

but I get an output in the terminal of:
Reading config file direwolf.conf
Audio device for both receive and transmit: plughw:1,0? (channel 0)
Audio device for both receive and transmit: plughw:4,0? (channel 2)
Channel 0: 300 baud, AFSK 1600 & 1800 Hz, D, 44100 sample rate / 3.
Channel 2: 1200 baud, AFSK 1200 & 2200 Hz, E+, 44100 sample rate.
Note: PTT not configured for channel 2. (Ignore this if using VOX.)
Ready to accept AGW client application 0 on port 8003 ...
Ready to accept KISS TCP client application 0 on port 8101 ...


DId I do something wrong?

Thanks?
Greg





Re: Command Line Terminal

 

You might look at SV2AGW's agwterm:





On Thu, Apr 6, 2023 at 8:28?PM WB2OSZ <wb2osz@...> wrote:
As I understand it, the goal is to use the connected mode packet radio protocol implemented in direwolf.
KISS is not capable of accessing this layer so it is necessary to use the AGW protocol.

I'm not aware of a turnkey solution but you might find these helpful:
src/agwlib.c? -? library to encode and decode the AGW protocol.
src/appserver,c? - sample packet radio server application.
src/tnctest.c? -? application which uses connected mode packet over AGW protocol.

73,
John WB2OSZ



--

73,
AB1PH
Don Rolph


Re: Command Line Terminal

 

As I understand it, the goal is to use the connected mode packet radio protocol implemented in direwolf.
KISS is not capable of accessing this layer so it is necessary to use the AGW protocol.

I'm not aware of a turnkey solution but you might find these helpful:
src/agwlib.c? -? library to encode and decode the AGW protocol.
src/appserver,c? - sample packet radio server application.
src/tnctest.c? -? application which uses connected mode packet over AGW protocol.

73,
John WB2OSZ


Re: Running DW from a Service

 

¿ªÔÆÌåÓý

Doug,

I've long started Direwolf from systemd and the significant difference I see between your Unit file and mine is I start "After=sound.target"? I used to start from screen as you do but for me, systemd's journalctl provides all I need, without additional complexity.

journalctl | grep direwolf produces output like this ....

Apr 03 06:48:10 deb11 direwolf[502]: [0L] VK2TV-4>APX217,WIDE1-1:=3102.12S/15252.72E`
Apr 03 06:59:10 deb11 direwolf[502]: RS0ISS audio level = 43(6/5)?? [NONE]?? ||||||___
Apr 03 06:59:10 deb11 direwolf[502]: [0.2] RS0ISS>0P0PS3,APRSAT:'v&<0x1c>l <0x1c>SI]ARISS-International Space Station=<0x0d>
Apr 03 06:59:10 deb11 direwolf[502]: MIC-E, Satellite/Pacsat w/overlay I, Kenwood TM-D710, Special
Apr 03 06:59:10 deb11 direwolf[502]: N 00 00.3300, E 000 10.0000, 0 km/h (0 MPH)
Apr 03 06:59:10 deb11 direwolf[502]: ARISS-International Space Station
Apr 03 06:59:12 deb11 direwolf[502]: Digipeater RS0ISS audio level = 42(6/5)?? [NONE]?? __|||____
Apr 03 06:59:12 deb11 direwolf[502]: [0.3] VK3KAW-10>APRS,RS0ISS*,SGATE,WIDE2-1:=3621.56S/14707.30E`..
Apr 03 06:59:12 deb11 direwolf[502]: Position, Dish Antenna, Generic, (obsolete. Digis should use APNxxx instead)
Apr 03 06:59:12 deb11 direwolf[502]: S 36 21.5600, E 147 07.3000
Apr 03 06:59:12 deb11 direwolf[502]: ..


This is how I start Direwolf from systemd

[Unit]
Description=Direwolf service
After=sound.target syslog.target
StartLimitIntervalSec=0

[Service]
Type=simple
User=vk2tv
ExecStart= /usr/local/bin/direwolf -t 0 -c /home/vk2tv/direwolf.conf
Restart = always
RestartSec=5

[Install]
WantedBy=multi-user.target



HTH
Ray vk2tv




On 6/4/23 19:45, Douglas Pervine, N1OBU wrote:

I'm trying to run DW from a service on boot.? It starts and then stops.? I suspect it's stopping because the USB soundcard isn't initialized yet.? Wondering how to start the service after the USB soundcard is ready.? Here is my setup:

[Unit]
Description=Direwolf
After=network.target
?
[Service]
Type=forking
WorkingDirectory=/home/dp27
User=dp27
Group=dp27
ExecStartPre=+systemctl stop vac
ExecStart=/usr/bin/screen -S dw -d -m /usr/local/bin/direwolf -c direwolf.conf -p -X 1
SyslogIdentifier=Direwolf
?
[Install]
WantedBy=multi-user.target


RPi 4 2G running Buster 32-bit
DW 1.7F
IC-7100

It's worth noting, I have the exact same service running on a separate RPi but with an Audio Injector Zero soundcard and everything works perfectly.

Thank you for any assistance.


Re: Weather station over aprs using dirwolf #rpi4b

 

You might find this helpful:

weather_station.pdf?? in? .

73,
John WB2OSZ


Weather station over aprs using dirwolf #rpi4b

 

I have a weather station and I want to connected to the aprs service using my existing I get and DG Peter can anyone with me in the right direction please thank you


Re: Command Line Terminal

 

On Thu, Apr 6, 2023 at 05:56 AM, Rob Giuliano wrote:
Are you looking for bi-direction information, or just monitoring the (received data from the remote station)?
Bi-directional interaction.
Also, are you stuck on AGW or are you willing to entertain KISS over TCP/IP?
Yes, I would consider using the KISS interface to software modems. Of course, that would require the terminal to implement most of the AX.25 protocol.


Re: Command Line Terminal

 

¿ªÔÆÌåÓý


Hello John,

I'm aware of a few various packet programs for various OSes here:

??
??
??

Since you're only interested in AGW-based communications, there aren't many options.? BPQ32 for Windows might work for you here though non-GUI terminal program aka something running from the cmd prompt be it AX.25 packet, serial, whatever is VERY rare.? In the first link, there are tools like "telmgr" to translate TELNET to AGW calls.? If you have Linux running, any specific reason not to enable Linux's native AX.25 stack with Direwolf?? Once you have that running, you can use axcall, linpac, the console in FBB or JNOS, etc.

--David
KI6ZHD


On 04/05/2023 11:19 PM, John Kristian wrote:

Can you recommend software to interact with a remote station from a command line, using the AGW interface to Direwolf? I'm aware of QtTermTCP and EasyTerm, but those are GUIs. I'm looking for something more like or , which you start from a shell and use like a shell, just by typing. I've heard of , but I'm told it doesn't work with AGW.

Something that works on Windows and Linux would be good. Short of that, I prefer Windows.


Re: Running DW from a Service

 

Perhaps try using the sound target instead of network?
After=sound.target

You might benefit from understanding why it's exiting. I'm not sure if you'll see the logs in journalctl if you're running it through screen like that. Maybe try adding -L to enable logging on screen.


Re: Command Line Terminal

 

Are you looking for bi-direction information, or just monitoring the (received data from the remote station)?
Also, are you stuck on AGW or are you willing to entertain KISS over TCP/IP??
? ?KISS over TCP/IP is probably enabled in your Direwolf implementation?
? ?KISS over TCP/IP seems to have more tools (especially CLI tools like axcall - I assume)?
? ? ? ?Not sure of Windows CLI tools for KISS

-------
Rob KB8RCO


Running DW from a Service

 

I'm trying to run DW from a service on boot.? It starts and then stops.? I suspect it's stopping because the USB soundcard isn't initialized yet.? Wondering how to start the service after the USB soundcard is ready.? Here is my setup:

[Unit]
Description=Direwolf
After=network.target
?
[Service]
Type=forking
WorkingDirectory=/home/dp27
User=dp27
Group=dp27
ExecStartPre=+systemctl stop vac
ExecStart=/usr/bin/screen -S dw -d -m /usr/local/bin/direwolf -c direwolf.conf -p -X 1
SyslogIdentifier=Direwolf
?
[Install]
WantedBy=multi-user.target


RPi 4 2G running Buster 32-bit
DW 1.7F
IC-7100

It's worth noting, I have the exact same service running on a separate RPi but with an Audio Injector Zero soundcard and everything works perfectly.

Thank you for any assistance.


Command Line Terminal

 

Can you recommend software to interact with a remote station from a command line, using the AGW interface to Direwolf? I'm aware of QtTermTCP and EasyTerm, but those are GUIs. I'm looking for something more like or , which you start from a shell and use like a shell, just by typing. I've heard of , but I'm told it doesn't work with AGW.

Something that works on Windows and Linux would be good. Short of that, I prefer Windows.


Re: 1.7 A Beta Release changing volume in Windows 11?

 

Hi All,

Its a custom modified cm108 originally built for AllStar

Thanks
Matthew?


Re: 1.7 A Beta Release changing volume in Windows 11?

 

On Wed, Apr 5, 2023 at 10:12 AM, WB2OSZ wrote:
Rob makes a very interesting observation.? If the operating system does some fancy audio processing to separate voice from other "noise" it would be most unfortunate for our application.?
I have only seen this happen on the "communication device" with VOICE command active for microphone activity.
But I assume it may have similar capability on the speaker side.?
? ? Also, some devices have AGC for outputs - I think the speaker output was the issue.
I am not sure why the receive signal would mess with the sound card output volume - other than the COS.

?-------
Rob KB8RCO


Re: 1.7 A Beta Release changing volume in Windows 11?

 

¿ªÔÆÌåÓý


Hello Matthew,

Which CM108-based device are you using?

--David
KI6ZHD


On 04/05/2023 01:41 AM, Matthew 2E0SIP wrote:

Hi Thomas,

Of course, that makes total sense. This sound card has COS hooked up to VOL DN. I'd rather not modify the sound card but I should be able to disable the COS output on the radio.

Thanks
Matthew?


Re: 1.7 A Beta Release changing volume in Windows 11?

 

Are you talking about DINAH?

If so, you need to cut jumper JP3.? It is mentioned in the second paragraph of the Overview section in ? and a couple times in?? .

Rob makes a very interesting observation.? If the operating system does some fancy audio processing to separate voice from other "noise" it would be most unfortunate for our application.?

73,
John WB2OSZ


Re: 1.7 A Beta Release changing volume in Windows 11?

 

That is 'THE" most likely the cause and if you can disable the COS on the radio, it should solve the problem.
However, I will add one additional comment.? With Windows 10 and even more so with Windows 11, the "communication device" is often used for computer and computer-to-computer actions.
? ?Some of these applications don't show in the normal checks for applications that may be using the sound card.
? ?Also, there are times when Microsoft 'decides' to act on these devices - such as reduce background noise (prevent from sending to others).
? ?Double check the AGC setting (Sound settings for the USB device) - just to be sure.

Better yet, if you can - select something else as the communication device.? Unfortunately, I have not found a way to have that set to "none".
If your HDMI monitor doesn't have speakers, that is a great choice for one of the default that you don't want.
-------
Rob KB8RCO


Re: 1.7 A Beta Release changing volume in Windows 11?

 

Hi Thomas,

Of course, that makes total sense. This sound card has COS hooked up to VOL DN. I'd rather not modify the sound card but I should be able to disable the COS output on the radio.

Thanks
Matthew?


Re: 1.7 A Beta Release changing volume in Windows 11?

 

Hi Matthew,

This is a somewhat common issue when using C-Media CM-108/109/119 based USB sound fobs/dongles. Some of the instructions (especially those for Allstar Nodes) for using C-Media chips as your radio interface include connections to the "volume up" (CTCSS) and "volume down" (Squelch / COS) inputs of the chip.

Depending on your intended use, those connections can be problematic because by default they will result in changes to the audio volume.

In many cases the only connections between the radio and the C-Media sound chip should be:
PTT (typically coming from GPIO #3 on pin 13)
Microphone Audio-In
Speaker Audio-Out
Ground.

73,
Thomas
KK6FPP


1.7 A Beta Release changing volume in Windows 11?

 

Hi all,

I'm testing the 1.7A Beta Release on Windows 11 with a CM108 based sound card. For some reason when Dire Wolf receives, the output volume? of the CM108 reduces. On longer packets it reduces to zero and mutes itself.

I've looked in various settings, made sure no other programs are interacting with the sound interface etc etc but can't get to the bottom of it.

One observation is Windows has marked the CM108 as a "communications" device. There is a related setting buried in Windows to reduce the main volume when a communications device is in use, but I've disabled it and there's no change.

Has anyone seem something similar?

?

Thanks

Matthew

2E0SIP