![]() After the connection is established, if I close the terminal window, it's disconnecting from the VPN, which doesn't happen when I go through the steps manually without using the script.ĭoes anyone know how to get around these issues? On windows, all the options to auto start and auto connect are in the GUI interface, which is quite easy to configure, so I'm hoping there's a way to do that in Linux Mint.After entering the sudo password, I also need to manually enter 1 to choose the connection type.Now, type in the following command: curl -f -output surfshark-install.sh gets the installation script cat surfshark-install.sh show script’s content sh surfshark-install. It doesn't automatically connect me to the VPN, because the sudo surfshark-vpn attack will prompt me for the sudo password, so I need to enter that manually. Open the Terminal on your Linux device by clicking CTRL+ALT+T.This successfully opens the terminal on start up, and runs the script. Then I added a "custom command" in startup applications pointing to the script using: gnome-terminal -bash -c "cd $HOME/Documents. ![]() What I did so far is create a simple shell script ( surfshark.sh) containing the following:Įcho "Connecting to Surfshark vpn" & sleep 5 After 1 is entered, a connection is made and the terminal can be closed.After the password is entered, I need to select the default option for the connection type by entering the number 1.This prompts you for the sudo password to proceed. After the installation, you can connect to the VPN in the terminal using sudo surfshark-vpn attack. ![]() The process that is used manually to install it is basically downloading the. I'm trying to have VPN (surfshark VPN) auto start and auto connect, so far not successful. I just switched from Windows to Linux Mint so this might be a beginner level question, but I can't seem to find the answer to. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |