Comments (15)
@miegl thanks, I can reproduce the error now. :-)
from zerotier-openwrt.
Hm, do you use LEDE 17.01.4? I haven't tested any older releases.
I don't have that platform (armv7l) available to reproduce the problem.
If you don't mind using a development build, you should use images from here https://downloads.openwrt.org/snapshots/targets/
Then do "opkg update" and "opkg install zerotier".
from zerotier-openwrt.
Getting the same exact error on latest snapshot build.
from zerotier-openwrt.
The older zerotier 1.1.14-4 package from 17.01.4 repo seems to be working fine.
from zerotier-openwrt.
Can you reproduce the problem? If yes, how? What device is affected in your case?
from zerotier-openwrt.
root@gateway:~# opkg install zerotier
Installing zerotier (1.2.4-3) to root...
Downloading http://downloads.lede-project.org/snapshots/packages/arm_cortex-a15_neon-vfpv4/packages/zerotier_1.2.4-3_arm_cortex-a15_neon-vfpv4.ipk
Configuring zerotier.
root@gateway:~# nano /etc/config/zerotier
root@gateway:~# /etc/init.d/zerotier stop
root@gateway:~# /etc/init.d/zerotier start
sh: /var/lib/zerotier-one: unknown operand
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
root@gateway:~# /etc/init.d/zerotier start
sh: /var/lib/zerotier-one: unknown operand
root@gateway:~# zerotier-cli
Segmentation fault
The sh: /var/lib/zerotier-one: unknown operand
error is probably caused by newer busybox.
My device is zyxel nbg6817.
from zerotier-openwrt.
For the segfault, I haven't been able to track it down, as building it with debug makes the problem go away :-/ (Heisenberg)
But the segfault always happens on mvebu (LinkSys WRT 1900*,3200ACM) when ZT isn't built with debug info.
the unknown operand
is due to :
https://github.com/openwrt/packages/blob/master/net/zerotier/files/zerotier.init#L31 , where config_path isn't set
add option config_path '/var/lib/zerotier'
to have this error go away, didn't dig deeper than that
from zerotier-openwrt.
ah, ok. The unknown operand error is easy to fix ("$config_path"). But I do not know about the segfault. My testing device is broken and I wait for the new shipment for a month now...
from zerotier-openwrt.
@miegl please try https://mwarning.de/misc/zerotier_1.2.4-4_arm_cortex-a15_neon-vfpv4.ipk
from zerotier-openwrt.
Thu Apr 12 14:33:59 2018 daemon.notice procd: /etc/rc.d/S90zerotier: Generate secret - please wait...
Thu Apr 12 14:33:59 2018 daemon.notice procd: /etc/rc.d/S90zerotier: Segmentation fault
Thu Apr 12 14:33:59 2018 daemon.notice procd: /etc/rc.d/S90zerotier: cat: can't open '/tmp/zt.sample_config.secret': No such file or directory
Thu Apr 12 14:33:59 2018 daemon.notice procd: /etc/rc.d/S90zerotier: rm: can't remove '/tmp/zt.sample_config.secret': No such file or directory
from zerotier-openwrt.
@miegl how did you get that output from procd ?
from zerotier-openwrt.
@miegl please try again: https://mwarning.de/misc/zerotier_1.2.4-4_arm_cortex-a15_neon-vfpv4.ipk
from zerotier-openwrt.
@mwarning do you have a branch or commit ? did you find to fix the segfault ?
from zerotier-openwrt.
@delandtj I hope to have fixed it in 2ef2c02 (remove -pie from linker options)
.. though, it is not a bugfix.
from zerotier-openwrt.
@mwarning wow it actually seems to work! Thank you 👍
from zerotier-openwrt.
Related Issues (20)
- not found ztXXXXXXXX interface HOT 9
- 更新
- Zeronsd - compile and add to feed in openwrt HOT 4
- 版本太旧了,请更新到最新版本的zerotier HOT 1
- Very high memory and CPU usage HOT 2
- Backport 1.10.1 to OpenWRT 22.03 HOT 6
- Unable to view apple airport express and apple timecapsule device over zerotier HOT 1
- ARM build missing libstdc++10 dependency HOT 1
- Can I run this, going to my normal full tunnel exit point HOT 1
- How can I running zerotier without NAT mode? HOT 5
- cannot access devices on LAN after follow thru the installation guide. HOT 5
- Please update to the latest version ZeroTier 1.12 +
- Zerotier Multipath not working HOT 9
- Openwrt does not support allocating ipv6 prefixes of ZeroTier "6PLANE" (/80 routable for each device) with a length of 80.
- Use openwrt with zerotier as a gateway
- Please upgrade ZEROTIER to the latest version !!! HOT 1
- openwrt-3.10.14 ,barrier_breaker/14.07/ HOT 1
- Can you support the compilation of this source code? Openwrt-3.10.14 HOT 2
- how to compile latest ZT?? HOT 6
- zerotier-cli shows ‘Segmentation fault’ on version 1.8.6 with arm_cortex-a7-neon and arm_cortex-a15_neon-vfpv4 and ARMv6 HOT 27
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zerotier-openwrt.