https://netmaker.org logo
Title
g

gentle-plumber-57333

08/07/2022, 1:24 AM
I am new to Netmaker and have a server running on on an Ubuntu 22.04 vps. I have 2 windows nodes attaced and so far so good.
I am trying to use Netmaker Netclient on an Edgerouter ER6P
j

jolly-london-20127

08/08/2022, 12:42 PM
Have you tried just using an external client on the router?
g

gentle-plumber-57333

08/08/2022, 12:56 PM
I will try that tomorrow, 11pm here. I was hoping to use the router as an egress and ingress but you have made me think about whether I am overcomplicating the issue. Thank you for your suggestion.
j

jolly-london-20127

08/08/2022, 12:59 PM
yeah it may be easier to just set that manually on the router, I am not too familiar with edgeos
g

gentle-plumber-57333

08/08/2022, 1:05 PM
That makes 2 of us! I have a few clients with er6p’s and some with usg’s. I would like their networks to be available to me as I do their support. Netmaker appears ideal for the exercise assuming I understand it correctly.
Unfortunately the external client way doesn’t work for my project. I will continue with making an Edgeos solution, particularly as it looks like a few others may benefit.
j

jolly-london-20127

08/09/2022, 12:07 PM
This would be really great to see. I don't know much about EdgeOS but it appears to be debian-based, so it should be compatible. To start, I would open a shell and manually download the netclient onto the machine, and run the daemon manually ("netclient daemon -vvv"). Then, I would open another shell and join a network from it.
g

gentle-plumber-57333

08/09/2022, 12:13 PM
Thanks for looking in. I will try your option. I was also going to compile a mips64 version from the netclient golang (I seem to recall it was written using Go) source and load the result into the EdgeOs router. If that is successful I can put it on github for others.
j

jolly-london-20127

08/09/2022, 12:14 PM
sounds good, if you run into any issues we'll do our best to help
g

gentle-plumber-57333

08/09/2022, 12:15 PM
Thank you. I am sure to run into a couple but I’ll try and stay out of your hair. 😉
I was just about to start the compile when I noticed that there is a "netclient-mipsle" in the latest release (0.14.6) and probably previous ones also. I assume it is a result of a cross compile of Go. The library for mips64le is feely available and it may make sense for whomever does your releases to include this in their next run? The mips64le version is exactly what I require. Have I made too many assumptions?
j

jolly-london-20127

08/11/2022, 12:16 PM
just making sure I understand, so netclient-mipsle wont work, and you need a version compatible with mips64le?
g

gentle-plumber-57333

08/11/2022, 12:17 PM
Correct - i tried mipsle
j

jolly-london-20127

08/11/2022, 12:18 PM
if it works for edgeos then it would be worth adding to the workflow, but I would request that you try compiling / running it on your own first to see if it actually works, since otherwise there isn't much of a point
g

gentle-plumber-57333

08/11/2022, 12:20 PM
ok. I will do that.
It will take a little longer as I need to learn how to do the compile thing.
j

jolly-london-20127

08/11/2022, 12:30 PM
FYI the build command is:
env CGO_ENABLED=0 GOOS=linux GOARCH=mips64le go build -ldflags "-s -w -X 'main.version=v0.14.6'" -o netclient-mips64le main.go
g

gentle-plumber-57333

08/11/2022, 12:34 PM
THANK YOU. I will test tomorrow (10:30pm here now). Really appreciated.
j

jolly-london-20127

08/11/2022, 12:35 PM
no problem