Tuesday, February 23, 2010

Sharing Internet at Ubuntu

Devices that use a server with 2 Network 10/100 Mbps Internet network from the ISP (Speedy), Switch that connects to the LAN and PC Client with each assumed to be 1 LAN card using the PC client 25.

The first step: Determining IP Address Server for Connection to ISP

Data obtained from ISP (Speedy) obtained an IP address such as 125,162,149,201

Subnetnya 255,255,255,254

Acquired ISP's DNS: 202.93.40.174 and 202.152.165.36

ISP Gateway obtained: 125.162.54.1

The second step determines IP Address for Connections Local / LAN

Because the client is assumed to be 25 units then you should select the IP Address 172.16.17.1/27 means Subnetnya is 255,255,255,224

We specify IP Address Server that connects to the LAN we set: 172.16.17.1

Obtained from the ISP's DNS: 202.93.40.174 and 202.152.165.36

The third step determines the Client IP Address:

Client - 1

IP Address: 172.16.17.2

subnet mask: 255,255,255,224

DNS from ISP: 202.93.40.174 and 202.152.165.36

Gateway: 172.16.17.1 (IP address server connected to LAN)

Client - 2

IP Address: 172.16.17.3

subnet mask: 255,255,255,224

DNS from ISP: 202.93.40.174 and 202.152.165.36

Gateway: 172.16.17.1 (IP address server connected to LAN)

The fourth step Setting Internet sharingnya

To make such sharing internet connection from client 1 to client 2

1. In Computer Server

Administration > Network pilih wired connection (eth0) kemudian klik Properties pada Connection Setting isikan seperti berikut ini :" onmouseover="this.style.backgroundColor='#ebeff9'" onmouseout="this.style.backgroundColor='#fff'">Open the network settings: System> Administration> Network select wired connection (eth0) and then click Properties on the Connection Settings insert the following:
Administration > Network pilih wired connection (eth0) kemudian klik Properties pada Connection Setting isikan seperti berikut ini :" onmouseover="this.style.backgroundColor='#ebeff9'" onmouseout="this.style.backgroundColor='#fff'">
Administration > Network pilih wired connection (eth0) kemudian klik Properties pada Connection Setting isikan seperti berikut ini :" onmouseover="this.style.backgroundColor='#ebeff9'" onmouseout="this.style.backgroundColor='#fff'">Configuration: Static IP Address

IP Address: 125,162,149,201

Subnetmask: 255,255,255,254

Gateway: 125.162.54.1

Click OK and then back into the Network Settings control click and add the DNS address from your ISP (202.93.40.174 and 202.152.165.36)

Connect the cable from the ISP to the NIC (eth0) and then open a terminal ping to google in type

ping www.google.com

If no replay is an internet connection is OK

Back to Network Settings window select Wired Connection (eth1) and then click Properties, make the following configuration:

Configuration: Static IP Address

sesuaikan dengan LAN yang kita buat" onmouseover="this.style.backgroundColor='#ebeff9'" onmouseout="this.style.backgroundColor='#fff'">IP address: 172.16.17.1 -> adjust the LAN that we make
sesuaikan dengan LAN yang kita buat" onmouseover="this.style.backgroundColor='#ebeff9'" onmouseout="this.style.backgroundColor='#fff'">
sesuaikan dengan LAN yang kita buat" onmouseover="this.style.backgroundColor='#ebeff9'" onmouseout="this.style.backgroundColor='#fff'">Subnetmask: 255,255,255,224

Gateway address: Clear

Click OK and close the Network Settings window and plug the network cable to the Switch

2. Setting the Client Computer

Setting IP on the client do as much as we do on the server

Client-1

IP: 172.16.17.2

Subnet mask: 255,255,255,224

Gateway: 172.16.17.1 (IP LAN servers)

Client 2

IP: 172.16.17.3

Subnetmask: 255,255,255,224

Gateway: 172.16.17.1 (IP Address Server LAN) ... etc with the same thing for each existing client.

After the settings to try pinging the server, the terminal type ping 172.16.17.1 if reply then the connection is OK.

The next step is sharing the internet, the Ubuntu software tinggall use Firestarter. Kalo is not installed open a terminal typing using apt-get install Firestarter.

Run Firestarter just follow wizzardnya, select the Internet connection from eth0 and eth1 network of local.

Friday, February 19, 2010

Instal printer MP620 or MP630

If you're an MP620 or MP630 owner, you've perhaps struggled a bit to set up the printer part under Linux.

Those 2 models support the Canon MP610 printer driver, but the print parameters require a little "tune up":
They can work only if the "paper switch" option is either set to "Cassette" or "Rear Tray". But never set it to "Paper Feed Switch", or it will just print a blank page ...

Unfortunately, this latest option is the default for MP610, so a MP620 or MP630 newly installed printer requires a manual change to this option in the CUPS printer settings menus.

This is a bit annoying, and ... so easy to fix by tweaking again the PPD file ...
So I uploaded along with the MP600/MP610 PPDs, 2 new PPDs for MP620 and MP630 (in English and French), that simply remove the "Switch" option, and select "Cassette" as default paper source.

Installing this MP620-MP630 PPD will let you use now your printer out of the box without tweaking first the paper select option, and prevents from selecting a wrong paper source when printing.

Wednesday, February 10, 2010

How to Cleaned HDD?

How to Cleaned HDD from unused file

command from terminal get write --> sudo apt-get clean

Tuesday, February 9, 2010

How Remove Harddisk Shortcut From Dekstop in Linux

Remove Harddisk Shortcut From Dekstop in Linux :
1. open run (alt+F2)
2. type gconf-editor
3. find apps-->nautilus-->desktop
4. Remove hit from volumes_visible

Tuesday, February 2, 2010

How can mount ISO images via the loop device

I give tips for You can mount ISO images via the loop device. It is possible to specify transfer functions (for encryption/decryption or other purposes) using loop device.

But how to mount ISO image on Ubuntu? You need to use mount command as follows:

Procedure to mount ISO images on Ubuntu

1) You must login as a root user, if not root user then switch to root user using following command:

$ su -

2) Create the directory mount point:

# mkdir -p /mnt/disk

3) Use mount command as follows (assumes that your ISO file name is disk1.iso):

# mount -o loop disk1.iso /mnt/disk

4) Change directory to list it:

# cd /mnt/disk
# ls -l

Good Luck