Install Cisco AnyConnect on AMD64 Debian Stretch

Install Cisco AnyConnect on AMD64 Debian Stretch

I just installed a new 512GB Samsung 850 PRO solid state drive into my laptop for more space to dual boot Debian and Windows. Previously I was only running Debian but Blizzard is releasing the new StarCraft expansion and I wanted to make sure I could play it without worrying about Wine issues…

After downloading and changing the vpnsetup script to executable and running the script I received an error:

root@debian:/home/user/Downloads# chmod 777 vpnsetup.sh
root@debian:/home/user/Downloads# ./vpnsetup.sh
Installing Cisco AnyConnect Secure Mobility Client…
Extracting installation files to /tmp/vpn.LZ54j6/vpninst718762775.tgz…
Unarchiving installation files to /tmp/vpn.LZ54j6…
Starting Cisco AnyConnect Secure Mobility Client Agent…
Failed to start vpnagentd.service: Unit vpnagentd.service failed to load: No such file or directory.

The first step to make this work is convert the Debian installation to run multiarch.

dpkg –add-architecture i386
apt-get update && apt-get update

Next I had to install these three packages. There were other sites recommending packages for Ubuntu but they weren’t quite the same for Debian.

apt-get install lib32z1 lib32ncurses5 lib32nss-mdns

Afterwards I executed the vpnsetup script again:

root@debian:/home/user/Downloads# ./vpnsetup.sh
Installing Cisco AnyConnect Secure Mobility Client…
Removing previous installation…
mv: cannot stat ‘/opt/cisco/vpn/*.log’: No such file or directory
Extracting installation files to /tmp/vpn.O8yCbA/vpninst611491563.tgz…
Unarchiving installation files to /tmp/vpn.O8yCbA…
Starting Cisco AnyConnect Secure Mobility Client Agent…
Warning: vpnagentd.service changed on disk. Run ‘systemctl daemon-reload’ to reload units.
Done!

That looks better!

vpn

 

Leave a Reply

Your email address will not be published. Required fields are marked *