Posts Tagged Ubuntu

PuTTY v1.5.0 for Symbian S60 3rd Edition

Posted in Others | 4 Comments »

Finally, this SSH client full final version was released on 26th January. This is the first non-beta release since version 1.3.2 which was dated back on January 2005. It now supports 256-bit AES encryption algorithm.

These are the actual screenshot of PuTTY connecting to my Ubuntu machine.



 
Download: PuTTY v1.5.0 S60v3

 

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.
 

Snort + BASE in Ubuntu Gutsy

Posted in Linux | 3 Comments »

What you’ll need:

  • Snort (Intrusion Detection System)
  • BASE (Basic Analysis and Security Engine)
  • Apache2 (web server)

Instructions to install and configure can be found here. It is recommended to install the latest version of Snort and its rules for better compatibility and reduce false alerts. Visit www.snort.org/dl/ to check out the latest version.

I did found some errors when running Snort which is actually an issue with MySQL 5. It occurs when there is a huge period of time gaps between alerts (4 - 6 hours):

database: mysql_error: MySQL server has gone away

QL=UPDATE sensor SET last_cid = 0 WHERE sid = 1

One of the lazy easiest possible solution is to add this line at /etc/mysql/my.cnf

wait_timeout = 10000000

Some also reported this issue is gone after removing and reinstalling mysql. If you have any other solutions to resolve this problem, feel free to share it. :)

Ubuntu 8.04 (Hardy Heron) Countdown

Posted in Linux | No Comments »

Let’s spread the word about the upcoming release of Ubuntu..!! :)

Insert this code to your webpage or blog.

<script type=”text/javascript” src=”http://www.ubuntu.com/files/countdown/display.js”></script>

Here’s what you’ll get.

Install lm-sensors in Ubuntu Gutsy

Posted in Softwares | 2 Comments »

lm-sensors is a hardware monitoring application for linux. It basically monitors voltages (VCore, +12V, +3.3V, etc.), motherboard/CPU temperatures and also fan speed. It’s the same application which i use to monitor my P4 temperature in my previous post. This is a simple tutorial on how to install lm-sensors without any configurations.

First, install lm-sensors from apt-get or Synaptic

$sudo apt-get install lm-sensors

Then, run sensors-detect and answer Yes to all questions

$sudo sensors-detect

Reboot

$sudo reboot now

Next we need to install X Sensors. Go to Applications -> Add/Remove Applications. Type sensors in the search bar and you should see X Sensors
in the list. Tick the checkbox and click Apply Changes and wait until the installation finishes.

X Sensors will be listed in Applications -> System Tools.