Jump to content


Photo

ZeroTier on Openpli


  • Please log in to reply
77 replies to this topic

#1 mysat

  • Senior Member
  • 153 posts

+2
Neutral

Posted 2 June 2019 - 09:45

Hi,

 

Because I like the concept of ZeroTier, I tried to find a sw package for openpli/enigma2. Is this available or did someone compiled it for this platform ? 

 

So far no luck



Re: ZeroTier on Openpli #2 WanWizard

  • PLi® Core member
  • 70,497 posts

+1,810
Excellent

Posted 2 June 2019 - 09:55

There are some freelancer posts asking to create a bitbake recipe for it, so I assume it doesn't (publicly) exist.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

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


Re: ZeroTier on Openpli #3 mysat

  • Senior Member
  • 153 posts

+2
Neutral

Posted 2 June 2019 - 19:35

Thnx for your reply. Have to challenge myself in case that I want this...any idea if this very difficult to do achieve this as a non programmer ?

Re: ZeroTier on Openpli #4 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 2 June 2019 - 20:35

I guess if you have a strong will, you can achieve what ever you like ;)


I made a recipe that builds fine for mips32el, armv7ahf-neon, aarch64 using old morty OE (so newer OE will be fine as well).

$ cat zerotier_1.2.12.bb
SUMMARY = "A Smart Ethernet Switch for Earth"
MAINTAINER = "https://github.com/zerotier/ZeroTierOne"
LICENSE = "GPLv3+"
LIC_FILES_CHKSUM = "file://COPYING;md5=886557d0c9eee76bfbb292c1e01e2f43"

SRC_URI = "git://github.com/zerotier/ZeroTierOne.git;protocol=http"
SRCREV = "${PV}"

S = "${WORKDIR}/git"

inherit gitpkgv autotools-brokensep

TARGET_CC_ARCH += "${LDFLAGS}"
TARGET_CFLAGS += "-fpic"

No idea if it works, or how it works.

Please experiment and if/when you make it, then would be nice to create a guide and/or a wiki page so you can help others as well.

Attached Files


Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: ZeroTier on Openpli #5 mysat

  • Senior Member
  • 153 posts

+2
Neutral

Posted 20 June 2019 - 13:07

@athoik:

 

Thanks for helping. I will 1st test this ;-) Come back with the results before promissing something



Re: ZeroTier on Openpli #6 mysat

  • Senior Member
  • 153 posts

+2
Neutral

Posted 20 June 2019 - 17:16

Installs without any issue. Seems to work really easily, but I have a local issue that my openpli 7 and zerotier for the moment can't access the local NIC on 127.0.0.1, although local.host is default in /etc/hosts. It runs but is currently throwing errors. Maybe others can also help. Seems a great product if it works!



Re: ZeroTier on Openpli #7 mysat

  • Senior Member
  • 153 posts

+2
Neutral

Posted 22 June 2019 - 11:46

It works on Openpli 7. Issue I encountered was the result of not being authorized to logon to my network. I will try to make a manual for ZeroTier on openpli.

For anyone that is not familiar with zerotier: An easy way to create a Private VPN network for devices hidden from the internet behind a router. For a normal VPN solution the firewall needs to be adapted, but with ZeroTier this step is not needed.

My personal goal is to have an easy solution to maintain hardware over the internet without the hassle of configuring router ports.
I’m new to ZeroTier so surely not an expert.

Re: ZeroTier on Openpli #8 mysat

  • Senior Member
  • 153 posts

+2
Neutral

Posted 25 June 2019 - 21:26

Just a intermediate update:

 

To make it work I need to run this 1st because otherwise I can't connect

 

 

[ $(lsmod | grep "tun" | wc -l) -eq 0 ] && modprobe tun

 

To be honest someone needs to explain this to me. Seems to be a part of the network



Re: ZeroTier on Openpli #9 mysat

  • Senior Member
  • 153 posts

+2
Neutral

Posted 26 June 2019 - 10:46

Just a intermediate update:

 

To make it work I need to run this 1st because otherwise I can't connect

 

 

[ $(lsmod | grep "tun" | wc -l) -eq 0 ] && modprobe tun

 

To be honest someone needs to explain this to me. Seems to be a part of the network

 

And parallel to this I have also OPENVPN installed (was already installed). Just to be more complete for others that want to test this.



Re: ZeroTier on Openpli #10 mysat

  • Senior Member
  • 153 posts

+2
Neutral

Posted 30 June 2019 - 14:48

My manual for Openpli installations :)

 

Enjoy

Attached Files



Re: ZeroTier on Openpli #11 possibly2

  • Member
  • 12 posts

+1
Neutral

Posted 8 September 2019 - 11:26

Hi,

 

Updated the recipe to include dependencies and init script etc.

 

Also updated to latest version. I'm sort of new when it comes to creating recipes so feedback is appreciated.. :-)

 

HTH

P

 

Attached Files



Re: ZeroTier on Openpli #12 oldgraf

  • Senior Member
  • 26 posts

+1
Neutral

Posted 18 September 2019 - 08:55

Works great, thanks

Re: ZeroTier on Openpli #13 Taykun345

  • Senior Member
  • 1,297 posts

+41
Good

Posted 18 September 2019 - 11:49

Seems to be good solution but I havent managed to make it work in my case. I was not able to ping pcs using zerotier IPs.

I use Radmin VPN now, but not for use with E2 receivers. Mainly for remote printing in order to avoid using google cloud print.

 

Maybe I will try again.


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 #14 mysat

  • Senior Member
  • 153 posts

+2
Neutral

Posted 21 September 2019 - 07:13

Hi,

 

Updated the recipe to include dependencies and init script etc.

 

Also updated to latest version. I'm sort of new when it comes to creating recipes so feedback is appreciated.. :-)

 

HTH

P

 

Can you post the steps that you executed and which packages are needed ? I only compiled oscam with a script, so completely new into this,



Re: ZeroTier on Openpli #15 mysat

  • Senior Member
  • 153 posts

+2
Neutral

Posted 21 September 2019 - 07:19

Seems to be good solution but I havent managed to make it work in my case. I was not able to ping pcs using zerotier IPs.

I use Radmin VPN now, but not for use with E2 receivers. Mainly for remote printing in order to avoid using google cloud print.

 

Maybe I will try again.

 

Just setup a stream (via zerotier and tuner fallback functionality in openpli) solution. Streaming over zerotier works as expected even with very high bitrates (6-8mb/s). But I admit that it can be challenging, but knowing that it can work helps me a lot to keep looking into the problems that I'm facing in these projects



Re: ZeroTier on Openpli #16 Taykun345

  • Senior Member
  • 1,297 posts

+41
Good

Posted 21 September 2019 - 18:05

I tested again and it works now. Very good solution if you want to avoid using OpenVPN solution which is not straight forward.


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 #17 Taykun345

  • Senior Member
  • 1,297 posts

+41
Good

Posted 22 September 2019 - 10:55

Hi,

 

Updated the recipe to include dependencies and init script etc.

 

Also updated to latest version. I'm sort of new when it comes to creating recipes so feedback is appreciated.. :-)

 

HTH

P

 

Can you build ZT also for Zgemma H9?


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 #18 WanWizard

  • PLi® Core member
  • 70,497 posts

+1,810
Excellent

Posted 22 September 2019 - 11:03

Is the recipe above still current? If so, we can include it in the upcoming 7.2-release.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

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


Re: ZeroTier on Openpli #19 mysat

  • Senior Member
  • 153 posts

+2
Neutral

Posted 22 September 2019 - 13:56

Is the recipe above still current? If so, we can include it in the upcoming 7.2-release.


I welcome the idea to integrate this ( as an add-on).

Re: ZeroTier on Openpli #20 WanWizard

  • PLi® Core member
  • 70,497 posts

+1,810
Excellent

Posted 22 September 2019 - 14:48

It is already in develop (so it will be in 7.2-release), but the version mentioned in the recipe above is different from the one we currently build.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

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



12 user(s) are reading this topic

0 members, 12 guests, 0 anonymous users