This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tinypilot network config change
#22
(2019-07-18, 12:50 PM)ironman Wrote: Hi syohana,

In the recently released tinypilot image the wifi client option seems to work out of the box. This invalidates some of the postings above. Tinypilot would then get a random IP address from the access point, in this case your xb8000, and with that ip address you can access the tinypilot web interface through the access point that you have chosen. This way you would not need to use the usb dongle, a road I would not choose as I've pulled many hairs on that one.

The fact it's a random ip address is a bit awkward. On openplotter you can fix an ip address to a mac address (under the hood, still). I'm not sure you can do that on your xb8000, but it may be possible. If not, it leaves you with the option of fixing it on the tinypilot side, changing for instance /opt/bootlocal.sh as below, add 'opt/bootlocal.sh' to /opt/.filetool.lst, run filetool.sh -b, and reboot.

   ifconfig wlan0 10.10.10.4 netmask 255.255.255.0 up
   #sv u dhcpcd

I think it would be quite handy (i.e., feature request ;-) if a new tinypilot image would allow for specifying a fixed client ip address.


Hi ironman, thanks very much for the ideas, unfortunately the xb8000 isn't a fully featured router and can't allocate a fixed IP address.

One alternative would be to have both of them as clients to another wifi router which does allocate fixed and reserved IP addresses. I think that's just too many points of failure, extra power consumption and if the central router went down then nothing would work.

The key is to make it redundant so that if either the xb8000 or the pypilot fails then the other one is still accessible in an intuitive way to non-technical crew. They'll never think to turn it on holding a button. Having both of them in access point mode better satisfies that redundancy requirement.

Maybe I'll just have to run a very long serial cable all around the boat and hope it doesn't transmit or receive too much RF interference. Part of my reason for choosing pypilot was to get rid of all the long cables though. it would be about 10m cable which might be pushing the limits of nmea0183 and would certainly upset the SSB.

I'd be very reluctant to try fixing the IP address on the client side as it won't be reserved in the router. Seems like it could break if the router has already allocated something else to the IP address the client demands.

Hmmmm. Still not sure which way to go!
Reply


Messages In This Thread
Tinypilot network config change - by svkatielee - 2019-05-27, 09:32 AM
RE: Tinypilot network config change - by ironman - 2019-07-09, 02:43 PM
RE: Tinypilot network config change - by ironman - 2019-07-11, 10:44 PM
RE: Tinypilot network config change - by ironman - 2019-07-12, 10:21 AM
RE: Tinypilot network config change - by ironman - 2019-07-13, 12:04 PM
RE: Tinypilot network config change - by syohana - 2019-07-18, 12:39 AM
RE: Tinypilot network config change - by ironman - 2019-07-18, 12:50 PM
RE: Tinypilot network config change - by syohana - 2019-07-18, 09:28 PM
RE: Tinypilot network config change - by ironman - 2019-07-18, 10:12 PM
RE: Tinypilot network config change - by syohana - 2019-07-18, 11:38 PM
RE: Tinypilot network config change - by rastam4n - 2019-09-10, 10:04 PM
RE: Tinypilot network config change - by ironman - 2019-09-11, 01:32 PM
RE: Tinypilot network config change - by rastam4n - 2019-09-11, 03:29 PM
RE: Tinypilot network config change - by rastam4n - 2019-09-11, 04:33 PM
RE: Tinypilot network config change - by ironman - 2019-09-11, 04:48 PM
RE: Tinypilot network config change - by Vic - 2019-09-11, 08:07 AM
RE: Tinypilot network config change - by Vic - 2019-09-11, 08:48 PM
RE: Tinypilot network config change - by rastam4n - 2019-09-11, 05:09 PM
RE: Tinypilot network config change - by ironman - 2019-09-11, 05:20 PM
RE: Tinypilot network config change - by rastam4n - 2019-09-11, 05:37 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)