开云体育

Date

Problem changing fg & bg colors in Direwolf

 

I have sight issues and the default white background bothers me. I can go into "Properties" by right clicking title bar and I see 2 choices one for "colors" and the other for "terminal" so I am confused on which is the right tab to be in.? If I try changing colors it doesnt do anything. Please help! I want a BLACK background with GREEN and BLUE text.


Re: Very simple, low level texting possible??

 

This is the working UI "chatting" test build with hamlib PTT on the IC-F8101.? I am just sitting on 30m APRS channel to
gather up some receptions.? Doing this forced me to flesh out my old UIKISSUtils class, so worth the fun diversion.

John, your debugging info switches helped out a LOT.? Thanks for those.


Re: Direwolf, hamlib, and pi, oh my

 

Ah yup.? just had to blow away the build directory and start again .

hamlib latest and direwolf latest confirmed on IC-F8101 via USB CI-V control and USB sound card when set to the proper operating mode for the sound card.


Re: Direwolf, hamlib, and pi, oh my

 

Rick,
Did it actually require *removing* direwolf or just a recompile/reinstall?

Having a similar situation with the IC-F8101 rig (3086).? I helped the hamlib folks get that radio working but direwolf complains.
Hamlib error: Unknown rig model 3086.? Run "rigctl --list" for a list of model numbers.
rigctl is working fine with the radio, so it's not a hamlib issue.

Mitch


Re: Very simple, low level texting possible??

Lynn Deffenbaugh
 

开云体育

I'm not remembering just which parts of the AX.25 protocol are HDLC, but as a test of my own understanding, the KISS interface to Direwolf may get you most of the way there.? The AX.25 packet is fully formed in the KISS packet by the client software.? AFAIK, the only thing Direwolf does is the frame check sum, bit stuffing and actual audio modulation.? On the receiving end, I'm not sure what parts need to align other than the FCS in order to get the received "packet" back to the KISS client.

Watching for John's definitive clarification on my understanding and your planned usage.

Lynn (D) - KJ4ERJ - Author of APRSISCE for Windows Mobile and Win32




On 4/12/2022 9:58 AM, Mitch Winkle wrote:

Greetings John,? Been many years!

I was hoping you would say that.? I have an existing use case in mind particularly for the FEC mode.? We are using FLDIGI right now, but it has become somewhat cumbersome and the ability to use Direwolf and SBC's would be a real bonus.

I would LOVE to eventually unwind from around the HDLC axle actually.? I was thinking of Direwolf as a CODEC, that does not care about the framing and layered protocols.? I can take care of that in software.? HDLC is adorable for hardware, yet terribly limiting for software systems that do not have such artificially created restraints.

I am boiling it all down in my noggin' now, so maybe we'll flesh out the brainstorming here after a few rounds of common sense. ;)

Re: MQTT, I have made extensive use of it as an inter-process communication vehicle, both with a local broker or a remote one (on AWS).? The broker lines up rather nicely as somewhat of a "REST" api with a little imagination.? It also puts the web browser and the phone/tablet into the picture easily given that there are MQTT clients for just about anything now.? What I have used it for the MOST is to turn the radio/modem/device into an appliance that may be monitored, controlled, etc. from anywhere network accessibility allows.

That last phrase is where your question comes in.? How can we leverage OTA for MQTT type activities.? It's a paradigm shift from traditional MQTT thinking.? Should be a fun thought project.

73,
Mitch
AB4MW



Re: Very simple, low level texting possible??

 

I also made the error of setting up the HF radio for Direwolf which has no easily accessible PTT line (IC-F8101), so I haven't been able to do TX testing yet.? I see some rooting around in the sound card interface drawer in my future, for my EasyDigi to append to the FT-450D.


Re: Very simple, low level texting possible??

 

Greetings John,? Been many years!

I was hoping you would say that.? I have an existing use case in mind particularly for the FEC mode.? We are using FLDIGI right now, but it has become somewhat cumbersome and the ability to use Direwolf and SBC's would be a real bonus.

I would LOVE to eventually unwind from around the HDLC axle actually.? I was thinking of Direwolf as a CODEC, that does not care about the framing and layered protocols.? I can take care of that in software.? HDLC is adorable for hardware, yet terribly limiting for software systems that do not have such artificially created restraints.

I am boiling it all down in my noggin' now, so maybe we'll flesh out the brainstorming here after a few rounds of common sense. ;)

Re: MQTT, I have made extensive use of it as an inter-process communication vehicle, both with a local broker or a remote one (on AWS).? The broker lines up rather nicely as somewhat of a "REST" api with a little imagination.? It also puts the web browser and the phone/tablet into the picture easily given that there are MQTT clients for just about anything now.? What I have used it for the MOST is to turn the radio/modem/device into an appliance that may be monitored, controlled, etc. from anywhere network accessibility allows.

That last phrase is where your question comes in.? How can we leverage OTA for MQTT type activities.? It's a paradigm shift from traditional MQTT thinking.? Should be a fun thought project.

73,
Mitch
AB4MW


Re: Very simple, low level texting possible??

 

John,
Andreas Spiess (the guy with the swiss accent) sparked my interest with this video:

My thought was maybe I could get a APRS posit into the TTN (The Things Network), retrieve it with a
APRS gateway, which would inject it into the APRS network proper.
Haven't got much further than that, as I'm busily reading about the TTN. I'll add your hrot project
to my reading list.

Ian
VK1IAN

On 12/4/22 9:42 am, WB2OSZ wrote:
Direwolf is perfectly happy with HDLC frames containing any random binary bytes.
It is not necessary to adhere to AX.25 format for the contents.
The KISS protocol is also perfectly happy with any binary data.

Please keep us informed on what you are up to.??

On the subject of MQTT, I would like to see more IoT activity using ham radio.
It seems like there would be many interesting applications.
Here is a prototype implementation for a gateway between MQTT and APRS messages.


Has anyone been doing anything with IoT over ham radio?

73,
John WB2OSZ


Re: Very simple, low level texting possible??

 

Direwolf is perfectly happy with HDLC frames containing any random binary bytes.
It is not necessary to adhere to AX.25 format for the contents.
The KISS protocol is also perfectly happy with any binary data.

Please keep us informed on what you are up to.??

On the subject of MQTT, I would like to see more IoT activity using ham radio.
It seems like there would be many interesting applications.
Here is a prototype implementation for a gateway between MQTT and APRS messages.
?

Has anyone been doing anything with IoT over ham radio?

73,
John WB2OSZ


Re: Very simple, low level texting possible??

 

Wow, there's a blast from the past!? I just ran across the UIChat v1.07 code the other day (it's on github now), and I even scrounged up some of the v2 code after an arduous search in the archives.

I have been "going down the road" that the OP was on also.? The UI frame (and AX.25 in general) is a rather cumbersome methodology that we have canonized for APRS and the rest.? APRS has been bastardized nearly beyond recognition now.? Time from some fresh meat.

The gears got to turning and I was thinking, "There has to be a better way." (because there is almost always a better way!).? So I did a search here to see if anyone had broached the subject of using Direwolf as nothing more than a CODEC (protocol-free Direwolf!? sounds like a political slogan), particularly the FEC variants now in play.? So in other words, if Direwolf will happily send and receive random data, I could then layer my own protocol and my typical extensions which make the "system" more flexible and manageable from an enterprise perspective.? I have an ARQ methodology that's a bit different than the AX.25 stuff, and geared well toward FEC enabled CODECs.

John, I have spent a LOT of time applying MQTT tech to radio systems in the past few years, so we have some common ground there as well.

Greetings once again all.? It's been a lot of years since I have been around this group.? Glad to see some familiar names still.

Regards,

Mitch
AB4MW

(formerly AC4IY)


Re: Direwolf and Rig on a "Dual-purpose" Mobile Radio - Disable transmit if Radio is not on correct frequency?

 

开云体育


Hello Roadie,

Kind of an oddball question; I've got Direwolf Set up with a (windows) Computer and my IC-7100 in a 90% headless mobile set up and it works well. However, occasionally our group will switch over to a repeater or simplex frequency, and during this changeover I have to connect my remote head (long story involving wifi and vnc, which I primarily use when stopped) and close Direwolf to avoid Direwolf Keying, but not transmitting (due to not being in FM-D), a packet.

?

Is there a way that I'm missing (or should I submit a github enhancement request?) to set up direwolf to only transmit if the radio is on a configured frequency? This way I could just change channels on the radio head and not have to connect to Direwolf to Disable it (I know the linux builds have the ability to have a GPIO Inhibit TX switch wired up as well, which may be an avenue I end up going if windows can support it).


Direwolf does not have any awareness of what frequency your radio is on so this isn't directly possible.? You already brought up the TX Inhibit GPIO pin ideal but that's only available for Raspberry Pi units and not Windows.? I wonder if some other mechanism could be created to emulate this TX inhibit feature.? Some ideas could include:

?? - Maybe some sort of software signal (UNIX signal, maybe WIndows as something similar, etc) sent to the running Direwolf program to toggle on/off the TX inhibit
?? - Maybe Direwolf can check for a lock file presence for the the TX inhibit
?? - Maybe Direwolf for Windows can support GPIO pins -
?? - etc

--David
KI6ZHD


Direwolf and Rig on a "Dual-purpose" Mobile Radio - Disable transmit if Radio is not on correct frequency?

 

Kind of an oddball question; I've got Direwolf Set up with a (windows) Computer and my IC-7100 in a 90% headless mobile set up and it works well. However, occasionally our group will switch over to a repeater or simplex frequency, and during this changeover I have to connect my remote head (long story involving wifi and vnc, which I primarily use when stopped) and close Direwolf to avoid Direwolf Keying, but not transmitting (due to not being in FM-D), a packet.

?

Is there a way that I'm missing (or should I submit a github enhancement request?) to set up direwolf to only transmit if the radio is on a configured frequency? This way I could just change channels on the radio head and not have to connect to Direwolf to Disable it (I know the linux builds have the ability to have a GPIO Inhibit TX switch wired up as well, which may be an avenue I end up going if windows can support it).

Thanks for letting me pick your collective brains.
-Roadie


Re: starting direwolf errors

 

开云体育


Hey Clinton,

I’m using the command line from the powerpoint

?

rtl_fm -f 144.39M - | direwolf -c sdr.conf -r 24000 -D 1


What power point are you talking about?? Can you give a URL here?? As you can see, the "-" next to the 144.390M is shorter than the one after the "-D 1".? It's that second one that's breaking things for you.


I have the the baofeng and the rtl-sdr connected to 2 different antennas, the radio antenna is in my garage up about 9 feet and the rtl-sdr is in my office up about 4 feet, I will eventually move them but I am trying to get this set up and going first.

What is your higher priority?? Sending or Receiving??? Whichever it is, use antenna that is up 9ft with the priority radio as the height will make a big difference.? I would recommend to connect the SDR to the garage antenna so you get it away from hearing all the other electrical noise in your office.



sudo apt-get install cmake build-essential libusb-1.0-0-dev

cd ~
git clone git://git.osmocom.org/rtl-sdr.git
cd rtl-sdr
mkdir build
cd build
cmake ../ -DINSTALL_UDEV_RULES=ON -DDETACH_KERNEL_DRIVER=ON
make
sudo make install
sudo ldconfig


I don't know why whatever PPT you're following here is recommending to build from scratch.? That will get you the newest code (a good thing) but it might not be well tested with your Rasberry Pi's OS and it's other packages.? Unless you know you need some specific bleeding edge code or feature, I don't recommend to go this route unless required.


I think I have another rtl-sdr in my stash, I’ll find it and see if that helps.


Ok


I did try the command grep “Dire Wolf DEVELOPMENT” src/direwolf.c but that only returned the line

Grep: src/direwolf.c: No such file or directory


That was for the other person on the email list who is running on Windows.? Since you're not seemingly building Direwolf from source code, you won't need to do this.


-- [ next email ]--


>I typed it in and I didn’t get as many errors but it freezes up and doesn’t return the command prompt, plus I don’t see it listed on the map


What map are you talking about?? Are you talking about something like ?


>It still cannot open the sdr.conf file, in bold (red)

>pi@raspberrypi:~/direwolf $ rtl_fm -f 144.39M - | direwolf -c sdr.conf -r 24000 -D 1 -


I see you're logged in as the "pi" user and you're in the "direwolf" directory.? At the command line, if you run "ls -la", do you see a sdr.conf file?? I bet you don't.? This PPT you're following should have told you to make a copy.? Assuming your Direwolf was installed from a packet, this should work fine:

?? cp /usr/share/doc/direwolf/conf/sdr.conf ~pi/direwolf


At that point, you'll need to edit this sdr.conf file to fit your needs.? Please read the Direwolf User Guide to learn how:


??


I also recommend to read the "Raspberry-Pi-SDR-IGate.pdf" doc as I think this is what you're aiming for.



>Audio input device for receive: stdin? (channel 0)

>Audio out device for transmit: default? (channel 0)


That first line looks much better now
That second line says you're routing the output audio to "default".. aka PulseAudio.? That's ok but you will need to configure that sdr.conf file to point to the sound device that it's output is connected to the Baofeng radio.




>Found 1 device(s):

>Channel 0: 1200 baud, AFSK 1200 & 2200 Hz, E+, 24000 sample rate.


That looks good



>Note: PTT not configured for channel 0. (Ignore this if using VOX.)


How are you going to key up the Baofeng HT??? YOu will need to configure that in the sdr.conf file and have the required cable or radio interface device (Signalink, etc) to make the radio key up.



>? 0:? Realtek, RTL2838UHIDIR, SN: 00000001

>Using device 0: Generic RTL2832U OEM

>Detached kernel driver

>Found Rafael Micro R820T tuner

>Tuner gain set to automatic.

>Tuned to 144642000 Hz.

>Oversampling input by: 42x.

>Oversampling output by: 1x.

>Buffer size: 8.13ms

>Exact sample rate is: 1008000.009613 Hz

>Sampling at 1008000 S/s.

>Output at 24000 Hz.


That all looks ok.? Have you tried testing the rtl_fm program by listening to it's output??? Try something like this but change the frequency for a STRONG Broadcast FM radio station (this assumes you have ALSA play installed):


??? rtl_fm -f 97.7M -W - | aplay -r 16k -f S16_LE -t raw -c 2 -D default


if you cannot hear your chosen radio station very clearly, you need to improve your antenna situation, your SDR's gain settings, and your computer setup first.? Only once the SDR is working with strong signals should you try APRS frequencies which will be much weaker.



--David
KI6ZHD



Re: starting direwolf errors

 

Thank you to all the quick responses, I finally was able to get it working, I was an idiot and needed to plug a usb soundcard instead of running it to the one on the pi, duh.?
Thanks again everyone!!
KM6KHT
73


Re: starting direwolf errors

 

开云体育

Hi

I typed it in and I didn’t get as many errors but it freezes up and doesn’t return the command prompt, plus I don’t see it listed on the map

It still cannot open the sdr.conf file, in bold (red)

?

pi@raspberrypi:~/direwolf $ rtl_fm -f 144.39M - | direwolf -c sdr.conf -r 24000 -D 1 -

Dire Wolf version 1.6

Includes optional support for:? cm108-ptt

ERROR - Could not open config file sdr.conf

Try using -c command line option for alternate location.

Audio input device for receive: stdin? (channel 0)

Audio out device for transmit: default? (channel 0)

Found 1 device(s):

Channel 0: 1200 baud, AFSK 1200 & 2200 Hz, E+, 24000 sample rate.

Note: PTT not configured for channel 0. (Ignore this if using VOX.)

Ready to accept AGW client application 0 on port 8000 ...

Ready to accept KISS TCP client application 0 on port 8001 ...

? 0:? Realtek, RTL2838UHIDIR, SN: 00000001

?

Using device 0: Generic RTL2832U OEM

Detached kernel driver

Found Rafael Micro R820T tuner

Tuner gain set to automatic.

Tuned to 144642000 Hz.

Oversampling input by: 42x.

Oversampling output by: 1x.

Buffer size: 8.13ms

Exact sample rate is: 1008000.009613 Hz

Sampling at 1008000 S/s.

Output at 24000 Hz.

?

?

?

Sent from for Windows

?

From: Clinton Hunter via groups.io
Sent: Sunday, April 10, 2022 10:09 PM
To: [email protected]
Subject: Re: [direwolf] starting direwolf errors

?

Hi,

I’m using the command line from the powerpoint

?

rtl_fm -f 144.39M - | direwolf -c sdr.conf -r 24000 -D 1

For the original steps I was using the powerpoint from direwolf

?

I have the the baofeng and the rtl-sdr connected to 2 different antennas, the radio antenna is in my garage up about 9 feet and the rtl-sdr is in my office up about 4 feet, I will eventually move them but I am trying to get this set up and going first.

?

To set up the rtl-sdr in raspberry pi I put in the following commands from the powerpoint:

?

Open a terminal on your Raspberry PI, and issue the following commands:

sudo apt-get update
sudo apt-get install cmake build-essential libusb-1.0-0-dev
cd ~
git clone git://git.osmocom.org/rtl-sdr.git
cd rtl-sdr
mkdir build
cd build
cmake ../ -DINSTALL_UDEV_RULES=ON -DDETACH_KERNEL_DRIVER=ON
make
sudo make install
sudo ldconfig

?

I think I have another rtl-sdr in my stash, I’ll find it and see if that helps.

?

I did paste the command above to start direwolf, I’ll type it in and see if anything changes

?

I did try the command grep “Dire Wolf DEVELOPMENT” src/direwolf.c but that only returned the line

Grep: src/direwolf.c: No such file or directory

?

Thanks again for your help

?

Sent from for Windows

?

From: David Ranch
Sent: Sunday, April 10, 2022 8:34 PM
To: [email protected]
Subject: Re: [direwolf] starting direwolf errors

?


Hello Clinton,

I finally figured the issue with the install (updated commands are helpful) but when running direwolf I get the following errors.


For the "original steps" you were following, where did you read those?? Do you have a URL?


My set up is a baofeng UV5R+, RTL-SDR receiver R820T2, raspberry pi 3B+. Thank you for any help, yes I am new to this. The bold are the red error lines


Can you describe your setup?? Since you 're showing two radios here (a Baofeng and a RTL SDR), I hope you have these connected to two different antennas and they are placed far apart.? Unless you're very careful here, you can destroy your SDR if the Baofeng radio transmits into it.

?

Dire Wolf version 1.6

Includes optional support for:? cm108-ptt

ERROR - Could not open config file sdr.conf

Try using -c command line option for alternate location.


Please show us how you're trying to start Direwolf (the command line) as well as share us any configuration files.? It's clear here that Direwolf cannot find the "sdr.conf" file from the current directory you're in when you try to start Direwolf.


Audio input device for receive: –? (channel 0)

Audio out device for transmit: default? (channel 0)


This looks as if you're trying to take the output from rtl_fm and send it into Direwolf.? That's fine for receive.


ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM –

Could not open audio device – for input

No such file or directory


You might be victim to a classic Microsoft copy and paste issue where Windows will translate a "-" hyphen character into a LONGer unicode character that looks similar but it's NOT.? In the command line start up or in the direwolf.conf file, be sure the input is using a real hyphen character.


Exact sample rate is: 1008000.009613 Hz

r82xx_write: i2c wr failed=-9 reg=12 len=1

r82xx_set_freq: failed=-9


Those errors don't look good though maybe not fatal.? Where did you get this RTL dongle?? Not all are equal and some of these are very poorly made, poorly supported, etc.

--David
KI6ZHD

?

?


Re: starting direwolf errors

 

开云体育

Update:

?

I changed the starting command and it looks like it is almost starting except for 1 error

?

I noticed the rtl_fm:invalid option and changed it back to? -f but then it freezes like before with the same error as below

?

pi@raspberrypi:~/direwolf $? rtl_fm -c 144.39M - | direwolf -c sdr.conf -c 24000 -c 1 -

rtl_fm: invalid option -- 'c'

rtl_fm, a simple narrow band FM demodulator for RTL2832 based DVB-T receivers

?

Use:??? rtl_fm -f freq [-options] [filename]

??????? -f frequency_to_tune_to [Hz]

??????????? use multiple -f for scanning (requires squelch)

??????????? ranges supported, -f 118M:137M:25k

??????? [-M modulation (default: fm)]

??????????? fm, wbfm, raw, am, usb, lsb

??????????? wbfm == -M fm -s 170k -o 4 -A fast -r 32k -l 0 -E deemp

??????????? raw mode outputs 2x16 bit IQ pairs

??????? [-s sample_rate (default: 24k)]

??????? [-d device_index (default: 0)]

??????? [-T enable bias-T on GPIO PIN 0 (works for rtl-sdr.com v3 dongles)]

??????? [-g tuner_gain (default: automatic)]

??????? [-l squelch_level (default: 0/off)]

??????? [-p ppm_error (default: 0)]

??????? [-E enable_option (default: none)]

??????????? use multiple -E to enable multiple options

??????? ????edge:??? enable lower edge tuning

??????????? dc:????? enable dc blocking filter

??????????? deemp:?? enable de-emphasis filter

??????????? direct:? enable direct sampling 1 (usually I)

??????????? direct2: enable direct sampling 2 (usually Q)

??????? ????offset:? enable offset tuning

??????? filename ('-' means stdout)

??????????? omitting the filename also uses stdout

?

Experimental options:

??????? [-r resample_rate (default: none / same as -s)]

??????? [-t squelch_delay (default: 10)]

??????????? +values will mute/scan, -values will exit

??????? [-F fir_size (default: off)]

??????????? enables low-leakage downsample filter

??????????? size can be 0 or 9.? 0 has bad roll off

??????? [-A std/fast/lut choose atan math (default: std)]

?

Produces signed 16 bit ints, use Sox or aplay to hear them.

??????? rtl_fm ... | play -t raw -r 24k -es -b 16 -c 1 -V1 -

?????????????????? | aplay -r 24k -f S16_LE -t raw -c 1

????????? -M wbfm? | play -r 32k ...

????????? -s 22050 | multimon -t raw /dev/stdin

?

Dire Wolf version 1.6

Includes optional support for:? cm108-ptt

ERROR - Could not open config file 1

Try using -c command line option for alternate location.

Audio input device for receive: stdin? (channel 0)

Audio out device for transmit: default? (channel 0)

Channel 0: 1200 baud, AFSK 1200 & 2200 Hz, E+, 44100 sample rate / 3.

Note: PTT not configured for channel 0. (Ignore this if using VOX.)

Ready to accept KISS TCP client application 0 on port 8001 ...

Ready to accept AGW client application 0 on port 8000 ...

?

End of file on stdin.? Exiting.

?

Sent from for Windows

?

From: Clinton Hunter via groups.io
Sent: Sunday, April 10, 2022 10:27 PM
To: [email protected]
Subject: Re: [direwolf] starting direwolf errors

?

Hi

I typed it in and I didn’t get as many errors but it freezes up and doesn’t return the command prompt, plus I don’t see it listed on the map

It still cannot open the sdr.conf file, in bold (red)

?

pi@raspberrypi:~/direwolf $ rtl_fm -f 144.39M - | direwolf -c sdr.conf -r 24000 -D 1 -

Dire Wolf version 1.6

Includes optional support for:? cm108-ptt

ERROR - Could not open config file sdr.conf

Try using -c command line option for alternate location.

Audio input device for receive: stdin? (channel 0)

Audio out device for transmit: default? (channel 0)

Found 1 device(s):

Channel 0: 1200 baud, AFSK 1200 & 2200 Hz, E+, 24000 sample rate.

Note: PTT not configured for channel 0. (Ignore this if using VOX.)

Ready to accept AGW client application 0 on port 8000 ...

Ready to accept KISS TCP client application 0 on port 8001 ...

? 0:? Realtek, RTL2838UHIDIR, SN: 00000001

?

Using device 0: Generic RTL2832U OEM

Detached kernel driver

Found Rafael Micro R820T tuner

Tuner gain set to automatic.

Tuned to 144642000 Hz.

Oversampling input by: 42x.

Oversampling output by: 1x.

Buffer size: 8.13ms

Exact sample rate is: 1008000.009613 Hz

Sampling at 1008000 S/s.

Output at 24000 Hz.

?

?

?

Sent from for Windows

?

From: Clinton Hunter via groups.io
Sent: Sunday, April 10, 2022 10:09 PM
To: [email protected]
Subject: Re: [direwolf] starting direwolf errors

?

Hi,

I’m using the command line from the powerpoint

?

rtl_fm -f 144.39M - | direwolf -c sdr.conf -r 24000 -D 1

For the original steps I was using the powerpoint from direwolf

?

I have the the baofeng and the rtl-sdr connected to 2 different antennas, the radio antenna is in my garage up about 9 feet and the rtl-sdr is in my office up about 4 feet, I will eventually move them but I am trying to get this set up and going first.

?

To set up the rtl-sdr in raspberry pi I put in the following commands from the powerpoint:

?

Open a terminal on your Raspberry PI, and issue the following commands:

sudo apt-get update
sudo apt-get install cmake build-essential libusb-1.0-0-dev
cd ~
git clone git://git.osmocom.org/rtl-sdr.git
cd rtl-sdr
mkdir build
cd build
cmake ../ -DINSTALL_UDEV_RULES=ON -DDETACH_KERNEL_DRIVER=ON
make
sudo make install
sudo ldconfig

?

I think I have another rtl-sdr in my stash, I’ll find it and see if that helps.

?

I did paste the command above to start direwolf, I’ll type it in and see if anything changes

?

I did try the command grep “Dire Wolf DEVELOPMENT” src/direwolf.c but that only returned the line

Grep: src/direwolf.c: No such file or directory

?

Thanks again for your help

?

Sent from for Windows

?

From: David Ranch
Sent: Sunday, April 10, 2022 8:34 PM
To: [email protected]
Subject: Re: [direwolf] starting direwolf errors

?


Hello Clinton,

I finally figured the issue with the install (updated commands are helpful) but when running direwolf I get the following errors.


For the "original steps" you were following, where did you read those?? Do you have a URL?

My set up is a baofeng UV5R+, RTL-SDR receiver R820T2, raspberry pi 3B+. Thank you for any help, yes I am new to this. The bold are the red error lines


Can you describe your setup?? Since you 're showing two radios here (a Baofeng and a RTL SDR), I hope you have these connected to two different antennas and they are placed far apart.? Unless you're very careful here, you can destroy your SDR if the Baofeng radio transmits into it.

?

Dire Wolf version 1.6

Includes optional support for:? cm108-ptt

ERROR - Could not open config file sdr.conf

Try using -c command line option for alternate location.


Please show us how you're trying to start Direwolf (the command line) as well as share us any configuration files.? It's clear here that Direwolf cannot find the "sdr.conf" file from the current directory you're in when you try to start Direwolf.

Audio input device for receive: –? (channel 0)

Audio out device for transmit: default? (channel 0)


This looks as if you're trying to take the output from rtl_fm and send it into Direwolf.? That's fine for receive.

ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM –

Could not open audio device – for input

No such file or directory


You might be victim to a classic Microsoft copy and paste issue where Windows will translate a "-" hyphen character into a LONGer unicode character that looks similar but it's NOT.? In the command line start up or in the direwolf.conf file, be sure the input is using a real hyphen character.

Exact sample rate is: 1008000.009613 Hz

r82xx_write: i2c wr failed=-9 reg=12 len=1

r82xx_set_freq: failed=-9


Those errors don't look good though maybe not fatal.? Where did you get this RTL dongle?? Not all are equal and some of these are very poorly made, poorly supported, etc.

--David
KI6ZHD

?

?

?


Re: starting direwolf errors

 

开云体育

Hi

I typed it in and I didn’t get as many errors but it freezes up and doesn’t return the command prompt, plus I don’t see it listed on the map

It still cannot open the sdr.conf file, in bold (red)

?

pi@raspberrypi:~/direwolf $ rtl_fm -f 144.39M - | direwolf -c sdr.conf -r 24000 -D 1 -

Dire Wolf version 1.6

Includes optional support for:? cm108-ptt

ERROR - Could not open config file sdr.conf

Try using -c command line option for alternate location.

Audio input device for receive: stdin? (channel 0)

Audio out device for transmit: default? (channel 0)

Found 1 device(s):

Channel 0: 1200 baud, AFSK 1200 & 2200 Hz, E+, 24000 sample rate.

Note: PTT not configured for channel 0. (Ignore this if using VOX.)

Ready to accept AGW client application 0 on port 8000 ...

Ready to accept KISS TCP client application 0 on port 8001 ...

? 0:? Realtek, RTL2838UHIDIR, SN: 00000001

?

Using device 0: Generic RTL2832U OEM

Detached kernel driver

Found Rafael Micro R820T tuner

Tuner gain set to automatic.

Tuned to 144642000 Hz.

Oversampling input by: 42x.

Oversampling output by: 1x.

Buffer size: 8.13ms

Exact sample rate is: 1008000.009613 Hz

Sampling at 1008000 S/s.

Output at 24000 Hz.

?

?

?

Sent from for Windows

?

From: Clinton Hunter via groups.io
Sent: Sunday, April 10, 2022 10:09 PM
To: [email protected]
Subject: Re: [direwolf] starting direwolf errors

?

Hi,

I’m using the command line from the powerpoint

?

rtl_fm -f 144.39M - | direwolf -c sdr.conf -r 24000 -D 1

For the original steps I was using the powerpoint from direwolf

?

I have the the baofeng and the rtl-sdr connected to 2 different antennas, the radio antenna is in my garage up about 9 feet and the rtl-sdr is in my office up about 4 feet, I will eventually move them but I am trying to get this set up and going first.

?

To set up the rtl-sdr in raspberry pi I put in the following commands from the powerpoint:

?

Open a terminal on your Raspberry PI, and issue the following commands:

sudo apt-get update
sudo apt-get install cmake build-essential libusb-1.0-0-dev
cd ~
git clone git://git.osmocom.org/rtl-sdr.git
cd rtl-sdr
mkdir build
cd build
cmake ../ -DINSTALL_UDEV_RULES=ON -DDETACH_KERNEL_DRIVER=ON
make
sudo make install
sudo ldconfig

?

I think I have another rtl-sdr in my stash, I’ll find it and see if that helps.

?

I did paste the command above to start direwolf, I’ll type it in and see if anything changes

?

I did try the command grep “Dire Wolf DEVELOPMENT” src/direwolf.c but that only returned the line

Grep: src/direwolf.c: No such file or directory

?

Thanks again for your help

?

Sent from for Windows

?

From: David Ranch
Sent: Sunday, April 10, 2022 8:34 PM
To: [email protected]
Subject: Re: [direwolf] starting direwolf errors

?


Hello Clinton,

I finally figured the issue with the install (updated commands are helpful) but when running direwolf I get the following errors.


For the "original steps" you were following, where did you read those?? Do you have a URL?


My set up is a baofeng UV5R+, RTL-SDR receiver R820T2, raspberry pi 3B+. Thank you for any help, yes I am new to this. The bold are the red error lines


Can you describe your setup?? Since you 're showing two radios here (a Baofeng and a RTL SDR), I hope you have these connected to two different antennas and they are placed far apart.? Unless you're very careful here, you can destroy your SDR if the Baofeng radio transmits into it.

?

Dire Wolf version 1.6

Includes optional support for:? cm108-ptt

ERROR - Could not open config file sdr.conf

Try using -c command line option for alternate location.


Please show us how you're trying to start Direwolf (the command line) as well as share us any configuration files.? It's clear here that Direwolf cannot find the "sdr.conf" file from the current directory you're in when you try to start Direwolf.


Audio input device for receive: –? (channel 0)

Audio out device for transmit: default? (channel 0)


This looks as if you're trying to take the output from rtl_fm and send it into Direwolf.? That's fine for receive.


ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM –

Could not open audio device – for input

No such file or directory


You might be victim to a classic Microsoft copy and paste issue where Windows will translate a "-" hyphen character into a LONGer unicode character that looks similar but it's NOT.? In the command line start up or in the direwolf.conf file, be sure the input is using a real hyphen character.


Exact sample rate is: 1008000.009613 Hz

r82xx_write: i2c wr failed=-9 reg=12 len=1

r82xx_set_freq: failed=-9


Those errors don't look good though maybe not fatal.? Where did you get this RTL dongle?? Not all are equal and some of these are very poorly made, poorly supported, etc.

--David
KI6ZHD

?

?


Re: starting direwolf errors

 

开云体育

Hi,

I’m using the command line from the powerpoint

?

rtl_fm -f 144.39M - | direwolf -c sdr.conf -r 24000 -D 1

For the original steps I was using the powerpoint from direwolf

?

I have the the baofeng and the rtl-sdr connected to 2 different antennas, the radio antenna is in my garage up about 9 feet and the rtl-sdr is in my office up about 4 feet, I will eventually move them but I am trying to get this set up and going first.

?

To set up the rtl-sdr in raspberry pi I put in the following commands from the powerpoint:

?

Open a terminal on your Raspberry PI, and issue the following commands:

sudo apt-get update
sudo apt-get install cmake build-essential libusb-1.0-0-dev
cd ~
git clone git://git.osmocom.org/rtl-sdr.git
cd rtl-sdr
mkdir build
cd build
cmake ../ -DINSTALL_UDEV_RULES=ON -DDETACH_KERNEL_DRIVER=ON
make
sudo make install
sudo ldconfig

?

I think I have another rtl-sdr in my stash, I’ll find it and see if that helps.

?

I did paste the command above to start direwolf, I’ll type it in and see if anything changes

?

I did try the command grep “Dire Wolf DEVELOPMENT” src/direwolf.c but that only returned the line

Grep: src/direwolf.c: No such file or directory

?

Thanks again for your help

?

Sent from for Windows

?

From: David Ranch
Sent: Sunday, April 10, 2022 8:34 PM
To: [email protected]
Subject: Re: [direwolf] starting direwolf errors

?


Hello Clinton,


I finally figured the issue with the install (updated commands are helpful) but when running direwolf I get the following errors.


For the "original steps" you were following, where did you read those?? Do you have a URL?



My set up is a baofeng UV5R+, RTL-SDR receiver R820T2, raspberry pi 3B+. Thank you for any help, yes I am new to this. The bold are the red error lines


Can you describe your setup?? Since you 're showing two radios here (a Baofeng and a RTL SDR), I hope you have these connected to two different antennas and they are placed far apart.? Unless you're very careful here, you can destroy your SDR if the Baofeng radio transmits into it.


?

Dire Wolf version 1.6

Includes optional support for:? cm108-ptt

ERROR - Could not open config file sdr.conf

Try using -c command line option for alternate location.


Please show us how you're trying to start Direwolf (the command line) as well as share us any configuration files.? It's clear here that Direwolf cannot find the "sdr.conf" file from the current directory you're in when you try to start Direwolf.



Audio input device for receive: –? (channel 0)

Audio out device for transmit: default? (channel 0)


This looks as if you're trying to take the output from rtl_fm and send it into Direwolf.? That's fine for receive.



ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM –

Could not open audio device – for input

No such file or directory


You might be victim to a classic Microsoft copy and paste issue where Windows will translate a "-" hyphen character into a LONGer unicode character that looks similar but it's NOT.? In the command line start up or in the direwolf.conf file, be sure the input is using a real hyphen character.



Exact sample rate is: 1008000.009613 Hz

r82xx_write: i2c wr failed=-9 reg=12 len=1

r82xx_set_freq: failed=-9


Those errors don't look good though maybe not fatal.? Where did you get this RTL dongle?? Not all are equal and some of these are very poorly made, poorly supported, etc.

--David
KI6ZHD

?


Re: Alternate KISS port

 

Hi David,

I'm on Windows 10 and I don't have build tools setup. The latest on the releases page is v1.7 A.

Should I move to the stable branch?


From: "David Ranch" <direwolf-groupsio@...>
To: [email protected]
Sent: Sunday, April 10, 2022 10:43:58 PM
Subject: Re: [direwolf] Alternate KISS port

Hello Danny,

Direwolf v1.7A is a rather old version of the DEV branch as the current version is 1.7E:

?? grep "Dire Wolf DEVELOPMENT" src/direwolf.c
?? --
?? dw_printf ("Dire Wolf DEVELOPMENT version %d.%d %s (%s)\n", MAJOR_VERSION, MINOR_VERSION, "E", __DATE__);
?? --

Can you try that version and report back?? If it still happens there, it might very well be a bug.? If so, can you create a Direwolf Github issue to track this against the DEV branch?

--David
KI6ZHD



On 04/10/2022 08:07 PM, Danny K5CG wrote:
I have direwolf configured with
AGWPORT 0
KISSPORT 8100

But when I start direwolf I get two KISS ports

Disabled AGW network client port.
Ready to accept KISS TCP client application 0 on port 8001 ...
Ready to accept KISS TCP client application 0 on port 8100 ...

Is there a reason 8001 remains open?

V1.7A

Thanks
Danny



Re: Alternate KISS port

 

开云体育


Hello Danny,

Direwolf v1.7A is a rather old version of the DEV branch as the current version is 1.7E:

?? grep "Dire Wolf DEVELOPMENT" src/direwolf.c
?? --
?? dw_printf ("Dire Wolf DEVELOPMENT version %d.%d %s (%s)\n", MAJOR_VERSION, MINOR_VERSION, "E", __DATE__);
?? --

Can you try that version and report back?? If it still happens there, it might very well be a bug.? If so, can you create a Direwolf Github issue to track this against the DEV branch?

--David
KI6ZHD



On 04/10/2022 08:07 PM, Danny K5CG wrote:

I have direwolf configured with
AGWPORT 0
KISSPORT 8100

But when I start direwolf I get two KISS ports

Disabled AGW network client port.
Ready to accept KISS TCP client application 0 on port 8001 ...
Ready to accept KISS TCP client application 0 on port 8100 ...

Is there a reason 8001 remains open?

V1.7A

Thanks
Danny