Created
July 26, 2020 01:10
-
-
Save ThiagoBarradas/2ecd166234e7d6f0efed03620da7bcab to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update | |
sudo apt-get install openvpn openconnect | |
# Requesting password | |
sudo openconnect -u user --passwd-on-stdin vpn.example.com | |
# OR non-interactive | |
echo "<password>" | sudo openconnect --user=thiagobarradas --authgroup=MYGROUP --passwd-on-stdin vpn.xxx.com | |
# Force Stop! | |
sudo pkill openconnect | |
### WSL Solution for "sleep: cannot read realtime clock: Invalid argument" | |
wget https://launchpad.net/~rafaeldtinoco/+archive/ubuntu/lp1871129/+files/libc6_2.31-0ubuntu8+lp1871129~1_amd64.deb | |
sudo dpkg --install libc6_2.31-0ubuntu8+lp1871129~1_amd64.deb | |
sudo apt-mark hold libc6 | |
sudo apt --fix-broken install | |
sudo apt full-upgrade |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment