I am attempting to get an initial installation of ...
# linux
b
I am attempting to get an initial installation of netclient working on nixos. I'm able to build the netclient/main.go app, but I cannot successfully connect to my server. I do have other arch linux and android nodes connected. When I do an initial join using the netclient binary I built, I see
Copy code
$ sudo netclient join -t ... --apiserver=api.netmaker.mydomain.com -network default -daemon off -vvv

[netclient] 2022-05-06 09:40:45 joining default at api.netmaker.mydomain.com:443
[netclient] 2022-05-06 09:40:45 node created on remote server...updating configs
[netclient] 2022-05-06 09:40:45 error installing:  no network provided
The client does then show up in the list of nodes on the server, but no actual network is set up on the client. List shows nothing though.
Copy code
$ sudo ./netclient list -vvv

{"networks":[]}
If I specify the network, it gives me a slightly longer error:
Copy code
$ sudo ./netclient list --network=default -vvv

[netclient] 2022-05-06 09:56:56 used backup file for network:  default 
[netclient] 2022-05-06 09:56:56 default: Could not retrieve network configuration. 
2022/05/06 09:56:56 reading configuration for network default: open /etc/netclient/config/netconfig-default: no such file or directory
I confirmed that the folder exists, but there are no files within. Any clues before I go spelunking through code would be appreciated.
4 Views