Keyboard Shortcuts
Likes
Search
starting direwolf errors
Hi,
I finally figured the issue with the install (updated commands are helpful) but when running direwolf I get the following errors.? 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 Dire Wolf version 1.6
Includes optional support for:? cm108-ptt
?
Reading config file sdr.conf
Audio input device for receive: –? (channel 0)
Audio out device for transmit: null? (channel 0)
Found 1 device(s):
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM –
Could not open audio device – for input
No such file or directory
Pointless to continue without audio device.
? 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.
Signal caught, exiting!
?
User cancel, exiting...
Reattached kernel driver
pi@raspberrypi:~ $
? |
开云体育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.
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.
This looks as if you're trying to take the output from rtl_fm and send it into Direwolf.? That's fine for receive.
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 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 |
开云体育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: ? 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 ?
? |
开云体育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: ? 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 ?
? ? |
开云体育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 ? 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: ? 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 ?
? ? ? |
开云体育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: ? 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 ?
? ? |
开云体育Hey Clinton,
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.
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.
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.
Ok
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 ]--
>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 -
?? 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:
>Audio out device for transmit: default?
(channel 0)
>Found 1 device(s): >Channel 0: 1200 baud, AFSK 1200 & 2200 Hz, E+, 24000 sample rate.
>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.
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.
KI6ZHD |