netmaker icon indicating copy to clipboard operation
netmaker copied to clipboard

I con't join the network on OpenWRT because of an error

Open 18984002666 opened this issue 3 years ago • 4 comments

2022/03/03 04:44:22 [netclient] joining home at <PublicIP>:50051 2022/03/03 04:44:22 [netclient] error installing: rpc error: code = Unknown desc = Key: 'Node.MacAddress' Error:Field validation for 'MacAddress' failed on the 'macaddress_unique' tag 2022/03/03 04:44:22 Failed to authenticate: rpc error: code = Unauthenticated desc = Something went wrong with Auto Login: rpc error: code = Unknown desc = missing mac address 2022/03/03 04:44:22 [netclient] could not flush peer routes when leaving network, home 2022/03/03 04:44:22 [netclient] removed home network locally 2022/03/03 04:44:23 [netclient] removed systemd remnants if any existed 2022/03/03 04:44:23 [netclient] removed systemd remnants if any existed

18984002666 avatar Mar 03 '22 04:03 18984002666

v0.11.0 same error

xcf13363175 avatar Mar 03 '22 09:03 xcf13363175

@18984002666 @xcf13363175 try joining with a "made up" macaddress, e.g. netclient join -t -macaddress=12345

afeiszli avatar Mar 03 '22 17:03 afeiszli

Now,the error is:

2022/03/03 23:57:46 [netclient] joining work <PublicIP>:50051 2022/03/03 23:57:46 [netclient] node created on remote server...updating configs 2022/03/03 23:57:46 [netclient] retrieving peers 2022/03/03 23:57:46 Error retrieving peers 2022/03/03 23:57:46 rpc error: code = Unknown desc = unexpected end of JSON input 2022/03/03 23:57:46 [netclient] failed to retrieve peers 2022/03/03 23:57:46 [netclient] error installing: rpc error: code = Unknown desc = unexpected end of JSON input 2022/03/03 23:57:46 [netclient] removed machine from work network on remote server 2022/03/03 23:57:46 [netclient] could not flush peer routes when leaving network, work 2022/03/03 23:57:46 [netclient] error running command: wg-quick down /etc/netclient/config/nm-work.conf 2022/03/03 23:57:46 [netclient] wg-quick: `/etc/netclient/config/wg0.conf' does not exist 2022/03/03 23:57:46 [netclient] removed work network locally 2022/03/03 23:57:47 [netclient] removed systemd remnants if any existed 2022/03/03 23:57:47 [netclient] removed systemd remnants if any existed

18984002666 avatar Mar 04 '22 02:03 18984002666

Same error as above.

It may be an error caused by wg-quick is not provided for OpenWRT/LEDE.

xcf13363175 avatar Mar 05 '22 07:03 xcf13363175

macaddress validation was removed #927

mattkasun avatar Sep 27 '22 11:09 mattkasun