Closed mklatsky closed 2 years ago
that looks like an issue with the installation of wg-tools and not netclient
try running wg-quick up /Applications/Netclient/config/nm-wg-net.conf
from the command line.
When I run sudo wg-quick up /Applications/Netclient/config/nm-wg-net.conf
, I get the following error:
wg-quick: `/Applications/Netclient/config/nm-wg-net.conf' does not exist
it would appear tha t the config does not exist anywhere,
Create a dummy wg conf file and see if it comes up with wg-quick
I now get the following:
$ sudo wg-quick up /Applications/Netclient/config/nm-wg-net.conf
/usr/local/bin/wg-quick: line 112: /usr/local/bin/wg: Bad CPU type in executable
[#] wireguard-go utun
/usr/local/bin/wg-quick: line 34: /usr/local/bin/wireguard-go: Bad CPU type in executable
[#] rm -f /var/run/wireguard/nm-wg-net.name
Note that this is an 2.3 GHz 8-Core Intel Core i9 CPU. Also, if it matters, I have go v19.2 installed:
$ go version
go version go1.19.2 darwin/amd64
It appears I solved my issue. I think the core issue was that I first installed netclient via homebrew, and then by using the pkg file to use the gui. Somewhere, my wireguard installation, installed via homebrew, must have been (for want of better words) - messed up.
I removed all traces of wireguard, wireguard-tools, wireguard-go and netclient, and reinstalled them all- and now I am working as expected. Thank you for pointing me in the right direction.
Contact Details
michael@maputech.com
What happened?
A bug happened!
After installing Netclient from ther macos .pkg file , I run the following:
sudo netclient join -t XXXXXXXXXXXX
where the Xs represent my token.The netmaker dashboard shows my laptop is part of the network, but I am unable to access anything on the net.
There are a number of errors when I run the above command on my laptop, however:
This goes on for awhile before return to the command prompt.
OS: Macos : 13.0.1 (22A400) Intel CPU
Version
v0.16.1
What OS are you using?
Mac
Relevant log output
Contributing guidelines