PilotAware

British Forum => OGN-R PilotAware => Topic started by: Moffrestorer on February 02, 2018, 11:30:09 am

Title: Latest Software Version
Post by: Moffrestorer on February 02, 2018, 11:30:09 am
Hi all,

I updated to ognpaw version 20180119 yesterday evening. I was looking for the 2017 November version that I assumed was the latest but couldn’t find any way to get to the software via Pilotawarelode website. Finally got to it via the link in the OGNPAW set-up instructions.

Can the current/ latest software version be highlighted in some way via this forum please? I only realised there were different versions out there from Lee’s recent post regarding station detection range and overlap.

Thx,

Chris
Title: Re: Latest Software Version
Post by: Admin on February 02, 2018, 12:39:23 pm
Can the current/ latest software version be highlighted in some way via this forum please? I only realised there were different versions out there from Lee’s recent post regarding station detection range and overlap.

Hi Chris
OK, Should I tag it in the top left alongside PilotAware release ?

thx
Lee
Title: Re: Latest Software Version
Post by: Moffrestorer on February 02, 2018, 10:39:28 pm
That would be great Lee. It will give visibility to ognpaw software revisions.

I’m not sure how frequently your average PAW owner checks the forum, let alone realises the significance of the “PilotAware release” notification but I’m certain that the OGN-R station operators are all very committed and will appreciate easily checking the status on their software.
Title: Re: Latest Software Version
Post by: Admin on February 02, 2018, 10:58:38 pm
Hi Chris
I think the plan is to run a crontab
This will autoupdate without user intervention
Thx
Lee
Title: Re: Latest Software Version
Post by: Moffrestorer on February 02, 2018, 11:07:24 pm
Even better, Lee!

Thx,

Chris
Title: Re: Latest Software Version
Post by: ridders on March 02, 2018, 10:41:52 pm
Am I right in thinking there is a new version of OGNPaw software?

I see a 20170906  release mentioned above... but I guesss there may be a 2018 as I noticed mention above?

If there is a new release, I take it the update is as per the above readme.update?
Title: Re: Latest Software Version
Post by: Keithvinning on March 06, 2018, 01:45:19 pm
Hi Dave

Yes there is a new release 20180119. You can upload this remotely so you don't have to do a full manual read and reconfiguration. How you do this is in the instructions by running pi@ognpaw:~/rtlsdr-ogn $ ./PilotAware-OGN.update.sh .
I will produce an updating procedure and include it in the installation instructions later today.

Keith
Title: Re: Latest Software Version
Post by: Chris Parsons on March 06, 2018, 02:56:38 pm
Nuts, I was up at Dunks on Sunday and could have done it then...

What is in the update, will it wait until the end of March? (I am away)

Chris
Title: Re: Latest Software Version
Post by: ridders on March 07, 2018, 03:19:47 pm
I will produce an updating procedure and include it in the installation instructions later today.

Keith
Thanks Keith - will apply once I work out what I have to do  :o 
Title: Re: Latest Software Version
Post by: PaulRuskin on March 09, 2018, 06:09:03 pm
Hi Lee / Keith

Is there a changelog of the new version available?

Paul
Title: Re: Latest Software Version
Post by: ridders on March 18, 2018, 07:27:47 pm
Still waiting for updated instructions the ones at the top of this forum are still 20170906
Title: Re: Latest Software Version
Post by: PaulSS on March 19, 2018, 03:22:25 am
Mine says:

Title: Re: Latest Software Version
Post by: Ian Melville on March 19, 2018, 06:09:23 am
Your looking at the wrong place Paul. That is a message to state the latest PAW version. The top topic in this OGN section still states the OGN-R instruction are still for 20170906. I think like Ridders, I was waiting for a new set of instructions promised by Keith to update my OGN-R? Reply #6 on this thread.
Title: Re: Latest Software Version
Post by: PaulSS on March 19, 2018, 08:47:13 am
You're absolutely right and I apologise for posting incorrect bolleaux.

I will, in future, make note of which sub forum I'm visiting before extracting my pistol from the holster and shooting from the hip  :)
Title: Re: Latest Software Version
Post by: Keithvinning on March 24, 2018, 07:01:46 pm
Your looking at the wrong place Paul. That is a message to state the latest PAW version. The top topic in this OGN section still states the OGN-R instruction are still for 20170906. I think like Ridders, I was waiting for a new set of instructions promised by Keith to update my OGN-R? Reply #6 on this thread.

Hi Ian the instructions have been updated on the PilotAware.com website to show how to update to the latest software

Keith
Title: Re: Latest Software Version
Post by: Moffrestorer on March 24, 2018, 10:48:17 pm
Thanks for the installation instructions update Keith. Latest OGN-R software seems to still be 20180119 ?

I presume the auto-update (crontab) that Lee refers to earlier in this thread is yet to be implemented.

Whilst the update process remains “manual”  can you please broadcast to us whenever a software update becomes available?

Thx,

Chris

Title: Re: Latest Software Version
Post by: Moffrestorer on June 17, 2018, 08:03:31 pm
Updated PWKingsto OGN-R Software today. I followed the instructions for updating an existing OGN-PAW station per those notified by Keith 2 posts previously in this thread. Unfortunately this didn’t work as the program didn’t recognise the script “— same-owner” in the command line. I recognise that this would have enabled automatic software updates whenever a revision is issued.

Instead I was able to do the update as specified earlier by Keith;

Hi Dave

Yes there is a new release 20180119. You can upload this remotely so you don't have to do a full manual read and reconfiguration. How you do this is in the instructions by running pi@ognpaw:~/rtlsdr-ogn $ ./PilotAware-OGN.update.sh .
I will produce an updating procedure and include it in the installation instructions later today.

Keith


After typing the above commands, the Pi fetched the latest release from the pilotawarelode.co.uk website without further ado. This was release 20180609. Can I ask whether this is a “one time” download or having taken this route will further revisions be automatically detected/ download to my Pi?

Thx,

Chris
Title: Re: Latest Software Version
Post by: Keithvinning on June 22, 2018, 07:38:16 pm
Hi Chris
Glad you got it going.
No you will have to do it each time we announce a new release.

All as Chris said its very easy to do so if you dont know if you have the latest release give it a try

Keith
 
Title: Re: Latest Software Version
Post by: GyroTom on June 22, 2018, 09:11:40 pm
Hi

I tried the update using the original method and it didn't like the “— same-owner”

I then tried the method used by Chris and it said it could not find the directory.

Is it possible to download the new version to a microsd card and do it that way and if so where can I download it from?

I just updated my gyrocopters PAW with no issues using that method.

many thanks


Tom

 
Title: Re: Latest Software Version
Post by: Moffrestorer on June 24, 2018, 03:38:58 pm
Hi Tom,

The  README file that I thought was Keith’s update instructions may not be correct or is possibly superseded. I’ve just noticed his “updating OGN-R software instructions in the document  “Building and Installing an OGN-PAW Uplink...” downloadable from OGN section of PilotAware.com (I normally refer to the other document concerning converting an existing OGN Receiver to a PilotAware Uplink, as being generally more informative), my error!
 
The instructions spell out the commands that I eventually used to successfully download the software update, but with much more detail. Hopefully it will work for you from that document.

Regards,

Chris
Title: Re: Latest Software Version
Post by: Keithvinning on June 24, 2018, 11:53:59 pm
Hi Chaps

These instructions were written a while ago. Best I have a look and re-write next week. Bit busy at the moment.

Keith
Title: Re: Latest Software Version
Post by: GyroTom on June 25, 2018, 07:19:46 pm
OK Chris and Keith,

As it is working there is no rush to have to upgrade but I will when it is clearer how to do it.

Tom
Title: Re: Latest Software Version
Post by: trident on September 08, 2018, 09:05:17 pm
Hello Chaps,

I'm in the process of putting an OGN-R station together which will be located at my private strip a couple of miles south of Long Sutton in Lincolnshire.

I've spoken to Keith regarding setting-up the gear and my original idea was to mount most of it in a waterproof box up on a mast and just run power and ethernet cables up to the box, thus reducing the RF cable losses and keeping everything simple. However, my internet router is remote (about 100m away in the house) from where the OGN-R system will be mounted and although I could create a wireless connection through a router and connect it to my wi-fi network, it starts getting a bit awkward. I'm also aware that Ethernet should't be run externally without appropriate lightning-strike protection.

Keith has advised that there is no current capability in the OGN-R software to drive a wi-fi dongle, but I'm guessing (maybe wrongly) that it would be possible to update the software to include the necessary drivers which would make a wi-fi link to a network feasible? Maybe it could be either running permanently to auto-detect either wired or dongle, or configurable via a command-line input to select dongle from the default wired? Whether there are any technical issues other than the software I don't know, but I can't see any RF problems as wi-fi is 2.4 or 5GHz and P3i and Flarm are 950ish MHz. I think a wi-fi option would add versatility to the system and I'm sure other people would find it useful.

Comments from learned experts please!

Thanks,

Frank.

Title: Re: Latest Software Version
Post by: Paul_Sengupta on September 09, 2018, 02:39:33 am
Keith has advised that there is no current capability in the OGN-R software to drive a wi-fi dongle

I'm not entirely sure this is correct.

Mine's running on Wifi!  :o ;D

Oh gawd, I guess this means I'm going to have to try and remember how I did it and write it up in some sort of instruction. I might have written it down somewhere to copy paste. It's 2:39am at the moment, remind me later...after I've slept!
Title: Re: Latest Software Version
Post by: Paul_Sengupta on September 09, 2018, 02:41:00 am
P3i and Flarm are 950ish MHz.

868-869MHz
Title: Re: Latest Software Version
Post by: Ian Melville on September 09, 2018, 08:18:22 am
Keith has advised that there is no current capability in the OGN-R software to drive a wi-fi dongle

I'm not entirely sure this is correct.

Mine's running on Wifi!  :o ;D

Oh gawd, I guess this means I'm going to have to try and remember how I did it and write it up in some sort of instruction. I might have written it down somewhere to copy paste. It's 2:39am at the moment, remind me later...after I've slept!

Wakey Wakey sunshine.  :)
Yes please, then I can remove the Cat5 cable that is trailing across the floor from front to back of house  ::)
Title: Re: Latest Software Version
Post by: Admin on September 09, 2018, 11:07:03 am
The full installation does not have a wifi client setup
This canbe added to full install if Paul can document
Alternatively, you can install on an existing setup which does have a wifi client setup

Thx
Lee
Title: Re: Latest Software Version
Post by: PaulRuskin on September 09, 2018, 04:53:27 pm
The following should suffice.

sudo /root/mount_rw.bash

then change /etc/network/services to look like the file below

then cut and paste the following exactly (including brackets) into the command line
(cd /etc_rw; sudo tar -c  *) | (cd /etc_org; sudo tar -x --overwrite)
sudo /root/mount_ro.bash

/etc/network/services - replace what you've got with the following:
----------------------
# Interfaces(5) file used by ifup(8) and ifdown(8)

# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'

# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d

auto lo
iface lo inet loopback

auto eth0
allow-hotplug eth0
iface eth0 inet dhcp

auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp

wpa-ssid fill_in_SSID_here
wpa-psk fill_in_password_here

iface default inet dhcp




Title: Re: Latest Software Version
Post by: Paul_Sengupta on September 10, 2018, 12:26:24 am
I gave mine a static IP address, and had to give it my SSID and password for the router.

When I'm back in Guildford, I'll see if I can log on to it and have a look to see what I did! I thought I'd written it up in the Engineering section, but I don't think I did.
Title: Re: Latest Software Version
Post by: trident on September 10, 2018, 06:33:11 pm

Thanks for the update chaps.

I thought it would be possible and thank you Paul re the 868-869MHz frequency. I wrote it from memory and was a bit out hence the ish. Curiously, it's approx the 2nd harmonic of the 433 licence exempt band for remote control and some telemetry, so I expect it's not a coincidence then.

Maybe as I suggested the wi-fi driver could be a permanent addition to the software as an update? I thought I wouldn't be the only one to find it useful.

I'm not well versed in programming of the Pi, but I'll give it a go. One question though, if I make the changes at the command line prompt, are those changes saved to the file so next boot-up will load the wi-fi driver option, or is it lost once the power is removed? It might sound a basic (no, I know it's UNIX!) question, but as I said I've done very little with the Pi so far.

Thanks,

Frank.
Title: Re: Latest Software Version
Post by: Admin on September 10, 2018, 07:48:08 pm
Frank, it will be lost if the changes are either in
/etc, or /var

in order to maintain these changes you will need to copy the relevant modified files from

/etc/xxxx to /etc_org/xxxx and
/var/xxxx to /var_org/xxxx

Thx
Lee
Title: Re: Latest Software Version
Post by: PaulRuskin on September 11, 2018, 09:24:47 am
You can copy the relevant files like this (useful if you're not exactly sure what has been changed).:

sudo /root/mount_rw.bash
(cd /etc_rw; sudo tar -c  *) | (cd /etc_org; sudo tar -x --overwrite)
(cd /var_rw; sudo tar -c  *) | (cd /var_org; sudo tar -x --overwrite)
sudo /root/mount_ro.bash

Paul
Title: Re: Latest Software Version
Post by: Ian Melville on September 11, 2018, 12:04:31 pm
PaulR
Can you just start that config again in works of one sylable  :-\

Though I am learning bits and bobs Linux is still a black box to me.
Title: Re: Latest Software Version
Post by: Paul_Sengupta on September 11, 2018, 06:24:00 pm
From what I can see, "tar -c *" compacts all your files in that directory into one file. It then gets piped to the other directory where the files are expanded again, overwriting what's there.

It's just another way of doing things, you can edit them in the _rw directory and copy them all into the _org directory.

Alternatively you could just edit them in the _org directory!  ;D

Is that right?
Title: Re: Latest Software Version
Post by: Admin on September 11, 2018, 07:15:30 pm
From what I can see, "tar -c *" compacts all your files in that directory into one file. It then gets piped to the other directory where the files are expanded again, overwriting what's there.

It's just another way of doing things, you can edit them in the _rw directory and copy them all into the _org directory.

Alternatively you could just edit them in the _org directory!  ;D

Is that right?

That is correct
any modified files go into the _rw/ directory, so Paul has given a neat shortcut to say
take all modified files in the non-persistent directory, and copy them into the persistent directories

- you will all be Linux Gurus before Christmas!
Thx
Lee
Title: Re: Latest Software Version
Post by: AlanG on September 11, 2018, 07:54:45 pm
Ahh, but which Christmas???????? >:(

Although i did manage to set up my 360Radar server first time.  ;D
Title: Re: Latest Software Version
Post by: trident on September 14, 2018, 08:56:22 pm
Thanks Lee and all for the info.

I'll give it a try as soon as I get a chance and report back here how it goes.

Thanks,

Frank.