2019-09-10, 09:51 PM
(2019-09-10, 02:06 PM)rastam4n Wrote: Has anyone tried to run TP as a client to OP instead of an Access point?
I can see there are settings that can be adjusted for this but I just cannot seem to get my head around what it means and how it works...
Once TP is a client that would mean it would join the OpenPlotter network ( I would set a static IP for TP)
Then in OpenCPN under the pypilot plugin config I would change the IP address to the new TPs address
Then in settings I would change the 20220 to point to the new TP address
Is that all there is to it?
Am I missing some glaringly obvious reason why it should not work?
Also, if Openplotter is connected as a client to my main home network, and TP is connected as a client to OpenPlotter, would that mean that I can connect to TP from any computer that is on either network via ssh or via opencpn pypilot plugin?
This would certainly make testing much easier?!
I tested this configuration:
Openplotter on Rasp PI with 2 wifi interfaces:
Int. 1 as client connected to router (actually my phone as hotspot)
Int. 2 as AP
Tinypilot connected as client to openplotter AP interface:
Normally It assumes a dynamic IP but is reachable via hostname ‘box’
Once connected via ssh, tinypilot can reach the Internet, and thus is updatable conecting to GIT