FAQ  •  Search  •  Profile  •  Log in to check your private messages  •  Log in
 Xlink Kai Auto Start on Boot Raspberry Pi (Headless) View next topic
View previous topic
Post new topicReply to topic
Author Message
Shiplu
Kai Beginner
Kai Beginner


Joined: 02 Apr 2005
Posts: 5

PostPosted: Mon Nov 07, 2016 2:47 pm Reply with quoteBack to top

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 profileSend private message
Nosen
Kai Beginner
Kai Beginner


Joined: 08 Jun 2020
Posts: 1

PostPosted: Mon Jun 08, 2020 6:20 pm Reply with quoteBack to top

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:

Code:
cd ~/kai


Open a new file called launchkai.sh using nano:

Code:
nano launchkai.sh


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.

Code:
sudo reboot


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 profileSend private message
Display posts from previous:      
Post new topicReply to topic


 Jump to:   



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