¿ªÔÆÌåÓý


Re: PiGate with Signalink or DRA

Mark Griffith
 

Asa,

Not sure why you are making so many changes on the PiGate.? It worked with a SignaLink and Direwolf in the standard form.? You're now getting into the area where I can't help because I don't know what you've done.

Perhaps you should reload the unaltered image and work with it.

Mark
KD0QYN


On Thursday, July 13, 2023 at 08:19:31 PM CDT, TSC-60 Man Washington via groups.io <asajay@...> wrote:


Update.

Today I hooked up the SignaLink to my Winlink station and it worked fine. ?I then reattached it to the PiGate. ?It seemed to work fine but had an error.

image0.jpeg

Of note, which seems weird; the ax25 enabled indicator is now out of sync with reality. ?It shows disabled but it¡¯s actually enabled. ?Something to do with me enabling and disabling in a terminal window using ax25-up and -down.

One step closer.

On the DRA side, when I went to test it in Winlink, I rediscovered I had to install another file to make it work. ?I don¡¯t know if someone has ported that to Pi. ?I¡¯ll have to research some other time. ?Until then, no more DRA testing.

I may try to pick up another TNC hat kit to see how that works. ?The more I think about use cases, the more I lean toward having the TNC directly attached to the Pi for convenience and fewer ¡°objects¡± to carry around. ?

Asa ?Jay



Sent via radio waves

On Jul 12, 2023, at 21:03, TSC-60 Man Washington via groups.io <asajay@...> wrote:

? A little progress.

Using
? arecord -l ? <¡ª that¡¯s an ell
I was able to see the Signalink was detected.
I made sure the settings in
? /root/direwolf.config
agreed, and changed MYCALL to my own call sign.

I found I had to modify the
? /etc/ax25/ax25-up
file as follows:
? Change all instances of hardcoded paths to direwolf
? ? /usr/local/bin/direwolf
? Change TNCTYPE to direwolf
? Change all instances of path to the configuration file
? ? /root/direwolf.config

The ax25-up file had incorrect paths to both where the direwolf executable was, and where the config file was. ?Once I corrected the paths, stopped and restarted ax25, then PiGate began triggering transmit on the SignaLink. However it wasn¡¯t doing so well on receive. ?The PiGate was essentially deaf to the receive signal.

Note I was trying to digipeat to the gateway. ?What worked well with the TNC-Pi, did not work with the SignaLink.

But it¡¯s at least triggering transmit and it is transmitting. ?I need to put a monitor on it to make sure it¡¯s transmitting actual data.

One step forward. ?

For grins, I put the DRA on it but could not get it to transmit at all. ?That¡¯s another session after I get the SignaLink working properly.

Any additional guidance is appreciated.
Thank you,
Asa ?Jay
W7TSC

Sent via radio waves

On Jul 12, 2023, at 19:02, TSC-60 Man Washington via groups.io <asajay@...> wrote:

?

I have successfully used PiGate v2.2 to run with a TNC-Pi hat and attached through my FT-897.

I am now moving on to testing with a SignaLink. ?Simply plugging it in and rebooting does not make it work. ?The messages log shows it is detected but the OS is not assigning it a device entry, like ttyUSB2


The error message says the device was not an MTP device, when it executed the mtp-probe. ?I get the same result when trying a DRA sound card.

I thought I read somewhere that the later PiGate versions should work with a SignaLink. ?Now I¡¯m not sure I read that.

If PiGate v2.2 is compatible with SignaLink, how do I set it up if the OS won¡¯t give it a device in /dev?

It would seem an update to mtp-probe is needed.

Thoughts?

Asa ?Jay
W7TSC


Re: PiGate with Signalink or DRA

 

¿ªÔÆÌåÓý

Update.

Today I hooked up the SignaLink to my Winlink station and it worked fine. ?I then reattached it to the PiGate. ?It seemed to work fine but had an error.

image0.jpeg

Of note, which seems weird; the ax25 enabled indicator is now out of sync with reality. ?It shows disabled but it¡¯s actually enabled. ?Something to do with me enabling and disabling in a terminal window using ax25-up and -down.

One step closer.

On the DRA side, when I went to test it in Winlink, I rediscovered I had to install another file to make it work. ?I don¡¯t know if someone has ported that to Pi. ?I¡¯ll have to research some other time. ?Until then, no more DRA testing.

I may try to pick up another TNC hat kit to see how that works. ?The more I think about use cases, the more I lean toward having the TNC directly attached to the Pi for convenience and fewer ¡°objects¡± to carry around. ?

Asa ?Jay



Sent via radio waves

On Jul 12, 2023, at 21:03, TSC-60 Man Washington via groups.io <asajay@...> wrote:

?A little progress.

Using
? arecord -l ? <¡ª that¡¯s an ell
I was able to see the Signalink was detected.
I made sure the settings in
? /root/direwolf.config
agreed, and changed MYCALL to my own call sign.

I found I had to modify the
? /etc/ax25/ax25-up
file as follows:
? Change all instances of hardcoded paths to direwolf
? ? /usr/local/bin/direwolf
? Change TNCTYPE to direwolf
? Change all instances of path to the configuration file
? ? /root/direwolf.config

The ax25-up file had incorrect paths to both where the direwolf executable was, and where the config file was. ?Once I corrected the paths, stopped and restarted ax25, then PiGate began triggering transmit on the SignaLink. However it wasn¡¯t doing so well on receive. ?The PiGate was essentially deaf to the receive signal.

Note I was trying to digipeat to the gateway. ?What worked well with the TNC-Pi, did not work with the SignaLink.

But it¡¯s at least triggering transmit and it is transmitting. ?I need to put a monitor on it to make sure it¡¯s transmitting actual data.

One step forward. ?

For grins, I put the DRA on it but could not get it to transmit at all. ?That¡¯s another session after I get the SignaLink working properly.

Any additional guidance is appreciated.
Thank you,
Asa ?Jay
W7TSC

Sent via radio waves

On Jul 12, 2023, at 19:02, TSC-60 Man Washington via groups.io <asajay@...> wrote:

?

I have successfully used PiGate v2.2 to run with a TNC-Pi hat and attached through my FT-897.

I am now moving on to testing with a SignaLink. ?Simply plugging it in and rebooting does not make it work. ?The messages log shows it is detected but the OS is not assigning it a device entry, like ttyUSB2


The error message says the device was not an MTP device, when it executed the mtp-probe. ?I get the same result when trying a DRA sound card.

I thought I read somewhere that the later PiGate versions should work with a SignaLink. ?Now I¡¯m not sure I read that.

If PiGate v2.2 is compatible with SignaLink, how do I set it up if the OS won¡¯t give it a device in /dev?

It would seem an update to mtp-probe is needed.

Thoughts?

Asa ?Jay
W7TSC


Re: PiGate with Signalink or DRA

 

¿ªÔÆÌåÓý

A little progress.

Using
? arecord -l ? <¡ª that¡¯s an ell
I was able to see the Signalink was detected.
I made sure the settings in
? /root/direwolf.config
agreed, and changed MYCALL to my own call sign.

I found I had to modify the
? /etc/ax25/ax25-up
file as follows:
? Change all instances of hardcoded paths to direwolf
? ? /usr/local/bin/direwolf
? Change TNCTYPE to direwolf
? Change all instances of path to the configuration file
? ? /root/direwolf.config

The ax25-up file had incorrect paths to both where the direwolf executable was, and where the config file was. ?Once I corrected the paths, stopped and restarted ax25, then PiGate began triggering transmit on the SignaLink. However it wasn¡¯t doing so well on receive. ?The PiGate was essentially deaf to the receive signal.

Note I was trying to digipeat to the gateway. ?What worked well with the TNC-Pi, did not work with the SignaLink.

But it¡¯s at least triggering transmit and it is transmitting. ?I need to put a monitor on it to make sure it¡¯s transmitting actual data.

One step forward. ?

For grins, I put the DRA on it but could not get it to transmit at all. ?That¡¯s another session after I get the SignaLink working properly.

Any additional guidance is appreciated.
Thank you,
Asa ?Jay
W7TSC

Sent via radio waves

On Jul 12, 2023, at 19:02, TSC-60 Man Washington via groups.io <asajay@...> wrote:

?

I have successfully used PiGate v2.2 to run with a TNC-Pi hat and attached through my FT-897.

I am now moving on to testing with a SignaLink. ?Simply plugging it in and rebooting does not make it work. ?The messages log shows it is detected but the OS is not assigning it a device entry, like ttyUSB2


The error message says the device was not an MTP device, when it executed the mtp-probe. ?I get the same result when trying a DRA sound card.

I thought I read somewhere that the later PiGate versions should work with a SignaLink. ?Now I¡¯m not sure I read that.

If PiGate v2.2 is compatible with SignaLink, how do I set it up if the OS won¡¯t give it a device in /dev?

It would seem an update to mtp-probe is needed.

Thoughts?

Asa ?Jay
W7TSC


PiGate with Signalink or DRA

 

I have successfully used PiGate v2.2 to run with a TNC-Pi hat and attached through my FT-897.

I am now moving on to testing with a SignaLink. ?Simply plugging it in and rebooting does not make it work. ?The messages log shows it is detected but the OS is not assigning it a device entry, like ttyUSB2


The error message says the device was not an MTP device, when it executed the mtp-probe. ?I get the same result when trying a DRA sound card.

I thought I read somewhere that the later PiGate versions should work with a SignaLink. ?Now I¡¯m not sure I read that.

If PiGate v2.2 is compatible with SignaLink, how do I set it up if the OS won¡¯t give it a device in /dev?

It would seem an update to mtp-probe is needed.

Thoughts?

Asa ?Jay
W7TSC


Re: PiGate on Raspberry Pi 4?

Mark Griffith
 

David,

Yeah, I guess I'll wait.

Mark
KD0QYN

On Wednesday, July 12, 2023 at 01:50:23 PM CDT, David Ranch <rpi4hamradio-groupsio@...> wrote:



Hey Mark,

What I need to do is create a new PiGate image based upon the latest version of PiOS and have someone with a newer Pi4 test it.? Anyone want to try that?? Again, I'm not certain where the change was made.? This was only reported to me once a few months ago.

It should be worth noting that Debian 12 (Bookworm) was released on June 10, 2023 and it's only a matter of a few months of when a new version of Raspberry Pi OS will be released taking on the new Debian12 as a base.? There isn't any confirmed dates of when this will be released but historically, it takes about three months (say Sept 10th, 2023):

??

So, maybe you will want to wait to do all that work.? Up to you.

--David
KI6ZHD





Living on my retirement means a lot less money available to buy test hardware.? :)

Mark
KD0QYN


On Monday, July 10, 2023 at 10:56:47 AM CDT, TSC-60 Man Washington via groups.io <asajay@...> wrote:


Hi all,
Is PiGate v2.2 compatible with current Pi 4 hardware? ?I read a posting from Mark that earlier version of Pi 4 were working, but a more recent Pi 4 did not. ?That was at the beginning of 2021. ? However, he did not specify the version that did not work and I could not find any information that a new build had been made to fix the problem. ?We have some folks in our ARES - ACS group interested in building a few PiGates but are shy to buy the Pi until we know more and can get v2.2 working.

Thank you,
Asa ?Jay
W7TSC - Spokane County ARES - ACS Emergency Coordinator?

Sent via radio waves


Re: PiGate on Raspberry Pi 4?

 

¿ªÔÆÌåÓý


Hey Mark,

What I need to do is create a new PiGate image based upon the latest version of PiOS and have someone with a newer Pi4 test it.? Anyone want to try that?? Again, I'm not certain where the change was made.? This was only reported to me once a few months ago.

It should be worth noting that Debian 12 (Bookworm) was released on June 10, 2023 and it's only a matter of a few months of when a new version of Raspberry Pi OS will be released taking on the new Debian12 as a base.? There isn't any confirmed dates of when this will be released but historically, it takes about three months (say Sept 10th, 2023):

??

So, maybe you will want to wait to do all that work.? Up to you.

--David
KI6ZHD





Living on my retirement means a lot less money available to buy test hardware.? :)

Mark
KD0QYN


On Monday, July 10, 2023 at 10:56:47 AM CDT, TSC-60 Man Washington via groups.io <asajay@...> wrote:


Hi all,
Is PiGate v2.2 compatible with current Pi 4 hardware? ?I read a posting from Mark that earlier version of Pi 4 were working, but a more recent Pi 4 did not. ?That was at the beginning of 2021. ? However, he did not specify the version that did not work and I could not find any information that a new build had been made to fix the problem. ?We have some folks in our ARES - ACS group interested in building a few PiGates but are shy to buy the Pi until we know more and can get v2.2 working.

Thank you,
Asa ?Jay
W7TSC - Spokane County ARES - ACS Emergency Coordinator?

Sent via radio waves


Re: PiGate v2.2 and GPS

 

¿ªÔÆÌåÓý

I purchased this one from Amazon about four years ago.


Small, inexpensive, unobtrusive, and now it works nicely with my PiGate. ?:)

Asa ?Jay
W7TSC

Sent via radio waves

On Jul 12, 2023, at 10:14, John Sunderson <drbatch@...> wrote:

?

What GPS unit are you using?

?

John Sunderson, Jr.

Cell 626-399-6359

KG6TPA

drbatch@...

?

From: [email protected] <[email protected]> On Behalf Of TSC-60 Man Washington via groups.io
Sent: Monday, July 10, 2023 11:21 PM
To: [email protected]
Subject: Re: [RaspberryPi-4-HamRadio] PiGate v2.2 and GPS

?

For what it¡¯s worth, I just looked up the specs on this GPS module:

Support DGPS [WAAS, EGNOS and MSAS]

With that in mind, something probably needs to be set up differently. ?Or I need to bite the bullet and get a different one.

Asa ?Jay
W7TSC


--
KG6TPA - drbatch@...


Re: PiGate v2.2 and GPS

 

¿ªÔÆÌåÓý

What GPS unit are you using?

?

John Sunderson, Jr.

Cell 626-399-6359

KG6TPA

drbatch@...

?

From: [email protected] <[email protected]> On Behalf Of TSC-60 Man Washington via groups.io
Sent: Monday, July 10, 2023 11:21 PM
To: [email protected]
Subject: Re: [RaspberryPi-4-HamRadio] PiGate v2.2 and GPS

?

For what it¡¯s worth, I just looked up the specs on this GPS module:

Support DGPS [WAAS, EGNOS and MSAS]

With that in mind, something probably needs to be set up differently. ?Or I need to bite the bullet and get a different one.

Asa ?Jay
W7TSC


--
KG6TPA - drbatch@...


Re: PiGate v2.2 docs and default passwords

 

¿ªÔÆÌåÓý

I have posted PiGate v2.2 to my Google Drive here:


I do think Google Drive may be the least expensive option. ?I will remove it as soon as Mark requests me to.

This effort was to test and make sure it might work. ?And see if the hyperlink is good.

WARNING: ?it¡¯s just over 2Gig

Thank you,
Asa ?Jay
W7TSC


Sent via radio waves

On Jul 11, 2023, at 11:36, John Hays - K7VE / WRJT-215 <john@...> wrote:

?
If it is open source, you can host it at Github for free.

On Tue, Jul 11, 2023 at 3:51?AM Mark Griffith via <mdgriffith2003=[email protected]> wrote:
All,

When I was in the hospital to get a kidney removed, my account with my file hosting site expired.? Instead of a couple hundred bucks for the year, they decided they needed a couple thousand, so I said "no".? :)

Since then I have been a lazy old coot and haven't found a new location.? I'll work on this and get the downloads working again.? Just need a decent download site that is not going to want big bucks.

Any suggestions?

Mark
KD0QYN


On Tuesday, July 11, 2023 at 12:34:09 AM CDT, James Rospopo <jrospopo@...> wrote:


Is it possible to download the version 2.2 files someplace ?? When I try at the PiGate website it keeps giving me a time out error message.

Thanks
Jim KE4CON



--
John D. Hays
Kingston, WA
K7VE / WRJT-215

?


Re: Install OLED info screen on Hamvoip Arch Linux

 

I am trying to install this on the latest version of Pi-Star AND on Hamvoip. Arch does not support ALT-GET. So, I need to figure out how to get these packages to install on these OS's.


Re: PiGate v2.2 docs and default passwords

 

If it is open source, you can host it at Github for free.

On Tue, Jul 11, 2023 at 3:51?AM Mark Griffith via <mdgriffith2003=[email protected]> wrote:
All,

When I was in the hospital to get a kidney removed, my account with my file hosting site expired.? Instead of a couple hundred bucks for the year, they decided they needed a couple thousand, so I said "no".? :)

Since then I have been a lazy old coot and haven't found a new location.? I'll work on this and get the downloads working again.? Just need a decent download site that is not going to want big bucks.

Any suggestions?

Mark
KD0QYN


On Tuesday, July 11, 2023 at 12:34:09 AM CDT, James Rospopo <jrospopo@...> wrote:


Is it possible to download the version 2.2 files someplace ?? When I try at the PiGate website it keeps giving me a time out error message.

Thanks
Jim KE4CON



--
John D. Hays
Kingston, WA
K7VE / WRJT-215

?


Re: PiGate v2.2 and GPS

 

¿ªÔÆÌåÓý

I was able to change the GPS device to ttyACM0 in the /etc/default/gpsd file. ?Reboot and coordinates now populate and I get a correct list of RMS stations automatically.

Good stuff.

I did order another small GPS just in case I couldn¡¯t get this one working. ?But it works now so I¡¯ll commit it to this PiGate only and be all set.

Thank you all for the guidance on this one.
Asa ?Jay
W7TSC

Sent via radio waves

On Jul 11, 2023, at 07:09, TSC-60 Man Washington via groups.io <asajay@...> wrote:

?Thank you Mark, I found some of that yesterday while snooping around. ?Your additional info will be helpful. ?I¡¯ll work on it again around noon my time when I take a break from work.
?:)
Asa ?Jay?
W7TSC

Sent via radio waves

On Jul 11, 2023, at 03:48, Mark Griffith via groups.io <mdgriffith2003@...> wrote:

?
Asa,

The GPS System was designed to be as flexible as possible, but nothing in software ever works that way all the time.? :)

There is a shell script in the /root directory that runs each time the PiGate is booted called "get_gps_data.sh".? If you are familiar with shell scripts, you can see what is happening.? The first thing is does is look at the file "/etc/default/gpsd".? In there is the name of the default GPS device, which by default is "/dev/ttyUSB0".? To fix your situation, edit that file with the location of your GPS device, /dev/ttyACM0" and reboot.

The PiGate does not start the gpsd service.? The only time a GPS location is needed is when it first boots and is never needed again after that.? All I do is look at the data stream, which you have noticed, and extract the GPS coordinates and the time.? The coordinates are updated in the PiGate config file and the PiOS system time is set.? The idea was perhaps it has been years since a PiGate was last booted up at a disaster location, and the location and the date/time are very old, so it will try to fix that IF a GPS device is plugged in.? If not, the system time and the GPS coordinates would have to be updated manually.? I've provided the ability in the management software to do this, but plugging in a little GPS device sure is easier!? :)

If you want to get a blow by blow description of what happens when the get_gps_data.sh script is run, look at the file /var/tmp/gps.log" which is saved after a reboot.

I suppose I should mention the default/gpsd file and the log file in the docs so people in the future don't have the same problem as you did.? Thanks for bringing this up.? Over the years, I've only ever gotten a couple queries on this.

Please let me know if I can help any further.

Mark
KD0QYN


On Monday, July 10, 2023 at 10:53:02 PM CDT, TSC-60 Man Washington via groups.io <asajay@...> wrote:


I¡¯m running a fresh install of PiGate v2.2 on a Pi 3 model B v1.2.

I have attached a G-Mouse GPS via USB.

The messages log shows the device attaching to ttyACM0.
cat /dev/ttyACM0 shows NMEA data streams and what looks like a position fix (though maybe not).

The PiGate admin ¡°Set PiGate Location¡± does not show coordinates even after refreshing. ?V2.1 docs indicate PiGate is looking for GPS on ttyUSB0, which this isn¡¯t on. ?I also note the gpsd service is not running and it has been masked. ?Unmasking it still does not allow it to start.

Now I¡¯m at a standstill on using GPS until I understand how it¡¯s been set up to work.
Why is the gpsd service masked?
Why won¡¯t it start on detection of the USB GPS device? ?(Yes, it was plugged in prior to powering the Pi).
How do I tell PiGate to look at a different port for GPS detection?

Thank you,
Asa ?Jay
W7TSC


Re: PiGate v2.2 docs and default passwords

 

¿ªÔÆÌåÓý

Hi Mark,

Depending on the size you might be able to host it on Google Drive for Free as they give 15gb per user. You could even create a new google account just for the files.

Dropbox and OneDrive are about $10 per month.

¡ª
Regards,

Chris Andrist, KC7WSU

On Jul 11, 2023, at 3:51 AM, Mark Griffith via groups.io <mdgriffith2003@...> wrote:

?
All,

When I was in the hospital to get a kidney removed, my account with my file hosting site expired.? Instead of a couple hundred bucks for the year, they decided they needed a couple thousand, so I said "no".? :)

Since then I have been a lazy old coot and haven't found a new location.? I'll work on this and get the downloads working again.? Just need a decent download site that is not going to want big bucks.

Any suggestions?

Mark
KD0QYN


On Tuesday, July 11, 2023 at 12:34:09 AM CDT, James Rospopo <jrospopo@...> wrote:


Is it possible to download the version 2.2 files someplace ?? When I try at the PiGate website it keeps giving me a time out error message.

Thanks
Jim KE4CON


Re: PiGate v2.2 and GPS

 

¿ªÔÆÌåÓý

Thank you Mark, I found some of that yesterday while snooping around. ?Your additional info will be helpful. ?I¡¯ll work on it again around noon my time when I take a break from work.
?:)
Asa ?Jay?
W7TSC

Sent via radio waves

On Jul 11, 2023, at 03:48, Mark Griffith via groups.io <mdgriffith2003@...> wrote:

?
Asa,

The GPS System was designed to be as flexible as possible, but nothing in software ever works that way all the time.? :)

There is a shell script in the /root directory that runs each time the PiGate is booted called "get_gps_data.sh".? If you are familiar with shell scripts, you can see what is happening.? The first thing is does is look at the file "/etc/default/gpsd".? In there is the name of the default GPS device, which by default is "/dev/ttyUSB0".? To fix your situation, edit that file with the location of your GPS device, /dev/ttyACM0" and reboot.

The PiGate does not start the gpsd service.? The only time a GPS location is needed is when it first boots and is never needed again after that.? All I do is look at the data stream, which you have noticed, and extract the GPS coordinates and the time.? The coordinates are updated in the PiGate config file and the PiOS system time is set.? The idea was perhaps it has been years since a PiGate was last booted up at a disaster location, and the location and the date/time are very old, so it will try to fix that IF a GPS device is plugged in.? If not, the system time and the GPS coordinates would have to be updated manually.? I've provided the ability in the management software to do this, but plugging in a little GPS device sure is easier!? :)

If you want to get a blow by blow description of what happens when the get_gps_data.sh script is run, look at the file /var/tmp/gps.log" which is saved after a reboot.

I suppose I should mention the default/gpsd file and the log file in the docs so people in the future don't have the same problem as you did.? Thanks for bringing this up.? Over the years, I've only ever gotten a couple queries on this.

Please let me know if I can help any further.

Mark
KD0QYN


On Monday, July 10, 2023 at 10:53:02 PM CDT, TSC-60 Man Washington via groups.io <asajay@...> wrote:


I¡¯m running a fresh install of PiGate v2.2 on a Pi 3 model B v1.2.

I have attached a G-Mouse GPS via USB.

The messages log shows the device attaching to ttyACM0.
cat /dev/ttyACM0 shows NMEA data streams and what looks like a position fix (though maybe not).

The PiGate admin ¡°Set PiGate Location¡± does not show coordinates even after refreshing. ?V2.1 docs indicate PiGate is looking for GPS on ttyUSB0, which this isn¡¯t on. ?I also note the gpsd service is not running and it has been masked. ?Unmasking it still does not allow it to start.

Now I¡¯m at a standstill on using GPS until I understand how it¡¯s been set up to work.
Why is the gpsd service masked?
Why won¡¯t it start on detection of the USB GPS device? ?(Yes, it was plugged in prior to powering the Pi).
How do I tell PiGate to look at a different port for GPS detection?

Thank you,
Asa ?Jay
W7TSC


Re: PiGate v2.2 docs and default passwords

 

What are your requirements for hosting?

Mat

On Tue, Jul 11, 2023, 6:51 AM Mark Griffith via <mdgriffith2003=[email protected]> wrote:
All,

When I was in the hospital to get a kidney removed, my account with my file hosting site expired.? Instead of a couple hundred bucks for the year, they decided they needed a couple thousand, so I said "no".? :)

Since then I have been a lazy old coot and haven't found a new location.? I'll work on this and get the downloads working again.? Just need a decent download site that is not going to want big bucks.

Any suggestions?

Mark
KD0QYN


On Tuesday, July 11, 2023 at 12:34:09 AM CDT, James Rospopo <jrospopo@...> wrote:


Is it possible to download the version 2.2 files someplace ?? When I try at the PiGate website it keeps giving me a time out error message.

Thanks
Jim KE4CON


Re: PiGate v2.2 docs and default passwords

Mark Griffith
 

All,

When I was in the hospital to get a kidney removed, my account with my file hosting site expired.? Instead of a couple hundred bucks for the year, they decided they needed a couple thousand, so I said "no".? :)

Since then I have been a lazy old coot and haven't found a new location.? I'll work on this and get the downloads working again.? Just need a decent download site that is not going to want big bucks.

Any suggestions?

Mark
KD0QYN


On Tuesday, July 11, 2023 at 12:34:09 AM CDT, James Rospopo <jrospopo@...> wrote:


Is it possible to download the version 2.2 files someplace ?? When I try at the PiGate website it keeps giving me a time out error message.

Thanks
Jim KE4CON


Re: PiGate v2.2 and GPS

Mark Griffith
 

Asa,

The GPS System was designed to be as flexible as possible, but nothing in software ever works that way all the time.? :)

There is a shell script in the /root directory that runs each time the PiGate is booted called "get_gps_data.sh".? If you are familiar with shell scripts, you can see what is happening.? The first thing is does is look at the file "/etc/default/gpsd".? In there is the name of the default GPS device, which by default is "/dev/ttyUSB0".? To fix your situation, edit that file with the location of your GPS device, /dev/ttyACM0" and reboot.

The PiGate does not start the gpsd service.? The only time a GPS location is needed is when it first boots and is never needed again after that.? All I do is look at the data stream, which you have noticed, and extract the GPS coordinates and the time.? The coordinates are updated in the PiGate config file and the PiOS system time is set.? The idea was perhaps it has been years since a PiGate was last booted up at a disaster location, and the location and the date/time are very old, so it will try to fix that IF a GPS device is plugged in.? If not, the system time and the GPS coordinates would have to be updated manually.? I've provided the ability in the management software to do this, but plugging in a little GPS device sure is easier!? :)

If you want to get a blow by blow description of what happens when the get_gps_data.sh script is run, look at the file /var/tmp/gps.log" which is saved after a reboot.

I suppose I should mention the default/gpsd file and the log file in the docs so people in the future don't have the same problem as you did.? Thanks for bringing this up.? Over the years, I've only ever gotten a couple queries on this.

Please let me know if I can help any further.

Mark
KD0QYN


On Monday, July 10, 2023 at 10:53:02 PM CDT, TSC-60 Man Washington via groups.io <asajay@...> wrote:


I¡¯m running a fresh install of PiGate v2.2 on a Pi 3 model B v1.2.

I have attached a G-Mouse GPS via USB.

The messages log shows the device attaching to ttyACM0.
cat /dev/ttyACM0 shows NMEA data streams and what looks like a position fix (though maybe not).

The PiGate admin ¡°Set PiGate Location¡± does not show coordinates even after refreshing. ?V2.1 docs indicate PiGate is looking for GPS on ttyUSB0, which this isn¡¯t on. ?I also note the gpsd service is not running and it has been masked. ?Unmasking it still does not allow it to start.

Now I¡¯m at a standstill on using GPS until I understand how it¡¯s been set up to work.
Why is the gpsd service masked?
Why won¡¯t it start on detection of the USB GPS device? ?(Yes, it was plugged in prior to powering the Pi).
How do I tell PiGate to look at a different port for GPS detection?

Thank you,
Asa ?Jay
W7TSC


Re: PiGate v2.2 and GPS

 

¿ªÔÆÌåÓý

Hello Asa,

These instructions might help you get gpsd working with your /dev/ttyACM0 attached GPS.? You'll need to follow along with the various steps where I recommend to use the /dev/serial/by-id approach:

??

--David
KI6ZHD



On 07/10/2023 09:20 PM, TSC-60 Man Washington via groups.io wrote:

For what it¡¯s worth, I just looked up the specs on this GPS module:

Support DGPS [WAAS, EGNOS and MSAS]

With that in mind, something probably needs to be set up differently. ?Or I need to bite the bullet and get a different one.

Asa ?Jay
W7TSC


Re: PiGate v2.2 docs and default passwords

 

Is it possible to download any of the version 2.2 files ?? Just went to the web site and tried downloading.? But it kept timing out and would not download.? Last version I have is 2.0.

Thanks
Jim. KE4CON


Re: PiGate v2.2 docs and default passwords

 

Is it possible to download the version 2.2 files someplace ?? When I try at the PiGate website it keeps giving me a time out error message.

Thanks
Jim KE4CON