gravitl / netmaker

Netmaker makes networks with WireGuard. Netmaker automates fast, secure, and distributed virtual networks.
https://netmaker.io
Other
9.4k stars 547 forks source link

unable to run netclient-arm in openwrt #90

Closed changchichung closed 2 years ago

changchichung commented 3 years ago

OS: openwrt 19.07.7 OPENWRT_BOARD="bcm53xx/generic" OPENWRT_ARCH="arm_cortex-a9"

Router Model: Buffalo WZR-1750DHP

I think this router use ARMv7 processor

root@router:~# cat /proc/cpuinfo
processor   : 0
model name  : ARMv7 Processor rev 0 (v7l)
BogoMIPS    : 800.00
Features    : half thumb fastmult edsp tls 
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x3
CPU part    : 0xc09
CPU revision    : 0

But I tried with all three version in latest release , no one works.

ARM64

root@router:~# wget https://github.com/gravitl/netmaker/releases/download/latest/netclient.arm64 -O netclient.arm64
Downloading 'https://github.com/gravitl/netmaker/releases/download/latest/netclient.arm64'
Connecting to 13.114.40.48:443
Redirected to /351486934/df182280-9c36-11eb-9747-cd0a85c259f1?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210414%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210414T084743Z&X-Amz-Expires=300&X-Amz-Signature=63210426e0712f508982bf394526fe448fed481ca13909e9ee00d70e898e0f38&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=351486934&response-content-disposition=attachment%3B%20filename%3Dnetclient.arm64&response-content-type=application%2Foctet-stream on github-releases.githubusercontent.com
Writing to 'netclient.arm64'
netclient.arm64      100% |*******************************| 15052k  0:00:00 ETA
Download completed (15413376 bytes)
root@router:~# chmod +x netclient.arm64
root@router:~# ./netclient.arm64
./netclient.arm64: line 1: syntax error: unexpected word (expecting ")")
root@router:~# 

ARM7

oot@router:~# wget https://github.com/gravitl/netmaker/releases/download/latest/netclient.arm7 -O netclient.arm7
Downloading 'https://github.com/gravitl/netmaker/releases/download/latest/netclient.arm7'
Connecting to 52.69.186.44:443
Redirected to /351486934/6749f800-9c36-11eb-8088-a2c5c13159bc?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210414%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210414T084836Z&X-Amz-Expires=300&X-Amz-Signature=476322616ef762811ecd546afa722566bd9c6ebd87f08a93a5a6a5868994dc04&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=351486934&response-content-disposition=attachment%3B%20filename%3Dnetclient.arm7&response-content-type=application%2Foctet-stream on github-releases.githubusercontent.com
Writing to 'netclient.arm7'
netclient.arm7       100% |*******************************| 13701k  0:00:00 ETA
Download completed (14030586 bytes)
root@router:~# chmod +x netclient.arm7
root@router:~# ./netclient.arm7
Illegal instruction
root@router:~# 

netclient

root@router:~# wget https://github.com/gravitl/netmaker/releases/download/latest/netclient -O netclient
Downloading 'https://github.com/gravitl/netmaker/releases/download/latest/netclient'
Connecting to 52.69.186.44:443
Redirected to /351486934/84f46e80-9bf0-11eb-85f0-b095d1f8b6ab?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210414%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210414T084920Z&X-Amz-Expires=300&X-Amz-Signature=8a5169f0d410a9d0b060bc37234876b86740480c20fb6e5b6bff88c0139546d2&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=351486934&response-content-disposition=attachment%3B%20filename%3Dnetclient&response-content-type=application%2Foctet-stream on github-releases.githubusercontent.com
Writing to 'netclient'
netclient            100% |*******************************| 13836k  0:00:00 ETA
Download completed (14168935 bytes)
root@router:~# chmod +x netclient
root@router:~# ./netclient
./netclient: line 1: ELF: not found
./netclient: line 2: syntax error: unexpected "("
root@router:~# 

Did I miss something ? maybe some libraries ??

mattkasun commented 3 years ago

i am not overly familiar with openwrt. only arm7 has a possibility of working what is the output of uname --all

changchichung commented 3 years ago

what is the output of uname --all

root@router:~# uname --all
Linux router 4.14.221 #0 SMP Mon Feb 15 15:22:37 2021 armv7l GNU/Linux
root@router:~# 
changchichung commented 3 years ago

I try to compile with GOARM=5 , and it works .

chchang@administrator-ThinkPad-T470:~/git/netmaker/netclient$ GOOS=linux GOARCH=arm GOARM=5 go build
go: downloading golang.zx2c4.com/wireguard v0.0.20200121
go: extracting golang.zx2c4.com/wireguard v0.0.20200121
go: downloading golang.zx2c4.com/wireguard/wgctrl v0.0.0-20200609130330-bd2cb7843e1b
go: extracting golang.zx2c4.com/wireguard/wgctrl v0.0.0-20200609130330-bd2cb7843e1b
go: downloading github.com/mdlayher/genetlink v1.0.0
go: downloading github.com/mdlayher/netlink v1.1.0
go: extracting github.com/mdlayher/netlink v1.1.0
go: extracting github.com/mdlayher/genetlink v1.0.0
go: finding golang.zx2c4.com/wireguard/wgctrl v0.0.0-20200609130330-bd2cb7843e1b
go: finding github.com/mdlayher/genetlink v1.0.0
go: finding github.com/mdlayher/netlink v1.1.0

scp to openwrt

chchang@administrator-ThinkPad-T470:~/git/netmaker/netclient$ scp netclient root@192.168.1.1:/tmp/
netclient                                                                                                      100%   13MB   4.4MB/s   00:03    

and it works.

root@router:/tmp# /tmp/netclient --help
Usage of /tmp/netclient:
  -c string
        The command to run (default "required")
  -g string
        The node group you are attempting to join. (default "badgroup")
  -k string
        an access key generated by the server and used for one-time access (install only) (default "badkey")
  -na
        No auto mode. If true, netmclient will not be installed as a system service and you will have to retrieve updates manually via checkin command.
  -nf
        No Forward mode. If true, netclient will not check for IP forwarding. This may break functionality
  -p string
        This node's password for accessing the server regularly (default "changeme")
  -s string
        The location (including port) of the remote gRPC server. (default "localhost:50051")
root@router:/tmp# 
afeiszli commented 3 years ago

@changchichung were you able to get the client working on OpenWRT? I am not familiar with the OS and the client requires systemd to run + a debian-like file system, so not sure if OpenWRT meets those requirements.

changchichung commented 3 years ago

nope , but I think it's more about the file path .

root@router:/tmp# ./netclient -c install -s ws.cowbay.org:50051 -g test -k CysADAgvMlTpEQwX
Beginning agent installation.
SERVER SETTINGS:
     Server: ws.cowbay.org:50051
     AccessKey: CysADAgvMlTpEQwX
Writing to existing config file at /etc/netclient/.netconfig
NODE REQUESTING SETTINGS:
     Password: changeme
     Group: test
     Public Endpoint: 219.85.234.104
     Local Address: fe80::7603:bdff:fe69:c13a
     Name: 
     Interface: 
     KeepAlive: 
     Port: 
     Mac Address: 74:03:bd:69:c1:3a
     Private Key: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
     Public Key: OfINcYrCLF1647BJd1q9vNI+buBwJI1AlDpWct2dT28=
Writing node settings to netconfig file.
Error installing:  rpc error: code = Internal desc = Invalid key, and group does not allow no-key signups
Cleaning up (uninstall)
Deleting remote node with MAC: 74:03:bd:69:c1:3a
Authenticating with GRPC Server
Error reading token. Logging in to retrieve new token.
2021/04/19 03:15:31 Failed to authenticate: rpc error: code = Unauthenticated desc = Something went wrong with Auto Login: rpc error: code = Unknown desc = mongo: no documents in result
remove /etc/netclient/.nettoken: no such file or directory
Error stopping netclient.service. Please investigate.
fork/exec : no such file or directory
Error disabling netclient.service. Please investigate.
fork/exec : no such file or directory
Error stopping netclient.timer. Please investigate.
fork/exec : no such file or directory
Error disabling netclient.timer. Please investigate.
fork/exec : no such file or directory
Error removing file. Please investigate.
remove /etc/systemd/system/netclient.timer: no such file or directory
Error reloading system daemons. Please investigate.
fork/exec : no such file or directory
Error reseting failed system services. Please investigate.
fork/exec : no such file or directory
Error uninstalling:  fork/exec : no such file or directory
Wiping local.
remove /etc/netclient/.netconfig: no such file or directory
remove /etc/netclient/.nettoken: no such file or directory
Error stopping netclient.service. Please investigate.
fork/exec : no such file or directory
Error disabling netclient.service. Please investigate.
fork/exec : no such file or directory
Error stopping netclient.timer. Please investigate.
fork/exec : no such file or directory
Error disabling netclient.timer. Please investigate.
fork/exec : no such file or directory
Error removing file. Please investigate.
remove /etc/systemd/system/netclient.timer: no such file or directory
Error reloading system daemons. Please investigate.
fork/exec : no such file or directory
Error reseting failed system services. Please investigate.
fork/exec : no such file or directory
Error removing services:  fork/exec : no such file or directory
root@router:/tmp# 
afeiszli commented 3 years ago

Looks like that was due to an "invalid key". Not sure if maybe the key ran out of uses or was meant for a different network. I'd try again with the new v0.2 netmaker + client.

afeiszli commented 3 years ago

The rest of the logs are just due to a failed install. It will try to clean up afterwards and will spew a lot of errors about missing files because it's trying to clean up files that haven't been created yet.

changchichung commented 3 years ago

I can not build netmaker v0.2 for openwrt router with GOOS=linux GOARCH=arm GOARM=5 go build

and here is the build log

2021-04-23 15:30:32 [chchang@ws netclient]$ GOOS=linux GOARCH=arm GOARM=5 go build
go: downloading google.golang.org/grpc v1.35.0
go: downloading golang.zx2c4.com/wireguard v0.0.20200121
go: downloading github.com/golang/protobuf v1.4.3
go: downloading gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c
go: downloading google.golang.org/protobuf v1.25.0
go: downloading golang.zx2c4.com/wireguard/wgctrl v0.0.0-20200609130330-bd2cb7843e1b
go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9
go: downloading github.com/mdlayher/netlink v1.1.0
go: downloading google.golang.org/genproto v0.0.0-20210201151548-94839c025ad4
go: downloading golang.org/x/net v0.0.0-20210119194325-5f4716e94777
go: downloading golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c
go: downloading github.com/mdlayher/genetlink v1.0.0
go: downloading golang.org/x/text v0.3.5
../../../gopath/pkg/mod/google.golang.org/grpc@v1.35.0/internal/binarylog/sink.go:22:2: package bufio is not in GOROOT (/home/chchang/goroot/src/bufio)
../../../gopath/pkg/mod/github.com/golang/protobuf@v1.4.3/proto/registry.go:8:2: package bytes is not in GOROOT (/home/chchang/goroot/src/bytes)
../../../gopath/pkg/mod/github.com/golang/protobuf@v1.4.3/proto/registry.go:9:2: package compress/gzip is not in GOROOT (/home/chchang/goroot/src/compress/gzip)
../../../gopath/pkg/mod/golang.org/x/text@v0.3.5/unicode/bidi/bracket.go:8:2: package container/list is not in GOROOT (/home/chchang/goroot/src/container/list)
../grpc/node_grpc.pb.go:6:2: package context is not in GOROOT (/home/chchang/goroot/src/context)
../../../gopath/pkg/mod/golang.org/x/net@v0.0.0-20210119194325-5f4716e94777/http2/transport.go:14:2: package crypto/rand is not in GOROOT (/home/chchang/goroot/src/crypto/rand)
../../../gopath/pkg/mod/golang.org/x/crypto@v0.0.0-20200622213623-75b288015ac9/curve25519/curve25519.go:11:2: package crypto/subtle is not in GOROOT (/home/chchang/goroot/src/crypto/subtle)
../../../gopath/pkg/mod/google.golang.org/grpc@v1.35.0/credentials/go12.go:23:8: package crypto/tls is not in GOROOT (/home/chchang/goroot/src/crypto/tls)
../../../gopath/pkg/mod/google.golang.org/grpc@v1.35.0/credentials/tls.go:24:2: package crypto/x509 is not in GOROOT (/home/chchang/goroot/src/crypto/x509)
../../../gopath/pkg/mod/github.com/golang/protobuf@v1.4.3/proto/text_decode.go:8:2: package encoding is not in GOROOT (/home/chchang/goroot/src/encoding)
../../../gopath/pkg/mod/google.golang.org/grpc@v1.35.0/internal/transport/http_util.go:24:2: package encoding/base64 is not in GOROOT (/home/chchang/goroot/src/encoding/base64)
../../../gopath/pkg/mod/google.golang.org/protobuf@v1.25.0/internal/detrand/rand.go:13:2: package encoding/binary is not in GOROOT (/home/chchang/goroot/src/encoding/binary)
../../../gopath/pkg/mod/golang.zx2c4.com/wireguard/wgctrl@v0.0.0-20200609130330-bd2cb7843e1b/internal/wguser/configure.go:5:2: package encoding/hex is not in GOROOT (/home/chchang/goroot/src/encoding/hex)
../../../gopath/pkg/mod/github.com/golang/protobuf@v1.4.3/proto/deprecated.go:8:2: package encoding/json is not in GOROOT (/home/chchang/goroot/src/encoding/json)
../../../gopath/pkg/mod/github.com/golang/protobuf@v1.4.3/proto/buffer.go:8:2: package errors is not in GOROOT (/home/chchang/goroot/src/errors)
main.go:8:2: package flag is not in GOROOT (/home/chchang/goroot/src/flag)
main.go:4:2: package fmt is not in GOROOT (/home/chchang/goroot/src/fmt)
../../../gopath/pkg/mod/google.golang.org/protobuf@v1.25.0/internal/strs/strings.go:9:2: package go/token is not in GOROOT (/home/chchang/goroot/src/go/token)
../../../gopath/pkg/mod/google.golang.org/protobuf@v1.25.0/internal/impl/legacy_export.go:10:2: package hash/crc32 is not in GOROOT (/home/chchang/goroot/src/hash/crc32)
../../../gopath/pkg/mod/google.golang.org/protobuf@v1.25.0/internal/detrand/rand.go:14:2: package hash/fnv is not in GOROOT (/home/chchang/goroot/src/hash/fnv)
../../../gopath/pkg/mod/golang.org/x/net@v0.0.0-20210119194325-5f4716e94777/trace/events.go:10:2: package html/template is not in GOROOT (/home/chchang/goroot/src/html/template)
../../../gopath/pkg/mod/google.golang.org/protobuf@v1.25.0/encoding/protowire/wire.go:13:2: package io is not in GOROOT (/home/chchang/goroot/src/io)
../../../gopath/pkg/mod/google.golang.org/protobuf@v1.25.0/internal/impl/legacy_file.go:10:2: package io/ioutil is not in GOROOT (/home/chchang/goroot/src/io/ioutil)
../../../gopath/pkg/mod/google.golang.org/protobuf@v1.25.0/reflect/protoregistry/registry.go:20:2: package log is not in GOROOT (/home/chchang/goroot/src/log)
../../../gopath/pkg/mod/google.golang.org/protobuf@v1.25.0/encoding/protowire/wire.go:14:2: package math is not in GOROOT (/home/chchang/goroot/src/math)
../../../gopath/pkg/mod/google.golang.org/protobuf@v1.25.0/encoding/protowire/wire.go:15:2: package math/bits is not in GOROOT (/home/chchang/goroot/src/math/bits)
../../../gopath/pkg/mod/google.golang.org/grpc@v1.35.0/internal/grpcrand/grpcrand.go:24:2: package math/rand is not in GOROOT (/home/chchang/goroot/src/math/rand)
../../../gopath/pkg/mod/golang.org/x/net@v0.0.0-20210119194325-5f4716e94777/trace/trace.go:72:2: package net is not in GOROOT (/home/chchang/goroot/src/net)
../../../gopath/pkg/mod/golang.org/x/net@v0.0.0-20210119194325-5f4716e94777/trace/events.go:13:2: package net/http is not in GOROOT (/home/chchang/goroot/src/net/http)
../../../gopath/pkg/mod/golang.org/x/net@v0.0.0-20210119194325-5f4716e94777/http2/go111.go:10:2: package net/http/httptrace is not in GOROOT (/home/chchang/goroot/src/net/http/httptrace)
../../../gopath/pkg/mod/google.golang.org/grpc@v1.35.0/internal/transport/proxy.go:29:2: package net/http/httputil is not in GOROOT (/home/chchang/goroot/src/net/http/httputil)
../../../gopath/pkg/mod/golang.org/x/net@v0.0.0-20210119194325-5f4716e94777/http/httpguts/guts.go:13:2: package net/textproto is not in GOROOT (/home/chchang/goroot/src/net/textproto)
../../../gopath/pkg/mod/golang.org/x/net@v0.0.0-20210119194325-5f4716e94777/trace/trace.go:74:2: package net/url is not in GOROOT (/home/chchang/goroot/src/net/url)
../../../gopath/pkg/mod/google.golang.org/protobuf@v1.25.0/internal/detrand/rand.go:15:2: package os is not in GOROOT (/home/chchang/goroot/src/os)
functions/common.go:16:2: package os/exec is not in GOROOT (/home/chchang/goroot/src/os/exec)
../../../gopath/pkg/mod/golang.zx2c4.com/wireguard/wgctrl@v0.0.0-20200609130330-bd2cb7843e1b/internal/wguser/client.go:7:2: package path/filepath is not in GOROOT (/home/chchang/goroot/src/path/filepath)
../../../gopath/pkg/mod/google.golang.org/protobuf@v1.25.0/proto/equal.go:10:2: package reflect is not in GOROOT (/home/chchang/goroot/src/reflect)
../../../gopath/pkg/mod/google.golang.org/protobuf@v1.25.0/internal/encoding/text/decode.go:11:2: package regexp is not in GOROOT (/home/chchang/goroot/src/regexp)
../../../gopath/pkg/mod/golang.org/x/net@v0.0.0-20210119194325-5f4716e94777/trace/events.go:14:2: package runtime is not in GOROOT (/home/chchang/goroot/src/runtime)
../../../gopath/pkg/mod/google.golang.org/protobuf@v1.25.0/internal/mapsort/mapsort.go:9:2: package sort is not in GOROOT (/home/chchang/goroot/src/sort)
../../../gopath/pkg/mod/google.golang.org/protobuf@v1.25.0/internal/encoding/text/decode.go:12:2: package strconv is not in GOROOT (/home/chchang/goroot/src/strconv)
../../../gopath/pkg/mod/google.golang.org/protobuf@v1.25.0/reflect/protoreflect/proto.go:131:2: package strings is not in GOROOT (/home/chchang/goroot/src/strings)
../../../gopath/pkg/mod/google.golang.org/protobuf@v1.25.0/internal/pragma/pragma.go:9:8: package sync is not in GOROOT (/home/chchang/goroot/src/sync)
../../../gopath/pkg/mod/google.golang.org/protobuf@v1.25.0/internal/filedesc/desc.go:11:2: package sync/atomic is not in GOROOT (/home/chchang/goroot/src/sync/atomic)
../../../gopath/pkg/mod/google.golang.org/grpc@v1.35.0/internal/credentials/syscallconn.go:25:2: package syscall is not in GOROOT (/home/chchang/goroot/src/syscall)
../../../gopath/pkg/mod/golang.org/x/net@v0.0.0-20210119194325-5f4716e94777/trace/events.go:20:2: package text/tabwriter is not in GOROOT (/home/chchang/goroot/src/text/tabwriter)
../../../gopath/pkg/mod/golang.org/x/net@v0.0.0-20210119194325-5f4716e94777/internal/timeseries/timeseries.go:11:2: package time is not in GOROOT (/home/chchang/goroot/src/time)
../../../gopath/pkg/mod/google.golang.org/protobuf@v1.25.0/internal/strs/strings.go:11:2: package unicode is not in GOROOT (/home/chchang/goroot/src/unicode)
../../../gopath/pkg/mod/google.golang.org/protobuf@v1.25.0/internal/encoding/text/decode_string.go:12:2: package unicode/utf16 is not in GOROOT (/home/chchang/goroot/src/unicode/utf16)
../../../gopath/pkg/mod/google.golang.org/protobuf@v1.25.0/internal/strs/strings.go:12:2: package unicode/utf8 is not in GOROOT (/home/chchang/goroot/src/unicode/utf8)
../../../gopath/pkg/mod/google.golang.org/protobuf@v1.25.0/reflect/protoreflect/value_unsafe.go:10:2: cannot find package "unsafe" in any of:
    /home/chchang/goroot/src/unsafe (from $GOROOT)
    /home/chchang/gopath/src/unsafe (from $GOPATH)
afeiszli commented 3 years ago

@changchichung you can try with this:

https://github.com/gravitl/netmaker/releases/download/v0.2/netclient.arm5

changchichung commented 3 years ago

@changchichung you can try with this:

https://github.com/gravitl/netmaker/releases/download/v0.2/netclient.arm5

thanks , it works !

root@router:~# ./netclient.arm5 -c install -k somesecretkeyhere -n testvpn -s wg.abc.com:50051
Beginning agent installation.
2021/04/26 06:55:39 No Config Yet. Will Write: open /etc/netclient/netconfig-testvpn: no such file or directory
SERVER SETTINGS:
     Server: wg.abc.com:50051
     AccessKey: somesecretkeyhere
Writing to existing config file at /etc/netclient/netconfig-testvpn
NODE REQUESTING SETTINGS:
     Password: changeme
     Network: testvpn
     Local Address: 1111:2222:3333:4444:5555
Endpoint is public. Setting to address: 1.1.1.1
     Endpoint: 1.1.1.1
     Name: 
     Interface: 
     PostUp: 
     PostDown: 
     KeepAlive: 
     Port: 51821
     Mac Address: 74:03:bd:69:c1:3a
     Private Key: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
     Public Key: somepublickeyhere
Writing node settings to netconfig file.
Setting local config from server response
NODE RECIEVED SETTINGS: 
     Password: $2a$05$6JnHnNuExLQruImkrmSaoeKkjEbOcE.gbssxvtJ.R4fzE7XotVsUG
     WG Address: 10.1.0.1
     Network: testvpn
     Public  Endpoint: 1.1.1.1
     Local Address: 1111:2222:3333:4444:5555
     Name: node-2tmKZ
     Interface: nm-testvpn
     PostUp: 
     PostDown: 
     Port: 51821
     KeepAlive: 20
     Public Key: somepublickeyhere
     Mac Address: 74:03:bd:69:c1:3a
     Is Local?: false
     Local Range: 
Registering with GRPC Server
Authenticating with GRPC Server
Error reading token. Logging in to retrieve new token.
Parsing peers response
Peer is self. Skipping
Finished parsing peers response
retrived peers, setting wireguard config.
beginning local WG config
setting local settings
setting WG config from node and peers
configuring WG device
Installing Binary from Path: /root/netclient
Error enabling netclient@.service. Please investigate.
fork/exec : no such file or directory
Error reloading system daemons. Please investigate.
fork/exec : no such file or directory
Error enabling netclient.timer. Please investigate.
fork/exec : no such file or directory
Error starting netclient-testvpn.timer. Please investigate.
fork/exec : no such file or directory
Command install Executed Successfully

although there are still some error messages , the node is online anyway .

afeiszli commented 3 years ago

Great! If you are willing to do a write up on how to use Netmaker with openwrt and add that to the docs folder, we can list you as a contributor. Many people have asked about how to use with openwrt but we have not had time to test.

changchichung commented 3 years ago

@afeiszli I'm pretty sure that although netclient works at first op openwrt , but after a while it will show up as an error in the admin screen , even I didn't touch anything since the interface ahs been established.

afeiszli commented 3 years ago

Can you please submit logs? Or join the discord and post in netmaker_troubleshooting and we can have a session.

changchichung commented 3 years ago

sure , but which log ?

and by the way , I'm not familar with discord , I can't find your channel/server named netmaker_troubleshooting in discord public servers

afeiszli commented 3 years ago

Does this work? https://discord.gg/zRb9Vfhk8A

For logs, assuming the netclient is running for a network you have labelled "testvpn", you would run "journalctl -u netclient@testvpn" to retrieve logs.

pete1019 commented 2 years ago

@changchichung Can we get back at this together, please? You are onto something there. It's worth now with 0.8.5.

afeiszli commented 2 years ago

Closing, as Netclient now runs in OpenWRT