Monday, April 21, 2008

The Program "screen" Rocks!


# use screen in a script to detach a given program
screen -d -m <program_to_detach>

# list existing screen sessions
screen -ls

# attach to a previously screened program
screen -r <screen_id>

# detach from the currently attached screen session
CTRL-A, CTRL-D

Thursday, April 10, 2008

Ubuntu 7.10, Cisco VPN Related Packages

These are the Cisco VPN related packages that I believe are needed for my Ubuntu 7.10 Desktop:

network-manager, network-manager-gnome, network-manager-vpnc, vpnc

As a side note, I ended up not using vpnc. I ended up using the Cisco 4.8.00.0490-k9 client code and patching it. Basically, I ended up following the instructions as documented by "peteguhl" here:

Howto: Cisco VPN client on x86_64

I am almost tempted to paste a complete copy of those instructions here, but I'll hold off on that for now.

The control script is here: /etc/init.d/vpnclient_init

To connect, issue: "vpnclient connect <profile_name>"