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
#14
(2019-07-09, 02:43 PM)ironman Wrote: For what it's worth, I got some success with the tinypilot beta image, being able to make it a client to the openplotter access point.

First, using the beta image, I found in the webapp (http://pypilot.io) under Configuration an option Configure WIFI. This was not in the stable image. I configured that ("Managed-client"), but when hitting Submit it flicked back to "Master - AP" so that was not very promising. Indeed after a reboot the AP was gone. Editing the file /home/tc/.pypilot/networking.txt, as suggested in the screen, was also to no avail.

What finally worked was to create two files on /mnt/mmcblk0p2/tinypilot/. This location is persistent. If you put those files anywhere else they get lost over a reboot.

The first file carries the wifi config (so fill in your own wifi passphrase), the second I run manually for now.

/mnt/mmcblk0p2/tinypilot/wpa_supplicant.conf:

   network={
        ssid="openplotter"
        psk="secret"
   }

/mnt/mmcblk0p2/tinypilot/set_wlan.sh

   wpa_supplicant -B -i wlan0 -c /mnt/mmcblk0p2/tinypilot/wpa_supplicant.conf
   ifconfig wlan0 10.10.10.3 netmask 255.255.255.0 up

Thanks for that. Actually I will not be sailing for a few weeks, so I will wait for the next beta image that Sean has promised.

For you, you can put your set_wlan.sh in /home/tc/.pypilot/. or in /opt/ and add a call to it in the right place in  /opt/bootlocal.sh with the full path. Then save it all with: filetool.sh -b and reboot.
  
Anyway this should work.
--
Larry - s/v Katie Lee Passport 45 Ketch (For Sale) - somewhere in Taiwan
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 svkatielee - 2019-07-10, 01:31 AM
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: 4 Guest(s)