Friday, July 16, 2010

How To Boot Ubuntu Faster

Boot process consists of a sequence of stages which you can save as an image file and view it after your system is booted using a tool called bootchart.

Install bootchart by using the following command in the terminal.
 $sudo apt-get install bootchart
Next time you will boot  , the result will be stored in /var/log/bootchart directory as a .png file.

Now verify the bootchart to see which processes are started automatically.There are some processes that can be stopped without any performance degradation by going System-->Preferences-->Startup Applications.
Some of them are
  i)acipd: It monitors battery level of laptops and special keys of keyboard like Volume Control,Web browser
                access etc. If you don't use a laptop and don't have a keyboard with special key functions you can 
                turn this off.

ii)apmd: If you don't use laptop you can disable it. (Even if yoy have a new laptop you can disable it)

iii)dns-clean , pppd-dns , ppp : If don't use dial up connection you can disable them.

iv)pcmcia , pcmciautils : If you don't have any PCMCIA slot in your machine then turn this off.

v)rsync: Used to syncronize files among computers. Disable it if don't need it.

vi)powernowd: Only useful for new pcs that cpu frequency scaling. disable it if your PC doesnot support
                         scaling.
vi)bluez-utiles: Turn it off you don't have any blue tooth device.

viii)fetchmail: A mail receiving deamon. Can be turned off.

ix)readhead: It preloads libraries which make some application start faster but make boot process slower.

x)cron: A job scheduler . Can be turned off.


 Another Tip: If you see ureadahead( a process that pulls files into memory ) is taking too much time then use
                     the following command-
                     $sudo rm /var/lib/ureadahead/*pack
Share/Save/Bookmark

Friday, July 9, 2010

Download Free Audiobooks From Public Domain

Livribox.org - If you like to listen to stories then this site is for you. It provides audio recordings of books from the public domain, i.e 100% legal.It is volunteer based projects where you can record books you like in your own voice and share with others. The site fairly simple to navigate and there are lots of free audio books available to download under various categories like Ghost Stories, Horror Stories, Aesop's fables and lot more.At the time of posting  the site has more than 3000 audio books ready to be downloaded for free.
The books can be downloaded in mp3 or ogg ( a free open standard format free from patent hazards that is specially suitable for linux users) format and in either 64 kbps or 128 kbps.
Share/Save/Bookmark

Friday, March 26, 2010

PPPoE configuration in Ubuntu

A DSL connection requires that you have an ethernet network interface card (sometimes a
USB interface that is not easily supported in Linux) in your computer.Establishing a DSL connection with an ISP providing a static IP address is easy.Unfortunately, many DSL providers use a type of PPP protocol named Point-to-Point Protocol over Ethernet (PPPoE) that provides dynamic IP address to clients.

Configuring a PPPoE Connection Manually:
 First, log in as root, and ensure that your first eth0 device is enabled and up.
Now use the adsl-setup command to set up your system.
$ sudo /sbin/adsl-setup

You will be presented with a text script and be asked to enter your username and the
Ethernet interface used for the connection (such as eth1). You will then be asked to use
“on demand” service or have the connection stay up all the time (until brought down by
the root operator). You can also set a timeout in seconds, if desired. You’ll then be asked
to enter the IP addresses of your ISP’s DNS servers if you haven’t configured the system’s
/etc/resolv.conf file.
After that, you will be prompted to enter your password two times, and have to choose
the type of firewall and IP masquerading to use. The actual configuration
is done automatically. After you have chosen your firewall and IP masquerading
setup, you will be asked to confirm, save, and implement your settings. You are also
given a choice to allow users to manage the connection, a handy option for home users.

To Start Connection
$ sudo /sbin/adsl-start

To Stop Connection
$ sudo /sbin/adsl-stop

This is the most primitive method for bradband connection supported in most linux distributions( eg- fedora,slax). But Ubuntu includes a great utility pppoeconfig for easy connection configuration.
DSL Connection using GUI in Ubuntu.(Also in Fedora,OpenSuse etc) . Though it didn't work for me in ubuntu 9.10.But for ubuntu 9.04 and fedora 11 it went fine.
Delete existing PPPoE connection.
Share/Save/Bookmark

Monday, March 1, 2010

MobaLiveCD - Run Live CD right from Windows


Downloaded the Live CD ISO of new Linux Distro and want to use it without burning it into a blank cd?  Yes It is possible. MobaLiveCd is a freeware that allows users to run live cd right from windows using the iso.
It is based on qemu and does a fantastic job by giving you the opportunity to try a linux distro without wasting a cd. It's extremely easy to use interface also saves a lot of time.
It also supports USB device.

Link:  http://mobalivecd.mobatek.net/en/
Share/Save/Bookmark

Ubuntu 9.10 - Chat with gmail friends using empathy


Ubuntu 9.10 comes with Empathy multi-protocol messenger replacing its counterpart Pidgin. But the real problem begins when adding new gmail account in empathy.It always shows 'Network Error'. Here is the trick to solve it

1.in the username field write yourgmailid@gmail.com istead of only the mail id.

2. In the advanced options enter talk.google.com in the server filed.

3. You are done.

Enjoy empathy.
Share/Save/Bookmark