开云体育

Date

Re: Components to get full TNC?

David Ranch
 

开云体育


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: Bind failed with error: 98

David Ranch
 

开云体育


Hello Scott,

?

Bind failed with error: 98
address already in use
some other application is probably already using port 8000.
Try using a different port number with AGWPORT in the configuration file.
Use -p command line option to enable KISS pseudo terminal.
Bind failed with error: 98
address already in use
some other application is probably already using port 8001.
Try using a different port number with AGWPORT in the configuration file.


These two errors are pretty obvious.. there is some other program on your machine using ports 8000 and 8001.? To disable the use of those ports in Direwolf, edit your direwolf.conf file, find the lines:

?? AGWPORT 8000
?? KISSPORT 8001

and change them to:

?? AGWPORT 0
?? KISSPORT 0

If you're curious what's using ports 8000/8001, you can use the lsof program to find them but let's not get distracted.


Using device 0: Generic RTL2832u OEM
usb_claim_interface error -6
Failed to open rtlsdr device #0.


This is probably the real issue.? Did you follow the various documentation to BLACKLIST your RTL dongle from being used as a TV receiver?? This URL should help you there:

??


--David
KI6ZHD


Re: Components to get full TNC?

 

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.


Re: Components to get full TNC?

 

开云体育

Hey David,

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)?

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

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. :-)

Nick

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

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

?


Hello Nick

?

Would anyone be able to tell me what software (Compass Linux on a Raspberry Pi) would be used with direwolfs KISS TNC port ability to get full TNC command emulation? IE: So I can just connect minicom or telnet to the port and issue commands like I do with a hardware TNC2 on my Kenwood HT & D710ga?


I'm only aware of linbpq32 with it's TNC2 emulation will do something like this.? It's a bit overkill to run a complete BBS package to emulate a TNC though.


I saw this once in a forum.. something like pilinbpq or something stood up the full TNC, but I am having trouble finding it. Anyone using direwolf with othersoftware to get a full TNC2?


Can you tell us what you want to do?? Do you just want to make classic packet connections?? Send UI-packets aka beacons?? Monitor AX.25 traffic??? If so, Linux's native AX.25 applications can do those things on a basic level using Direwolf.? There are also higher level programs out there that are far more powerful to emulate host-mode programs like PakRatt, PkGold, etc.?? I can speak for Linpac which I maintain for Linux:

??

a full HOWTO is here:?


There are other packet programs out there for Linux too that are worth checking out:

??

--David
KI6ZHD


Bind failed with error: 98

 

Hello all.? New to this rapsberry Pi thing.? Just set up my first one yesterday.? I was able to successfully test using this line:
rtl_fm -f 144.80M - | direwolf -c sdr.conf -r 24000 -D 1 -


Trying to test a second time results in:



Bind failed with error: 98
address already in use
some other application is probably already using port 8000.
Try using a different port number with AGWPORT in the configuration file.
Use -p command line option to enable KISS pseudo terminal.
Bind failed with error: 98
address already in use
some other application is probably already using port 8001.
Try using a different port number with AGWPORT in the configuration file.
? 0:? Realtek, RTL2838UHIDIR

Using device 0: Generic RTL2832u OEM
usb_claim_interface error -6
Failed to open rtlsdr device #0.




A reboot will allow a successful test once and then the same error occurs.? Also, even while working, I was never seeing any packets (I'm listening to other packets on another radio, so there is traffic).

During a successful test, I got this message:

Using device 0: Generic RTL2832U OEM
Found Rafael Micro R820T tuner
Tuner gain set to automatic.
Tuned to 145052000 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!




Would the 145052000 Hz have anything to do with it??? I do have the program setup on 144.80M

Thanks!? I spent all last evening trying to figure these answers out but got further in the weeds.? Learned some new things though.

Scott
M0SGO
?



Re: Components to get full TNC?

 

开云体育

I also have 2 TNCPi's so I might want to follow those steps after I have my UDRC-II station working.?

With the UDRC-II, I also get my FLDIGI / WSJT-X and SSTV app functions.?

Let me dig into what you posted, thank you!!?

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

On Mar 17, 2017, at 7:56 AM, David Ranch dranch@... [direwolf_packet] <direwolf_packet@...> wrote:

?


Hello Nick,

?
my goal is to build a digital workstation that has the ability to complete any basic pack a task for the purposes of instruction to my ham club, ARES team, and Scouting organization.

Ok.. Linux can do that


1. Be able to locally login to ARES BBS for messages. (Minicom? linPac?)
2. Use my RPi to do #1 from a remote PC via telnet/ssh such that it's a shared resource at ARES deployment.
Either of those probably means I have the keyboard to keyboard texting also, as that's what the BBS is at the other end.

In the HOWTO link I sent yesterday, my design is to be able to SSH into my Rpiv3 via my smartphone to be the monitor and keyboard.? Works well!


That's the basics. I want to eventually understand each app and what it can do in this space. When would I use kissattach vs Direwolf?

There are lots of examples but the script I'm using on the Rpi3 is here (supports both DIrewolf but also the TNC-Pi too):

??

There is a lot in there but if you follow it logically (ignore the tncpi and axipd sections), there actually isn't too much in it.


Or look, I can "ping" over an ax.25 connection

IP works but it's very very slow at 1200BAUD AFSK packet.? 9600 is better but it's still a lot of overhead for 56 bytes of payload.


And eventually get RMS Gateway running so I can use IMAP from attached stations to send Winlink Mail.

Paclink Linux (for IMAP) or PAT (more like RMS Express) can do these things


I did get LinPac started on my RPi, but did not know how to answer all of its start up questions about my hierarchy? But it looks like a neat terminal program, if I could get it connected :-)

Well, first you need to get the Linux AX25 subsystem working and be able to use the "axcall" program to make successful outgoing connections:

?? - the ax.25 stack is configured
?? - the RPI can key up your radio
?? - your audio levels are good
?? - you can establish a good, cliean connection to a remote partner



I am very appreciative of any help you can give me. :-)

Read the URL that I sent out yesterday.? There are other good URLs out there as well (but beware, there are others that are old/obsolete as well).?

?? - Spend some time on hardening your Rpi's OS so it's SD card will last longer
?? - Clean power for your Rpi is critical for it being stable
?? - don't forget the decoupling caps on the microphone ports of your radio and sound card
?? - audio & PTT isolation boards are a good idea for 1200baud packet (the audio side doesn't work on most for 9600)


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

Ha.. ok!?? I'm Layer 8 at Juniper Networks? ;-)

--David
KI6ZHD


Re: Components to get full TNC?

David Ranch
 

开云体育


Hello Nick,

?
my goal is to build a digital workstation that has the ability to complete any basic pack a task for the purposes of instruction to my ham club, ARES team, and Scouting organization.

Ok.. Linux can do that


1. Be able to locally login to ARES BBS for messages. (Minicom? linPac?)
2. Use my RPi to do #1 from a remote PC via telnet/ssh such that it's a shared resource at ARES deployment.
Either of those probably means I have the keyboard to keyboard texting also, as that's what the BBS is at the other end.

In the HOWTO link I sent yesterday, my design is to be able to SSH into my Rpiv3 via my smartphone to be the monitor and keyboard.? Works well!


That's the basics. I want to eventually understand each app and what it can do in this space. When would I use kissattach vs Direwolf?

There are lots of examples but the script I'm using on the Rpi3 is here (supports both DIrewolf but also the TNC-Pi too):

??

There is a lot in there but if you follow it logically (ignore the tncpi and axipd sections), there actually isn't too much in it.


Or look, I can "ping" over an ax.25 connection

IP works but it's very very slow at 1200BAUD AFSK packet.? 9600 is better but it's still a lot of overhead for 56 bytes of payload.


And eventually get RMS Gateway running so I can use IMAP from attached stations to send Winlink Mail.

Paclink Linux (for IMAP) or PAT (more like RMS Express) can do these things


I did get LinPac started on my RPi, but did not know how to answer all of its start up questions about my hierarchy? But it looks like a neat terminal program, if I could get it connected :-)

Well, first you need to get the Linux AX25 subsystem working and be able to use the "axcall" program to make successful outgoing connections:

?? - the ax.25 stack is configured
?? - the RPI can key up your radio
?? - your audio levels are good
?? - you can establish a good, cliean connection to a remote partner



I am very appreciative of any help you can give me. :-)

Read the URL that I sent out yesterday.? There are other good URLs out there as well (but beware, there are others that are old/obsolete as well).?

?? - Spend some time on hardening your Rpi's OS so it's SD card will last longer
?? - Clean power for your Rpi is critical for it being stable
?? - don't forget the decoupling caps on the microphone ports of your radio and sound card
?? - audio & PTT isolation boards are a good idea for 1200baud packet (the audio side doesn't work on most for 9600)


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

Ha.. ok!?? I'm Layer 8 at Juniper Networks? ;-)

--David
KI6ZHD


Re: Components to get full TNC?

 

开云体育

Yes!!! I agree, linbpq does seem like a lot just to get TNC2 like emulation.?

my goal is to build a digital workstation that has the ability to complete any basic pack a task for the purposes of instruction to my ham club, ARES team, and Scouting organization.

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

2. Use my RPi to do #1 from a remote PC via telnet/ssh such that it's a shared resource at ARES deployment.

Either of those probably means I have the keyboard to keyboard texting also, as that's what the BBS is at the other end.

That's the basics. I want to eventually understand each app and what it can do in this space. When would I use kissattach vs Direwolf? Or look, I can "ping" over an ax.25 connection. And eventually get RMS Gateway running so I can use IMAP from attached stations to send Winlink Mail. But just the text basics first.

I did get LinPac started on my RPi, but did not know how to answer all of its start up questions about my hierarchy? But it looks like a neat terminal program, if I could get it connected :-)

I am very appreciative of any help you can give me. :-)



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

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

?


Hello Nick

?

Would anyone be able to tell me what software (Compass Linux on a Raspberry Pi) would be used with direwolfs KISS TNC port ability to get full TNC command emulation? IE: So I can just connect minicom or telnet to the port and issue commands like I do with a hardware TNC2 on my Kenwood HT & D710ga?


I'm only aware of linbpq32 with it's TNC2 emulation will do something like this.? It's a bit overkill to run a complete BBS package to emulate a TNC though.


I saw this once in a forum.. something like pilinbpq or something stood up the full TNC, but I am having trouble finding it. Anyone using direwolf with othersoftware to get a full TNC2?


Can you tell us what you want to do?? Do you just want to make classic packet connections?? Send UI-packets aka beacons?? Monitor AX.25 traffic??? If so, Linux's native AX.25 applications can do those things on a basic level using Direwolf.? There are also higher level programs out there that are far more powerful to emulate host-mode programs like PakRatt, PkGold, etc.?? I can speak for Linpac which I maintain for Linux:

??

a full HOWTO is here:?


There are other packet programs out there for Linux too that are worth checking out:

??

--David
KI6ZHD


Re: Smart...CBEACON????

David Ranch
 

开云体育


To be honest and in your design, I would recommend to not send ANY beacons from Direwolf.? Instead, write a program / script / etc. that takes in all of the considerations of:

?? - incoming current from the panels
?? - time of day
?? - etc

From there, then use the Linux "beacon" program to send a on-off beacon as an APRS packet with whatever telemetry you want.? After that, the program goes back to sleep until it's time to see if it's time to send another beacon.

--David
KI6ZHD


On 03/16/2017 07:42 PM, Brian Gieryk ke6iyc@... [direwolf_packet] wrote:

?
I wonder if you could hook a thermocouple to a gpio then point a speed reading to that gpio pin. ?You could the use that for your smart beacon, perhaps?

Never done it, just thinking....

Brian
KE6IYC?


On Mar 16, 2017, at 20:15, oldfordg@... [direwolf_packet] <direwolf_packet@...> wrote:

?

Hello All,


I am currently working on my fifth RPi/Direwolf APRS installation, and have ran into an issue which has me stumped and hoping someone in the group has an answer for, or at least,?can give me a kick in the right direction.


First of all, some background:
The latest APRS station will primarily be used to send back weather & telemetry on the vitals of one of our local clubs VHF voice repeaters. The repeater is solar powered and located in an EXTREMELY remote mountain in the far north of Canada, thus, during winter months,?(the shortest days of the year in late December, the site gets slightly more than 7 hours of sunlight a day), so the power budget is VERY tight (not to mention the financial budget our clubs 'Minister of Finance':-)) At the same time temperatures regularly drop at the site to -40 C (yes, that's also -40 F for you folks south of the border), which also drastically reduces battery capacity! (Don't think the battery folks ever tested their battery CCA's at our temperatures :-)). Operating the RPi at these temperatures doesn't seem to be an issue. We have one station that has seen these temperatures on several occasions and is still humming away. Moisture on the other hand is a different story... Elmer Tip from years of?experience in this environment: If you expect extremely low temps, seal up & insulate your electronics,?but before you do,?toss in?a few Silica Gel packs to suck up the moisture?and prevent frost forming on the electronics & shorting it out.


I have already taken care of all the usual paths of power conservation (right down to turning off the LED on the Pi Zero to save that extra 5 mA), but had another idea that would help conserve more power at the most crucial times, but I'm not quite sure how to tackle it.


One of the previous APRS stations I built was a mobile with GPS module using the SMARTBEACON/TBEACON. Worked great but got me thinking,?"Would it be possible to do the same type of ?Tx interval variations using the CBEACON?"


For Example: With GPS SMARTBEACON the Tx interval can be varied based on the speed travelling (faster...more packets, slower...less packets).?Might it also be possible to?send a CBEACON in the same manner, ie. based on temperature readings taken from a temp sensor on the batteries? (Higher temperature...more packets, lower temperature...less packets).?Guess you could call it a SMARTCBEACON?


I've read through the Direwolf manual, scanned the group and searched for any similar solutions, but nothing?showing up.


Has anyone out there done anything similar or have any thoughts on how it may be done? Any help, suggestions would be most appreciated!


73,
DE VO2GO
Glen





Re: Smart...CBEACON????

 

开云体育

I wonder if you could hook a thermocouple to a gpio then point a speed reading to that gpio pin. ?You could the use that for your smart beacon, perhaps?

Never done it, just thinking....

Brian
KE6IYC?


On Mar 16, 2017, at 20:15, oldfordg@... [direwolf_packet] <direwolf_packet@...> wrote:

?

Hello All,


I am currently working on my fifth RPi/Direwolf APRS installation, and have ran into an issue which has me stumped and hoping someone in the group has an answer for, or at least,?can give me a kick in the right direction.


First of all, some background:
The latest APRS station will primarily be used to send back weather & telemetry on the vitals of one of our local clubs VHF voice repeaters. The repeater is solar powered and located in an EXTREMELY remote mountain in the far north of Canada, thus, during winter months,?(the shortest days of the year in late December, the site gets slightly more than 7 hours of sunlight a day), so the power budget is VERY tight (not to mention the financial budget our clubs 'Minister of Finance':-)) At the same time temperatures regularly drop at the site to -40 C (yes, that's also -40 F for you folks south of the border), which also drastically reduces battery capacity! (Don't think the battery folks ever tested their battery CCA's at our temperatures :-)). Operating the RPi at these temperatures doesn't seem to be an issue. We have one station that has seen these temperatures on several occasions and is still humming away. Moisture on the other hand is a different story... Elmer Tip from years of?experience in this environment: If you expect extremely low temps, seal up & insulate your electronics,?but before you do,?toss in?a few Silica Gel packs to suck up the moisture?and prevent frost forming on the electronics & shorting it out.


I have already taken care of all the usual paths of power conservation (right down to turning off the LED on the Pi Zero to save that extra 5 mA), but had another idea that would help conserve more power at the most crucial times, but I'm not quite sure how to tackle it.


One of the previous APRS stations I built was a mobile with GPS module using the SMARTBEACON/TBEACON. Worked great but got me thinking,?"Would it be possible to do the same type of ?Tx interval variations using the CBEACON?"


For Example: With GPS SMARTBEACON the Tx interval can be varied based on the speed travelling (faster...more packets, slower...less packets).?Might it also be possible to?send a CBEACON in the same manner, ie. based on temperature readings taken from a temp sensor on the batteries? (Higher temperature...more packets, lower temperature...less packets).?Guess you could call it a SMARTCBEACON?


I've read through the Direwolf manual, scanned the group and searched for any similar solutions, but nothing?showing up.


Has anyone out there done anything similar or have any thoughts on how it may be done? Any help, suggestions would be most appreciated!


73,
DE VO2GO
Glen




Smart...CBEACON????

 

Hello All,


I am currently working on my fifth RPi/Direwolf APRS installation, and have ran into an issue which has me stumped and hoping someone in the group has an answer for, or at least,?can give me a kick in the right direction.


First of all, some background:
The latest APRS station will primarily be used to send back weather & telemetry on the vitals of one of our local clubs VHF voice repeaters. The repeater is solar powered and located in an EXTREMELY remote mountain in the far north of Canada, thus, during winter months,?(the shortest days of the year in late December, the site gets slightly more than 7 hours of sunlight a day), so the power budget is VERY tight (not to mention the financial budget our clubs 'Minister of Finance':-)) At the same time temperatures regularly drop at the site to -40 C (yes, that's also -40 F for you folks south of the border), which also drastically reduces battery capacity! (Don't think the battery folks ever tested their battery CCA's at our temperatures :-)). Operating the RPi at these temperatures doesn't seem to be an issue. We have one station that has seen these temperatures on several occasions and is still humming away. Moisture on the other hand is a different story... Elmer Tip from years of?experience in this environment: If you expect extremely low temps, seal up & insulate your electronics,?but before you do,?toss in?a few Silica Gel packs to suck up the moisture?and prevent frost forming on the electronics & shorting it out.


I have already taken care of all the usual paths of power conservation (right down to turning off the LED on the Pi Zero to save that extra 5 mA), but had another idea that would help conserve more power at the most crucial times, but I'm not quite sure how to tackle it.


One of the previous APRS stations I built was a mobile with GPS module using the SMARTBEACON/TBEACON. Worked great but got me thinking,?"Would it be possible to do the same type of ?Tx interval variations using the CBEACON?"


For Example: With GPS SMARTBEACON the Tx interval can be varied based on the speed travelling (faster...more packets, slower...less packets).?Might it also be possible to?send a CBEACON in the same manner, ie. based on temperature readings taken from a temp sensor on the batteries? (Higher temperature...more packets, lower temperature...less packets).?Guess you could call it a SMARTCBEACON?


I've read through the Direwolf manual, scanned the group and searched for any similar solutions, but nothing?showing up.


Has anyone out there done anything similar or have any thoughts on how it may be done? Any help, suggestions would be most appreciated!


73,
DE VO2GO
Glen




Re: Components to get full TNC?

 

BPQ32 node stack, or LinBPQ on Linux, has a TNC emulator. It's
complicated to set up but will do what you are asking for.



On the other hand, to 'do packet' - the built in ax25 stack tools on
linux have the functionality you're probably looking for and would be
less to configure than BPQ32.

What exactly do you want to do?

73
Bill, WA7NWP


On Thu, Mar 16, 2017 at 5:15 PM, nickolas.ellson@...
[direwolf_packet] <direwolf_packet@...> wrote:


Would anyone be able to tell me what software (Compass Linux on a Raspberry
Pi) would be used with direwolfs KISS TNC port ability to get full TNC
command emulation? IE: So I can just connect minicom or telnet to the port
and issue commands like I do with a hardware TNC2 on my Kenwood HT & D710ga?

I saw this once in a forum.. something like pilinbpq or something stood up
the full TNC, but I am having trouble finding it. Anyone using direwolf with
othersoftware to get a full TNC2?

Nick




Re: Components to get full TNC?

David Ranch
 

开云体育


Hello Nick

?

Would anyone be able to tell me what software (Compass Linux on a Raspberry Pi) would be used with direwolfs KISS TNC port ability to get full TNC command emulation? IE: So I can just connect minicom or telnet to the port and issue commands like I do with a hardware TNC2 on my Kenwood HT & D710ga?


I'm only aware of linbpq32 with it's TNC2 emulation will do something like this.? It's a bit overkill to run a complete BBS package to emulate a TNC though.


I saw this once in a forum.. something like pilinbpq or something stood up the full TNC, but I am having trouble finding it. Anyone using direwolf with othersoftware to get a full TNC2?


Can you tell us what you want to do?? Do you just want to make classic packet connections?? Send UI-packets aka beacons?? Monitor AX.25 traffic??? If so, Linux's native AX.25 applications can do those things on a basic level using Direwolf.? There are also higher level programs out there that are far more powerful to emulate host-mode programs like PakRatt, PkGold, etc.?? I can speak for Linpac which I maintain for Linux:

??

a full HOWTO is here:?


There are other packet programs out there for Linux too that are worth checking out:

??

--David
KI6ZHD


Components to get full TNC?

 

Would anyone be able to tell me what software (Compass Linux on a Raspberry Pi) would be used with direwolfs KISS TNC port ability to get full TNC command emulation? IE: So I can just connect minicom or telnet to the port and issue commands like I do with a hardware TNC2 on my Kenwood HT & D710ga?

I saw this once in a forum.. something like pilinbpq or something stood up the full TNC, but I am having trouble finding it. Anyone using direwolf with othersoftware to get a full TNC2?

Nick




Re: Bluetooth SPP w/ APRSDroid

 

On 09/03/2017 19:42, mike_ph4@... [direwolf_packet] wrote:

I've been researching and trying to see if it's at all possible to run Dire Wolf with a virtual TNC over Bluetooth SPP for use with APRSDroid. I can easily do it over TCP/IP, but Bluetooth is more convenient and suits my project a bit better. Any have any ideas?
I've managed to get a very crude hack working to connect APRSDroid and Direwolf on a Pi Zero W.
Pi Zero W has built-in WiFi and Bluetooth.

Paired my Nexus 7 with the Pi Zero W.
Make the Pi discoverable:|
$ sudo hciconfig hci0 piscan

Then search and pair from the Nexus.
|
Configure APRSDroid to use connection protocol - Bluetooth TNC.
Connection configuration - client mode. Bluetooth channel 22.

On the Pi, I use socat to connect the Bluetooth rfcomm0 device that gets created on connection to the kiss tnc service in Direwolf (tcp port 8001).

Start direwolf in one terminal window.

In another terminal, start the rfcomm service which spawns socat to connect to the kiss tnc in Direwolf:
$ sudo rfcomm watch /dev/rfcomm0 22 socat -d -d tcp4:127.0.0.1:8001 /dev/rfcomm0

Now try and send some beacons from APRSDroid. You should see incoming connections in the rfcomm terminal window, then a "Connected to KISS client" message in Direwolf followed by a beacon.

TX appears to work, I'll see if I can verify RX when I get time...

73
Nick.


Re: Raspberry Pi Zero VERY long transmit delay

David Ranch
 

开云体育


Hello Arnold,

?
"When your Rpi isn't connected to the network, what is in the /etc/resolv.conf file?? Anything?? Is DNSMasq running? ?"

How would I know??? ?I suppose I could connect to the serial port for a terminal. ?Would that give you the answer?

Yes, or connect up the HDMI display with a USB keyboard.

--David
KI6ZHD


Re: Raspberry Pi Zero VERY long transmit delay

 

David,
"When your Rpi isn't connected to the network, what is in the /etc/resolv.conf file?? Anything?? Is DNSMasq running? ?"

How would I know??? ?I suppose I could connect to the serial port for a terminal. ?Would that give you the answer?

Arnold


From: "David Ranch dranch@... [direwolf_packet]"
To: "direwolf packet"
Sent: Sunday, March 12, 2017 8:32:20 PM
Subject: Re: [direwolf_packet] Raspberry Pi Zero VERY long transmit delay

?


Hey Arnold,

Off the wall thought, it is possible that without any Ethernet device in the Pi Zero that something is looking for it, and kills things? ?That seems to be a common thread in my troubleshooting. ?If I have some sort of Ethernet or WiFi connected or not, nothing fails. ?When I don't have something, then I get this failure.


When your Rpi isn't connected to the network, what is in the /etc/resolv.conf file?? Anything?? Is DNSMasq running??

--David




Re: Raspberry Pi Zero VERY long transmit delay

David Ranch
 

开云体育


Hey Arnold,

Off the wall thought, it is possible that without any Ethernet device in the Pi Zero that something is looking for it, and kills things? ?That seems to be a common thread in my troubleshooting. ?If I have some sort of Ethernet or WiFi connected or not, nothing fails. ?When I don't have something, then I get this failure.


When your Rpi isn't connected to the network, what is in the /etc/resolv.conf file?? Anything?? Is DNSMasq running??

--David


Re: Raspberry Pi Zero VERY long transmit delay

 

Somehow I missed putting this in the email. ?It IS in the DireWolf configuration.


ADEVICE plughw:1,0
ACHANNELS 1
CHANNEL 0


# Home call
MYCALL KQ6DI-4


I DO have PulseAudio removed. ?I don't think it is included in the latest Raspberry Pi Jessie OS, but I went through the steps anyway.


Off the wall thought, it is possible that without any Ethernet device in the Pi Zero that something is looking for it, and kills things? ?That seems to be a common thread in my troubleshooting. ?If I have some sort of Ethernet or WiFi connected or not, nothing fails. ?When I don't have something, then I get this failure. ?However, there are other changes going on, so I haven't convinced myself about this. ?I just thought I'd toss that wild thought out.


Running the "Top Command" in another window is an issue in itself. ?I'm trying to run this without any external connection to anything. ?If I do have this connected, then only about 20% of the processor time is used, but I have no idea when I start having issues.

Arnold
KQ6DI


From: "wb2osz@... [direwolf_packet]" <direwolf_packet@...>
To: "direwolf packet"
Sent: Sunday, March 12, 2017 3:33:36 PM
Subject: Re: [direwolf_packet] Raspberry Pi Zero VERY long transmit delay

?


Usually you would have something like "ADEVICE?plughw:1,0" when running on the Raspberry Pi. ?I don't see ADEVICE in there which would result in using the "default" device.

Did you make sure that PulseAudio was removed? ?In my experience PulseAudio never worked right on the RPi and my recommendation is to remove it. ? (Note: ?It is fine on larger x86 based systems.)


?? ?Currently section 1.3.

The other thing I would try is running the "top" command in another window? ?What is using a significant amount of CPU time? ?How much idle time is left over?






Re: Raspberry Pi Zero VERY long transmit delay

 

Usually you would have something like "ADEVICE?plughw:1,0" when running on the Raspberry Pi. ?I don't see ADEVICE in there which would result in using the "default" device.

Did you make sure that PulseAudio was removed? ?In my experience PulseAudio never worked right on the RPi and my recommendation is to remove it. ? (Note: ?It is fine on larger x86 based systems.)


?? ?Currently section 1.3.

The other thing I would try is running the "top" command in another window? ?What is using a significant amount of CPU time? ?How much idle time is left over?