Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2018
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. 4.3. INSTALL AND CONFIGURE OPENCONNECT - VPN CLIENT
  2. 4.3.1. sudo apt-get openconnect
  3. 4.3.2. Create user name file: nano /home/dietpi/TrafficLightAPI/vpnusr
  4. 4.3.3. Enter vpn user name and save file.
  5. 4.3.4. Create password file: nano /home/dietpi/TrafficLightAPI/vpnpassw
  6. 4.3.3. Enter vpn user password and save file.
  7. 4.3.4. Create script to connect to vpn: nano /home/dietpi/TrafficLightAPI/vpnconnect.sh
  8. 4.3.5. Enter following content:
  9. #!/bin/bash
  10. vpnUser=$(cat /home/dietpi/TrafficLightAPI/vpnusr)
  11. vpnPass=$(cat /home/dietpi/TrafficLightAPI/vpnpasswd)
  12. echo $vpnPass | sudo openconnect emea.vpn.jdsu.com --no-cert-check -u $vpnUser -b --passwd-on-stdin
  13. 4.3.6. Save and close file
  14. 4.3.7. Change permissions: chmod 755 /home/dietpi/TrafficLightAPI/vpnconnect.sh
  15. 4.3.8. Open crontab editor: crontab -e
  16. 4.3.9. Add following line at the end: @reboot /home/dietpi/TrafficLightAPI/vpnconnect.sh
  17. 4.3.10. Close and save crontab
  18.  
  19. 4.1. INSTALL .NET CORE REQUIREMENTS
  20. 4.1.1 sudo apt-get install libunwind8 liblttng-ust0 libcurl3 libssl1.0.0 libuuid1 libkrb5-3 zlib1g libicu52
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement