Posts: 29
Threads: 4
Joined: May 2019
Reputation:
1
How do I change the network config of tinypilot?
My GPS and AIS have wifi adapters and connect to the boat router. They broadcast UDP packets of the NMEA data.
Each of my opencpn devices, laptop, Orange PI, phone and tablet connect to the same wifi router and configure connections for the GPS and the AIS.
How can I get tinypilot on the same network so it can communicate with the opencpn(s) and GPS?
The default for the tinypilot seems to be an AP. I don't think I want all my boat wifi traffic to go thru tinypilot'a AP.
I would prefer the tinypilot to receive the GPS without using opencpn as a forwarder because I would like the autopilot to function even without opencpn running.
Thanks, Larry
Posts: 2,355
Threads: 21
Joined: Jun 2016
Reputation:
75
You can edit the config file of tinypilot directly, or you can change the network settings from the web interface to make it act as a client.
You can send gps to tinypilot via tcp port 20220. So far there is not support to use a remote gpsd, but this would be very easy to support.
Posts: 29
Threads: 4
Joined: May 2019
Reputation:
1
I can't find the on the web interface. I installed the stable image of tinypilot_14102018.img. I'll upgrade to latest and look then.
Posts: 2,355
Threads: 21
Joined: Jun 2016
Reputation:
75
The stable image does not support it.
Posts: 2,355
Threads: 21
Joined: Jun 2016
Reputation:
75
If you put a fresh image on the zero w, can you connect to it as an access point and try the web interface to switch it to client mode and reboot?
Posts: 29
Threads: 4
Joined: May 2019
Reputation:
1
I have tried a fresh image several times. After I use the webapp to change the network and reboot, it does not connect to my router. I do not have a Nokia5110 display so I can't see any possible error messages.
I have taken out the sd card and mounted it on my laptop, the networking.txt file is correct.
Since it does not connect to my router, I cannot ssh in, is there any way to see whats going on? I also tried a serial console cable and get nothing.
Posts: 2,355
Threads: 21
Joined: Jun 2016
Reputation:
75
I will look into it this week. It should not be missing dhclient or wpasupplicant, not sure what is with that.
Posts: 29
Threads: 4
Joined: May 2019
Reputation:
1
(2019-05-30, 12:19 PM)seandepagnier Wrote: I will look into it this week. It should not be missing dhclient or wpasupplicant, not sure what is with that.
I looked and it seems you try to start wpa_supplicant as a service, but there are no control files for it to be a service. Same for dhclient. All the info at tinycore.net seem to start wpa_supplicant with a script, wifi.sh.
--
Larry - s/v Katie Lee Passport 45 Ketch (For Sale) - somewhere in Taiwan
Posts: 2,355
Threads: 21
Joined: Jun 2016
Reputation:
75
yes, the client support was not complete. I should have it in the next image.