I installed Pagekite, set up ssh connectivity and let it fly by entering "pagekite" when logged in as a regular user. I can access my pi via SSh by configuring Putty as explained in the how to page. However this only works when starting pagekite manually. Since the Raspberry Pi is running unattendedly, I need to start te kite automatically after reboot.
I checked the active processes - no pagekite listed
I checked the /etc/rc3.d directory, where it says lrwxrwxrwx 1 root root 18 Sep 21 19:51 S03pagekite -> ../init.d/pagekite
in the /etc/init.d directory, pagekite is avaliable: -rwxr-xr-x 1 root root 4941 Aug 21 2011 pagekite
I added @reboot /usr/bin/python /usr/bin/pagekite to crontab - to no avail
Do you have any hint how the pagekite autostart can be accomplished? thanks a million Chris
Comments
Chris
#! /bin/sh
python pagekite.py --clean --frontend=DOMAIN:PORT --service_on=http:DOMAIN:localhost:PORT:SECRET
I then just entered the following in Pi's crontab:
@reboot /home/pi/startupscript.sh
It's not a perfect solution by any means, but it seems to actually work!
https://www.linuxbabe.com/linux-server/expose-localhost-to-internet-pagekite-ubuntu
Section: Create a Systemd Service Unit for PageKite Server & Configure Pagekite Client to Use Your Own Server