Wednesday, May 04, 2011

ubuntu and cisco anyconnect

Our office uses cisco anyconnect for vpn. And of course like most offices, we only officially support windows clients. Cisco makes clients for lots of OS's, but our sysadmin only has it configured for the MS monster.

So I wanted to connect to it with Ubuntu, and it was actually pretty easy. I just had to install:
  • openconnect
  • network-manager-openconnect
  • network-manager-openconnect-gnome
I could then go to the network manager - vpn connections - configure vpn.
  • Click add.
  • Select cisco anyconnect compatible vpn (openconnect)
  • Click create.
  • Entered the IP of the vpn gateway
  • Entered the connection name
  • Clicked save.
To connect, just click on network manager - vpn connections and select the one you just added and enter your login creds.

wep cracking messed up my wifi card

So I thought I'd mess around with WEP cracking with my laptop and aircrack. It's pretty easy since all the tools needed are in the repos.

I found out the hard way that the wireless card in my HP dv2000 wasn't up to the task. It wouldn't go into monitor mode when I tried to dump the wireless data. So I gave up. The problem was that it put my wireless card into some state that I couldn't get it out of.

I finally fixed it by using rfkill:
sudo apt-get install rfkill
rfkill unblock all