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 versions 10.04 LTS, 11.10, and 12.04 LTS.
NOTE: If you are upgrading from 11.10 to 12.04 LTS, you may receive this message:
“AnyConnect cannot confirm it is connected to your secure gateway.
The local network may not be trustworthy.
Please try another network.”
If so, visit the VPN Error Messages page for details on how to fix.
Other versions of Linux have been known to work but have not been tested by ComTech. Please feel free to download and install the appropriate file manually via the VPN Manual Download and Installation page.
Prerequisites for Installation:
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.
- Using Firefox web browser, go to:
- Type your NC State Unity ID and password.
- Press the “Login” button.
- The Cisco AnyConnect VPN will launch and the install will begin automatically. If Java is not installed on your machine or cannot be detected, the installation will fail, and you will be presented with an option to manually download and install the client.
- 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.”
then you can continue the installation manually by clicking on “Linux i386,” in which you will be asked to save a file called “vpnsetup.sh”. Save the file to your Downloads folder. Then run the file by entering:
“sudo sh ./vpnsetup.sh”
at a command line. Then skip to Step 11.
Alternatively, you can close this window, and proceed with a complete manual installation.
- 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. The Cisco AnyConnect VPN Client will begin to download to your computer.
- At the prompt to enter your password, enter the local password you use to log onto your Ubuntu machine.
- The Cisco AnyConnect client application will begin to install and proceed to log in.
- 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.
- In Ubuntu 10.x, you should see the icon in the notification bar as seen in the image above.
However, 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.
- 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:Ubuntu 10.x:
Under Applications, open the Cisco folder and double-click Cisco AnyConnect VPN Client to launch the application.
After clicking on the icon, you can pin 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 whitelist and show up in the system tray.
- After clicking the Cisco AnyConnect VPN Client application, see the “Connect to:” field to make sure you are connecting to vpn.ncsu.edu. You will immediately be prompted for your Unity ID and password to login.
- 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.