Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
- Direwolf
- Messages
Search
SSID strategy
I have set up two ax.25 systems to play with and learn packet radio. There is no packet radio activity here at all - apart from some APRS - so my setup is for self-education purposes only.
System 1: TS-2000 / Kubuntu AMD64 + Direwolf System 2: Baofeng UV5R / Raspberry Pi4 + Direwolf Both systems are set up the same with a basic ax.25 stack and the latest version of LinPac, compiled locally. I want to turn system 2 into a full blown node/BBS eventually, but for now it only has LinPac installed. For system 1 I use SSID-10 in the axports config file. For system 2 I use SSID-1 in the axports config file. When setting up Direwolf I read somewhere that the call used in the config file shouldn't have the same SSID as the one used elsewhere, e.g. in axports, so in my Direwolf.conf the call sign BX2ABT without an SSID. But LinPac has it's own configuration files and in init.mac you can basically use any call sign and SSID you which. But I find this confusing, because I know system 2 is BX2ABT-1, but I don't know the users on that system, and if I don't setup a user called BX2ABT-1 in my LinPac init.mac file I can never reach that system by using :c BX2ABT-1. Then thinking ahead: what if I want to add a mailbox, BBS, etc. Do these also come with their own configurations and choice of SSID? So my question is: what is a good strategy to choose SSIDs without running into trouble and without confusing anyone? Cheers, Hans BX2ABT |
Re: No TX audio
开云体育Hello Ross, Ok, let's start from the top.? Your first email mentioned you're running Direwolf v1.5 from Linux but don't get any output sound.? Is this direwolf running on the bare metal Linux host or within a Linux VM?? I ask this because your last message mentioned "Audio output data underrun" which is very unusual for Direwolf but I've seen errors like this when running in a VM.? If it's running on bare metal, any ideas what else might be using that specific soundcard?? Have you rebooted your host recently to give it a fresh start? As an output audio test, maybe you can configure Direwolf to use a different soundcard and see if the modem tones can be heard on a set of speakers/headphones?? Consider using the Direwolf in calibration mode by specifying the "-x a" parameter at the command (see all the options available to you below). Btw, I recommend you upgrade to Direwolf v1.6 as there are a lot of fixes in it compared to v1.5. --David KI6ZHD -- # direwolf -h Dire Wolf DEVELOPMENT version 1.7 A (Jan? 2 2021) Includes optional support for:? gpsd hamlib cm108-ptt Dire Wolf version 1.7 Usage: direwolf [options] [ - | stdin | UDP:nnnn ] Options: ??? -c fname?????? Configuration file name. ??? -l logdir????? Directory name for log files.? Use . for current. ??? -r n?????????? Audio sample rate, per sec. ??? -n n?????????? Number of audio channels, 1 or 2. ??? -b n?????????? Bits per audio sample, 8 or 16. ??? -B n?????????? Data rate in bits/sec for channel 0.? Standard values are 300, 1200, 2400, 4800, 9600. ???????????????????? 300 bps defaults to AFSK tones of 1600 & 1800. ???????????????????? 1200 bps uses AFSK tones of 1200 & 2200. ???????????????????? 2400 bps uses QPSK based on V.26 standard. ???????????????????? 4800 bps uses 8PSK based on V.27 standard. ???????????????????? 9600 bps and up uses K9NG/G3RUH standard. ???????????????????? AIS for ship Automatic Identification System. ???????????????????? EAS for Emergency Alert System (EAS) Specific Area Message Encoding (SAME). ??? -g???????????? Force G3RUH modem regardless of speed. ??? -j???????????? 2400 bps QPSK compatible with direwolf <= 1.5. ??? -J???????????? 2400 bps QPSK compatible with MFJ-2400. ??? -P xxx???????? Modem Profiles. ??? -A???????????? Convert AIS positions to APRS Object Reports. ??? -D n?????????? Divide audio sample rate by n for channel 0. ??? -X n?????????? 1 to enable FX.25 transmit. ??? -d???????????? Debug options: ?????? a???????????? a = AGWPE network protocol client. ?????? k???????????? k = KISS serial port or pseudo terminal client. ?????? n???????????? n = KISS network client. ?????? u???????????? u = Display non-ASCII text in hexadecimal. ?????? p???????????? p = dump Packets in hexadecimal. ?????? g???????????? g = GPS interface. ?????? w???????????? w = Waypoints for Position or Object Reports. ?????? t???????????? t = Tracker beacon. ?????? o???????????? o = output controls such as PTT and DCD. ?????? i???????????? i = IGate. ?????? m???????????? m = Monitor heard station list. ?????? f???????????? f = packet Filtering. ?????? h???????????? h = hamlib increase verbose level. ?????? x???????????? x = FX.25 increase verbose level. ?????? d???????????? d = APRStt (DTMF to APRS object translation). ??? -q???????????? Quiet (suppress output) options: ?????? h???????????? h = Heard line with the audio level. ?????? d???????????? d = Decoding of APRS packets. ?????? x???????????? x = Silence FX.25 information. ??? -t n?????????? Text colors.? 0=disabled. 1=default.? 2,3,4,... alternatives. ???????????????????? Use 9 to test compatibility with your terminal. ??? -a n?????????? Audio statistics interval in seconds.? 0 to disable. ??? -p???????????? Enable pseudo terminal for KISS protocol. ??? -x???????????? Send Xmit level calibration tones. ?????? a???????????? a = Alternating mark/space tones. ?????? m???????????? m = Steady mark tone (e.g. 1200Hz). ?????? s???????????? s = Steady space tone (e.g. 2200Hz). ?????? p???????????? p = Silence (Set PTT only). ??????? chan????????? Optionally add a number to specify radio channel. ??? -u???????????? Print UTF-8 test string and exit. ??? -S???????????? Print symbol tables and exit. ??? -T fmt???????? Time stamp format for sent and received frames. ??? -e ber???????? Receive Bit Error Rate (BER), e.g. 1e-5 After any options, there can be a single command line argument for the source of received audio.? This can overrides the audio input specified in the configuration file. Complete documentation can be found in /usr/local/share/doc/direwolf or online at -- On 11/05/2021 03:02 AM, Ross Wardrup
wrote:
|
Re: No TX audio
Unfortunately, nothing has worked yet. I still don't believe it's RFI because the machine I'm using had Windows installed previously, and Direwolf worked fine on it. I haven't moved the rig, antenna, or coax at all since. Maybe the interface I've got doesn't play nicely with Linux? It's a simple FTDI interface though, so it should work.
I should note that, when trying to transmit, Direwolf displays "Audio output data underrun." |
Re: No TX audio
开云体育shooting off hip,alsamixer -c 1 see that all outputs are not muted (press m or spacebar iirc), and volumes are up -craig KM6LYW On 11/4/21 2:29 PM, Rob Giuliano via
groups.io wrote:
My suggestion for troubleshooting TX sound issues would be: |
Re: No TX audio
My suggestion for troubleshooting TX sound issues would be:
1. Make sure the right card is chosen. ??? No easier/BETTER way to do this than just cycle through them until you get audio. ??? This works best if you can connect a speaker to the sound card you use for TX and make sure audio is coming out. 2. Audio level.? Best to send each tone individually and adjust the volume, then put it into the radio. 3. PTT or VOX settings. If both of them work correctly and you have trouble, then you can look to RFI.? That is not a good place to start, though. |
Re: No TX audio
It the TX light is on BUT you are not successfully transmitting then: - check that there is indeed audio coming out of the sound card during transmit: ?there probably is If there is audio coming out but no decodable packets are occurring, then the packets are plausibly distorted. I have found the Raspberry PI environment very sensitive to RFI with the USB subsystem?being particularly sensitive.? GPS pucks are also problematic. I would?love to say I discovered this myself, but like you I reported?a similar problem and others suggested considering RFI, and RFI it was. And the problem occurs during transmit?(when your transmitter is active and producing RF) but not on receive when the transmitter isnot?producing RF. On Thu, Nov 4, 2021 at 5:12 PM Ross Wardrup <minorsecond@...> wrote: The TX light is on. I don't think RFI is the issue since the VM halfway works. There's just no audio at all when running directly through Linux. I just tried a different antenna for kicks but no dice. --
AB1PH Don Rolph |
Re: No TX audio
Is the transceiver transmit light going on? If it is, but you are not getting a good transmit, make sure you are not suffering?from RFI problems. MOve the system as far away from the transmit antenna as possible. I also had to put ferrite chokes on all leads to keep RFI from actually distorting the signal so it could not be decoded. On Thu, Nov 4, 2021 at 4:51 PM Ross Wardrup <minorsecond@...> wrote: Hi all, --
AB1PH Don Rolph |
No TX audio
Ross Wardrup
Hi all,
I have no TX audio with Direwolf. I've verified what my card # is with aplay -l: *** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC283 Analog [ALC283 Analog]
? Subdevices: 1/1
? Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
? Subdevices: 1/1
? Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
? Subdevices: 1/1
? Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
? Subdevices: 1/1
? Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
? Subdevices: 1/1
? Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
? Subdevices: 1/1
? Subdevice #0: subdevice #0
card 1: Device [USB Audio Device], device 0: USB Audio [USB Audio]
? Subdevices: 1/1
? Subdevice #0: subdevice #0
card 3: CODEC [USB Audio CODEC], device 0: USB Audio [USB Audio]
? Subdevices: 1/1
? Subdevice #0: subdevice #0 The interface for my rig is USB Audio Device, or card 1. I've also verified what the output device is arecord -l. It's the same: **** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC283 Analog [ALC283 Analog]
? Subdevices: 1/1
? Subdevice #0: subdevice #0
card 1: Device [USB Audio Device], device 0: USB Audio [USB Audio]
? Subdevices: 1/1
? Subdevice #0: subdevice #0
card 2: Microphone [Logitech USB Microphone], device 0: USB Audio [USB Audio]
? Subdevices: 1/1
? Subdevice #0: subdevice #0
card 3: CODEC [USB Audio CODEC], device 0: USB Audio [USB Audio]
? Subdevices: 1/1
? Subdevice #0: subdevice #0
Again, I want card 1.? So, in my direwolf.conf file, I have ADEVICE plughw:1,0. Direwolf successfully loads: Dire Wolf version 1.5
Includes optional support for:? hamlib cm108-ptt
?
Reading config file direwolf.conf
Audio device for both receive and transmit: plughw:1,0? (channel 0)
Channel 0: 1200 baud, AFSK 1200 & 2200 Hz, E+, 44100 sample rate.
Ready to accept AGW client application 0 on port 8000 ...
Ready to accept KISS TCP client application 0 on port 8001 ...
However, I am only receiving packets. When I try to transmit, there is no audio. The rig does key up, however. I've verified that my audio device isn't muted. It transmits when run in a Windows VM, but the USB latency is too bad and I can't make a connection. I'm not sure what to check. Any ideas? |
TX echo to TCP/IP or AGW port
I am trying to test some code which receives data from TCP/IP KISS and decodes it.
I thought I used Direwolf before with pbeacon set as a source of data to decode. ?It seems Direwolf (neither 1.6 or 1.7B) doesn't send an internally generated packet to the TCP/IP or AGW port. Is there a way to force the pbeacon data to send over these ports? |
Re: Numbers in audio level
When receiving a Forward Error Correcting (FEC) mode, such as FX.25 or IL2P, the digit indicates the number of "symbols" (bytes) that were corrected.
In this particular case, the "0000" means four of the demodulators received the signal with no errors.? Three of other demodulators required correction of 7, 1, or 5 symbols. |
Re: Numbers in audio level
Those are fx.25 decodes. You're seeing a forward error correction packet. On Oct 28, 2021 6:27 PM, Heber Soto <np4jn@...> wrote:
|
Numbers in audio level
开云体育? I have DW 1.6 on Raspberry Pi, I am seeing now numbers instead of bars is this Is new? ? WP3BM audio level = 7(3/2)??? __7100005 [0.5 21:23:33] WP3BM>KP4DOG-1:(I cmd, n(s)=1, n(r)=7, p=0, pid=0xf0)FF<0x0d> [0L 21:23:34] KP4DOG-1>WP3BM:(I cmd, n(s)=7, n(r)=2, p=1, pid=0xf0)FQ<0x0d> ? Gracias ? Heber NP4JN 73 ? |
Re: CMake Error
The issue is in direwolf, not raspian (RaspberryPiOS).
toggle quoted message
Show quoted text
The issue appears to be with Cmake not producing the proper configuration.?? You don't have to start with a blank SD card.? Just go through the steps for dowloading and compiling.? Use git to download the Direwolf package from github.? Follow the steps from there. If you have the Pi up and running, You will need to make sure the needed tools are installed, as well. sudo apt install git gcc g++ make cmake sudo apt install libasound2-dev libudev-dev You may want to ibstall gps and hamlib before compiling Direwolf. Rob KB8RCO
|
Re: CMake Error
开云体育
Hello Rob,
I wiped the sd card and tried again and now are up to the next step, when I put in make -j4, I get the following: make: *** No targets specified and no makefile found. ?Stop.
I am copying and pasting the commands and still having problems.
Someone needs to download the lastest image of raspberian from the raspberry pi page and see if they can get it to go. I am no linux expert. I did machine language and dos over 25 years ago. I don't want to learn another op system.
Surely there must be a file image somewhere that some has installed direwolf on a raspberry pi and all you have to do is change the configuration.
Regards,
Doug VK2XLJ From: [email protected] <[email protected]> on behalf of Rob Giuliano via groups.io <kb8rco@...>
Sent: Thursday, 28 October 2021 12:22 AM To: [email protected] <[email protected]> Subject: Re: [direwolf] CMake Error ?
Looks to me like you are trying to use CMake from a different directory than you have the "build files" in.
I think you missed the step of changing into the build folder.
??? cd ~
?? ?git clone https://www.github.com/wb2osz/direwolf ?? ?cd direwolf ??? git checkout dev ?? ?mkdir build && cd build ?? ?cmake .. ?? ?make -j4 ?? ?sudo make install ?? ?make install-conf The 2 key, path related, lines are highlighted.
The yellow highlight makes a directory called build
and changes into it.? I believe this is the step you missed.
The green highlight runs cmake with files from a directory - one back from current.
?? If you are NOT in build (/home/pi/direwolf/build) then you are in /home/pi/direwolf
?? If so, cmake .. will look for the needed files in /home/pi
FIX:???? From where you are currently at
?? cd build
??? cmake ..
?? ?make -j4 ?? ?sudo make install ?? ?make install-conf Good luck!
Robert Giuliano On Wednesday, October 27, 2021, 09:11:27 AM EDT, Doug J <vk2xlj@...> wrote:
Hello Group,
I am trying to install direwolf on a raspberry Pi 3 with the latest version of the Raspberry Pi OS (full version) via putty.
I am using the install instructions onthe Github wb2osz/direwolf webpage.
I can only get as far as cmake .. and get the following error:
CMake Error: The source directory "/home/pi" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
I have scanned the message section of this group and cant get any references to a Rasp Pi with this error.
I am going around in circles.
Help please.
Regards,
Doug VK2XLJ |
Re: CMake Error
Looks to me like you are trying to use CMake from a different directory than you have the "build files" in. I think you missed the step of changing into the build folder. ??? cd ~ ?? ?git clone https://www.github.com/wb2osz/direwolf ?? ?cd direwolf ??? git checkout dev ?? ?mkdir build && cd build ?? ?cmake .. ?? ?make -j4 ?? ?sudo make install ?? ?make install-conf The 2 key, path related, lines are highlighted. The yellow highlight makes a directory called build and changes into it.? I believe this is the step you missed. The green highlight runs cmake with files from a directory - one back from current. ?? If you are NOT in build (/home/pi/direwolf/build) then you are in /home/pi/direwolf ?? If so, cmake .. will look for the needed files in /home/pi FIX:???? From where you are currently at ?? cd build ??? cmake .. ?? ?make -j4 ?? ?sudo make install ?? ?make install-conf Good luck! Robert Giuliano
On Wednesday, October 27, 2021, 09:11:27 AM EDT, Doug J <vk2xlj@...> wrote:
Hello Group,
I am trying to install direwolf on a raspberry Pi 3 with the latest version of the Raspberry Pi OS (full version) via putty.
I am using the install instructions onthe Github wb2osz/direwolf webpage.
I can only get as far as cmake .. and get the following error:
CMake Error: The source directory "/home/pi" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
I have scanned the message section of this group and cant get any references to a Rasp Pi with this error.
I am going around in circles.
Help please.
Regards,
Doug VK2XLJ |
CMake Error
开云体育
Hello Group,
I am trying to install direwolf on a raspberry Pi 3 with the latest version of the Raspberry Pi OS (full version) via putty.
I am using the install instructions onthe Github wb2osz/direwolf webpage.
I can only get as far as cmake .. and get the following error:
CMake Error: The source directory "/home/pi" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
I have scanned the message section of this group and cant get any references to a Rasp Pi with this error.
I am going around in circles.
Help please.
Regards,
Doug VK2XLJ |
to navigate to use esc to dismiss