Archive for the Linux Category

Disable touchpad while typing (Ubuntu Intrepid)

Posted in Linux | No Comments »

It really annoys me when I accidentally scrolled or clicked into something while I’m typing with my laptop. So, I start googling for something to get rid of this problem, and I came across into syndaemon. Syndaemon is a program which monitors the keyboard activity and disable the touchpad while typing. It is included by default in Ubuntu Intrepid.

$ syndaemon -d

 
-d option specifies the syndaemon to start as a daemon and runs in the backgroud. The default idle-time (time to wait after the last key pressed before enabling the touchpad) is 2 seconds.  There are also a few other basic options to suit your needs.
 
-i : Specifies the idle-time

-t: Disable tapping and scrolling only.
 
So, for example, if you want to disable tapping and scrolling only, and 1 second idle time before touchpad is enabled again:

$ syndaemon -d -t -i 1

 
You can also run syndaemon in startup by adding the command at Preference -> Session.

Enable USB devices in VirtualBox (Ubuntu Intrepid)

Posted in Linux | 4 Comments »

Firstly, we need to enable the current user to use VirtualBox. Go to System -> Administration -> Users and Groups. Click Unlock and insert your password. Select your username and click “Properties”. Go to User Privileges tab, tick “Use VirtualBox” and click OK.
 

 
Open terminal, and type this command

$ grep vbox /etc/group

Example of the output should be vboxusers:x:<gid>:yourusername
 
Take note of the <gid> value. Next, edit mountkernfs.sh

$ sudo gedit /etc/init.d/mountkernfs.sh

 
Insert this line after domount proc “” /proc proc -onodev,noexec,nosuid. Make sure to replace <gid> with the value that you get earlier.

domount usbfs “” /proc/bus/usb usbdevfs -onoexec,nosuid,nodev,devgid=<gid>,devmode=664

 
Reboot.
 
Run VirtualBox and your guest OS. Click Devices -> USB Devices and select the USB devices that you want to use in the guest OS.
 

Dell Inspiron 1420

Posted in Hardwares, Linux | No Comments »

I needed an entry-level notebook for study and work purpose, so I bought this lappie 4 months ago.

 

Specs:

  • Intel Core Duo T2410 (2.0GHz)
  • 2GB DDR2-667
  • 120GB HDD
  • Intel GM965 Express Chipset (GMA X3100)
  • Intel 4965AGN Wi-Fi card

 

Operating system: Ubuntu Intrepid, Windows XP SP3 (running on VirtualBox)

 

aircrack-ng with iwlagn (Ubuntu Intrepid)

Posted in Linux | 11 Comments »

Pre-requisite:

  • Kernel 2.6.27 or higher
  • Basic development tools (sudo apt-get build-essentials in Ubuntu)
  • aircrack-ng

 
Make a temporary folder in home directory

$ mkdir temp

 
Then type this commands

$ cd temp

$ wget http://www.intellinuxwireless.org/iwlwifi/downloads/iwlwifi-4965-ucode-228.57.2.21.tgz

$ tar -zxf iwlwifi-4965-ucode-228.57.2.21.tgz

$ cd iwlwifi-4965-ucode-228.57.2.21

$ sudo cp * /lib/firmware/

$ cd ..

$ wget http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2.6.tar.bz2

$ tar -xjf compat-wireless-2.6.tar.bz2

$ cd compat-wireless-2008-12-28

$ make

$ sudo make install

Reboot.

To confirm, use aireplay-ng to test the packet injection.

$ sudo aireplay-ng -9 mon0

 

Guide to build SMS Server

Posted in Linux | 1 Comment »

Ever thought of building your own SMS server? Well, here it is..

Pre-requisite:

  • GNU/Linux
  • CakePHP
  • Gnokii / Gnokii-SMSD / GNOKII-SMSD-MySQL
  • MySQL
  • Apache
  • PHP5
  • VMware
  • Windows XP

A complete step by step guide has been made by bazet. Visit http://cakesms.blogspot.com/ to download it.

Latest Nvidia 180.16 (Beta) for Fedora Core 10

Posted in Linux | No Comments »

For GeForce 6, 7, 8, 9 and 200 series only.
 
32-bit:

$ su

# yum erase *nvidia* livna-config-display

# yum install dkms kernel-devel kernel-headers

# wget http://www.dfm.uninsubria.it/compiz/fusion-testing/nvidia/i386/nvidia-x11-drv-180.16-1.fc10.i386.rpm

# yum –nogpgcheck install nvidia-x11-drv-180.16-1.fc10.i386.rpm

 
64-bit:

$ su

# yum erase *nvidia* livna-config-display

# yum install dkms kernel-devel kernel-headers

# wget http://www.dfm.uninsubria.it/compiz/fusion-testing/nvidia/x86_64/nvidia-x11-drv-180.16-1.fc10.x86_64.rpm

# wget http://www.dfm.uninsubria.it/compiz/fusion-testing/nvidia/x86_64/nvidia-x11-drv-32bit-180.16-1.fc10.x86_64.rpm

# yum –nogpgcheck install nvidia-x11-drv-180.16-1.fc10.x86_64.rpm nvidia-x11-drv-32bit-180.16-1.fc10.x86_64.rpm

 
Reboot system after install.

[Solved] No Sound in Nexuiz

Posted in Linux | No Comments »

These are the steps that I did..

Remove alsa-plugins-pulseaudio. There are 2 ways to do this, by using zypper:

# zypper rm alsa-plugins-pulse

Or by using Install/Remove Software in YaST2.

# yast2 –install

Reboot and configure audio devices in YaST -> Sound and Control Center -> Sound. Set everything to ALSA and enable ESD. Run Nexuiz with the following command:

$ nexuiz-glx -sndspeed 48000 -sndstereo

Install Microsoft Truetype fonts in OpenSUSE 11

Posted in Linux | 1 Comment »

Just click on the both links below.

webcore-fonts

webcore-fonts-vista

Sometimes there might be problems connecting to the repos (it happens to me before). Uncheck other repos if not needed and continue with the installation.

The first 24 hours with openSUSE 11

Posted in Linux | 2 Comments »

Disappointed with the latest release of Ubuntu, I decided to try something else. And here it is, the new openSUSE 11.

From installation to writing this post, i haven’t faced any problems yet. Everything was configured without any problems. The new Nvidia 173.14.09 linux driver release works perfectly. At first, there was no sound and I thought it’s caused by Pulseaudio just like what I’ve experienced in Ubuntu Hardy. But it is solved after a few configuration with alsamixer.

I’ve installed Mozilla Firefox 3, Google Earth, XMMS, K3b, Apache, MySQL, phpMyAdmin, Wine, Tremulous, VLC player, Bluefish, and many other applications. Everything works great!! CompizConfig manager is installed by default so you can straight away show off the desktop effects to Vista’s fan around you after the installation.

I have to admit that Ubuntu has the best community support, for example Ubuntuforums. However, openSUSE also provides adequate information and documentation including installation & configuration guides, tutorials and HOWTOs which you can find it at http://en.opensuse.org/Documentation. The community support is also satisfactory although it cannot beat Ubuntu’s community.. for now… :p

New Ubuntu Hardy updates screws my display!!

Posted in Linux | 1 Comment »

Just updated my Ubuntu Hardy box last night, and this is what happened after reboot.

Yes, I’m writing this post with 800×600 res with my 20″ widescreen. It sucks, ain’t it?

Don’t exactly know what causes it but I’m pretty sure that linux-restricted-modules-common and the new kernel restricted modules is the culprit here. I’ve tried to change the X server config by running nvidia-xconfig but it doesn’t work. Seems like the X server is using xorg.conf.failsafe instead of xorg.conf. I’m still trying to find the solution though.