omniedgeio / omniedge-cli Goto Github PK
View Code? Open in Web Editor NEWOmniEdge CLi for macOS & Linux
License: GNU General Public License v3.0
OmniEdge CLi for macOS & Linux
License: GNU General Public License v3.0
enviroment: FreeBSD 12.3-p5 + v0.2.3
build step:
detail error msg:
go generate ./...
正克隆到 'n2n'...
切换到一个新分支 '2.6-stable-ivy-fix'
分支 '2.6-stable-ivy-fix' 设置为跟踪 'origin/2.6-stable-ivy-fix'。
Wait please...
Now run ./configure
checking for gcc... no
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for AES_cbc_encrypt in -lcrypto... yes
checking for pcap_open_live in -lpcap... yes
checking for pcap_set_immediate_mode in -lpcap... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating tools/Makefile
config.status: creating config.h
make[1]: "/zpool15t/home/simonxu/projects/gogs.home/omniedge-cli/internal/n2n/Makefile" line 21: Missing dependency operator
make[1]: "/zpool15t/home/simonxu/projects/gogs.home/omniedge-cli/internal/n2n/Makefile" line 23: Need an operator
make[1]: "/zpool15t/home/simonxu/projects/gogs.home/omniedge-cli/internal/n2n/Makefile" line 38: Missing dependency operator
make[1]: "/zpool15t/home/simonxu/projects/gogs.home/omniedge-cli/internal/n2n/Makefile" line 40: Need an operator
make[1]: "/zpool15t/home/simonxu/projects/gogs.home/omniedge-cli/internal/n2n/Makefile" line 42: Need an operator
make[1]: "/zpool15t/home/simonxu/projects/gogs.home/omniedge-cli/internal/n2n/Makefile" line 59: Missing dependency operator
make[1]: "/zpool15t/home/simonxu/projects/gogs.home/omniedge-cli/internal/n2n/Makefile" line 62: Need an operator
make[1]: Fatal errors encountered -- cannot continue
make[1]: stopped in /zpool15t/home/simonxu/projects/gogs.home/omniedge-cli/internal/n2n
internal/edge.go:3: running "sh": exit status 1
gmake: *** [Makefile:17:generate] 错误 1
Thanks!
Hi Team,
I am getting error "Fail to generate hardware id, err is invalid UUID (got 0 bytes)" while trying to join an omniedge network, even though the login was successful and auth.json has been create in ~/.omniedge
The system is Debian 11 on KVM, kernel 5.10.0-14-cloud-amd64 #1 SMP Debian 5.10.113-1 (2022-04-29) x86_64 GNU/Linux.
The issue is from the missing of /etc/machine-id
.
root@628637c93e55:/# omniedge join
INFO[0000] You are in mode: prod
ERROR[2022-01-17T11:39:47] Fail to generate hardware id, err is invalid UUID (got 0 bytes)
root@628637c93e55:/# uname -a
Linux 628637c93e55 4.19.76-linuxkit #1 SMP Tue May 26 11:42:35 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
compile cli for MIPS devices
The driver is necessary to use OmniEdge on MacOS, however the installation is easy to failed according to the docs.
https://omniedge.io/docs/article/install/macoscli#for-m1-mac-user
A solution is install Tunnelblick and use the script. Make it integrate into the dmg would be a good solution.
https://github.com/Tunnelblick/Tunnelblick/tree/master/third_party
INFO[0000] You are in mode: dev
ERROR[2022-10-10T14:08:28] Fail to login, error message: Invalid security key
INFO[0000] You are in mode: dev
Enter Password:
ERROR[2022-10-10T14:14:52] Fail to login, error message: Invalid credentials
Build process is according to the recent added fbsd-make section.
BUILD_ENV=prod gmake build-freebsd
I have tested under normal user and sudo enviroment, just got the same result.
error:
正克隆到 'n2n'...
remote: Enumerating objects: 6820, done.
remote: Counting objects: 100% (9/9), done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 6820 (delta 2), reused 4 (delta 1), pack-reused 6811
接收对象中: 100% (6820/6820), 3.27 MiB | 210.00 KiB/s, 完成.
处理 delta 中: 100% (4656/4656), 完成.
分支 '2.6-stable-omni' 设置为跟踪 'origin/2.6-stable-omni'。
切换到一个新分支 '2.6-stable-omni'
Wait please...
Now run ./configure
checking for gcc... no
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for AES_cbc_encrypt in -lcrypto... yes
checking for pcap_open_live in -lpcap... yes
checking for pcap_set_immediate_mode in -lpcap... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating tools/Makefile
config.status: creating config.h
sh: ../make: 拒绝访问
internal/edge.go:3: running "sh": exit status 126
gmake: *** [Makefile:21:generate] 错误 1
一个是 auth.json 在登录成功之后会在 /root/.omniedge/auth.json 目录中.这个能详细描述一下吗?或者具体改哪一块.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.