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: system
Posted in Administration, HowTo, System | No Comments »
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: network, system
Posted in HowTo, Networking | No Comments »
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: fs, system, virtualization
Posted in HowTo, System | 1 Comment »
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 »
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: system
Posted in Administration, HowTo, Softwares | No Comments »
Posted by chantra on April 8th, 2009
Lately, I have been experiencing a funny network issue when using VMware Workstation VMs with NAT interface. Roughly, the IP network was working fine, but DNS resolution was not anymore. It happened intermittently, but I could see that this mainly happened when I was suspending my laptop, going to another location and resuming.
Forcing the VM to use a public DNS would solve the issue.
Read the rest of this entry »
Tags: network, system, virtualization
Posted in HowTo, Softwares, Virtualization | No Comments »
Posted by chantra on April 4th, 2009
I have been looking around for a while for an autotune effect (pitch correction, or whatever name you care to call it) for linux. Unfortunately everything I have found either cost money or wasn’t for linux, or required special setup (wine, or other nasty things). All I could find in terms of linux autotune was people also looking for autotune. However, all the answers were unsatisfactory, either because they required manual pitch recognition (Not so good for the tone-deaf among us), or people confused it with pitch shifting in general. I eventually did find that praat (it’s in synaptic), a speech analysis tool, comes surprisingly close to autotune functionality. It will give you a T-pain like effect, but it requires you to manually place the notes (although it will detect the pitch for you). I am not very experienced with praat, although this is what I figured out how to do (some of it from the original mailing list post, other I read from the manual or figured out).
Although it’s GUI isn’t too nice, and it isn’t designed for musical manipulation, it gets the job done.
Read the rest of this entry »
Posted in HowTo | No Comments »
Posted by chantra on January 18th, 2009
5. Configuring Dovecot
Dovecot has its SQL configuration gathered in a separated file: /etc/dovecot/dovecot-sql.conf, so let’s edit edit with our settings:
# vi /etc/dovecot/dovecot-sql.conf
Read the rest of this entry »
Tags: dovecot, email, mysql, network, postfix
Posted in Administration, HowTo, Networking | 1 Comment »
Posted by chantra on January 18th, 2009
4. Configuring Postfix
4.1. main.cf and master.cf
Your postfix main.cf file should look like:
Read the rest of this entry »
Tags: dovecot, email, mysql, network, postfix
Posted in Administration, HowTo, Networking | No Comments »
Posted by chantra on January 18th, 2009
This tutorial will explain how to run a mail server with virtual domains and users using a MySQL backend to store email informations.
Postfix will be our SMTP server, Dovecot will be handling IMAP (optionally one could configure POP3 also) so that users can retrieve their email.
Another tutorial will cover SPAM fighting using DSPAM based on this implementation (yet to be done).
This tutorial was done on Debian Etch using postfix 2.3.8-2etch4 and 1.0.rc15-2etch4.
Read the rest of this entry »
Tags: dovecot, email, mysql, network, postfix
Posted in Administration, HowTo, Networking | No Comments »