NC State Cisco AnyConnect VPN Initial Installation Instructions for Red Hat and Ubuntu OS Machines. This has been tested with Red Hat v6 and Ubuntu version 10.04 LTS, 11.10, and 12.04 LTS.
NOTE: If you are upgrading from 11.10 to 12.04 LTS, you may receive a “”AnyConnect cannot confirm it is connected to your secure gateway. The local network may not be trustworthy. Please try another network.” Please visit the VPN Error Messages page with details as how to fix.
Other versions of Linux have been known to work but has not been tested by Comtech. Please feel free to download and install the appropriate file manually via the VPN Manual Download and Installation page.
Java must be running on your machine in order to install the client. You can either use Sun Java (java.com) or install an open source browser plugin called IcedTea. It can be downloaded and installed via this link.
1) Go to https://vpn.ncsu.edu in your Firefox web browser. Type your NC State Unity username and password. Press the “Login” button.
2) The Cisco AnyConnect VPN will launch and the install will begin automatically. If Java is not installed on your machine or can not be detected, the installation will fail and you will be presented with an option to manually download and install the client.
3) If it detects Java is correctly installed, it will proceed to download the VPN AnyConnect software:
If you receive the following message, the client was unable to detect that Sun Java was installed correctly. You can continue the installation manually by clicking on “Linux i386” in which you will be asked to save a file called “vpnsetup.sh”. After you save the file (which should be saved in your Downloads folder), all you need to do is run the file by entering “sudo sh ./vpnsetup.sh” at a command line and then skip to Step 10.
Alternatively, you can close this window, and proceed with a complete manual installation.
4) However, if the Java check was successful, you will be prompted to approve the digital certificate provided by the appliance. If the digital signature has been verified, click Run to begin the initial installation of the AnyConnect VPN client.
5) The Cisco AnyConnect VPN Client will begin to download to your computer.
6) You will receive a prompt to enter your Password. Enter the local Password you use to log onto your Ubuntu machine.
7) The Cisco AnyConnect client application will begin to install and proceed to log in.
8) The client will be installed on your work station, and will initialize your first connection to the NC State SSL VPN network via the AnyConnect VPN Client.
9) In Ubuntu 10.x, you should see the icon in the notification bar as described in the image above. However in In Ubuntu 11.x — the Cisco Anyconnect Icon does NOT show up in the top notification bar. This is because you have to manually configure which application you want to whitelist and show up in the system tray.
10) Once the client is installed you will not have to log into the vpn.ncsu.edu website again. You can open up the Cisco AnyConnect VPN Client directly. The location of the application differs depending on whether you are using Ubuntu 10.x or Ubuntu 11.x. Both are described below:
Under Applications, open the Cisco folder and double-click Cisco AnyConnect VPN Client to launch the application.
Click on the “Dash Home” icon in your Unity Dock (the first icon). Enter “Cisco” to search for the Cisco Anyconnect VPN client.
After clicking on the icon, you can ping the icon to your launcher for easy access in the future:
In Ubuntu 11.x — the Cisco Anyconnect Icon does NOT show up in the top notification bar. This is because you have to manually configure which application you want to whitlist and show up in the system tray.
11) After clicking the Cisco AnyConnect VPN Client application, make sure you are connecting to vpn.ncsu.edu in the “Connect to:” field. You will immediately be prompted for your unity username and password to login.
12) In order to disconnect, click on the Cisco AnyConnect Icon and click on “Disconnect” in the Connection Tab.
In Ubuntu 11.x, you will need to find the Cisco AnyConnect Application again to bring up the window. If you pin the application to the dock, you will be able to disconnect from the icon in the dock.