mwarning / zerotier-openwrt

A OpenWrt package for ZeroTier One - Pull requests are welcome!
689 stars 145 forks source link

ZEROTIER - OPENWRT #43

Closed SuperJuke closed 5 years ago

SuperJuke commented 5 years ago

I installed OpenWRT 18.06.1 on a Linksys EA3500 router. According to the OpenWRT page on the device the package is "arm_xscale". Then I proceed to install Zerotier but I get this error below:

root@OpenWrt:/tmp/juke# opkg install zerotier Installing zerotier (1.2.4-2) to root... Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packages/packages/zerotier_1.2.4-2_kirkwood.ipk. Configuring zerotier. Generate secret - please wait... Segmentation fault cat: can't open '/tmp/zt.sample_config.secret': No such file or directory rm: can't remove '/tmp/zt.sample_config.secret': No such file or directory

Can anyone help? Thanks.

SuperJuke commented 5 years ago

I should also note that before this error in the post above, I tried installing Zerotier and it complained about a kernel dependency as shown below. I did a "opkg --force-depends" which eventually installed Zerotier but ended up with the error above.

` root@OpenWrt:~# opkg install zerotier Installing zerotier (1.2.4-2) to root... Downloading http://downloads.openwrt.org/snapshots/trunk/kirkwood/generic/packag es/packages/zerotier_1.2.4-2_kirkwood.ipk. Collected errors:

`

SuperJuke commented 5 years ago

Got it to work guys by compiling Openwrt.

mwarning commented 5 years ago

Oh, so the solution for you was to build a complete image with ZT included?

SuperJuke commented 5 years ago

Yes, that is what I did. Took a couple hours. Never realised it took so long to compile Openwrt.