Broken ACPI Events for Sound In Linux

June 14th, 2009
broken-acpi-events-for-sound-in-linux

Having problem with getting the Volume Up/Down & Mute/Unmute buttons on your Packard Bell EasyNote MX36 and Linux?

This might work for as it did for me. I was frustrated that these simple three buttons didn’t work anymore in Linux, those I’ve been running anyway(ubuntu & openSUSE), they used to work up till version 8.04 of ubuntu, in openSUSE i don’t know if they ever worked.

Read the rest of this entry »

VirtualBox Appliance Problem With Linux Guests

June 6th, 2009
virtualbox-appliance-problem-with-linux-guests

I have been struggling with the feature of export / import appliance in VirtualBox for a couple of days now and every time it failed and my frustration grew. The problem i had was that my guest system couldn’t find its partitions after import.

Finally i found the issue, it was due to that my guest OS(openSUSE) called the partition by name ID instead of with device name, the ID was unique to the machine being exported thus changed for the new imported machine.

Read the rest of this entry »

Disable PC-Speaker

May 30th, 2009
disable-pc-speaker

Sometimes it’s good to have the PC-Speaker enable, but for the most of the time it is just annoying and can drive you crazy, this tip will show you how to disable it. This has been tested on ubuntu, openSUSE & FreeBSD, if you know of other system this works on let me know.

On Linux(ubuntu, openSUSE):
1. Open up a console window and edit blacklist file.
$ sudo nano /etc/modprobe.d/blacklist

2. Add following to the end of the file and then save.
# Blacklisting pcspkr
blacklist pcspkr

3. Restart the computer.

On Unix(FreeBSD):
1. Run in console.
$ su root -c ‘ee /etc/rc.conf’

2. Add the following at the end of the file and save.
# Disable pc-speaker
modprobe -r pcspkr

3. Restart computer.

Enable MySQL for remote access

May 13th, 2009
enable-mysql-for-remote-access

When installing MySQL on a server and want to access it from an other machine than itself, this is easy done and should work on most platforms.

1. After installation of MySQL open up MySQL prompt.
# mysql -u root

2. Change to mysql database as default database and update access for root account.
mysql> use mysql
mysql> update db set Host=’%’ where db=’mysql’;
mysql> exit

3. Restart MySQL and you should be able to access it from another host and configure it the way you want.
# /etc/rc.d/mysql restart