Author |
Message |
Shiplu
Kai Beginner
![Kai Beginner Kai Beginner](templates/fisubgrey/images/pip.gif)
![](http://www.teamxlink.co.uk/img/blank_avatar.gif)
Joined: 02 Apr 2005
Posts: 5
|
Posted:
Mon Nov 07, 2016 2:47 pm |
![Reply with quote Reply with quote](templates/fisubgrey/images/lang_english/icon_quote.gif) ![Back to top Back to top](templates/fisubgrey/images/icon_up.gif) |
How can get Raspbian Server Automatically Start Xlink Kai on Boot or Reboot?
its seems its it has not been covered on the forum. |
|
|
![View user's profile View user's profile](templates/fisubgrey/images/lang_english/icon_profile.gif) ![Send private message Send private message](templates/fisubgrey/images/lang_english/icon_pm.gif) |
![](images/spacer.gif) |
Nosen
Kai Beginner
![Kai Beginner Kai Beginner](templates/fisubgrey/images/pip.gif)
![](http://www.teamxlink.co.uk/img/blank_avatar.gif)
Joined: 08 Jun 2020
Posts: 1
|
Posted:
Mon Jun 08, 2020 6:20 pm |
![Reply with quote Reply with quote](templates/fisubgrey/images/lang_english/icon_quote.gif) ![Back to top Back to top](templates/fisubgrey/images/icon_up.gif) |
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 user's profile View user's profile](templates/fisubgrey/images/lang_english/icon_profile.gif) ![Send private message Send private message](templates/fisubgrey/images/lang_english/icon_pm.gif) |
![](images/spacer.gif) |
|
|
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
| |