https://netmaker.org logo
#linux
Title
# linux
h

hallowed-finland-99691

05/22/2022, 2:37 PM
Installing netclient on Ubuntu 22.04_ 0.14.0_ amd64. Deb will kill the Internet in a few minutes and can't visit any websites. However, installation in docker is good
j

jolly-london-20127

05/22/2022, 3:59 PM
We've had another issue mention this: https://github.com/gravitl/netmaker/issues/1111
Did you do anything special to the network (create ingress or egress gateways)? I am unable to replicate the issue.
h

hallowed-finland-99691

05/22/2022, 4:35 PM
I tested it in the newly installed Ubuntu 22.04, but only downloaded and installed it. There is no exit gateway or entrance gateway. The simplest default method is.
j

jolly-london-20127

05/22/2022, 4:36 PM
interesting...the issue above is also on ubuntu 22.04...we haven't done any testing with that system...i'll check it out. Probably some change we're not aware of.
h

hallowed-finland-99691

05/22/2022, 4:37 PM
After a few minutes, it turns into a yellow warning and then a red error, but the three clients can ping each other or the server netmaker
j

jolly-london-20127

05/22/2022, 4:39 PM
> Deb will kill the Internet in a few minutes and can't visit any websites. this is the most concerning part to me
need to look into what changes are in ubuntu 22.04. I'm guessing there's a change to the networking stack causing this issue
h

hallowed-finland-99691

05/22/2022, 4:39 PM
The version number of netclient in win11 displays n / A, but it does not display 0.14.0 correctly. In Ubuntu, the version number of netclient is displayed correctly
j

jolly-london-20127

05/22/2022, 4:39 PM
any issues with windows client besides version number?
h

hallowed-finland-99691

05/22/2022, 4:40 PM
After a few minutes, it turns into a yellow warning and then a red error, but the three clients can ping each other or the server netmaker
j

jolly-london-20127

05/22/2022, 4:41 PM
hmmm windows as well? do you know if updates are working?
usually when it shows as warning/error, it means the service is no longer running
h

hallowed-finland-99691

05/22/2022, 4:42 PM
The netclient of Ubuntu 22.04 is always good
j

jolly-london-20127

05/22/2022, 4:43 PM
you said it killed the internet during join. Once it comes back from that issue, it works correctly?
h

hallowed-finland-99691

05/22/2022, 4:45 PM
The DEB installation of Ubuntu 22.04 permanently destroys the Internet, unless it is installed in docker, which is good.
Restarting the PC will not resume
.Restarting the PC does not restore
From 0.13.1 to 0.14.0, it is found that: Netmaker and netclient of 0.13.1 are stable; Netmaker of 0.14.0 is basically stable. The Linux version and windows version of netclient have different problems and are not stable enough.
The only problem is the win11 client. The Ubuntu client is normal. So I think the problem should be in the Windows client. Not on the server side
j

jolly-london-20127

05/22/2022, 4:55 PM
what problems exist with the windows client?
you mentioned warning/error appears, and version is n/a. What else?
and did you install via MSI?
h

hallowed-finland-99691

05/22/2022, 4:58 PM
If the version number cannot be displayed correctly, it will become a warning after a few minutes and an error after a period of time. The client of Ubuntu works well
I install with batch processor and run with administrator privileges
0.13.1 everything is OK when running
j

jolly-london-20127

05/22/2022, 5:02 PM
0.13.1 is ok o ubuntu 22.04?
h

hallowed-finland-99691

05/22/2022, 5:03 PM
20.04
My server is running Ubuntu 20.04 and is still running. The client was running 20.04 + 0.13.1 yesterday, and everything was normal. Today, the client is running 22.04 + 0.14.0. When it encounters a problem, the network will be disconnected in DEB mode, and everything in docker mode is normal.
j

jolly-london-20127

05/22/2022, 5:07 PM
ok
h

hallowed-finland-99691

05/22/2022, 5:16 PM
I hope to update the netclient of windows as soon as possible
j

jolly-london-20127

05/22/2022, 5:17 PM
I want to confirm the window issue, it sounds like it is functional but just not displaying correctly in the UI?
and you installed using MSI, yes?
h

hallowed-finland-99691

05/22/2022, 5:26 PM
After MSI installation, the version number of 0.14.0 can be displayed correctly
I can test the MSI installation immediately and report the results
j

jolly-london-20127

05/22/2022, 5:27 PM
for 0.14.0, the client should be installed with the MSI, not with the netclient.exe directly or powershell
h

hallowed-finland-99691

05/22/2022, 5:27 PM
Display correctly in the web
The version number can be displayed correctly in the web, but the warning will still be displayed
j

jolly-london-20127

05/22/2022, 5:34 PM
there is a log file under C:/Program Files (x86)/Netclient that should give you some info on what is going wrong
if it is a service issue
h

hallowed-finland-99691

05/22/2022, 5:58 PM
Config folder is empty, client Is the key in the home folder caused by the file storage path?
j

jolly-london-20127

05/22/2022, 5:59 PM
strange...there should be a log file under there...maybe an issue caused by first installing with netclient.exe
it may be under ProgramData/Netclient
h

hallowed-finland-99691

05/22/2022, 6:17 PM
The client.key Copy to xvpn CC folder, no warning.
j

jolly-london-20127

05/22/2022, 6:18 PM
interesting, that could very well be the issue, wrong path for storing client key on windows, will write this down
h

hallowed-finland-99691

05/22/2022, 6:26 PM
Another problem is that Gui cannot appear in Windows 11 in Hyper-V VM
C:\Program Files (x86)\Netclient>netclient [netclient.exe] 2022-05-23 02:34:02 netclient.exe is in proper location, C:\Program Files (x86)\Netclient\netclient.exe 2022/05/23 02:34:02 Gravitl Netclient on Windows started 2022/05/23 02:34:03 Fyne error: window creation error 2022/05/23 02:34:03 Cause: APIUnavailable: WGL: The driver does not appear to support OpenGL 2022/05/23 02:34:03 At: C:/Users/alexf/go/pkg/mod/fyne.io/fyne/v2@v2.1.4/internal/driver/glfw/driver.go:123 C:\Program Files (x86)\Netclient>pause 请按任意键继续. . .
j

jolly-london-20127

05/22/2022, 6:35 PM
we will probably not support this then
you can still use standard CLI
h

hallowed-finland-99691

05/22/2022, 6:35 PM
In Hyper-V, win11 cannot display GUI
j

jolly-london-20127

05/22/2022, 6:36 PM
yes, you can still run the cli, I think this should be acceptable for virtualized environments
without the GUI, like you would on Ubuntu
h

hallowed-finland-99691

05/22/2022, 6:38 PM
The same win11, In Hyper-V, GUI is not displayed The physical machine can display GUI
It should be related to the graphics card driver
j

jolly-london-20127

05/22/2022, 6:40 PM
does the CLI still work?
run "netclient.exe join -t " from powershell as admin
h

hallowed-finland-99691

05/22/2022, 6:42 PM
The command line works,
Please see the error prompt above
j

jolly-london-20127

05/22/2022, 6:46 PM
Yes I see. It looks like the fyne package requires OpenGL. We are dependent on Fyne so I don't think this is something we can fix. Hyper-V based VM's will likely need to stick to the command line
h

hallowed-finland-99691

05/22/2022, 6:51 PM
Another serious problem is that netclient installed by docker in Ubuntu cannot automatically connect to netmaker after the PC is restarted
j

jolly-london-20127

05/22/2022, 7:00 PM
do you have docker service configured to start automatically on boot?
h

hallowed-finland-99691

05/22/2022, 7:05 PM
Docker started automatically, but netclient couldn't connect
0.13.1 works well, but 0.14.0 cannot
j

jolly-london-20127

05/22/2022, 7:08 PM
logs?
shouldn't be much different for docker between 13 and 14
Thank you, this is helpful. We've had a few issues related to MacAddress validation. Will need to fix this in next release
check if client is in UI already. If so, delete it and try again
we have no "uninstall" on shutdown of docker, so it stays in server. When it attempts to re-join, server prevents duplicates
h

hallowed-finland-99691

05/22/2022, 7:17 PM
Tailscale's client is doing well. The GUI should not call special graphics card drivers or use hardware acceleration.
OK, let me try. I deleted this customer from the web and am restarting
I deleted this client from the web and did not connect automatically after restarting. Until I execute《 sudo docker restart netclient 》, you can see it in the Web GUI, but you can't Ping it. After checking, it is found that UDP punching is off, not on by default. OK, I can ping
These problems do not exist in 0.13.1
j

jolly-london-20127

05/22/2022, 7:38 PM
the upgrade itself may have been the issue, that seems to be the problem with the user in the above issue as well
try downgrading the existing docker image to 0.13.1, it will likely have the same problem
if so, we need to work on our upgrade and restart process for docker
h

hallowed-finland-99691

05/22/2022, 7:43 PM
This time it lasted a long time, but there was still a yellow warning. But I'm not sure if there will be a red error later
j

jolly-london-20127

05/22/2022, 7:44 PM
docker?
h

hallowed-finland-99691

05/22/2022, 7:46 PM
It is a netclient installed with MSI and windows 11
2 Views