Powered by Blogger.

ping to IPv6 host

Thursday, April 30, 2009

Type the command as follows:

$ ping6 localhost
$ ping6 host.domain.com
$ ping6 IPv6-address
$ ping6 2001:4860:b002::68

The best way is to ping global website such as ipv6.google.com, enter:
$ ping6 ipv6.google.com

Sample output:

ping6 ipv6.google.com
PING ipv6.google.com(2001:4860:b002::68) 56 data bytes
64 bytes from 2001:4860:b002::68: icmp_seq=0 ttl=59 time=58.4 ms
64 bytes from 2001:4860:b002::68: icmp_seq=1 ttl=59 time=56.4 ms
64 bytes from 2001:4860:b002::68: icmp_seq=2 ttl=59 time=62.1 ms
64 bytes from 2001:4860:b002::68: icmp_seq=3 ttl=59 time=56.8 ms
64 bytes from 2001:4860:b002::68: icmp_seq=4 ttl=59 time=56.5 ms
64 bytes from 2001:4860:b002::68: icmp_seq=5 ttl=59 time=59.5 ms

--- ipv6.google.com ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5002ms
rtt min/avg/max/mdev = 56.443/58.329/62.150/2.045 ms, pipe 2

Read ping6 man page for more information:
$ man ping6

dvrelay installation

Sunday, April 26, 2009

1. Install Linux kernel source code by using apt-get or yum

% sudo apt-get install linux-source

It will install latest version of Linux source code. We need to use the two header files from this kernel tree.
Extract source tree

% cd /usr/src
% sudo tar jxvf linux-source-2.6.22.tar.gz2

Create symbolic link from /usr/include
% cd /usr/include
% sudo ln –s /usr/src/linux-source-2.6.22/drivers/ieee1394/dv1394.h
% sudo ln –s /usr/src/linux-source-2.6.22/drivers/ieee1394/ieee1394-ioctl.h

2. Install libraw1394
Download libraw1394 from http://sourceforge.net/projects/libraw1394
Extract package, compile and install

% tar zxvf libraw1394-1.2.0.tar.gz
% ./configure
% make
% sudo make install
% sudo make dev

NOTE) If you have an error during "./configure", please run "sudo apt-get install build-essential" to prepare
development environment.

3. Install dvrelay

Download dvrelay from http://www.interlab.ait.ac.th/dvrelay/dvrelay0.1f.tar.gz
Extract package, compile and install

% tar zxvf dvrelay0.1f.tar.gz
% ./configure
% make
% sudo make install

You can confirm that dvrelay is installed at /usr/local/bin/dvrelay

How To Install OpenOffice.org 3.0.0 On Ubuntu 8.04

Sunday, April 19, 2009

1. Download the package
http://openoffice.bouncer.osuosl.org/?product=OpenOffice.org&os=linuxinteldeb&lang=en-US&version=3.0.1

2. Extract
sudo tar -zxvf OOo_3.0.1_LinuxIntel_install_en-US_deb.tar.gz

3. cd OOO300_m15_native_packed-1_en-US.9379/DEBS/

4. sudo dpkg -i *.deb

Install Times New Roman in Ubuntu

sudo apt-get install msttcorefonts
fonts can be found in /usr/share/fonts

VLC media player for Ubuntu

Saturday, April 18, 2009

Ubuntu Intrepid Ibex 8.10,
Ubuntu Hardy Heron LTS 8.04

Open Synaptic (System -> Administration -> Synaptic Package Manager). In Settings -> Repositories, make sure you have a "multiverse" repository activated.

Search for vlc and install it. You should also install vlc-plugin-esd, mozilla-plugin-vlc (and libdvdcss2).

Command line way

You need to check that a "multiverse" mirror is listed in your /etc/apt/sources.list.

% sudo apt-get update
% sudo apt-get install vlc vlc-plugin-esd mozilla-plugin-vlc

Listen live radio in Ubuntu

Thursday, April 16, 2009

Install required applications:

1. Applications -> Add/Remove
2. Select "Sound & Video" category from the left panel
3. Select show "All available applications"
4. Select the following applications
GStreamer extra plugins
GStreamer ffmpeg video plugin
GStreamer plugins for mms, wavpack, quicktime, musepack
5. Click "Apply changes"

Listen to internet radio

1. Applications -> Sound & Video -> Rhythmbox music player
2. Right click on the "Radio" category in the left panel and select "New internet radio station"
3. Enter URL and click on "Add"

How to set up network printer in Ubuntu

OS: Ubuntu 8.04

1. System -> Administration -> Printing
2. Click on the "New Printer" button
3. Select printer from the list and click Forward
4. Tick on the "Select printer from database" and select the printer make, click Forward
5. Select the model and driver, click Forward
6. Enter details, click Apply

How to view .chm files in Ubuntu

OS: Ubuntu 8.04

1. install xchm
sudo apt-get install xchm

Ubuntu Wing IDE Installation

Wednesday, April 15, 2009

OS: Ubuntu 8.04 (Hardy Heron)
Wing IDE version: wingide-101-3.1_3.1.8-1

1. Download WingIDE 101 for ubuntu/ debian
http://wingware.com/downloads/wingide-101

2. install enscipt
sudo apt-get install enscript

3. install wing IDE
sudo dpkg -i wingide-101-3.1_3.1.8-1_i386.deb

Ubuntu Python2.6 Installation

Monday, April 13, 2009

OS: Ubuntu 8.04 (Hardy Heron)
Python Version: 2.6.1

1. Install prerequisites
sudo aptitude install build-essential libncursesw5-dev libreadline5-dev
libssl-dev libgdbm-dev libbz2-dev libc6-dev libsqlite3-dev libdb-dev tk-dev

2. Download python 2.6
http://www.python.org/ftp/python/2.6.1/Python-2.6.1.tar.bz2

3. Uncompress it
tar -jxvf Python-2.6.1.tar.bz2

4. Change directory to python extracted python directory
cd Python-2.6.1

5. create a directory to install python2.6
here i created a directory in /etc folder
sudo mkdir /etc/python2.6

6. Configure python to install to that directory
./configure --prefix==/etc/python2.6

7. Compile python
make

8. Install python
sudo make install

9. Create symbolic link to that directory
sudo ln -s /etc/python2.6/bin/python /usr/local/bin/python2.6





Ubuntu VMWare installation

OS: Ubuntu 8.04 (Hardy Heron)
VMWare version: 6.5.1

get "VMware-Workstation-
VERSION.i386.bundle" file

1. install prerequirements:
   sudo aptitude install build-essential
linux-kernel-headers linux-kernel-devel

2. Go to the folder that you have copied VMWare file

3. Install VMWare:

gksudo bash ./VMware-Workstation-6.5.0-118166.i386.bundle



referrence: https://help.ubuntu.com/community/VMware/Workstation