Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing LAT/LON on existing install #53

Open
dlasher opened this issue Aug 10, 2022 · 4 comments
Open

Changing LAT/LON on existing install #53

dlasher opened this issue Aug 10, 2022 · 4 comments

Comments

@dlasher
Copy link

dlasher commented Aug 10, 2022

Moved, needed to update LAT/LON - these commands:
$ sudo snap set adsb-box receiver.latitude=[LATITUDE] receiver.longitude=[LONGITUDE] receiver.altitude=[ALTITUDE]

don't change the existing values.. changed while running, stopped, changed, started, rebooted, old values stay in place. Had to edit all the files by hand to get it to change.

Did I miss something?

@tsunghanliu
Copy link
Owner

Hi,

Did you run sudo snap restart adsb-box after change the LAT/LON values?
What files did you change manually? I can check if something is not generated dynamically.

@dlasher
Copy link
Author

dlasher commented Aug 11, 2022

Yes, I tried restarting it, and all the services started with the old LAT/LON.

Hand edited the following files, then restarted:

  • dump1090-fa.conf
  • location.env
  • location
  • -fr24feed.ini- (( can ignore this one ))
  • 10-debconf.ini
  • rbfeeder.ini

@tsunghanliu
Copy link
Owner

Thanks for the information. I didn't notice that feeders recorded the location in files separately.
However, my `fr24feed.ini does have the location stored. Could you please share the format with me?

@dlasher
Copy link
Author

dlasher commented Aug 11, 2022

Apologies, you're right, mine doesn't either. I looked back through my bash history, and included every file I edited, and that one does NOT have location data, so we can ignore it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants