开云体育

Date

Re: GNU Radio + Direwolf [1 Attachment]

David Ranch
 

开云体育


Hello Boyan,


?
I am trying to connect GNU Radio to Direwolf through UDP sockets. My idea is to first receive the data from GNU Radio and decode it with Direwolf. Once that is done, I would like to transmit APRS as well using Direwolf as the packet generator, and GNU Radio to receive those packets and send them to the SDR attached to the computer

Direwolf can receive input either via:

? - directly via a sound card
? - via an audio stream on a UDP port (what I think you've already done)
? - via a TCP based socket with KISS frames in the payload



So far, I have been able to receive the data from gqrx thourgh a UDP socket. However, when I try to do the same with GNU Radio, Direwolf won't decode anything

Can you play that audio stream from GnuRadio to confirm it's in a compatible format?? Since you've gotten it working via GQRX, you luckily have a good reference


You can see the diagram in the attached picture "gnu_radio.png". The .wav file that it is calling is a recording of a APRS packet.

Per , Gqrx sends it's audio stream in:
  • Channels: 1 (left)
  • Sample rate: 48 kHz
  • Sample format: 16 bit signed, little endian (S16LE)

You need to configure GnuRadio's flowgraph to send the same format.? Per that document and comments, you should be able to use Netcat (nc) and say the "sox" program to see what data gnuRadio is actually sending and then make the required adjustments on GnuRadio to get it aligned.


I don't understand why it is not decoding the data. Someone has any idea? I would really appreciate your help!

Is that FM demodulated *audio* in that WAV file?? it' cannot be I/Q data.? Is it clean, clear flat, audio that's not over driven?? You can use tools like Audacity, Fldigi, baudline, and other tools to look at and play that WAV file to make sure it's roughly ok.

--David


Re: force beacon

 

Wed Mar 22, 2017 1:31 pm (PDT) . Posted by:
flopyplus
Hello. Its posible force send a beacon with a key? (example: F9 in
ui-view). If not, this is a seggestion for future versions. Thanks!
Don't bloat direwolf with this feature. Install ax.25 & use the
beacon command in ax25tools.

beacon [-c <src_call>] [-d <dest_call>[digi ..]] [-l] [-m] [-s] [-t interval] [-v] port "message"

/Basil


GNU Radio + Direwolf

 

Hello everyone,


I am trying to connect GNU Radio to Direwolf through UDP sockets. My idea is to first receive the data from GNU Radio and decode it with Direwolf. Once that is done, I would like to transmit APRS as well using Direwolf as the packet generator, and GNU Radio to receive those packets and send them to the SDR attached to the computer.


So far, I have been able to receive the data from gqrx thourgh a UDP socket. However, when I try to do the same with GNU Radio, Direwolf won't decode anything.?


You can see the diagram in the attached picture "gnu_radio.png". The .wav file that it is calling is a recording of a APRS packet.

When that diagram is running, if I do "nc -l -u 7355" I can see lots of data coming in.


Now I start direwolf like "direwolf -r 44100 udp:7355".?


It will stay in its initial state;

Dire Wolf version 1.3

Includes optional support for: ?gpsd

Reading config file /home/bobz/direwolf.conf

Audio input device for receive: udp:7355 ?(channel 0)

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

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

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

Use -p command line option to enable KISS pseudo terminal.

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

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


I don't understand why it is not decoding the data. Someone has any idea? I would really appreciate your help!

73 from EA3HXM.

?


Re: Bluetooth SPP w/ APRSDroid

 

Solved it after some research and figuring out where the packets were being lost.?
The command needs to be in raw format for rfcomm.
So instead, run this command and everything works perfectly,
"sudo rfcomm --raw watch /dev/rfcomm0 22 socat tcp4:127.0.0.1:8001?/dev/rfcomm0"


Re: force beacon

David Ranch
 

开云体育


I suppose it depends on what he wants to "beacon".? If it's an APRS sentence with location, it's not all that simple.?? If it's just a string of text, yes, it might be pretty simple.? It then depends on the other details that the user didn't specify like what operating system is he running, is it running on X86, ARM, etc?.

--David
KI6ZHD


Re: force beacon

 

Hello. Its posible force send a beacon with a key? (example: F9 in ui-view).
When I was first getting DIREWOLF running I wanted to be able to send
beacons on demand like this. I ended up using the UZ7HO simple-term
program. It has a transmit button and it's easy to change the
outgoing path. It also connects directly to DIREWOLF with the
KISS-on-TCP protocol.

This was on Windows for both SimpleTerm and DIREWOLF.

73
Bill, WA7NWP


Re: force beacon

David Ranch
 

开云体育


Hello ,

I like your idea but direwolf is really more of a background application than a foreground application (like UI-View).? As such, I don't think offering a hotkey like F9 would make sense.? What might be possible is to send it a UNIX signal to tell the running Direwolf process to send a status beacon, a different signal for a telemetry beacon, etc. without exiting.? Anyway, please file an "issue" on the Direwolf github page:

??

so this can be considered and tracked.

--David
KI6ZHD


On 03/22/2017 01:31 PM, flopyplus@... [direwolf_packet] wrote:

?

Hello. Its posible force send a beacon with a key? (example: F9 in ui-view). If not, this is a seggestion for future versions. Thanks!




force beacon

 

Hello. Its posible force send a beacon with a key? (example: F9 in ui-view). If not, this is a seggestion for future versions. Thanks!



Re: Smart...CBEACON????

 

If I follow what you're saying correctly... you want telemetry beacons for various data of your system to be varied by what's happening? Sounds more complicated than one would want. I use telemetry for my solar setup showing every bit of data possible from each part of the system, along with weather. It beacons every 10-30 minutes. It's just easier this way. Unless you're a programming guru.


Re: Bluetooth SPP w/ APRSDroid

 

I got it going for receive. However the transmit side doesn't work due to an error by either APRSDroid or Direwolf. Not sure entirely to be honest.?


Re: Bluetooth SPP w/ APRSDroid

 

I will have to give it a try like that also. I've been using my phone as a wifi hotspot ap for the pi and connecting to the pi with APRSDroid in that fashion. Although Bluetooth would be a more viable option for a better setup on phones that can't do this.


Re: Components to get full TNC?

 

开云体育

David,

So it does sound like direwolf 1.4 is still an upgrade of functionality.?

I had to drop to a new fresh load of Compass and run Basil's installer scripts for working with the UDRC-II soundcard, but it worked for setting up the entire ax.25 stack and Direwolf 1.3, I'll try 1.4 in a separate directory to see if I can make the build run.

Nick

Nick Ellson - from iPhone (forgive typos)
CCIE #20018; VCIX-NV, CNSE
Network Hobbyist
"Educating Layer 8, one user at a time."

On Mar 19, 2017, at 8:46 AM, David Ranch dranch@... [direwolf_packet] <direwolf_packet@...> wrote:

?


Hello Nick,

?
It sounded like the 1.4 build had more to the emulation than I thought. Honestly, I don't think I need the TNC2 emulation as much as a functional terminal and a functional way to use it remotely from another system so it can be a shareable resource. (Like to a windows client running RMS express)

Direwolf has two ways to do this:

?? TCP-KISS : you can use your local network to connect to Direwolf port 8001 and send/receive KISS frames.? Any applications out there that support TCP-KISS will work.? One example program that supports this is the APRS program APRX

?? AGWPE : you can use your local network to connect to Direwolf port 8000 to send/receive AGW packets.? CONNECTED-mode ax.25 session support is new to Direwolf's AGW stack in 1.4 and it works well.? With this, any application that supports AGW connections will work with Direwolf.? Agwterm, Outpost, RMS Express, etc.? They will all work.


The call command, or linPac sound perfect for local use.

Don't forget on being able to SSH into your Rpi via the network and run AX.25 CLI programs as well.? I personally run LInpac from a screen session and reconnect to it whenever needed.? Very light weight and fast compared to people using say VNC or TeamViewer to remotely display a terminal window running on the Xwindows desktop on their Pi.

--David
KI6ZHD


Re: Components to get full TNC?

David Ranch
 

开云体育


Hello Arnold,

?
Is there a good, or proper way to load upgraded (dev) files? ?The only way I know is to delete the source directory in my computer (Pi), then get and make the newer version. ?Maybe that is the best way?

This is the fastest way though I would recommend to use the "checkinstall" approach instead of "make install".? A few supporting reason for this is:

?? 1. You'll get your new version of Direwolf installed as a .deb package so all the other packages & dependencies will be considering with it when doing OS patches, upgrades, etc.

?? 2. You'll now have a .deb file which you can easily install on other Rpis without having to install all the compilers, toolchains, and supporting programs.? This leads to smaller installs on your other Rpis


The use of checkinstall is covered in my "Raspberry Pi Setup with hardening for APRS & AX.25 Packet Project" doc.

--David
KI6ZHD


Re: Components to get full TNC?

David Ranch
 

开云体育


Hello Nick,

?
It sounded like the 1.4 build had more to the emulation than I thought. Honestly, I don't think I need the TNC2 emulation as much as a functional terminal and a functional way to use it remotely from another system so it can be a shareable resource. (Like to a windows client running RMS express)

Direwolf has two ways to do this:

?? TCP-KISS : you can use your local network to connect to Direwolf port 8001 and send/receive KISS frames.? Any applications out there that support TCP-KISS will work.? One example program that supports this is the APRS program APRX

?? AGWPE : you can use your local network to connect to Direwolf port 8000 to send/receive AGW packets.? CONNECTED-mode ax.25 session support is new to Direwolf's AGW stack in 1.4 and it works well.? With this, any application that supports AGW connections will work with Direwolf.? Agwterm, Outpost, RMS Express, etc.? They will all work.


The call command, or linPac sound perfect for local use.

Don't forget on being able to SSH into your Rpi via the network and run AX.25 CLI programs as well.? I personally run LInpac from a screen session and reconnect to it whenever needed.? Very light weight and fast compared to people using say VNC or TeamViewer to remotely display a terminal window running on the Xwindows desktop on their Pi.

--David
KI6ZHD


Re: Components to get full TNC?

 

开云体育

Thanks David,

It sounded like the 1.4 build had more to the emulation than I thought. Honestly, I don't think I need the TNC2 emulation as much as a functional terminal and a functional way to use it remotely from another system so it can be a shareable resource. (Like to a windows client running RMS express)

The call command, or linPac sound perfect for local use.?

Nick

Nick Ellson - from iPhone (forgive typos)
CCIE #20018; VCIX-NV, CNSE
Network Hobbyist
"Educating Layer 8, one user at a time."

On Mar 18, 2017, at 6:28 PM, David Ranch dranch@... [direwolf_packet] <direwolf_packet@...> wrote:

?


Hey Nick

?
I have since started work with Basil on the UDRC-II specific github scripts he made (n7nix repo) So far that built with no hitches, but I'd personally like to try upping the Direwolf build to 1.4 from the dev branch to test the TNC2 emulation.

The Dev branch is the newest available and is what 1.4 is based on.? Any of the .zip or .tgz files found on the Direwolf "released" page will be OLDER than .dev.? They might be more stable than the DEV branch but that's not currently true.?

Btw.. the new connected mode support in Direwolf is NOT "tnc2 emulatiom".? Direwolf doesn't support anything like that.? If you want to have software make things look like an old TNC2 setup, try out the linbpq32 BBS package.? Personally, I think it's a bit overkill for emulating a TNC to then create connected AX.25 sessions.? If you just want to make connections, you can do that with Linux's ax25apps's "call" program, Linpac for Linux, agwterm under Wine, uz7ho's easyterm under Wine, etc.

--David
KI6ZHD



Re: Components to get full TNC?

 

David,
Is there a good, or proper way to load upgraded (dev) files? ?The only way I know is to delete the source directory in my computer (Pi), then get and make the newer version. ?Maybe that is the best way?

Arnold
KQ6DI


From: "David Ranch dranch@... [direwolf_packet]"
To: "direwolf packet"
Sent: Saturday, March 18, 2017 6:23:55 PM
Subject: Re: [direwolf_packet] Re: Components to get full TNC?

?


?
Working with Basil, n7nix's github build scripts, I asked about bumping me to Direwolf 1.4 from dev. I want to try that TNC emulation :-)

Oh... well, I can't help you with those build scripts but no doubt Basil writes good stuff.?? Manually compiling things isn't hard though and is fully covered in the Direwolf User-Guide.pdf

Btw.. the Direwolf "dev" branch in git is recommended over the current 1.4-DevE .zip due to some important fixes in it.

--David
KI6ZHD




Re: Components to get full TNC?

David Ranch
 

开云体育


Hey Nick

?
I have since started work with Basil on the UDRC-II specific github scripts he made (n7nix repo) So far that built with no hitches, but I'd personally like to try upping the Direwolf build to 1.4 from the dev branch to test the TNC2 emulation.

The Dev branch is the newest available and is what 1.4 is based on.? Any of the .zip or .tgz files found on the Direwolf "released" page will be OLDER than .dev.? They might be more stable than the DEV branch but that's not currently true.?

Btw.. the new connected mode support in Direwolf is NOT "tnc2 emulatiom".? Direwolf doesn't support anything like that.? If you want to have software make things look like an old TNC2 setup, try out the linbpq32 BBS package.? Personally, I think it's a bit overkill for emulating a TNC to then create connected AX.25 sessions.? If you just want to make connections, you can do that with Linux's ax25apps's "call" program, Linpac for Linux, agwterm under Wine, uz7ho's easyterm under Wine, etc.

--David
KI6ZHD



Re: Components to get full TNC?

David Ranch
 

开云体育


?
Working with Basil, n7nix's github build scripts, I asked about bumping me to Direwolf 1.4 from dev. I want to try that TNC emulation :-)

Oh... well, I can't help you with those build scripts but no doubt Basil writes good stuff.?? Manually compiling things isn't hard though and is fully covered in the Direwolf User-Guide.pdf

Btw.. the Direwolf "dev" branch in git is recommended over the current 1.4-DevE .zip due to some important fixes in it.

--David
KI6ZHD


Re: Components to get full TNC?

 

开云体育

That was the docs I was using, yes. After those errors I ran the autoconfigure again and had found the file that it was missing earlier and created it.?

I have since started work with Basil on the UDRC-II specific github scripts he made (n7nix repo) So far that built with no hitches, but I'd personally like to try upping the Direwolf build to 1.4 from the dev branch to test the TNC2 emulation.?

I'll report my test in an hour when I am home. Been a lot of travel today.

Nick

Nick Ellson - from iPhone (forgive typos)
CCIE #20018; VCIX-NV, CNSE
Network Hobbyist
"Educating Layer 8, one user at a time."

On Mar 18, 2017, at 9:13 AM, David Ranch dranch@... [direwolf_packet] <direwolf_packet@...> wrote:

?


Hello Nick,

?
Started early in this morning looking at the documentation that you sent me and the X 25 protocol stack replacement. In true form with most things I try, I don't get the authors results ;-) even the initial configure script puked with missing bits (ltmain.sh)

Which document are you reading?? I don't recognize the ltmain.sh script.? When you see errors, please cut and paste the relevant parts into an email here so we can see it.? Without specifics issues, we can't give you specific answers.


Now I have to use Compass Linux as it was built with the drivers for the UDRC-II card in kernel.

Yup.. that's ok.? It's a version of Raspian which includes the required Ti sound card drivers that haven't been upstreamed into the mainline Linux kernel.? I hope that will happen someday.


I see your docs do say the ax.25 provided isn't what I want, so I will be going off script in an attempt to get the github version to go. :-)

Which document are you reading?? You should be reading the document as it's specific to the Raspberry Pi.? My other document, HamPacket is for CENTOS Linux which needs a lot more base work to get packet working.? Think of my Raspberry Pi document as the point solution you're looking for and the HamPacket document as a lower level reference.

--David
KI6ZHD


Re: Components to get full TNC?

 

开云体育

Working with Basil, n7nix's github build scripts, I asked about bumping me to Direwolf 1.4 from dev. I want to try that TNC emulation :-)?

Thanks!!

Nick Ellson - from iPhone (forgive typos)
CCIE #20018; VCIX-NV, CNSE
Network Hobbyist
"Educating Layer 8, one user at a time."

On Mar 18, 2017, at 9:01 AM, wb2osz@... [direwolf_packet] <direwolf_packet@...> wrote:

?

Nick wants to :


> ? ? 1. Be able to locally login to ARES BBS for messages. (Minicom? linPac?)


Dire Wolf version 1.4 has support for traditional connected mode packet. ?You will need to use a separate terminal application such as AGWterm.

Details here: ?? ?in chapter 10.

This connects over TCP port 8000 so the TNC and applications can be running on different computers and different operating systems. ?In the default configuration, Dire Wolf can handle 3 concurrent applications on port 8000. ?This is easily increased by changing one line and recompiling.

To get version 1.4, use "git checkout dev" command.