mwarning / zerotier-openwrt

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

Could you please build a mipselsf version for routers with CPU MT7620(or MT7621)? #24

Closed koolwiki closed 6 years ago

koolwiki commented 6 years ago

My router's CPU is MT7621, I have tried all the versions from the release page. But none of them could install.

Below is the feedback: [RT-N56UB1 /opt/home/admin]# opkg install /tmp/zerotier*.ipk Package zerotier version 1.2.4-2 has no valid architecture, ignoring.

mwarning commented 6 years ago

Please try https://github.com/mwarning/zerotier-openwrt/releases/download/v1.2.4_2/zerotier_1.2.4-2_mipsel_74kc.ipk

koolwiki commented 6 years ago

Thank you very much!

mwarning commented 6 years ago

ok, closing the ticket for now.

lucktu commented 6 years ago

@mwarning , hello! My route isn't working too! The CPU is MTK7620A, build is "Gargoyle | OpenWrt Chaos Calmer 15.05.1 r49577". I try "v1.2.4_2/zerotier_1.2.4-2_mipsel_74kc.ipk", get `root@Gargoyle:/tmp# opkg install zerotier_1.2.4-2_mipsel_74kc.ipk Preparing to install the following packages, which will require 742966 bytes: libstdcpp, libnatpmp, zerotier, libminiupnpc

Preparing to install package libstdcpp... Downloading... ERROR: Expected MD5Sum for libstdcpp not specified, cannot verify package An error occurred during Installation, removing partially installed packages. Removing package libstdcpp... Finished removing libstdcpp.

Removing package zerotier... Finished removing zerotier.

Finished removing partially installed packages. ` I have to using "zerotier_1.1.0-1_ramips_24kec.ipk" & "zerotier_1.0.5-1_ramips_24kec.ipk".but it's too old to not using moon.

so i want to using the newest ipk very much.


I want a ipk for padavan in entware too, Now I using a ipk_v1.1.14. https://bitbucket.org/padavan/rt-n56u/src

mwarning commented 6 years ago

Can't you use an openwrt snapshot? https://downloads.lede-project.org/snapshots/targets/ opkg update and opkg install zerotier should do it.

lucktu commented 6 years ago

@mwarning no,nothing. https://downloads.lede-project.org/snapshots/targets/ but it's here, http://archive.openwrt.org/snapshots/trunk/ramips/mt7620/packages/packages/ I am sorry, installing: root@Gargoyle:~# opkg install zerotier Preparing to install the following packages, which will require 740501 bytes: libstdcpp, libnatpmp, zerotier, libminiupnpc

Preparing to install package libstdcpp... Downloading... Downloaded libstdcpp successfully. Installing libstdcpp... Successfully installed libstdcpp. Preparing to install package libnatpmp... Downloading... Downloaded libnatpmp successfully. Installing libnatpmp... Successfully installed libnatpmp. Preparing to install package libminiupnpc... Downloading... Downloaded libminiupnpc successfully. Installing libminiupnpc... Successfully installed libminiupnpc. Preparing to install package zerotier... Downloading... Downloaded zerotier successfully. Installing zerotier... Generate secret - please wait... /etc/rc.common: eval: line 1: zerotier-idtool: not found 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 Successfully installed zerotier. Installation of packages successful. root@Gargoyle:~# zerotier-cli -h -ash: zerotier-cli: not found

Router: MT7620A Firmware Version | OpenWrt Chaos Calmer 15.05.1 r49577 / LuCI for-15.05 branch (git-17.136.58961-13aa5ff)

Kernel Version | 3.18.75

mwarning commented 6 years ago

I tested https://downloads.lede-project.org/snapshots/targets/ramips/mt7620/openwrt-ramips-mt7620-wt3020-8M-squashfs-sysupgrade.bin

root@OpenWrt:~# opkg install zerotier
Installing zerotier (1.2.4-2) to root...
Downloading http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/packages/zerotier_1.2.4-2_mipsel_24kc.ipk
Installing libstdcpp (5.5.0-1) to root...
Downloading http://downloads.lede-project.org/snapshots/targets/ramips/mt7620/packages/libstdcpp_5.5.0-1_mipsel_24kc.ipk
Installing kmod-tun (4.9.76-1) to root...
Downloading http://downloads.lede-project.org/snapshots/targets/ramips/mt7620/packages/kmod-tun_4.9.76-1_mipsel_24kc.ipk
Installing libminiupnpc (2.0.20170509-1) to root...
Downloading http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/packages/libminiupnpc_2.0.20170509-1_mipsel_24kc.ipk
Installing libnatpmp (20140401-1) to root...
Downloading http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/packages/libnatpmp_20140401-1_mipsel_24kc.ipk
Configuring kmod-tun.
Configuring libstdcpp.
Configuring libminiupnpc.
Configuring libnatpmp.
Configuring zerotier.
Generate secret - please wait...
root@OpenWrt:~#

Works for me.

lucktu commented 6 years ago

yes, lede is ok, but not for openwrt cc.

mwarning commented 6 years ago

OpenWrt 15.05 is very old. Please use lede (it is merging with OpenWrt now anyway). I can't do much for old OpenWrt versions.

lucktu commented 6 years ago

I am sorry, but all come from Official. https://www.gargoyle-router.com/download.php http://dl.eko.one.pl/gargoyle-pl/chaos_calmer/ramips/

Otherwise, how about the ipk for entware ?

mwarning commented 6 years ago

If the gargoyle project builds there own images, then they should also provide their own packages. I do not know what openwrt version their images are based on. If it is an old openwrt version, then there is nothing I can do.

lucktu commented 6 years ago

OK, I see. Thank you!