You are here

PiAware Local View

8 posts / 0 new
Last post
kg4rvn
PiAware Local View

Here I am again with another question.  Sorry about that, but we don't learn if we don't ask. 

I have PiAware up and running on the mesh.  Works great.  However no local view is available.  Says that it can't connect.  

Same setup works correctly when on my home network.  What is different about the mesh that doesn't let it go to xx.xx.xx.xx:8080?

Jason KG4RVN

AB4YY
The link I use for mine is:

The link I use for mine is: http://piaware.local.mesh/dump1090-fa/
Of course you can use your ip instead of name: http://x.x.x.x/dump1090-fa/p1090-fa/

This will also work: http://piaware.local.mesh/ 

- Mike ab4yy

kg4rvn
Would you be willing to share

Would you be willing to share how you set it up under advertized services?

I've tried all of those options.

http://x.x.x.x/dump1090-fa/p1090-fa/ comes up as "404 not found"

http://raspberrypi.local.mesh/  goes to the apache server page on the pi

http://raspberrypi.local.mesh/dump1090-fa/  also gives me a "404 not found"


Jason KG4RVN

AJ6GZ
First...

First you MUST rename the pi to something other than raspberrypi or piaware. Suggest "kg4rvn-piaware" or something with your callsign in it. Otherwise there will be conflicts on the mesh.

Next, set a DHCP Address Reservation on the node, on the Port Fowarding, DHCP, and Services screen. Restart the pi and make sure the new name and IP are shown correctly on the node.

Under Advertised Services, set the following:
Name: "KG4RVN PiAware" or whatever friendly name you want it to show up as on the Mesh list.
Link: Checked
URL: "http" and select the pi on the dropdown
Port: 80 is the default for the PiAware build, unless you've changed it to 8080.
/: dump1090-fa

Save changes. You should see the clickable link on the Mesh Status screen. It will show up as:
kg4rvn-piaware          KG4RVN PiAware

a mouse-over the link will show:  http://kg4rvn-piaware.local.mesh/dump1090-fa

If you're not running /dump1090-fa (it should be if you used the PiAware image? Or did you build it from scratch?), then you'll need to look at the complete URL when it's working on your regular network.  In essense, we want the URL to look the same on the mesh, except for the hostname part of it.

Also note if you want to upload data to the various ADS-B websites, your mesh node will need a WAN connection back out thru your home internet.

Hope this helps!
 

kg4rvn
So confused

So I set everything the way you suggested.  Even changed the hosts and hostname on the pi itself to "KG4RVN-Pi".  After that neither meshchat nor PiAware is available on the mesh.  It's been a long day and I hope that I've just gone even more stupid than normal about this stuff. 

I used PiAware's instructions for installing on an already running instance of, in this case, raspbian. So I am not using the PiAware image.  Though I know it works because it works on my home commercial network, but feeding and a local instance of the maps.  However when I plug into the mesh it only feeds to flightaware, it still refuses to show the local instance.  

Thank you all for your patience with me.  I'm trying to learn about both linux and how the mesh networks at the same time and it is not coming easily for me.  

Jason KG4RVN

KD1HA
KD1HA's picture
Clear out the last box "

Clear out the last box "/dump1090-fxxx" in the advertised services.

kg4rvn
That nets this result
I take that out and it gives me the apache page for the Pi.
Image Attachments: 
kg4rvn
Resolution
So I finally got it working.  lighttpd was apparently listening on the same port as meshchat.  So I followed these guides and changed the port to 8082 and it worked just fine!
https://discussions.flightaware.com/t/change-port-of-piaware-skyview/33500
https://discussions.flightaware.com/t/change-port-8080-on-piaware-3/19417

Thanks to all that gave suggestions!

Jason KG4RVN

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer