Author |
Message |
Shiplu
Kai Beginner
Joined: 02 Apr 2005
Posts: 5
|
Posted:
Mon Nov 07, 2016 2:47 pm |
|
How can get Raspbian Server Automatically Start Xlink Kai on Boot or Reboot?
its seems its it has not been covered on the forum. |
|
|
|
|
Nosen
Kai Beginner
Joined: 08 Jun 2020
Posts: 1
|
Posted:
Mon Jun 08, 2020 6:20 pm |
|
I know it's been 4 years, but i found a solution.
Follow this guide:
https://www.teamxlink.co.uk/forum/viewtopic.php?t=44251
Then, enter the kai folder:
Open a new file called launchkai.sh using nano:
Paste this into that file:
Code: |
while true; do
sudo /home/pi/kai/kaiengine
sleep 1
done |
To save this new file, press control+X, then Y, then enter.
Make the launchkai.sh file executable:
Code: |
chmod +x launchkai.sh |
Edit the system launch script:
Code: |
sudo nano /etc/rc.local |
Add this line before the line that says exit 0:
Code: |
sudo /home/pi/kai/launchkai.sh & |
Press control+X, Y, enter.
Reboot your pi.
See if you can enter the web interface. It should pop up.
Credit to this guide which i edited to fix some permissions issues:
[url]https://www.teamxlink.co.uk/wiki/XLink_Kai_Raspberry_Pi_Beginners_Tutorial_(Xbox)_(OLD)#Configuring_XLink_Kai_to_start_automatically_on_boot_or_if_it_crashes[/url] |
|
|
|
|
|
|
View next topic
View previous topic
You can post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB
© 2001, 2002 phpBB Group :: Theme by Daz ::
All times are GMT
| |