User Tools

Site Tools


second_tinypilot

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
second_tinypilot [2022/02/10 01:16]
seandepagnier
second_tinypilot [2022/02/10 01:19]
seandepagnier
Line 2: Line 2:
  
 Set the second tinypilot to use remote address for lcd interface: Set the second tinypilot to use remote address for lcd interface:
- boot second tinypilot keeping the first tinypilot (autopilot) powered off. + 
- connect to wifi access point "​pypilot"​ +  boot second tinypilot keeping the first tinypilot (autopilot) powered off. 
- ssh to client (remote tinypilot) +  ​* ​connect to wifi access point "​pypilot"​ 
- set remote host for hat display+  ​* ​ssh to client (remote tinypilot) 
 +  ​* ​set remote host for hat display
 $ ssh tc@192.168.14.1 $ ssh tc@192.168.14.1
 +
 password: pypilot password: pypilot
 +
 $ nano ~/​.pypilot/​hat.conf $ nano ~/​.pypilot/​hat.conf
- Replace localhost with the ip address of the master tinypilot. ​ Typically replace + 
-"​host":"​localhost","​actions"​... +  Replace localhost with the ip address of the master tinypilot. ​ Typically replace  
-with +"​host":"​localhost","​actions"​... with "​host":"​192.168.14.1","​actions"​... 
-"​host":"​192.168.14.1","​actions"​... +  ​* ​Save file exit nano 
- Save file exit nano +  ​* ​Disable pypilot on boot 
- Disable pypilot on boot+  * 
 $ nano /​opt/​bootlocal $ nano /​opt/​bootlocal
- scroll down to line "sv u pypilot"​ (about line 78) + 
- comment line out changing it to "#sv u pypilot"​ +  scroll down to line "sv u pypilot"​ (about line 78) 
- save file exit nano +  ​* ​comment line out changing it to "#sv u pypilot"​ 
- store boot script+  ​* ​save file exit nano 
 +  ​* ​store boot script 
 $ filetool.sh -b $ filetool.sh -b
- navigate to http://​pypilot.io/​wifi, ​ or http://​192.168.14.1/​wifi + 
- Switch to client mode (managed) rather than AP, and set the correct host/ssid, by default "​pypilot"​ with no key. +  navigate to http://​pypilot.io/​wifi, ​ or http://​192.168.14.1/​wifi 
- Power cycle +  ​* ​Switch to client mode (managed) rather than AP, and set the correct host/ssid, by default "​pypilot"​ with no key. 
- Power the primary tinypilot computer +  ​* ​Power cycle 
- Ensure the WIFI is displayed on both screens+  ​* ​Power the primary tinypilot computer 
 +  ​* ​Ensure the WIFI is displayed on both screens
  
  
 To take out of remote mode will simply reverse the above steps. ​ In client mode it may be difficult to ssh into the remote tinypilot without knowing the ip address. ​ This is normally listed on the wifi display (version 0.32 and newer) ​ typically pypilot.io/​wifi. To take out of remote mode will simply reverse the above steps. ​ In client mode it may be difficult to ssh into the remote tinypilot without knowing the ip address. ​ This is normally listed on the wifi display (version 0.32 and newer) ​ typically pypilot.io/​wifi.
       It may also be found with nmap       It may also be found with nmap
 +
 $ nmap -sT 192.168.14.0/​24 $ nmap -sT 192.168.14.0/​24
  
second_tinypilot.txt · Last modified: 2022/02/10 01:22 by seandepagnier