Small tip for linux geeks

Posted by admin | Posted in Uncategorized | Posted on 02-12-2011

0

For all the linux geeks out there, I would like to share my latest discovery which is CommandLineFu

Go in there, sort the commands by votes, fire up your terminal and practice :)

Solving DNS problems with OpenVPN on Ubuntu box

Posted by admin | Posted in Uncategorized | Posted on 04-03-2011

2

I want to share some experiences working with VPN from Ubuntu. I had some trouble using OpenVPN as after connecting I couldn’t access any resource referenced by a domain name.
I couldn’t find any solution to this problem but finally after trying a few things out, I have come out with a solution I want to share below.
Assuming you have OpenVPN installed and working ‘.ovpn’ configuration file (but without proper DNS resolving) follow the steps below:
1. Install resolveconf

sudo apt-get install resolvconf

2. Link your auto-generated resolve.conf to existing ‘/etc/resolve.conf’

cd /etc
#backup your original resolve.conf just in case
cp resolv.con resolv.conf.orig
ln -s /etc/resolvconf/run/resolv.conf /etc/resolv.conf

3. Add the following lines to the bottom of your ‘.ovpn’ configuration file:

up /etc/openvpn/update-resolv-conf
down /etc/openvpn/update-resolv-conf

4. Run openvpn with the following flags (as root):

openvpn --script-security 2 --config youropenvpnconfig.ovpn

That should do it.
Enjoy

Disable Ubuntu Desktop Screen Auto Locking

Posted by admin | Posted in System Administration, Uncategorized | Posted on 01-02-2011

2

Is your Ubuntu desktop locking every time you leave it for a minute or two and its driving you nuts? I was looking for the solution to this today and finally I’ve found it. Not that I was looking so long, I have to admit I was lazy, as my Ubuntu screen was pissing me off for a long time, I’ve never had time to actually find a solution to this.
It looks like a basic and very simple option, which I thought, would be pretty easy to find in the power settings, but hell no, no luck.

For all of you lazy and not lazy people, which locking ubuntu screen drives mad, do the following:

1. As a root/sudo type in the terminal:

gconf-editor

2. Find the key:

/apps/gnome-power-mananager/lock/blank_screen

and uncheck it!
You can actually uncheck all of the keys under ‘lock’ just in case Ubuntu would like to piss you off next time using hibernate option, screensaver etc

Turn your Ubuntu into Mac instantly

Posted by admin | Posted in Uncategorized | Posted on 08-12-2010

0

For those of you who like Mac systems look and feel but still prefer linux for day to day tasks like programing in Java for example :) I strongly recommend following the steps described in Lifehacker’s post.
Lifehacker’s post.