开云体育

Date

Re: Rasberry Pi 3, Direwolf, USB soundcard doesn't digipeat packets.

 

On Sat, Jun 18, 2022 at 12:08 PM, David Ranch wrote:
I don't know what to add to this discussion here and it seems we are going around in circles.? Maybe try the advise and use another radio to give you another reference point?? As it's been mentioned MANY times on this list, many people have taken a problematic packet setup, just swapped out the poorly functioning Baofeng radio and then everything started working 100%.? Many of these Baofeng radios present a variety of problems that is generally NOT solvable w/o a better radio.

--David
KI6ZHD
The SignaLink I wanted to liberate is back on my 991a. I have turned off the digipeater in Direwolf for now so now it beacons and igates, which is what I wanted to do until I discovered our local digipeater was just beaconing. Well wonder of wonders, I think it has started digipeating again.

... just had lunch, it's kinda rainy... I think I'll scoop up my little mini doxie and take a nap :-)
Thank you so much for your input an patience.


Re: Rasberry Pi 3, Direwolf, USB soundcard doesn't digipeat packets.

 

开云体育


Hello Rick,

I don't know what to add to this discussion here and it seems we are going around in circles.? Maybe try the advise and use another radio to give you another reference point?? As it's been mentioned MANY times on this list, many people have taken a problematic packet setup, just swapped out the poorly functioning Baofeng radio and then everything started working 100%.? Many of these Baofeng radios present a variety of problems that is generally NOT solvable w/o a better radio.

--David
KI6ZHD




On 06/18/2022 07:17 AM, Rick Hatton wrote:

On Thu, Jun 16, 2022 at 01:30 PM, David Ranch wrote:
Ok, now that we're on the same page, I would have to assume the issue is with VOX on your Baofeng radio which isn't recommended to be used anyway.? If you want to pursue this anyway, I would recommend to first confirm that AFSK audio sounds are coming out of the USB sound device's playback jack.? If it is when you expect it (beacons, digipeated packets, etc), then the issue is purely on the radio side and you'll need to tune the radio's VOX RX settings to be more sensitive to incoming audio, etc.

--David
KI6ZHD
Packets are transmitted when beaconing. I hear them on other radios. When digipeating, I there is only an empty signal. There is a transmission, but no packets. I got rid of the buzz by using 2 turns of the Baofeng cable cound card on a ferrite close to the radio.


Re: Need help. IC-7100 on RPi3B not keying.

 

开云体育


Hello Max,


sudo rigctl -r /dev/ttyUSB0 -m 3070 l AF
pi@linpac:~ $ sudo rigctl -r /dev/ttyUSB0 -m 3070 l AF
0.200000

Looks like you got hamlib working.? That's good.


I went and tried another approach.? Which is using a modified USB Soundcard with CM108 chipset and use PTT CM108 in DW as the PTT.? I was able to key a Kenwood TM-271 and do packet with my BBS using Linpac.? This is without using Hamlib.? This shows my installation is working.? But I will try again using the PTT RIG with my IC-7100 later.

Ok.? Got it and that is my personal recommendation as it's a simpler solution for basic packet needs.


Question though.? Every time I run direwolf, it changes kissattach /dev/pts/x - sometimes 1 or 2 or 6.? Also, I have to manually set the kissattach to that number.? Is there a way to set it automatically to whatever it assigns and have it starts the commands; # kissattach /dev/pts/1 vhfp, and # kissparms -p vhfp -t 100 -s 100 -r 25 ?

I would encourage you to read the Direwolf UserGuide as many of the issues you've had are addressed there.? In this example, see page 27.? You could also use the Direwolf start up script that manages this:

??

There are also other scripts out there to do this mentioned on this forum:

?? - Startup using Systemd
????? /g/direwolf/message/6655?p=%2C%2C%2C20%2C0%2C0%2C0%3A%3Acreated%2C0%2Csystemd%2C20%2C2%2C0%2C91691820

?? - My personal startup script to start direwolf and other LInux packet programs
? ? ??
? ? ??
? ? ??


There are many other solutions mentioned in the email archives.? Just go to the main /g/direwolf/messages page and search away.

--David
KI6ZHD


Re: Rasberry Pi 3, Direwolf, USB soundcard doesn't digipeat packets.

 

On Thu, Jun 16, 2022 at 01:30 PM, David Ranch wrote:
Ok, now that we're on the same page, I would have to assume the issue is with VOX on your Baofeng radio which isn't recommended to be used anyway.? If you want to pursue this anyway, I would recommend to first confirm that AFSK audio sounds are coming out of the USB sound device's playback jack.? If it is when you expect it (beacons, digipeated packets, etc), then the issue is purely on the radio side and you'll need to tune the radio's VOX RX settings to be more sensitive to incoming audio, etc.

--David
KI6ZHD
Packets are transmitted when beaconing. I hear them on other radios. When digipeating, I there is only an empty signal. There is a transmission, but no packets. I got rid of the buzz by using 2 turns of the Baofeng cable cound card on a ferrite close to the radio.


Re: Need help. IC-7100 on RPi3B not keying.

 

sudo rigctl -r /dev/ttyUSB0 -m 3070 l AF
pi@linpac:~ $ sudo rigctl -r /dev/ttyUSB0 -m 3070 l AF
0.200000

I went and tried another approach.? Which is using a modified USB Soundcard with CM108 chipset and use PTT CM108 in DW as the PTT.? I was able to key a Kenwood TM-271 and do packet with my BBS using Linpac.? This is without using Hamlib.? This shows my installation is working.? But I will try again using the PTT RIG with my IC-7100 later.

Question though.? Every time I run direwolf, it changes kissattach /dev/pts/x - sometimes 1 or 2 or 6.? Also, I have to manually set the kissattach to that number.? Is there a way to set it automatically to whatever it assigns and have it starts the commands; # kissattach /dev/pts/1 vhfp, and # kissparms -p vhfp -t 100 -s 100 -r 25 ?

Thanks.

Max
DU2UXH
?


Re: Rasberry Pi 3, Direwolf, USB soundcard doesn't digipeat packets.

 

Scott,
Digipeating on the Baofeng is fast becoming a failed experiment for me. Luckily my antenna is inside a building covered in stucco? over wire. The signal is not heard very far and AFAICT, there are no other repeaters functioning in the area. I am looking for a replacement for the soundcard that will not require VOX or just turn it into an igate. I would like to find out why I have have packets out on beacon, but not digipeat.
Thanks for your input.


On Fri, Jun 17, 2022 at 10:26 AM, Scott Currie wrote:

Please do not use Baofeng VOX on APRS (or any other digital mode). The built-in VOX delay is not adjustable and is rather long. This means when you transmit, once the data frame has been sent, your TX will remain on the air for the delay. Other stations will hear the end of your data frame and will then transmit, but your station is still on the air, so it will interfere with their data. This is a bad thing, and we hear it all too often on APRS. I wish they would stop selling those cables!

Also, Baofeng radios have notoriously bad turn around times from TX to RX. They are very poor candidates for digital operations. Some work OK, others do not work at all.?


-Scott, NS7C?


Re: Rasberry Pi 3, Direwolf, USB soundcard doesn't digipeat packets.

 

Update: I have eliminated the buzz by putting two turns of the Baofeng usb cable through a ferrite and am now able to use a VOX setting of 1. Still no data heard on digipeat. There is data heard on beacon.
"Digipeater: Drop redundant packet to channel 0." is still being seen on digipeat, only with the USB sound card.


Re: Need help. IC-7100 on RPi3B not keying.

 

开云体育


Hello Max,

Unfortunately, not yet fixed.? I am still getting "Hamlib error: Unknown rig model 3070. Run "rigctl --list" for a list of model numbers." when I run direwolf.? I have not looked into it yet.? I am busy with another project.? If I find anything that related to this problem, I might try it again.

That's very strange but you have to get Hamlib to work properly first.? Googleing' around, a command like this should work assuming /dev/ttyUSB0 is the correct serial port for the IC7100's CAT functionality.? I don't have an IC7100 but I understand it presents TWO serial ports for different functionality so if the first one doesn't work, try the other.??

?? sudo rigctl -r /dev/ttyUSB0 -m 3070 l AF


Also notice I'm using sudo here, if that above command works but won't work without sudo, that means you need to add yourself to the DIALOUT unix group and then just reboot your machine and try again:

?? sudo usermod -a -G dialout <YOUR-UNIX-USERNAME>


Does the hamlib do PTT with direwolf?? If hamlib can see my IC-7100 using the model# 3070, and if hamlib is compatible with direwolf, why direwolf say unknown rig model.

Direwolf supports multiple ways to assert PTT on radios and CAT control using the hamlib program is one of them.? Reading around, it seems the IC-7100 wants to control PTT via CAT commands.


I might have it a go this weekend.

There is a lot of info on hamlib on the Internet so just search for say "hamlib rigctl Icom IC-7100 3070".? Btw.. be sure you know which version of Hamlib you have installed.? It's possible that your version might have a bug with your specific radio and might require an upgrade.?

--David
KI6ZHD


Re: Rasberry Pi 3, Direwolf, USB soundcard doesn't digipeat packets.

 

Please do not use Baofeng VOX on APRS (or any other digital mode). The built-in VOX delay is not adjustable and is rather long. This means when you transmit, once the data frame has been sent, your TX will remain on the air for the delay. Other stations will hear the end of your data frame and will then transmit, but your station is still on the air, so it will interfere with their data. This is a bad thing, and we hear it all too often on APRS. I wish they would stop selling those cables!

Also, Baofeng radios have notoriously bad turn around times from TX to RX. They are very poor candidates for digital operations. Some work OK, others do not work at all.?


-Scott, NS7C?


Re: Rasberry Pi 3, Direwolf, USB soundcard doesn't digipeat packets.

 

I do not see where to adjust TX or RX tails. There are settings for Squelch Tail Eliminate (HT to HT)(enabled or not), Squelch Tail eliminate (repeater) (OFF, 1-10) and STE Repeater delay (OFF, 100ms -1000ms, 100 ms increments). At the moment STE/HT-HT is enabled, STE repeater is? 5 ans STE Repeater delay is off.

To be clear... the UV5R(VOX)/usb sound card WILL beacon and is received by other APRS nodes (well, mine across the room). It does hear stations and will attempt to digipeat a strong enough signal. The repeater across town is being heard with an audio level of 8 and is not being digipeated. My handheld has a level of 75-80 and digipeating is attempted.
When digipeating is attempted, a signal is recieved (seen in direwolf) the radio keys and all I hear is a buzz. Also a message is generated : Digipeater: Drop redundant packet to channel 0.

As an aside, I am trying to set up a KPC3 to digipeat APRS and I just got an Easy Digi kit (ANY soldering is an adventure for me).


Re: Need help. IC-7100 on RPi3B not keying.

 

Hi David.?

Unfortunately, not yet fixed.? I am still getting "Hamlib error: Unknown rig model 3070. Run "rigctl --list" for a list of model numbers." when I run direwolf.? I have not looked into it yet.? I am busy with another project.? If I find anything that related to this problem, I might try it again.

Does the hamlib do PTT with direwolf?? If hamlib can see my IC-7100 using the model# 3070, and if hamlib is compatible with direwolf, why direwolf say unknown rig model.

I might have it a go this weekend.

Thanks again.

Max - DU2UXH


Re: Rasberry Pi 3, Direwolf, USB soundcard doesn't digipeat packets.

 

A simple PTT circuit can be made using just a 4.7k to 10k resistor and general purpose NPN transistor like 2n2222 or equivalent, connected between unused GPIO/ground pins of the Raspberry, and the appropriate wire on the Baofeng's cable.? I don't know if a DC-blocking capacitor is needed for the Baofeng cable, it would have to be Googled.

If the USB soundcard has a CM108 or CM119 chip, that chip has its own onboard GPIO pin that can be used for PTT.? It's difficult to solder to that tiny pin but can be done.? The transistor and resistor can be stuffed in such that the USB card's plastic housing will fit back over the board.? At least, it does with the Syba cards.

Direwolf can be configured to use both of those methods for PTT.


Re: Rasberry Pi 3, Direwolf, USB soundcard doesn't digipeat packets.

 

Also, change the VOX delay and I think TX or RX Tail(?) settings to absolute minimum on the Baofeng, if you haven't already done it.? I don't own a Baofeng, but two of my friends tried getting their Baofengs to work on APRS and conventional packet.? The VOX settings were set to minimum, but the only thing that worked was sending APRS beacons and non-acked APRS messages.? Anything that required acks didn't work, like conventional packet and APRS messaging-with-acks.? The minimum delay and tail were still too long.? By the time the radio goes back to RX mode, the other station has already sent an ack.


Re: Rasberry Pi 3, Direwolf, USB soundcard doesn't digipeat packets.

 

开云体育


Hello Rick

I now understand only permutation #1 works and permutation #2 does NOT work at all.? Is that correct?? I was previously reading your emails saying that some types of transmissions using Permutation #2 were working which makes no sense.? That is correct.


Ok, now that we're on the same page, I would have to assume the issue is with VOX on your Baofeng radio which isn't recommended to be used anyway.? If you want to pursue this anyway, I would recommend to first confirm that AFSK audio sounds are coming out of the USB sound device's playback jack.? If it is when you expect it (beacons, digipeated packets, etc), then the issue is purely on the radio side and you'll need to tune the radio's VOX RX settings to be more sensitive to incoming audio, etc.

--David
KI6ZHD


Re: Rasberry Pi 3, Direwolf, USB soundcard doesn't digipeat packets.

 

On Mon, Jun 13, 2022 at 11:27 PM, David Ranch wrote:
I now understand only permutation #1 works and permutation #2 does NOT work at all.? Is that correct?? I was previously reading your emails saying that some types of transmissions using Permutation #2 were working which makes no sense.?
That is correct.

Beyond that, there is nothing in your direwolf.conf file that would create such a scenario.
Thanks for following this and looking into it.


Re: Need help. IC-7100 on RPi3B not keying.

 

开云体育


Hello Maximo,

I believe you fixed your CAT PTT issue correct?? If so, please confirm and what your fix was.

--David
KI6ZHD


On 06/14/2022 11:46 PM, Maximo Barawid Jr. wrote:

First off, I have a RPi 3B running on Buster. I have installed Hamlib 4.4, Direwolf 1.7 and Linpac 0.29.

Hamlib: rigctl -l | grep IC-7100 - says IC-7100 is model# 3070. In direwolf.conf PTT configuration as; PTT RIG 3070 /dev/ttyUSB0 (I also tried ttyUSB1). Buster assigned ttyUSB0 and ttyUSB1 for the IC-7100 that is connected via the USB port on the Pi. Rig is set to FM-D using 2m packet frequency.

To confirm Hamlib is working;
pi@linpac:~ $ rigctl -m 3070 -r /dev/ttyUSB0 -s 19200 f
145160000 (this is our packet freq.)
pi@linpac:~ $

First I run direwolf -t 0 -p;

pi@linpac:~ $ direwolf -t 0 -p
Dire Wolf DEVELOPMENT version 1.7 E (Jun 14 2022)
Includes optional support for: hamlib cm108-ptt

Reading config file direwolf.conf
Audio input device for receive: stdin (channel 0)
Audio out device for transmit: plughw:2,0 (channel 0)
Channel 0: 1200 baud, AFSK 1200 & 2200 Hz, A+, 44100 sample rate / 3.
Hamlib error: Unknown rig model 3070. Run "rigctl --list" for a list of model numbers.
Ready to accept AGW client application 0 on port 8000 ...
Ready to accept KISS TCP client application 0 on port 8001 ...
Virtual KISS TNC is available on /dev/pts/1
Created symlink /tmp/kisstnc -> /dev/pts/1
QRT - I pressed Ctrl C here.
Hamlib: Can't use rig_set_ptt for channel 0 PTT because rig_open failed.
pi@linpac:~ $

Listing my serial by id:
pi@linpac:/dev/serial/by-id $ ls -la
total 0
drwxr-xr-x 2 root root 80 Jun 15 07:48 .
drwxr-xr-x 4 root root 80 Jun 15 07:48 ..
lrwxrwxrwx 1 root root 13 Jun 15 07:48 usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_IC-7100_03003450_A-if00-port0 -> ../../ttyUSB0
lrwxrwxrwx 1 root root 13 Jun 15 07:48 usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_IC-7100_03003450_B-if00-port0 -> ../../ttyUSB1
pi@linpac:/dev/serial/by-id $



Need help. IC-7100 on RPi3B not keying.

 

First off, I have a RPi 3B running on Buster. I have installed Hamlib 4.4, Direwolf 1.7 and Linpac 0.29.

Hamlib: rigctl -l | grep IC-7100 - says IC-7100 is model# 3070. In direwolf.conf PTT configuration as; PTT RIG 3070 /dev/ttyUSB0 (I also tried ttyUSB1). Buster assigned ttyUSB0 and ttyUSB1 for the IC-7100 that is connected via the USB port on the Pi. Rig is set to FM-D using 2m packet frequency.

To confirm Hamlib is working;
pi@linpac:~ $ rigctl -m 3070 -r /dev/ttyUSB0 -s 19200 f
145160000 (this is our packet freq.)
pi@linpac:~ $

First I run direwolf -t 0 -p;

pi@linpac:~ $ direwolf -t 0 -p
Dire Wolf DEVELOPMENT version 1.7 E (Jun 14 2022)
Includes optional support for: hamlib cm108-ptt

Reading config file direwolf.conf
Audio input device for receive: stdin (channel 0)
Audio out device for transmit: plughw:2,0 (channel 0)
Channel 0: 1200 baud, AFSK 1200 & 2200 Hz, A+, 44100 sample rate / 3.
Hamlib error: Unknown rig model 3070. Run "rigctl --list" for a list of model numbers.
Ready to accept AGW client application 0 on port 8000 ...
Ready to accept KISS TCP client application 0 on port 8001 ...
Virtual KISS TNC is available on /dev/pts/1
Created symlink /tmp/kisstnc -> /dev/pts/1
QRT - I pressed Ctrl C here.
Hamlib: Can't use rig_set_ptt for channel 0 PTT because rig_open failed.
pi@linpac:~ $

Listing my serial by id:
pi@linpac:/dev/serial/by-id $ ls -la
total 0
drwxr-xr-x 2 root root 80 Jun 15 07:48 .
drwxr-xr-x 4 root root 80 Jun 15 07:48 ..
lrwxrwxrwx 1 root root 13 Jun 15 07:48 usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_IC-7100_03003450_A-if00-port0 -> ../../ttyUSB0
lrwxrwxrwx 1 root root 13 Jun 15 07:48 usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_IC-7100_03003450_B-if00-port0 -> ../../ttyUSB1
pi@linpac:/dev/serial/by-id $


Re: PTT for IC-9700 over network

 

Chris, I have done this. The radio represents itself over USB as serial port(s) and audio devices so the control is very straightforward.

The github code I pasted could free you from the distance limit of USB but if that is not the case, USB is more straightforward.

73,
Erik OH2LAK

On Wed, 15 Jun 2022 at 07:41, Chris Hansen <hansencj@...> wrote:
I was trying to do this over the ethernet lan, not via USB.? I have Direwolf and the Icom RS-BA1 remote control software running on a PC.? But, I am thinking now it might be easier to add a Raspberry PI with a USB connection to the IC-9700.? The Raspberry PI could run Direwolf.? I could then ssh into the RPi from the pc and also use the Icom RS-BA1 remote control software to control the radio.

Has anyone tried this?

Chris?
W6COV


Re: PTT for IC-9700 over network

 

I was trying to do this over the ethernet lan, not via USB.? I have Direwolf and the Icom RS-BA1 remote control software running on a PC.? But, I am thinking now it might be easier to add a Raspberry PI with a USB connection to the IC-9700.? The Raspberry PI could run Direwolf.? I could then ssh into the RPi from the pc and also use the Icom RS-BA1 remote control software to control the radio.

Has anyone tried this?

Chris?
W6COV


Re: PTT for IC-9700 over network

 

Windows.