2021-10-03, 08:56 PM
(2021-10-03, 07:55 PM)damien Wrote:(2021-10-03, 12:17 PM)MBJ335 Wrote: Hello Xavier,
I have the very same problem you got as i've just received a new Pypilot hat a few days ago, I understand the git clone command works only if the raspberry is connected to the internet how do i do that please?
Hi,
I may advise two possibilities:
- Should you have a WiFi router hooked on the network, you can setup tinypilot WiFi on that router and you should be able to reach github
- Should you be familiar with ssh, you can download the content on an alternate machine and copy it on the tinypilot ; example with a linux box:
Code:# Linux box hooked at first on a network having internet connection
cd ~
mkdir RTIMULib_update
cd RTIMULib_update
git clone git://github.com/seandepagnier/RTIMULib2.git
tar czvf RTIMULib2.tar.gz RTIMULib2
rm -rf RTIMULib2
# Now hook your linux box on the tinypilot WiFi AP
scp RTIMULib2.tar.gz tc@192.168.14.1 # Note: password is pypilot
# Now ssh on your tinypilot
ssh tc@192.168.14.1
sudo sh /mnt/mmcblk0p2/tinypilot/pypilot_dependencies/python-RTIMULib/python-RTIMULib.build
Otherwise, as Sean advised, wait a little for the release of the next tinypilot image.
Best regards,
Xavier.
Thank you so much for your help, i managed it by switching the sd card from the computer to the raspberry, it is a bit dirty but it worked out...the build routine must be launched from where the file is stored, that was my mistake!
Anyway I will wait for the next tinypilot image release from Sean (no hurry...)
Kind regards,
MBJ