Jump to content


Photo

ZeroTier on Openpli


  • Please log in to reply
28 replies to this topic

Re: ZeroTier on Openpli #21 oldgraf

  • Senior Member
  • 25 posts

+1
Neutral

Posted 24 September 2019 - 09:15

I can't figure out what samba has to do with startup

#!/bin/sh

DAEMON="/usr/sbin/zerotier-one"
prog=`basename $DAEMON`
MODULE="tun"
PIDFILE="/var/lib/zerotier-one/zerotier-one.pid"

test -e $DAEMON || exit 0

 

case "$1" in
  start)
    if [ -d /var/lib/samba/msg.lock ]; then
        rm -rf /var/lib/samba/msg.lock
    fi
    echo -n "Starting $prog"

    # Make sure kernel module is loaded
    if ! grep -q $MODULE /proc/filesystems
    then
        # Try load the kernel module fail if we can't
        modprobe $MODULE >/dev/null 2>&1
        if [ $? -eq 1 ]
        then
            echo "Error: failed to load $MODULE module."
            return 1
        fi
    fi

    start-stop-daemon --start --quiet --background --exec $DAEMON
    echo "."
    ;;


Edited by oldgraf, 24 September 2019 - 09:16.


Re: ZeroTier on Openpli #22 possibly2

  • Member
  • 12 posts

+1
Neutral

Posted 14 October 2019 - 08:51

I can't figure out what samba has to do with startup

 

 

Ups, copy/paste issue.. Should have been removed, thanks for noticing.. :-)

 

Attached recipe with updated startup script.

 

Rgds

P



Re: ZeroTier on Openpli #23 Taykun345

  • Senior Member
  • 1,173 posts

+31
Good

Posted 14 October 2019 - 12:37

Attachment is missing


Army MoodBlue HD skin modification by me: https://github.com/T...-MoodBlueHD-mod
Matrix10 MH-HD2 skin modification by me: https://github.com/B...-MX-HD2-OpenPli
MetrixHD skin modification by me: https://github.com/T...xHD-WPstyle-mod
Slovenian translation for OpenPLi E2: https://github.com/T...ion-for-OpenPLi

Re: ZeroTier on Openpli #24 possibly2

  • Member
  • 12 posts

+1
Neutral

Posted 23 October 2019 - 20:31

 

I can't figure out what samba has to do with startup

 

 

Ups, copy/paste issue.. Should have been removed, thanks for noticing.. :-)

 

Attached recipe with updated startup script.

 

Rgds

P

 

2nd try.. 

Attached Files



Re: ZeroTier on Openpli #25 WanWizard

  • Forum Moderator
    PLi® Core member
  • 48,995 posts

+840
Excellent

Posted 23 October 2019 - 20:50

Thanks: https://github.com/O...b56d44b71481dce


Currently in use: VU+Duo 4K (2xFBC S2), Amiko Viper T2C (T2), SAB Alpha Triple HD (S2+T2), Zgemma H3.T2C (T/C), Zgemma H6 (fallback), VU+Zero (fallback)

Many answers to your question can be found in our new and improved wiki.

note: I do not provide support via PM !

 


Re: ZeroTier on Openpli #26 possibly2

  • Member
  • 12 posts

+1
Neutral

Posted 23 October 2019 - 22:13

 

Can you build ZT also for Zgemma H9?

 

 

Sure, sorry for delay. Would the attached work?

 

Rgds,

P.

Attached Files



Re: ZeroTier on Openpli #27 Taykun345

  • Senior Member
  • 1,173 posts

+31
Good

Posted 24 October 2019 - 16:44

Yes, it works fine. Thank you


Army MoodBlue HD skin modification by me: https://github.com/T...-MoodBlueHD-mod
Matrix10 MH-HD2 skin modification by me: https://github.com/B...-MX-HD2-OpenPli
MetrixHD skin modification by me: https://github.com/T...xHD-WPstyle-mod
Slovenian translation for OpenPLi E2: https://github.com/T...ion-for-OpenPLi

Re: ZeroTier on Openpli #28 WanWizard

  • Forum Moderator
    PLi® Core member
  • 48,995 posts

+840
Excellent

Posted 24 October 2019 - 16:45

Is also present in OpenPLi 7.2 (rc).


Currently in use: VU+Duo 4K (2xFBC S2), Amiko Viper T2C (T2), SAB Alpha Triple HD (S2+T2), Zgemma H3.T2C (T/C), Zgemma H6 (fallback), VU+Zero (fallback)

Many answers to your question can be found in our new and improved wiki.

note: I do not provide support via PM !

 


Re: ZeroTier on Openpli #29 jclpaiva

  • New Member
  • 1 posts

0
Neutral

Posted 18 November 2019 - 20:37

Could be possible compile zerotier for Octagon SX88+ (c-sky linux / GX6611-D SOC) ?

 

Thank you

Regards






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users