Did you solve your slow Internet connection on Ubuntu 8.1?

Recently I am facing a slow Internet connection problem on my newly installed Ubuntu 8.1.

Let me describe the problems first:

During the first couple days of using newly installed Ubuntu, I have no problem and the Internet is as fast as in Vista. But after a couple of updates, the Internet speed changes dramatically. As I noticed the mainly change is the browsing speed not the download speed. It needs at least 1 minute to open gmail.

I tried several methods to improve the browsing speed, like disable IPV6; switch to another browser,like Opera,Swiftweasel; install dnsmasq and change the MTU value; as suggested but none of them work on my case.


Untill today, I find a solution from http://www.prash-babu.com/2008/04/how-to-configure-dns-servers-in-linux.html

It really works for me, so I want to introduce it to you, if you are facing the same problem like me. Why not try?

Do the following steps to configure DNS servers in Ubuntu:

Step 1:Go to Applications->Accessories->Terminal and type
sudo gedit /etc/dhcp3/dhclient.conf
Step 2:Go to the end of the file and add the following line to the END of the file
prepend domain-name-servers 208.67.222.222,208.67.220.220;
Step 3:Save the file and close it.
Step 4:Use the following command to restart your network
sudo /etc/init.d/networking restart

Step 5: Open your favorite browser to check whether works or not.

Did you solve your slow Internet connection on Ubuntu 8.1?

Recently I am facing a slow Internet connection problem on my newly installed Ubuntu 8.1.

Let me describe the problems first:

During the first couple days of using newly installed Ubuntu, I have no problem and the Internet is as fast as in Vista. But after a couple of updates, the Internet speed changes dramatically. As I noticed the mainly change is the browsing speed not the download speed. It needs at least 1 minute to open gmail.

I tried several methods to improve the browsing speed, like disable IPV6; switch to another browser,like Opera,Swiftweasel; install dnsmasq and change the MTU value; as suggested but none of them work on my case.


Untill today, I find a solution from http://www.prash-babu.com/2008/04/how-to-configure-dns-servers-in-linux.html

It really works for me, so I want to introduce it to you, if you are facing the same problem like me. Why not try?

Do the following steps to configure DNS servers in Ubuntu:

Step 1:Go to Applications->Accessories->Terminal and type
sudo gedit /etc/dhcp3/dhclient.conf
Step 2:Go to the end of the file and add the following line to the END of the file
prepend domain-name-servers 208.67.222.222,208.67.220.220;
Step 3:Save the file and close it.
Step 4:Use the following command to restart your network
sudo /etc/init.d/networking restart

Step 5: Open your favorite browser to check whether works or not.

Install VMD on Ubuntu

1. Register and download the suitable version of VMD from http://www.ks.uiuc.edu/Development/Download/download.cgi?PackageName=VMDLINUX
In my case I choosed:
AMD64 OpenGL (Linux (64-bit AMD or Intel EM64T x86) with hardware OpenGL)
2. Open downloaded package and check the configure file, and make sure that the installed path is: install_bin_dir="/usr/local/bin".
3.In terminal type in
./configure
cd src
sudo make install
4. after finish, type in vmd in terminal to check whether you can run it. In my case I got an error something like: bash: vmd: /bin/csh: bad interpreter: No such file or directory
If you have the same error you probably also need install csh from Synaptic Package Manager.

1)To install csh: go to synaptic package manager, type in csh to find csh related package
2) right click and choose "mark for installation". Then apply.
Then you can try again in the terminal by typing vmd.

Install VMD on Ubuntu

1. Register and download the suitable version of VMD from http://www.ks.uiuc.edu/Development/Download/download.cgi?PackageName=VMDLINUX
In my case I choosed:
AMD64 OpenGL (Linux (64-bit AMD or Intel EM64T x86) with hardware OpenGL)
2. Open downloaded package and check the configure file, and make sure that the installed path is: install_bin_dir="/usr/local/bin".
3.In terminal type in
./configure
cd src
sudo make install
4. after finish, type in vmd in terminal to check whether you can run it. In my case I got an error something like: bash: vmd: /bin/csh: bad interpreter: No such file or directory
If you have the same error you probably also need install csh from Synaptic Package Manager.

1)To install csh: go to synaptic package manager, type in csh to find csh related package
2) right click and choose "mark for installation". Then apply.
Then you can try again in the terminal by typing vmd.

My way to Install unrar and rar in Mac OS

1. Download the correct version of Winrar from www.rarlab.com, and run the downloaded file to extract the package.
2. Use OnyX change the parameters of the finder to show hidden files on your Mac.
3. Locate and copy binary files unrar and rar to your bin folder (Macintosh HD/bin).
4. Change the finder parameters back to hide the hidden files.
5. Suppose you have a folder named “EXAMPLE” want to compress.
6. Launch terminal and go into this folder “EXAMPLE” and type

rar a EXAMPLE
And a rar file named EXAMPLE.rar will be in the folder after finish.
7. You also can compress the file into specific size by using the -v parameter,
rar a -v[size] EXAMPLE
Here the size is in KB
8. Use the following command to uncompress a compressed file:
unrar e EXAMPLE.rar

My way to Install unrar and rar in Mac OS

1. Download the correct version of Winrar from www.rarlab.com, and run the downloaded file to extract the package.
2. Use OnyX change the parameters of the finder to show hidden files on your Mac.
3. Locate and copy binary files unrar and rar to your bin folder (Macintosh HD/bin).
4. Change the finder parameters back to hide the hidden files.
5. Suppose you have a folder named “EXAMPLE” want to compress.
6. Launch terminal and go into this folder “EXAMPLE” and type

rar a EXAMPLE
And a rar file named EXAMPLE.rar will be in the folder after finish.
7. You also can compress the file into specific size by using the -v parameter,
rar a -v[size] EXAMPLE
Here the size is in KB
8. Use the following command to uncompress a compressed file:
unrar e EXAMPLE.rar

My way to install Ubuntu on Vista preinstall computers

Dual Boot of Windows Vista and Ubuntu and use EasyBCD as bootloader

If your new computers comes with Windows Vista preinstalled, please follow the following procedure to install Ubuntu and.

1.Log into Vista open disk manager to free some disk spaces.
2.Reboot your computer use Ubuntu Live CD. Choose “setup Ubuntu” from the bootable manual .
3.Click the install icon on the live session Ubuntu desktop, follow the instruction until you see “choose the partition method”.
4.Make sure you choose manual at this step and click next.
5.In the next screen, select the free disk spaces which you prepared in Vista and create a new partition. Usually, you can make a partition as large as the (your maximum free disk space -2G), and select the file system type as ext3, mount point is root “/”.
6.use the rest of 2G free disk create a new partition, swap, choose the file system type “swap”.
7.Once you partitioned your disk, before you install your Ubuntu, on screen 7, choose “advanced” and select the partition which you used to install the root of Ubuntu to install the Ubuntu boot loader. In my case I installed Ubuntu at “sda6”, so I choose it to install GRUB.
This step is important if you want to use vista boot loader.
8. Finish the rest steps on installation and grab a cup of tea.

After finishing install Ubuntu, log into Vista and install EasyBCD boot loader:


9.Open EasyBCD and go to the "Add/Remove Entries" page.
10.Choose the "Linux" tab from the bottom-half of the EasyBCD screen.
11.Pick the partition you installed Ubuntu from the drop-down partition list (In my case it is sda6, as I mentioned early)and choose "Add Entry".
Now you have Vista and Ubuntu dual boot.

My way to install Ubuntu on Vista preinstall computers

Dual Boot of Windows Vista and Ubuntu and use EasyBCD as bootloader

If your new computers comes with Windows Vista preinstalled, please follow the following procedure to install Ubuntu and.

1.Log into Vista open disk manager to free some disk spaces.
2.Reboot your computer use Ubuntu Live CD. Choose “setup Ubuntu” from the bootable manual .
3.Click the install icon on the live session Ubuntu desktop, follow the instruction until you see “choose the partition method”.
4.Make sure you choose manual at this step and click next.
5.In the next screen, select the free disk spaces which you prepared in Vista and create a new partition. Usually, you can make a partition as large as the (your maximum free disk space -2G), and select the file system type as ext3, mount point is root “/”.
6.use the rest of 2G free disk create a new partition, swap, choose the file system type “swap”.
7.Once you partitioned your disk, before you install your Ubuntu, on screen 7, choose “advanced” and select the partition which you used to install the root of Ubuntu to install the Ubuntu boot loader. In my case I installed Ubuntu at “sda6”, so I choose it to install GRUB.
This step is important if you want to use vista boot loader.
8. Finish the rest steps on installation and grab a cup of tea.

After finishing install Ubuntu, log into Vista and install EasyBCD boot loader:


9.Open EasyBCD and go to the "Add/Remove Entries" page.
10.Choose the "Linux" tab from the bottom-half of the EasyBCD screen.
11.Pick the partition you installed Ubuntu from the drop-down partition list (In my case it is sda6, as I mentioned early)and choose "Add Entry".
Now you have Vista and Ubuntu dual boot.

Datatable static image not found on the server

When you use ```datatables.min.css``` and ```datatables.min.js``` locally, instead of datatables CDN, you may have encountered that ```sort...