Reverse detail from Kakelbont MS 1, a fifteenth-century French Psalter. This image is in the public domain. Daniel Paul O'Donnell

Forward to Navigation

Problems with Cisco Anyconnect on Ubuntu 14.04 (Breaks Internet Connections)

Posted: Jan 11, 2015 22:01;
Last Modified: Jan 11, 2015 22:01
Keywords:

---

This blog is about resolving an issue I had after installing Cisco Anyconnect, the U of L’s VPN client.

This is an aide memoire for me, but might be useful to others. The information comes from, with the first being most useful for this particular case:

Contents

The symptoms

The U of L uses Cisco Anyconnect as its VPN client. I installed it two days ago (stupidly, while travelling). This produced a problem where I couldn’t access the internet: I could log in to a SSD, but couldn’t ping any sites, and none of my webbrowesers could resolve or connect to any hosts.

#h3(#diagnosis). The diagnosis

The problem is that anyconnect rewrites /etc/resolv.conf.

The original /etc/resolv.conf is a link to /run/resolv.conf/ and /run/resolvconf/resolv.conf@ contains a local address nameserver (in my case 127.0.1.1, others report 127.0.0.1).

Anyconnect backs this file up (whew!) as /etc/resolv.conf.vpnbackup and replaces it with a new resolv.conf that contains a number of different nameservers in the uleth domain (i.e. 142....).

The solution

Things that don’t work

These are the things I tried that don’t work (in the order I tried them).

What works

Because anyconnect backs things up, all you need to do is the following:

  1. cd to /etc/
  2. check that the situation matches what I’m reporting (i.e. that there are two resolv.conf files, resolv.conf and resolv.conf.backupvpn or similar.
  3. rename the current resolv.conf: mv resolv.conf resolv.conf.CISCO
  4. rename the current resolv.conf.backupvpn (or similar): mv resolv.conf.backupvpn resolv.conf
  5. check that the (now) current resolv.conf is a link to /run/resolvconf/resolv.conf by running ls -l resolv.conf on /etc/ (if it is a link, the line will include an arrow showing what it is pointing at).
  6. check that the nameserver in resolv.conf is a local address (127...).
----  

Comment

:
:

:

Textile help

Back to content

Search my site

Sections

Current teaching

Recent changes to this site

Tags

anglo-saxon studies, caedmon, citation practice, composition, computers, digital humanities, digital pedagogy, grammar, history, moodle, old english, pedagogy, research, students, study tips, teaching, tips, tutorials, unessay, universities

See all...

Follow me on Twitter