-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Solved] Error occurred. (Error code: 31) #148
Comments
i just find the solution
|
excuse me, how do you solve this problem finally? I met this problem before, but I haven't found a solution yet. |
@Eric7Coding runing sudo ./vpnclient start before ./vpncmd worked for me |
@Eric7Coding depends on your Linux distro, but as @gulbuhar mentioned, you might need to enable tun/tap in the kernel and recompile and install the kernel |
For what it's worth, I ran into this issue using Ubuntu 16.04 LTS and solved it via...
NOTE: this change is only temporary and after a reboot these kernel modules will be removed again. You can auto-load them on every reboot by adding them permanently to
|
For someone using WSL (Windows Subsystem for Linux), this does not entirely work. What could be some other workaround? Creating a virtual NIC in windows and somehow mapping it into the VPN client? |
Sorry, I can't help you out here. The way I see it you have two options here:
|
Yeah, those were my thoughts too. Thanks for the input! |
The Ubuntu 16.04 solution did not work for me on Ubuntu 18.04. Did anyone manage to run the |
Ubuntu 20.04 here, everything is working. Make sure to use sudo, i.e. |
Is this issue fixed in the newest kernel, such as 6.1.X? |
Im getting this on my 64bit gentoo box, any idea how to solve it?
I also get the same thing even with vpncmd running as root
~# vpnclient start
~$vpncmd
or
~# vpncmd
The text was updated successfully, but these errors were encountered: