Tag Archives: linux

Connecting to Sonicwall VPN from Linux (Ubuntu 12.10)

  1. Go to https://sslvpn.demo.sonicwall.com/cgi-bin/welcome
  2. Login using demo:password
  3. To download tar.gz with client click on NetExtender icon
  4. Create symbolic links, on 32 bit linux:
sudo ln -s /lib/i386-linux-gnu/libssl.so.1.0.0 /usr/lib/libssl.so.6
sudo ln -s /lib/i386-linux-gnu/libcrypto.so.1.0.0 /usr/lib/libcrypto.so.6

on 64 bit linux:

sudo ln -s /lib/x86_64-linux-gnu/libssl.so.1.0.0 /usr/lib/libssl.so.6
sudo ln -s /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 /usr/lib/libcrypto.so.6

5. Extract the client, make install script executable and run it as root
Now you can use one of these commands:

sudo netExtenderGui
sudo netExtender

In a bash script you could use:

sudo netExtender -u user -p password -d domain server

But it should be evident that this is not a very secure method as it needs to be run as root (or pppd run as root – see prompt during installation), and the password as well as the user are stored in plain text in the shell history and who knows where else.
Maybe using the GUI or the interactive CLI tool is better?

Moving the root partition from one physical drive to another in Ubuntu Server 12.04 LTS

I decided to generally upgrade some of the hardware in my home-server, which consisted mostly of salvaged parts. This required me to move the root partition to another harddrive. Sounds like a daunting task, but it actually isn’t such a hassle.

Here is how I moved my Linux root from one drive to another in Ubuntu Server 12.04 LTS, and was able to (finally) throw out my old IDE drive.

Continue reading

Linux Screen Tutorial

When doing administrative stuff on my headless Linux server I sometimes need to keep a command running, even if I lose my shell connection. The screen command works very well for this, but it also has a lot of other helpful features – ones that I keep forgetting how to use since I don’t play around on the console enough anymore. So I created this concise list of often used and forgotten commands :).

Continue reading