Speed Up Your Internet Connection On Ubuntu

In this tip, we are going to apply a simple modification that can help you speed up your Internet connection and optimize page load time. The modification will be made to the nsswitch.conf file and it is valid for Ubuntu, Debian Squeeze & Wheezy.

Open the Terminal and run one of these commands to edit the nsswitch.conf file:

sudo gedit /etc/nsswitch.conf
or
sudo nano /etc/nsswitch.conf

Locate this line:
hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4

And add just below it this line:
hosts:          files dns

Save now the file and close it.





You will now see an improvement in your Internet connection speed, but don't expect a major improvement. Good Luck!

How To Enable Numpad Automatically At Ubuntu Login Screen (LightDM) - Ubuntu 11.10

LightDM is the new display manager used by Ubuntu 11.10 Oneiric Ocelot that allows users to submit their account credentials to login to a session. The problem with this display manager is that at logon screen, the numpad is locked and you are obliged to enable it manually to be able to submit your password.

To solve this, open the terminal (Ctrl+Alt+T) and run this sequence of commands:

sudo apt-get install numlockx

echo "greeter-setup-script=/usr/bin/numlockx on" | sudo tee -a /etc/lightdm/lightdm.conf

Reboot now your system to check if it worked.

Good luck!

How to Reset Ubuntu Password Using LiveCD

This trick should not be used for doing something bad with someone else. The main purpose of this trick is to recover your lost Ubuntu password.

 Now, prepare your Ubuntu Live CD and boot your computer from it until the desktop appears. Once, the desktop is ready, open Terminal and type the following command:

    . gksudo nautilus


Now, at the left sidebar, navigate to the root partition of your installed Ubuntu system, NOT the root partition of the Live CD.

 For the example, I'll reset password of the user "hok00age". Open file "/etc/shadow" with your favorite text editor and then search for line containing the username:

  . hok00age:$1$2TUdk8Z0$tb2Fn6Idgo8dq9EgYv4xZ0:13721:0:99999:7:::

Look at that code! All you need to do is replace the weird phrase "$1$2TUdk8Z0$tb2Fn6Idgo8dq9EgYv4xZ0" with another weird phrase "U6aMy0wojraho". If you did it well, you'll see the line is changed like the below one:

  . hok00age:U6aMy0wojraho:13721:0:99999:7:::


It will, replace your old password with newly BLANK password. So, if you want to log in your computer just leave the password field empty.

 Now, reboot your computer and login with the BLANK password.

 Video:





source : http://www.ubuntubuzz.com 

Install Backtrack 5 Application in Ubuntu

For those of you who focus on computer/network security and love being Ubuntu user, You do not need to consider switching to other distros because you can Install any security application which available on Backtrack 5 on your Ubuntu. You can add Backtrack 5 repository to your ubuntu following this :

Add Backtrack 5 Menu to Ubuntu Repository

1. Download the key, here (*if first link not work change with this here)

2. Add the key you have download through synaptic (or terminal), Open your Synaptics then go to Repositories > Authentication > Import key file

3. Add following Backtrack 5 Ubuntu repository

    .  deb http://all.repository.backtrack-linux.org revolution main microverse non-free testing
    .  deb http://32.repository.backtrack-linux.org revolution main microverse non-free testing
    .  deb http://64.repository.backtrack-linux.org revolution main microverse non-free testing
    .  deb http://source.repository.backtrack-linux.org revolution main microverse non-free testing


If repository above not work, you can use following repository (taken from indonesian backtrack community)

   .  deb http://backtrack.indowebster.com/repo/all revolution main microverse non-free testing
   .  deb http://backtrack.indowebster.com/repo/32 revolution main microverse non-free testing
   .  deb http://backtrack.indowebster.com/repo/source revolution main microverse non-free testing

How to Limit Apt-Get Download Speed

This trick is useful when you're sharing your Internet connection among your friends or family. With this trick, you can perform such apt operation (install or upgrade) without interrupting the other members of your network.


In case, you want to limit your apt-get download speed at 20kb/s, so you should run the following command to perform apt-get operation (install or upgrade):

sudo apt-get -o Acquire::http::Dl-Limit=20K install package_name

Please take a look at statement "Acquire::http::Dl-Limit=20K", replace "20K" with your desired download speed. This trick was tested and worked well on Ubuntu 11.10 Oneiric Ocelot Beta 2, but it should works on other versions of Ubuntu too.

Find Us On Facebook

Related Posts Plugin for WordPress, Blogger... Linux Directory