Debian/Ubuntu Tips and Tricks

Debuntu

Debian/Ubuntu Tips and Tricks

How-To: Set up a L2TP over IPSec VPN using a Radius backend — page 3

Posted by chantra on June 18th, 2010

Using freeradius for authentication

Here I am going to consider that the freeradius server is set up correctly, meaning that you can already authenticate your users with freeradius using radtest utility.

Read the rest of this entry »

Tags: , , , ,
Posted in Administration, HowTo, Networking, System | No Comments »

How-To: Set up a L2TP over IPSec VPN using a Radius backend — page 2

Posted by chantra on June 18th, 2010

XL2TP

Now, let's get on the next phase: XL2TP.

Packages Requirements

You can install xl2tp with the following command:

# apt-get install xl2tp

Read the rest of this entry »

Tags: , , , ,
Posted in Administration, HowTo, Networking, System | 1 Comment »

How-To: Set up a L2TP over IPSec VPN using a Radius backend

Posted by chantra on June 18th, 2010

Even though I pretty like OpenVPN, there is still some devices that might not support the TUN/TAP driver needed by OpenVPN.

Take IPhones, Android phones for instance, you need to root them in order to get that feature, assuming somebody has already cooked a ROM for your device.

L2TP is quite and old standard that allow setting up VPNs.

On the other end, it does not provide any kind of encryption mechanism, and as such, it is pretty common to get L2TP running over an IPSec link.

Read the rest of this entry »

Tags: , , , ,
Posted in Administration, HowTo, Networking, System | 1 Comment »

Terminator is getting a plugin system

Posted by chantra on June 16th, 2010

I already spoke about Terminator a while back. Since then,, quite some time has passed and lots of features were added...

In the last 7+ months, cmsj as worked a lot on getting the whole architecture re-implemented in a more object-like architecture which makes the different component of Terminator interact together more naturally.

Read the rest of this entry »

Posted in HowTo, News, Softwares, Softwares | No Comments »

How-To: Disable pulseaudio and sound in GDM

Posted by chantra on June 14th, 2010

If like me you use MPD as a service daemon to listen to music, you might be annoyed anytime GDM start a pulseaudio process which prevents MPD from accessing the sound device.

Typically, the output of ps will produce the following output:

$ ps aux | grep pulse
gdm 1371 0.0 0.4 98180 4776 ? S<sl Jun13 0:00 /usr/bin/pulseaudio --start --log-target=syslog
gdm 1411 0.0 0.2 10748 2968 ? S Jun13 0:00 /usr/lib/pulseaudio/pulse/gconf-helper

Read the rest of this entry »

Tags:
Posted in HowTo, System | No Comments »

How-To: Mounting /dev in a chroot environment

Posted by chantra on May 8th, 2010

When working in a chrooted environment, there is a few special file systems that needs to be mounted so all programs behave properly.

For instance, grub will need to access your disk devices....

While most special file systems might be mounted with:

# mount fstype -t fstype /tmp/chroot/mountpoint

Where fstype will be sysfs, proc, /dev is not following this rule.

Read the rest of this entry »

Tags:
Posted in Administration, HowTo, System | No Comments »

How-To: Network-Manager-OpenVPN overwrites default route

Posted by chantra on March 2nd, 2010

I was trying network-manager-openvpn plugin today on Lucid, I could import my configuration, DNS was set up correctly upon connection/disconnection, route imported correctly (almost :)).

One issue though is that it was also changing the default route to the VPN tunnel while this should not happen.

Read the rest of this entry »

Tags: ,
Posted in HowTo, Networking | No Comments »

How-To: Rescan a SCSI bus without Rebooting

Posted by chantra on December 12th, 2009

When you hotplug a hard drive in a virtual machine, the drive do not show in fdisk -l output until you reboot your VM.
In order to get the drive to appear, the SCSI bus need to be rescanned.

Read the rest of this entry »

Tags: , ,
Posted in HowTo, System | 4 Comments »

FREE online editon of Linux+ magazine

Posted by chantra on November 4th, 2009

Hello Guys!

Just so you know the Team of Linux+ is going to release FREE online editon of Linux+ magazine. There will be 6 monthly issues with 60 pages each available for free download. They are looking for your support!
Write to ewa.swierczewska@lpmagazine.org for more details if interested.

Thanks!

Posted in News | No Comments »

How-To: Changing the default text editor

Posted by chantra on September 16th, 2009

There is a few software that will use the editor command to find out what text editor to use. Example commands will be dch to add a new .deb changelog entry, revision control softwares when prompting for a commit message ...

Read the rest of this entry »

Tags:
Posted in Administration, HowTo, Softwares | No Comments »