Keyboard Shortcuts
Likes
- Yaac-Users
- Messages
Search
Re: How to set up TNC-Pi9k6
First off, YAAC isn't using librxtx any more. Due to support issues, YAAC has switched to JSSC instead.
Secondly, if the PiGate software is running, then /dev/serial0 is locked by PiGate and therefore the device can't be used by YAAC. As said many times before, "SERIAL DEVICES CANNOT BE SHARED!" Only one program at a time can directly use a serial port successfully. That's one of the reasons why GPSD was invented: so multiple applications could share the data coming in from a single GPS receiver, and one of the reasons why YAAC no longer uses RXTX (because RXTX used an obsolete means of locking serial device access that wasn't supported or recognized by other applications). On the other hand, if PiGate is I-gate software, does it have a client port that YAAC could connect to with the APRS-IS port driver? Andrew, KA2DDO author of YAAC ________________________________________ From: [email protected] <[email protected]> on behalf of Bill AA6BD <bill@...> Sent: Wednesday, September 23, 2020 1:11 PM To: [email protected] Subject: Re: [yaac-users] How to set up TNC-Pi9k6 I have a running PiGate RMS gateway that uses the TNC-Pi and when I checked its configuration, it uses port /dev/serial0. I verified that the TNC-PI9k6 works with PiGateRMS by plugging it in to the same system running the TNC-Pi, and it worked fine. Then I used the Pi where I want to run YAAC, and used the same SD card for PiGate RMS and it worked there, too. When I try to use this same port on the YAAC system, it reports an exception when I try to configure port serial-TNC to use /dev/serial0. "unable to open Serial_TNC connection /dev/serial0" I verified that librxtx-java is installed. I tried to run sudo usermod -G tty,lock -a pi and get the response usermod: group 'lock' does not exist. So I did sudo usermod -G tty -a pi I also did sudo usermod -G dialout -a pi and that succeeded. What else might be the problem? |
Re: How to set up TNC-Pi9k6
Dave G8KBV,
How do I make sure the TNC-Pi9k6 is recognized by the OS?? It ran successfully when I used the SD card from PiGateRMS which was also running Buster, although a different kernel version. When I type $ ls /dev/serial0 I get a response /dev/serial0 What else can I try to verify that the TNC-Pi9k6 is recognized by Pi OS? |
Re: How to set up TNC-Pi9k6
I have a running PiGate RMS gateway that uses the TNC-Pi and when I checked its configuration, it uses port /dev/serial0.? I verified that the TNC-PI9k6 works with PiGateRMS by plugging it in to the same system running the TNC-Pi, and it worked fine.? Then I used the Pi where I want to run YAAC, and used the same SD card for PiGate RMS and it worked there, too.
When I try to use this same port on the YAAC system, it reports an exception when I try to configure port serial-TNC to use /dev/serial0.? "unable to open Serial_TNC connection /dev/serial0" I verified that librxtx-java is installed.? I tried to run sudo usermod -G tty,lock -a pi
and get the response usermod: group 'lock' does not exist.
So I did sudo usermod -G tty -a pi I also did sudo usermod -G dialout -a pi
and that succeeded.
What else might be the problem? ? |
Re: How to set up TNC-Pi9k6
Make sure you have the PiGate plugged in and recognised by the OS, BEFORE starting YAAC...
(Same holds true for other "things" that appear as a serial port, and not only for YAAC.) 73. Dave G8KBV -- Created on and sent from a Unix like PC running and using free and open source software: |
Re: How to set up TNC-Pi9k6
I'm not familiar with the TNC-Pi9k6; is it an upgraded copy of the TNC-Pi? In any case, what serial port and baud rate did you use with PiGate? It should be the same.
Andrew, KA2DDO author of YAAC ________________________________________ From: [email protected] <[email protected]> on behalf of Bill AA6BD <bill@...> Sent: Tuesday, September 22, 2020 5:09 PM To: [email protected] Subject: [yaac-users] How to set up TNC-Pi9k6 I got a TNC-Pi9k6 from WVCARC. I tried it with PiGate and it worked so I believe the hardware is OK. Now I want to use it with YAAC. How do I configure it on s port as a TNC? I tried to use /dev/ttyAMA0 at 19200 baud which was the only port offered by YAAC when I added a serial-TNC port but that doesn't seem to work. When I click Test Port, I see nothing. What is the correct way to configure a TNC-Pi9K6 for YAAC? |
How to set up TNC-Pi9k6
I got a TNC-Pi9k6 from WVCARC.? I tried it with PiGate and it worked so I believe the hardware is OK.? Now I want to use it with YAAC.? How do I configure it on s port as a TNC?? I tried to use? /dev/ttyAMA0 at 19200 baud which was the only port offered by YAAC when I added a serial-TNC port but that doesn't seem to work.? When I click Test Port, I see nothing.? What is the correct way to configure a TNC-Pi9K6 for YAAC?
|
Re: GPS on Raspberry Pi vs. Windows
This is not a chipset issue.? It is an issue that gpsd changes the configuration of the GPS so that it sends binary data rather than NEMA-0183 formatted data.? Windows does not understand the binary data.? I followed instructions on Spotwise as I indicated in my prior posting and that restored the GPS to sending data in NEMA-0183 format which works for both Pi and Windows.
As recommended on gpsd's website, and by Andrew KA2DDO, I added the -b switch to gpsd configuration file at?/etc/default/gpsd to prevent gpsd from reconfiguring the GPS. With my reversing what gpsd changed, the GPS now works on both systems. |
Re: Set-up problems
Hi, Fred.
Let's look at your problems in the order you described them. 1. What do you mean it won't indicate a fixed station? All the checkboxes on the second panel of the configuration wizard do is sort the symbol types to put the ones most like the kind of station you want to run at the top. 2. What make and model of weather station are you actually using (as opposed to what you told YAAC)? The Serial_Weather port type only understands Peet Bros weather stations, so a Davis or Oregon (or any other brand) weather station won't work. Also, are you seeing a rain readout on the weather station's console display? If you don't see rain there, it won't get to YAAC either. By the way, did you change which data format the Peet Bros weather station is using? Don't use the packet format; that only sends one short packet every 10 or 15 minutes, so you won't see much. Let the weather station send as fast as it wants; YAAC will report the data that is current when the beacon actually goes out (assuming you checked the option for "Report Weather" on your beacon settings). What do you see when you select the menu choice View->Weather Status? Andrew, KA2DDO author of YAAC ________________________________________ Sent: Sunday, September 20, 2020 2:29 PM Subject: [yaac-users] Set-up problems Am running a test fixed weather station with weather symbol and WIN10 . In setup, the "Specify Station Type" will not indicate fixed station. Any thoughts on this? Also, the weather input is "Peet Bros Ultimeter 500/2000" but YAAC will not transmit RAIN data. My main weather station uses same weather data on WINAPRS with no problems. Hope someone has the answers to above issues. I want to get YAAC runing correctly for my main wx station. Thanks Fred WK1F |
Set-up problems
Am running a test fixed weather station with weather symbol and WIN10 .? In setup, the "Specify Station Type" will not indicate fixed station.? Any thoughts on this?
Also, the weather input is "Peet Bros Ultimeter 500/2000" but YAAC will not transmit RAIN data.? My main weather station uses same weather data on WINAPRS with no problems.?? Hope someone has the answers to above issues.? I want to get YAAC runing correctly for my main wx station. Thanks Fred WK1F |
Re: GPS on Raspberry Pi vs. Windows
¿ªÔÆÌåÓýWhat/how connects the GPS to each 'computer', in detail please.? (Especially if different hardware is used!) If a USB/Serial dongle, what is the chipset it is based on? Windows Device Manager may tell you that (and other stuff.) On Linux, run? dmesg -wH? in a command line terminal, and then connect the adapter, and among other things, the chipset will be shown, such as... [Sep20 19:50] usb 1-1.2: new full-speed USB device number 8 using
dwc_otg My emphasis... The above is shown on a Ras'Pi, when an old (but genuine) FTDI based adapter is connected. This is so old, that though it works well with XP.? On Win7 and later no drivers support it (without a lot of device descriptor file hacking) but it works very well with Linux. If you see "Prolific" or similar, you could have a counterfeit or
old version device that Windows will never support.? (As flagged
perhaps with a warning triangle in Device Managers device
listings.) Do NOT rollback Windows Updates to accommodate an old driver.?? Many have security issues, as do old versions of even Windows 10. There are gazillions of fake (and cheap) devices out there, that are actually microcontrollers programmed to emulate the desired device*.? Nice trick, but in effect the creators of such, are stealing other peoples software and code, especially the drivers needed by OS's such as Windows. (* I personally, have seen chip's marked as FTDI, that behaved
and worked as Prolific devices!? Obvious fakes...) Other than that, just how are you trying to "test" the GPS, with what software?? Tried a Terminal program?? That is the simplest. ??? (One of the best for Windows, but a bit daunting at first sight!.) Or CuteCom for Linux (GUI).?? Unless you are used to minicom on
the command line!? (Either need installing on the Pi) more info is needed please. Dave G8KBV -- Created on and sent from a Unix like PC running and using free and open source software: |
Re: GPS on Raspberry Pi vs. Windows
Thanks to Andrew, I learned:
"Probably because gpsmon on the Pi works with the gpsd daemon, which will switch an identified GPS model to the model-specific binary mode instead of the NEMA-0183 ASCII sentence format. And YAAC only understands NEMA-0183 format (and gpsd's JSON format). So once gpsd on the Pi switched the BU-354S4 GPS to proprietary binary mode, there was no way for YAAC on Windows to understand it. ?
Were you using the GPSD port type in YAAC on the Pi??
?
Note that the authors of gpsd have clearly stated their intentions of _not_ supporting Microsoft Windows.?
?
Also, it is possible to "brick" the BU-353S4 GPS if the wrong commands are sent to it. I use the -b option on gpsd to prevent the GPS from getting bricked. Does the BU-353S4 still work when you plug it back into the Pi?
?
Hope this helps.
?
Andrew, KA2DDO
author of YAAC" My GPS still worked on the Pi. I found this: which described how to switch the GPS back to NEMA format.? I tried it, and it worked.? I noticed in the log that the GPS for some reason switched to 9600 baud.? Why, I don't know. I moved my GPS to Windows and ran YAAC,? I reconfigured the GPS to serial_GPS at 9600 baud and clicked Test Port.? I saw the GPS output, so I now have my GPS working on Windows. I ran? $ sudo nano /etc/default/gpsd and change the last line to: GPSD_OPTIONS="-n -b" so that gpsd won't change the GPS configuration. I tested moving the GPS to the Pi and then to Windows, and both now have GPS signals! |
GPS on Raspberry Pi vs. Windows
I have YAAC running on Raspberry Pi with a BU-353S4 GPS USB receiver.? I can run "$ gpsmon" and see the GPS results.? YAAC shows my location when I select View > GPS Status.
I am trying to also run YAAC on Windows 10.? I have everything but the GPS working.? When I plug in the GPS, I can identify it as COM4.? When I click Test Port, I get no valid display on any Baud Rate. Any ideas why the GPS works fine on Raspberry Pi OS but not on Windows? Is there something wrong with my GPS that would cause it to work for Linux but not for Windows? What GPS can I get that will work on both Linux and Windows? |
Re: Sending Winlink messages
I should clarify.? My first attempt as I discussed in #540 was using Message > Send Email which goes through Winlink and did not work for me.? My second attempt which I discussed in #541 was using Message > Station and Recipient Callsign of EMAIL which as I understand it goes through APRS Email, and did work for me.
|
Re: Sending Winlink messages
I just upgraded YAAC to release 157 and tried to send an email.? The first times I tried, I got messages "invalid login challenge response"? See attachment APRSemail2.png.? I then restarted YAAC and re entered my Winlink password, but this time I got no error message, and also no email was sent.? At least, I didn't receive the email in my gmail account where I sent it.? See attachment APRSemail3.png for the message window.
I found this on the Internet:??. Maybe you will find it helpful.? I didn't really understand it. |
YAAC on windows 10
¿ªÔÆÌåÓýHi Andrew ? My beta 167 works perfectly on my raspberry pi3 and I am able to receive ad transmit packets no problem.? Of and on, I have been trying to get YAAC to work on windows 10. My java is 8 update 261 and I have installed? C++ 2010 redistributable. I am using tnc pkt mode on my kenwood D700a and have created a serial tnc port on yaac.? I can receive packets fine but I cannot transmit.? My beacon is properly set and the serial tnc port allows transmit.? I know that the radio works fine because it works fine with the raspberry pi.? Can you suggest anywhere I may look to fix this?? ?? ? You may recall my earlier attempts in recent weeks and I just dropped this issue and concentrated instead on my raspberry pi. ?However I would like to get yaac working on windows 10 as well. ? Thanks. ? Joe VA3JLF ? Sent from for Windows 10 ? |