How to Speed Up Firefox web browser

Mozilla Firefox is a graphical web browser developed by the Mozilla Corporation. Started as a fork of the browser component (Navigator) of the Mozilla Application Suite, Firefox has replaced the Mozilla Suite as the flagship product of the Mozilla project, stewarded by the Mozilla Foundation and a large community of external contributors.

Mozilla Firefox is a cross-platform browser, providing support for various versions of Microsoft Windows, Mac OS X, and Linux. Although not officially released for certain operating systems, the freely available source code works for many other operating systems, including FreeBSD,OS/2, Solaris, SkyOS, BeOS and more recently, Windows XP Professional x64 Edition.

I am providing some Very Useful Tips to speedup your Firefox.

In your location bar, type about:config

Once it Opens You should see similar to the following screen

















Tip1

In the filter bar type network.http.pipelining

You should see the following screen



Normally it says ” false ” under value field , Double click it so it becomes ” true “.

Once you finished this you should see the following screen.




Tip2

In the filter bar again and type network.http.pipelining.maxrequests

Once it Opens You should see the following screen



Default it says 4 under value field and you need to change it to 8

Once you finished this you should see the following screen.




Tip3

Go to the filter bar again and type network.http.proxy.pipelining

Once it Opens You should see similar to the following screen



Normally it says ” false ” under value field , Double click it so it becomes ” true “.

Once you finished this you should see the following screen.



Tip4

Go to the filter bar again and type network.dns.disableIPv6

Once it Opens You should see the following screen




Normally it says ” false ” under value field , Double click it so it becomes ” true “.

Once you finished this you should see the following screen.



Tip5

Go to the filter bar again and type plugin.expose_full_path

Once it Opens You should see the following screen




Normally it says ” false ” under value field , Double click it so it becomes ” true “.

Once you finished this you should see the following screen.



Tip6

Now you need to Create new Preference name with interger value for this got to Right click -> New -> Integer



Once it opens you should see the following screen




Here you need to type nglayout.initialpaint.delay and click ok



Now you need to enter 0 in value filed and click ok



Once you finished this you should see the following screen.



Tip7

Now you need to Create one more Preference name with interger value for this got to Right click -> New -> Integer



Once it opens you should see the following screen




Here you need to type content.notify.backoffcount and click ok



Now you need to enter 5 in value filed and click ok




Once you finished this you should see the following screen.




Tip8

Now you need to Create one more Preference name with interger value for this got to Right click -> New -> Integer




Once it opens you should see the following screen



Here you need to type ui.submenuDelay and click ok



Now you need to enter 0 in value filed and click ok




Once you finished this you should see the following screen.



Some more Tweaks

Enable the spellchecker for inputfields and textareas (default is textareas only)

layout.spellcheckDefault=2

Open lastfm://-links directly in amarok

network.protocol-handler.app.lastfm=amarok
network.protocol-handler.external.lastfm=true

Firefox Memory Leak Fix

Open a new tab. Type “about:config” without quotes into the address bar and hit enter/click Go.

Right-click anywhere, select New, then Integer. In the dialog prompt that appears, type:

browser.cache.memory.capacity

Click OK. Another dialog prompt will appear. This is where you decide how much memory to allocate to Firefox. This depends on how much RAM your computer has, but generally you don’t want to allocate too little (under 8MB), but if you allocate too much, you might as well not do this. A good recommended setting is 16MB. If you want 16MB, enter this value into the dialog prompt:

16384

(Why 16384 instead of 16000? Because computers use base-12 counting. Thus 16 megabytes = 16384 bytes. Likewise, if you want to double that and allocate 32MB, you’d enter 32768.)

Click OK to close the dialog box, then close all instances of Firefox and restart. If your Firefox still uses the same amount of memory, give it a few minutes and it should slowly clear up. If that fails, try a system reboot.

Now your Firefox will now be 3 - 30 times faster in loading pages.

How to Post Summary (Read more Function)

Blogger has supported Read more function - To complete the 10th anniversary gifts, now blogger has added one awaited button by thousands bloggers all around the world, it is "Jump Break" button or "More" button or "Read more" button that has function to cut off the article on homepage or known as "read more function".








It means, to cut off the long article on the homepage to be shorter, you only need to click the button " Jump break " and you do not need to be on the go to type the read more code from any hack.



However, it seems that this button only appears on the new post editor and in the mode "Compose", and does not appear in the mode "Edit HTML". Even though, you cans till use the “ read more function " at old post editor as well as in the mode “"Edit HTML" by typing manually the code: < !-- more -->







If you use the original template from blogger, you can directly enjoy the feature and the result will appear the text “ Read more » “ like this:







If you do not use the original template from blogger, for instance, you download it from another site, the "Read more function" will still function very well. In other words, your articles will be cut off, but the words “Read more »" will not appear. For this case, you have to add the additional code to your template. The following are the steps:







Please log in to Blogger with your ID

Click Layout.

Click Edit HTML tab

Check the small box next to " Expand Widget Template "





5.Find the code like:



< div class='post-body entry-content'>

< data:post.body/>

< div style='clear: both;'/> < !-- clear for photos floats -->

< /div>



6.Copy and paste the code below exactly below the above code:



< b:if cond='data:post.hasJumpLink'>

< div class='jump-link'>

< a expr:href='data:post.url + "#more"'>< data:post.jumpText/>< /a>

< /div>

< /b:if>







Click SAVE TEMPALTE button

Done

With that way, the words “Read more »" will appear although you don’t use the original template from blogger.











By default, the words to be displayed is “Read more »”, but you can change as you want. Here is the way:







Please log in to blogger with your ID

Click Layout.

Click Page Elements tab

Click "Edit" on "Blog posts" Element





After new window appears, change the words “Read more” with your own words.





Click SAVE button

Done

It is finish good luck and keep blogging

How to burn bin & cue file to DVD


I've been playing around with Torrent downloads few weeks ago and encounter this problem to burn a bin & cue files that I've downloaded. Seems stupid right? I suppose to have it done perfectly in Nero but then the problem appears and it took me hours to think about this simple solution.






The Problem

Let me list my problem on burning this bin and cue files using Nero.





•The bin file size is larger than maximum CD-R size. It is about 2.9GB

•Every time I load the cue file through the Burn Image menu in Nero, it will automatically set it to burn on a CD-R. How stupid is this?

•I can't find ways to change the target media to burn it to DVD from the automatically set CD-R media. Am I stupid then?





The Solution

After struggling with Nero and everything I got in my PC, then I've come out with this simple and easy solution to solve the problem. Actually, I have Virtual DEAMON installed in my PC. For those who don't know about the software, it works as my virtual drive where I can load any image files (iso, nrg or cue) and then use them like I'm loading the CD or DVD on my drive. So, I'm using this drive to pretend that I have it already burned on a DVD and then copy them via Nero...



•Firstly, Load/mount the cue file on my virtual drive

•Then open up Nero to burn a DVD

•Select all the files in the virtual drive DVD.

•Burn the new DVD



That's all. I got the cue & bin files burned on my DVD using Nero with this simple tricks. I hope this information will help others who encountered the same stupid problems until Nero updated their burning software.

How to Check Wireless link quality in Ubuntu Linux

Iwspy is used to set a list of addresses to monitor in a wireless network interface and to read back quality of link information for each of those. This information is the same as the one available in /proc/net/wireless : quality of the link, signal strength and noise level.This information is updated each time a new packet is received, so each address of the list adds some overhead in the driver.


Note that this functionality works only for nodes part of the current wireless cell, you can not monitor Access Points you are not associated with (you can use Scanning for that) and nodes in other cells. In Managed mode, in most case packets are relayed by the Access Point, in this case you will get the signal strength of the Access Point. For those reasons this functionality is mostly useful in Ad-Hoc and Master mode.

The iwspy command provides statistics on the quality of the link between your NIC and another wireless device on the network. It doesn’t run all the time; you have to activate iwspy on your interface first. When not activated, iwspy gives a “no statistics to collect” error message.You can try the following commands

sudo iwspy wlan0

wlan0: No statistics to collect

Activation requires you to specify the target IP address and the wireless NIC interface through which it can be found.

sudo iwspy wlan0 192.168.1.1

If you use the iwspy command without the IP address it provides WLAN statistics with a typical/reference value against which it can be compared. In the example that follows the signal is considered fairly strong, with a 64/92 quality value versus a typical 36/92 value, but it could be weak by the historical values on your network. It’s good to check this from time to time for fluctuations.

sudo iwspy wlan0

eth0 Statistics collected:
00:09:5B:C9:19:22 : Quality:0 Signal level:0 Noise level:0
Link/Cell/AP : Quality:64/92 Signal level:-51 dBm Noise level:-149 dBm (updated)
Typical/Reference : Quality:36/92 Signal level:-62 dBm Noise level:-98 dBm

To switch off iwspy monitoring, use the following command

sudo iwspy wlan0 off

How to Fix for Broadcom 4328 v3 wireless problem in Ubuntu 9.10 (Karmic)

This tutorial will explain how to fix Broadcom 4328 v3 wireless problem in ubuntu karmic

Try unloading the module (sudo modprobe -r wl) then reload the module (sudo modprobe wl). You should now connect, however it may freeze… the broadcom module is a PITA and I had consistent, yet random system lock ups.

The instructions below will compile the most current version of the bcmwl driver and replace the currently supplied version.

This method has the advantage that in the event there is a update, your newer file will simply be replaced during the upgrade. Keep in mind however that in the event there is a kernel update you will have to repeat the process as the update will overwrite your custom wl.ko.

Also keep in mind that since this a closed source binary “blob” YMMV.

Procedure to follow
First you need to download latest broadcom drivers from here

Make a directory and extract the files in the archive

mkdir bcmwl

tar xvf ‘hybrid-portsrc-x86_32-v5.10.91.9.3.tar (1).gz’ -C bcmwl

Compile the source

You will need to install the build-essential and kernel headers packages

sudo apt-get install build-essential kernel-header-`uname -r`

To Compile the driver

cd bcmwl

make clean

make

replace the current driver file with the one that you just compiled.

sudo mv ./wl.ko /lib/modules/`uname -r`/updates/dkms/wl.ko




Related articles

Increase your internet speed with Namebench

Howto setup Second IP address or Virtual IP address to your Networkcard in ubuntu

Debian/Ubuntu GNU/Linux device driver check.

iPhone Tethering on Ubuntu 9.10 (Karmic)

How to check device driver in Debian/Ubuntu GNU/Linux

This very useful tool to check Debian GNU/Linux device driver check page.Ubuntu is based on Debian GNU/Linux so let us try this and see the results


Boot your machine with a GNU/Linux OS (such as Debian, Knoppix, Redhat, and so on), run ‘lspci -n’ and paste the output into the box below, then press ‘Check’ button.

Notice:

◦This database uses the PCI map of Debian kernel 2.6.31-1-686 .

◦The result does NOT guarantee your hardware works perfectly.

◦This database only verifies the PCI devices at this time. X drivers, ISA, USB, IEEE1394 or any other devices are out of the focus.

The system then checks a database to see if each of your devices is supported, and gives you a handy readout that shows which drivers you should use for each device.

Check Your device drivers list from here

How to build your own low cost superb wifi booster.

Wireless have been widely used in houses and offices. I'm also using the Linksys WRT54G in my house to allow me to access internet where ever I am in my house. Whether I'm in the living room, on my study room or even at my balcony. However, as my house have 2 floor, I found some spots where the signal is so weak... So, I'm searching on how to boost up the signal without having to buy new Access Point. Then I found this cheap hack to boost my wireless signal. It is a Parabolic Wifi Booster.







 





I believe this hacks works well as it have many versions and have been widely used by others... You can have a look at this Ez-12 Parabolic Reflector Template that use the same technique

How to Recover MySQL Database root password

By default, MySQL Server will be installed with root superuser without any password. You can connect to MySQL server as root without requiring password or by keying in blank password. However, if you have set the password for root and forget or unable to recall the password, then you will need to reset the root password for MySQL.



Login as root to the Unix-like (Unix, Linux or BSD) machine with the MySQL server.

Stop the MySQL server by using either of the following command

#/etc/init.d/mysql stop

Now you need to Start MySQL server without password

# mysqld_safe --skip-grant-tables &

Connect to mysql server using mysql client with the following command

# mysql -u root

Now you should be having mysql prompt

mysql>

Now you need to Setup new MySQL root user password

mysql> use mysql;


mysql> update user set password=PASSWORD(“newrootpassword”) where user=’root’;


mysql> flush privileges;


mysql> quit



Note: Replace newrootpassword with the new root password for MySQL server. Flush Privileges is needed to making the password change effect immediately.



Now you need to Stop MySQL Server using the following command

# /etc/init.d/mysql stop

Test Your New Mysql root password

First you need to start mysql server using the following command

# /etc/init.d/mysql start


# mysql -u root -p


Now it will prompt for root password and enter your new root password

MySQL Database Server Installation and configuration

MySQL is a fast, stable and true multi-user, multi-threaded SQL database server. SQL (Structured Query Language) is the most popular database query language in the world. The main goals of MySQL are speed, robustness and ease of use.




Mysql Database Installation in Debian


If you want to install the Mysql base system as well as a textual client run the following command from your shell

#apt-get install mysql-server-4.1 mysql-client-4.1


Now that MySQL is installed, you may want to know how to configure it.

Configuring Mysql Database

We assume that mysqladmin and mysql, which should have been installed when you got the MySQL packages. First, if you haven’t done this already, set the root password for MySQL. You can do this by typing:


#mysqladmin -u root password ‘passwordyouwant’

Now that the root password is set, connect to your MySQL server:

#mysql -u root -p

It will prompt you for a password. Make sure to enter the one you just/previously set. You should now be left at a prompt which looks like this:


mysql>

At this point, you will create basic permissions for a user and database. For my setup, I want to allow access to localhost to all databases, and a computer which is also on the network, which is referred to as “windowsbox” will have access to all databases.

To access the user, host databases, etc… type this;

mysql> use mysql;

Database changed

mysql>

To give localhost permission to access all databases, enter this:

mysql> insert into
-> host(host,db,Select_priv, Insert_priv, Update_priv,
-> Delete_priv, Create_priv, Drop_priv)
-> values(‘localhost’,'%’,'Y’,'Y’,'Y’,'Y’,'Y’,'Y’);


Note, the ‘%’ can be replaced with a database name. The ‘%’ is a wildcard.

Following the previous format, to allow access from another hostname (in this case “windowsbox”) add this:

mysql> insert into
-> host(host,db,Select_priv, Insert_priv, Update_priv,
-> Delete_priv, Create_priv, Drop_priv)
-> values(‘windowsbox’,'%’,'Y’,'Y’,'Y’,'Y’,'Y’,'Y’);


Again, ‘%’ is used as a Wild-Card.

To create a user ‘djg’ who can access the MySQL server from localhost, type this:


mysql> insert into
-> user (host, user, password)
-> values(‘localhost’,'djg’,password(‘mypassword’));



To give the user access from another hostname, domain, etc… add other entries accordingly. For example,to give user djg access from windowsbox:


mysql> insert into
-> user (host, user, password)
-> values(‘windowsbox’,'djg’,password(‘mypassword’));


Now… to give the user permissions to access a database from localhost, add this entry and change with your appropriate information:


mysql> insert into
-> db (host,db,user,Select_priv, Insert_priv, Update_priv, Delete_priv, Create_priv, Drop_priv)
-> values (‘localhost’,'mydatabase’,'djg’,'Y’,'Y’,'Y’,'Y’,'Y’,'Y’);


To give the user permissions from windowsbox, add this:

mysql> insert into
-> db (host,db,user,Select_priv, Insert_priv, Update_priv, Delete_priv, Create_priv, Drop_priv)
-> values (‘windowsbox’,'mydatabase’,'djg’,'Y’,'Y’,'Y’,'Y’,'Y’,'Y’);


Now, type: quit and you will exit mysql.

Finally, create the actual database (in this case, ‘mydatabase’) type this:

#mysqladmin -u root -p create mydatabase

After prompting you for a password, it should create the database. At this point, you must reload MySQL. Type:

#mysqladmin -u root -p reload

After prompting you for a password it should reload MySQL.


Congratulations. If all goes well you have set up a user and database with MySQL. You may now create /edit/delete/etc tables as much as you’d like.

Also, please note that by default, MySQL will open up network port 3306 to allow remote requests.

If you do not want this port open, append “--skip-networking” when running safe_mysqld to start
the daemon. Debian users can edit /etc/init.d/mysqld and change this line:

/usr/bin/safe_mysqld > /www.null 2>&1 &

to this:

/usr/bin/safe_mysqld --skip-networking > /www.null 2>&1 &

Now whenever running /etc/init.d/mysql start, it will not open up port 3306.

If you want o install mysql database in ubuntu you can use the same procedure.

How to Crack Rar, 7z, and zip files in Linux

If you forget your password for compressed archive (rar, 7z, zip), this program is the solution.This program uses bruteforce algorithm to find correct password. You can specify wich characters will be used in password generations.



Warning: Please don’t use this program for any illegal things!


Preparing your system

First you need to install the following package

#apt-get install libxml2-dev build-essential


Now you need to download the latest version of rarcrack from here

#wget http://surfnet.dl.sourceforge.net/sourceforge/rarcrack/rarcrack-0.2.tar.bz2


Now you have rarcrack-0.2.tar.bz2 file and you need to extract this file

#tar -xjf rarcrack-0.2.tar.bz2

#cd rarcrack-0.2

#make


You must be root to run the following command

#make install


Using Rarcrack

rarcrack your_encrypted_archive.ext [--threads thread_num] [--type rar|zip|7z]


Example

rarcrack something.rar


After the cracking started RarCrack will print the current status of cracking and save it’s to a status file. If you want more specific password character set, you need to run RarCrack to create the XML status file (3 sec).

Enabling Serial Console on /dev/ttyAM1 in TS-7260




I'm running Debian on SD card for this TS-7260. I decided to switch the serial console to the second port which is /dev/ttyAM1 because I'm going to use the first serial /dev/ttyAM0 for my Wavecom GPRS modem. So, I open the /etc/inittab and just realize that serial console on /dev/ttyAM1 is already there.



Then I grab my RS-232 cable and plug it from my /dev/ttyS0 on my PC to the /dev/ttyAM1 on the TS-ARM board... after waiting for some seconds, my minicom shows the login...


Debian GNU/Linux 3.1 ts7000 ttyAM1



ts7000 login:



So, I type root and press the enter... the console returns, "Login incorrect"... WTF!!

How come the serial console on the second port is useless for root? The solution for this is actually very simple. But it took me some minutes to figure it out... hehehe...

Thank god, i've already fixed the ssh, so i can ssh to the board...

$ ssh root@10.1.1.91
$ Password:

The solution is, edit the /etc/securetty file...

$ vi /etc/securetty

And then add the line ttyAM1 under the ttyAM0 in the /etc/securetty file... press escape and type :wq

That's it. Reboot the board. and now i can login with root on my second serial console. Thanks to the guys in #debian at freenode for pointing me to the right direction.

How to Block a Port in Squid Proxy , Ubuntu Linux

Here I will show you how to block a port using squid proxy server and open this port for a selected user.




First you have to open squid configuration
 file /etc/squid/squid.conf

# vi /etc/squid/squid.conf


Locate your Access Control (ACL) section in the file and add the following lines:

acl block_port port 1234
http_access deny block_port
http_access allow all


If you just want to skip a particular IP (192.168.0.101) try as follows:

acl block_port port 1234
acl no_block_port_ip src 192.168.1.5
http_access deny block_port !no_block_port_ip
http_access allow all


Close and save the file.

Restart Your squid proxy server:
# /etc/init.d/squid restart

How to install Graphical Front End for Iptables in Ubuntu /debian Linux : Vuurmuur



Vuurmuur is graphical front end for famous firewall software iptables. You can make complex firewall rules in simple steps. Vuurmuur supports traffic shaping, has powerful monitoring features, which allow the administrator to look at the logs, connections and bandwidth usage in realtime.



install in ubuntu (jaunty and later)

$ sudo apt-get install vuurmuur

How to increase downloading Speed with Prozilla Download Accelerator for Linux

Windows Users are pretty lucky as compared to Linux and Mac users. Since for windows you can get any type of freeware application, utility and tools but incase of Linux most of the time you need to reply on default apps provided with Linux. Same is case of Download Accelerators for Linux.


Download Accelerator optimizes your network settings and lets you to download files with apex 100% to 200% faster downloading speed. ProZilla 2.0.4 is Freeware Linux Download Accelerator which increases your download speed on your Linux machine.

Features of ProZilla 2.0.4 Download Accelerator for Linux

1. Supports FTP & HTTP including redirection (ProZilla & ProzGUI).

2. Resume Supported (ProZilla & ProzGUI).

3. Complete acceleration: The file will be downloaded as fast as possible as your bandwidth allows if not otherwise specified (ProZilla & ProzGUI).

4. Unlike certain other download accelerators available for Linux, this really works.

5. The number of connections that prozilla uses can be specified (ProZilla & ProzGUI).

6. FTPsearch support now permits fetching Mirror locations and pinging them and selecting the fastest server is automatically done (ProZilla & ProzGUI).

7. Downloading the same file in parts from several servers at once to increase speed (ProzGUI).

Screenshots of ProZilla 2.0.4 Download Accelerator for Linux

Prozilla 2.0.4 Console






ProZilla 2.0.4 GUI








Download Freeware ProZilla 2.0.4 for various Linux Flavor and increase downloading speed on linux.

How to Open, Extract and Convert DAA, ISO and BIN Files in Linux with Free PowerISO for Linux

PowerISO provides a free PowerISO for Linux utility which can extract, list, and convert image files in Linux. The image file formats supported by the free PowerISO utility including ISO, BIN, DAA, and some other formats. The Linux based PowerISO is command line utility. For novice Linux users including those trying to handle the image files in web host running CentOS or FreeBSD, here’s a simply guide on how to download, install and use the PowerISO for Linux.

PowerISO for Linux comes with a general help switch which display detailed usage information. To display the help for PowerISO, use the following command:

poweriso -?

To download PowerISO for Linux in Linux, use wget program. Else download the free PowerISO for Linux from here or directly download poweriso-1.1.tar.gz. Uncompress the archive and then upload or transfer to the Linux server.

wget http://poweriso.com/poweriso-1.1.tar.gz

Extract and unpack the tar.gz archive with following command:

tar -zxvf poweriso.tar.gz

Syntax and example usage of PowerISO

To list all files and directories in the root directory of mydisc.iso image file located in /home/user/, use one of the following commands. -r will make the command works recursively, which will display all sub-directories in this case.

./poweriso list /home/user/mydisc.iso /
./poweriso list /home/user/mydisc.iso / -r

To extract files and directories (all the contents) from /home/user/mydisc.daa to /tmp recursively including all sub-directories and its files, use the following command. -od specifies target folder.

./poweriso extract  /home/user/mydisc.daa / -od /tmp

To convert .DAA image file to another disk image format, such as .ISO file, use the following command. For example, the mydisc.daa file is located in /home/user and will be converted and have the converted ISO placed in /tmp folder as mydisc.iso. -o switch specifies destination output image file name, while -ot specifies output image file type. If -ot is not specified, the output image file type will be determined by file name suffix specified by -o parameter.

./poweriso             convert             /home/user/mydisc.daa    -          o   /temp/mydisc.iso -ot iso

How to Extract rar files in Linux

RAR is a proprietary compression format widely used today. It’s supposedly has 30% higher compression rate when compared with WinZip. If you download large torrent then chances are you are are already well acquainted with RAR.


I use RAR on my Windows and Linux boxes everyday and today I’ll show you how to extract RAR files from the Linux command line.

In Linux, to extract a RAR file you would use the unrar command. The unrar binaries are typically not included with the default Linux install so you will have to install them either through the package manager or by downloading binaries from rarlab.com


Let’s get to the HowTo now,



Extract a RAR file into the curren directory.

# unrar e [filename].rar



Extract a RAR file with the full file path.

# unrar x [filename].rar



List contents of a RAR file

# unrar l [filename].rar


Test intergruty of a RAR file

# unrar t [filename].rar

How to Install rar and unrar programs in Linux or Unix

However, I am a linux supporter and I don't want to make you upset while bumping into this blog and didn't really get what you need. So, here is how to install rar and unrar on other linux distributions..see this .How to create and extract rar files in linux




Under Debian Linux, you can use the same apt-get method as follows to install unrar program:
$ apt-get install unrar


If you are using Fedora core Linux then use yum command as follows:
$ yum install unrar


If you are using FreeBSD, you can use:
$ pkg_add -v -r unrar


If any of above, methods is not working, you can download binary package from official rarlab site and choose the right package for your machine... for example, i chose the latest (by the time i write this post):


$ cd /tmp$
wget http://www.rarlab.com/rar/rarlinux-3.7.1.tar.gz

then untar the file:

$ tar -zxvf rarlinux-3.7.1.tar.gz


Both rar and unrar commands are located in rar sub-directory. Just go to rar directory:

$ cd rar$ ./unrar


Now copy rar and unrar to /bin directory:

$ cp rar unrar /bin

Then you can use the same method on creating and extracting rar files in linux in my previous post.



Another thing to add, you can also test the integrity of archive, with this command:

$ unrar t filename.rar

or list the files inside the rar file using this command:

$ unrar l filename.rar

that's it... hope it helps...

How to Create and Extract RAR Files in Linux

I've been sharing mp3s with my close friends for years. We share mp3 files within our same interest in music. As I'm now a total Linux desktop user (I didn't use windows anymore ), I have to find way to create and extract RAR files in Linux since we share the files in compressed RAR files in less than 5MB split.




I always think that my findings in my Linux journey can also help others... So, here is the way to create RAR file in Ubuntu Linux.



First, make sure you have already install unrar and rar which you can get it by issuing this command in your terminal (Application > Accessories > Terminal) ...



$ sudo apt-get install rar unrar







In order to create RAR file, you can just right click on the selected files and click on "Create Archive...", select .rar on the archive dropdown and click on "Create". But, if you wanna extra control, you can use your great powerful terminal to do so. Here's what I do to Create a RAR file splitted to less than 5MB parts...



Open up your terminal and cd to directory with your file to RAR and split. As it is on my /home/dasurendra/Music directory, I'm going there to find my files. [Note: just type the command in bold without the dollar sign]



$ cd /home/dasurendra/Music

$ ls -lh *.mp3

-rw-r--r-- 1 dasurendra dasurendra 6.7M 2008-03-10 16:21 Senandung-nepoli.mp3



then I issue this command to create RAR file containing this mp3 file. I want each part to be less than 4MB...



$ rar a -v4000k Senandung-malam.mp3.rar Senandung-malam.mp3

RAR 3.70 beta 1 Copyright (c) 1993-2007 Alexander Roshal 8 Jan 2007

Shareware version Type RAR -? for help



Evaluation copy. Please register.



Creating archive nepoli..mp3.rar



Adding nepoli.mp3

Calculating the control sum



Creating archive Senandung-malam.mp3.part2.rar



... nepoli..mp3 OK

Calculating the control sum

Done

$



Now I have two parts of rar files. Extracting these files should be more simpler on GUI. Check it out on my previous post on How to Extract RAR files in Ubuntu Linux. In case of many parts, just right click on the first part and choose extract here.



In order to do it in your terminal, just issue this command...



$ unrar e nepoli..mp3.part1.rar .



The program will find for the continuous parts and extract the file. That's all.. Hope it helps you... Good Luck and have fun!

Howto Create .ISO images from CD or DVD in Linux



In Linux computer, we have a simple tool to create CD or DVD .ISO file. This is very helpfull to backup your CD and DVD into ISO images:










To make an ISO from your CD/DVD, place the media in your drive but do not mount it. If it automounts, unmount it.

for dvd:
$ dd if=/dev/dvd of=mydvd.iso

for cdrom:

$ dd if=/dev/cdrom of=mycd.iso


for scsi cdrom:

$ dd if=/dev/scd0 of=mycd.iso



And if you wanna make an ISO from files on your hard drive, create a directory which holds the files you want. Then use the mkisofs command.

mkisofs -o /tmp/mycd.iso /tmp/directory/


This results in a file called cd.iso in folder /tmp which contains all the files and directories in /tmp/directory/.

For more info, see the man pages for mkisofs, losetup, and dd, or see the CD-Writing-HOWTO at http://www.tldp.org/. Enjoy Linux!!

How to Open and Extract .DAA Image Files

DAA stands for Direct Access Archive is PowerISO proprietary and private disk image format which supports compression, password protection, and split into multiple volumes. Which mean .DAA files are exact replicate of a disk, normally CD or DVD, and can be a software program, game, music CD, movie collections, bootable CD and any other CD or DVD discs you can found in the market or simply alternative contents built and put into .DAA image by somebody.

Unfortunately, PowerISO does not release DAA format to third party. It means that you have to download and install PowerISO application program to open or extract data and contents inside the .DAA files. PowerISO is a powerful CD/DVD image file processing tool, which allows you to open, extract, create, edit, compress, encrypt, split and convert ISO, BIN, NRG, CDI, DAA files, and mount these files with internal virtual drive.

Another unfortunate things PowerISO is not a freeware, but a trialware which costs USD $29.95 to register a license and receive serial key. Although there’re cracks or keygens (key makers or key generators) to register the trial copy of PowerISO to fully registered and full functionality available on warez sites, however you no need to violate the copyright law. PowerISO offers users to download free copy of PowerISO for evaluation and try. The unregistered version has all the functions and features that paid registered version has, except that there is a dialog prompts users to register, and users cannot create or edit image files greater than 300MB. So it’s perfectly fine if you just want to open and extract the .DAA files in PowerISO Image Manager, burn the image to disc, or mount the .DAA image to virtual drive without burning to CD or DVD disc.

Download PowerISO version 3.8. For latest version, visit PowerISO download page.

If you’re using Linux, PowerISO also provides a free utility to extract, list, and convert image files of ISO, BIN, DAA, and more. Download poweriso-1.1.tar.gz. Another option for Linux users is AcetoneISO. AcetoneISO (now AcetoneISO2) is a free, open source CD/DVD image manipulator software for Linux with KDE or GNOME that let users mount images formats for Windows or Apple such as ISO, BIN, NRG, MDF, IMG, DAA, DMG and other formats, and then browse, extract, edit, add, convert or perform other tasks on the image. Download AcetoneISO from here.

How to make Ubnutu 9.10 Karmic Koala Multimedia Ready

Ubuntu 9.10 Required the following steps to Run Multimedia files like MP3, AVI, Mpeg, 3gp etc...

In Ubuntu 9.10 "Karmic Koala", the universe, multiverse and restricted repositories are activated by default.

For installing Multimedia files you need to add medibuntu repositories.

Run the following in command mode it will add medibuntu repositories in your sources list

$ sudo wget http://www.medibuntu.org/sources.list.d/karmic.list --output-document=/etc/apt/sources.list.d/medibuntu.list

then Add the GPG Key:

$ sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update

Run
$ sudo apt-get update


Now you can Install non-free-codecs
$ sudo apt-get install non-free-codecs

It will enables your system to support for MP3 and various other audio formats, unrar. Java runtime environment, Flash plugin, Microsoft fonts, w32codecs etc!

You can install more codecs and DVD Support by using
$ sudo apt-get install libdvdcss2 libxine1-ffmpeg gxine mencoder


It will help you to run DVDs, AVI files and other mpeg codecs.

Now Install Famous VLC player and Mplayer
$ sudo apt-get install vlc mplayer


You can Install following interesting and useful utilities

Audio Editing Software Audacity
$ sudo apt-get install audacity


Adobe Acrobat Reader
$sudo apt-get install acroread acroread-plugins


If you have problem with any package add the following to you repositories

open /etc/apt/sources.list and add the following

deb http://ppa.launchpad.net/rvm/libs/ubuntu karmic main
deb http://ppa.launchpad.net/c-korn/vlc/ubuntu karmic main



OR Open Applications -->Ubuntu Software Center and then selectEdit --> Software Sources and Then Select the tab Other Software and ADD the above repositories

Run the Following Commands for avoiding Key Problems

$ sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com
0DA7581859566E92

$sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com
 D739676F7613768D

How to Sync Wireless iPhone with Amarok( ubuntu)

The following guide allows you to wirelessly sync an iPhone with Amarok in Ubuntu 7.10, including adding, editing and playing songs and playlists.




Note :- it requires a jailbroken iPhone.

Step1 :- Set up the iPhone


On your iPhone:

Click Settings ? General and set Auto-lock to Never. This will ensure the iPhone keeps the WiFi connection open.


Click Settings ? WiFi and select your WiFi network. Click the Static button and change the IP Address to something outside the dynamically assigned range of your network. For example, if your wireless router normally assigns 192.168.1.1 - 192.168.1.5, try 192.168.1.10. This will ensure your iPhone is always contactable at the same address for syncing.



Open Installer.

Click on All Packages ? OpenSSH ? Install.

Click All Packages ? BSD Subsystem ? Install



Step2 :- Set up Ubuntu


A third party source provides the ipod convenience package needed to properly mount and unmount an iPhone or iPod Touch, and for gtkpod users, a newer gtkpod that’s required for the iPhone and iPod Touch.

First you need to edit the /etc/apt/sources.list file

    sudo gedit /etc/apt/sources.list

add the following line

   deb http://ppa.launchpad.net/ipod-touch/ubuntu gutsy main

Save and exit the file

Update the source list

 sudo aptitude update

Install the ipod-convenience and amarok packages

  sudo aptitude install ipod-convenience amarok

When asked, enter the IP address of your iPod Touch or iPhone that you selected earlier. When asked for a folder to mount your iPod Touch or iPhone, either leave the default of /media/ipod or another folder if you prefer - just remember to use that folder name for rest of this guide. The package will make the folder for you.


Step3 :- Set up Amarok


Click Applications ? Sound and Video ? Amarok

When you first open up Amarok:

Click Settings ? Configure Amarok.

Choose Media Devices.

Hit Add Device.

Select Apple iPod Media Device for the plugin type.

Point it at your mount point, /media/ipod.

Back in the main app, click the blue cog icon called Configure Device just above the iPhone or iPod Touch. For Pre-Connect Command, add iphone-mount, for the Post-Disconnect Command, add iphone-umount

Click Connect. After entering your password, your iPhone or iPod touch should now appear in Amarok.

You can now add, edit, and delete music to the iPhone like any other device. Just drag the music files into Amarok, and hit Transfer to move them to your iPhone. When you’re done, stop any music playing from the iPhone and click Disconnect.

Music should show now up in the iPhone immediately.

Note: If music doesn’t show up immediately this may be due to a bug recent BSD Subsystem packages missing the killall command. If so, you can download killall for iPhone, move the ‘killall’ file to /usr/bin/on your iPhone, and enable the execute permission.



How to install PHP6 in ubuntu / Debian Linux

The full stable version of PHP6 is not yet released. But pre-built package is available. Early birds can start now. You can install a development snapshot of PHP 6 and preview it for its features and you can check your old scripts ( PHP 6 have some backwards-compatibility issues), so check your existing codes.


Howto Install PHP6 in Ubuntu / debian linux.

First you have to install GCC and GNU make utility

     $sudo apt-get install build-essential

Now PHP6 installation needs some additional libraries

•Apache development headers, such as apache-prefork-dev
•International Component for Unicode (ICU) library, libicu-dev
•The XML2 development headers, libxml2-de etc

You can install the above using
  $ sudo apt-get install apache-prefork-dev libicu-dev libxml2-dev

Now you can download latest PHP6 package from here
 http://snaps.php.net/

$ tar -xzvf php6.0-xxxxxx.tar.gz

Now Change directory to the new directory made by tar and start configuration

$ cd php6.0-xxxxxx
$ sudo ./configure --exec-prefix=/usr
--with-apxs2=/usr/bin/apxs2
--with-config-file-path=/etc/php6
$ sudo make
$ sudo make test
$ sudo make install

How to Burn a CD’s/DVD’s in Ubuntu Linux

GnomeBaker is a Gnome CD/DVD burning application.GnomeBaker is a GTK2/Gnome CD/DVD burning application. I’ve been writing it in my spare time so progress is fairly slow. It’s more of a personal project as I wanted to have a go at developing on Linux and I figured that as I had got this far I may as well let it loose on the world. Maybe someone will like it and use it.


It requires a recent version of cdtools (cdrecord, readcd, cdda2wav and mkisofs), version 2 or greater should be okay. It also requires growisofs for DVD burning.


GnomeBaker Features

Create data CDs.
Blank RW disks.
Burn DVDs.
Copy data CDs.
Copy audio CDs.
Support multisession burning.
Record to and burn from existing CD ISO images.
Can burn via SCSI and ATAPI on Linux kernels 2.4 and 2.6. Basically if cdrecord works, then GnomeBaker will work.
Drag and drop to create data CDs (including drag and drop to/from the Nautilus file manager).
Create audio CDs from existing WAV, MP3, FLAC, and Ogg files.
Integrate with GConf for storage of application settings.


Install GnomeBaker in Ubuntu

sudo aptitude install gnomebaker

This will complete the installation.

After the program is installed, open it by doing Applications--->Sound & Video--->GnomeBaker







Once it opens you should see similar to the following screen





Burn Data CD Using gnomebaker

If you wish to make a Data CD, click Data CD near the bottom.

Add the files and click “Burn”


Burn Audio CD Using gnomebaker

If you want to make an Audio CD, click Audio CD instead of Data CD.

Change the audio CD length from 21 minutes to 80 minutes (a standard CD size) so that you can add a reasonable amount of music to the CD.

Add the music and hit “Burn”.


Burn .iso using gnomebaker

To make an ISO image, click Tools, and then Burn CD/DVD image depending on if you are burning to a CD or DVD. Then you will need to find the location of the ISO image (e.g /home/name/Desktop/someiso.iso)

You can copy another CD/DVD or Audio CD by selecting the option that applies from the Tools menu.


Writing a multisession disk with GnomeBaker

1st Session:

1. Add Files to Data Disk

2. Create data disk. Mode=”default” or “tao” (default should be tao, i.e. track-at-once).

3. Start

4. Ok.

Next session:

1. Import the previous session(s) (Import button). You might have to unmount the disk manually in case you get errors at importing the disk (apparently GnomeBaker can’t handle very well the unmounting of a mounted CD)

2. Add Files to Data Disk

3. Create data disk. Mode=”default” or “tao” (default should be tao, i.e. track-at-once).

4. Start

5. Ok.

And that’s it. You should have now a multisession disk.

How to Recover Lost Skype Password from Ubuntu

Lost my Skype password. How can I retrieve it?

If you have forgotten your Skype password, No Problem, you can request for a new password Click Here. and enter your email address, new password token sent to the email address you used to originally register with Skype.

Now you will receive an email containing a link to skypes's secure website and a token to change your password. The token will be valid for 6 hours from the time of generation. If you do not use it within this timeframe, you will have to request another one.


If Your registered is also forgotten ?

Now you will need to contact skype customer support with the following details. They will attempt to verify your account and make the appropriate changes.

They need:

- Your billing address.

- The date of your last purchase of a Skype product.

- And the last two phone numbers called using your Skype Credit.

How to make Ubuntu 9.04 (Jaunty Jackalope) Multimedia Ready

Ubuntu 9.04 Required the foll0wing steps to Run Multimedia files like MP3, AVI, Mpeg, Flash file etc...


In Ubuntu 9.04 "Jaunty jackalop", the universe, multiverse and restricted repositories are activated by default.

For installing Multimedia files you need to add medibuntu repositories.


Run the follwing in command mode it will add medibuntu repositories in your sources list

$ sudo wget http://www.medibuntu.org/sources.list.d/jaunty.list --output-document=/etc/apt/sources.list.d/medibuntu.list

then Add the GPG Key:

$ sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update

Run

$ sudo apt-get update

Now you can Install non-free-codecs

$ sudo apt-get install non-free-codecs

It will enables your system to support for MP3 and various other audio formats, unrar. Java runtime environment, Flash plugin, Microsoft fonts, w32codecs etc!

You can install more codecs and DVD Support by using

$ sudo apt-get install libdvdcss2 libxine1-ffmpeg gxine mencoder

It will help you to run DVDs, AVI files and other mpeg codecs.

Now Install Famous VLC player and Mplayer

$ sudo apt-get install vlc mplayer

You can Install following interesting and useful utilities

Audio Editing Software Audacity

$ sudo apt-get install audacity

Adobe Acrobat Reader

$sudo apt-get install acroread acroread-plugins

How to enable a disabled account in finch i

1. Open Action Menu (Alt+A) and open Accounts window in finch.


2. Select the account to enable using the arrow keys.

3. Press SPACEBAR and the [X] on the left of your account will toggled.

4. Wait or find the Login Window (maybe hidden below your other window inside finch) use Alt+N to cycle to next window.

5. When the login window found, enter correct password. press tab or left/right arrow key to reach OK button. And press enter.

Install Adobe PDF Reader with Plug-in for Mozilla Firefox in ubuntu

Adobe Acrobat was the first software to support Adobe Systems’ Portable Document Format (PDF). It is a family of software, some commercial and some free of charge. The Adobe Acrobat Reader program (now just called Adobe Reader) is available as a no-charge download from Adobe’s web site, and allows the viewing and printing of PDF files. It is a major component of the Adobe Engagement Platform, and is widely used as a way to present information with a fixed layout similar to a paper publication.


Several other PDF-editing programs allow some minimal editing and adding of features to documents, and come with other

modules including a printer driver to create PDF files.



Install acrobat reader with firefox plugin in Ubuntu

sudo apt-get install acroread mozilla-acroread acroread-plugins

This will complete the installation

If you want top open acrobat reader go to Applications -> Office -> Adobe Reader







Once it opens you should see the following screen







Adobe Reader support with SCIM


Note: If you have added additional language support (SCIM) you will have trouble with running Adobe Reader 7.0. There is a fix for this outlined below:

sudo gedit /usr/bin/acroread

Within that file change:

#!/bin/sh

#

to:

#!/bin/sh

#

GTK_IM_MODULE=xim


Save the file.

At this point Adobe Reader should work alongside additional language support (SCIM).


How to associate Adobe Reader for .pdf files in Ubuntu

This will explain how to set Adobe Reader as the default program for .pdf files on your Ubuntu system.

Right-click on any .pdf file Select “Properties”







Once it opens you need to select “Open With” Select Adobe Reader







This should now associate all .pdf files with Adobe Reader on your Ubuntu system.

Howto Mount and Unmout ISO images without burning them in ubuntu

Some times you want to use iSO images without burning them.If you don’t want to waste your CD’s/DVD’s here is the simple possible solutions using these tips you can mount and unmount ISO images without burning them.


I know two possible solutions

1) Using Nautilus Scripts

2) Using kernel loop module

Now we will see each one in detailed

Using Nautilus Scripts

I am taking this tip from here first you need to download two scripts for mount iso images download from here for unmount iso images download from here



Once you have these two scripts you need to change the permissions using the following commands

sudo chmod +x /home/username/mount.sh
sudo chmod +x /home/username/unmount.sh


Now you need to copy them nautilus scripts

sudo mv /home/username/mount.sh ~/.gnome2/nautilus-scripts/
sudo mv /home/username/unmount.sh ~/.gnome2/nautilus-scripts/

That’s it now you are ready for mounting and unmounting your ISO images.

Example

Mount ISO Image

Now i have one ISO image if you want to mount you need to right click and select scripts ---> mount-iso







Now it will prompt for root password and click ok







You can see the Mounter notification like the following







Here is the Successfully mounted message if you want to open this one click ok







This shows you available contents in mounted ISO image







Unmount ISO Image

Now i have one ISO image if you want to mount you need to right click and select scripts--->unmount-iso







Here is the Successfully Unmounted message







Using loop Kernel Module

First you need to make the directory to put the ISO into using the following command

sudo mkdir /media/isoimage


Now you need to add the loop module to your kernel.

What kernel loop module does?

I want to give brief introduction to kernel loop module.Using the module loop it is possible to mount a filesystem file. squashfs is a “loop” with (de)compression (Compressed Loopback Device) and it is possible to mount a compressed filesystem like a block device and seamlessly decompress its data while accessing it.

Use the following command to load loop module

sudo modprobe loop


Mount ISO Image

If you want to mount you need to use the following command

sudo mount debianetch.iso /media/isoimage/ -t iso9660 -o loop


In the above command you can replace debianetch.iso to your own iso image.

Now you should have your iso file mounted, and accessible from your desktop.

Unmount ISO Image



Unmount ISO Image Using the following command

sudo umount /media/isoimage