Giter Site home page Giter Site logo

omniedge-cli's People

Contributors

ivyxjc avatar miles170 avatar yongqianme avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

omniedge-cli's Issues

build on freebsd 12 failed

enviroment: FreeBSD 12.3-p5 + v0.2.3
build step:

  1. git clone https://...
  2. git checkout v0.2.3
  3. gmake
  4. error msg related to ifeq... such operator, but I already use gmake to build

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!

Error "Fail to generate hardware id, err is invalid UUID (got 0 bytes)" on KVM Debian 11

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.

hardware id generate error on Docker ubuntu container

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

Can not work on pfsense(freebsd 12)

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 for freebsd failed

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.