How to Remote Ubuntu From Windows via VNC

8:03 PM

Not only Ubuntu, sometimes we needed to work with other OS like windows in office or somewhere else. When we're not face directly with our computer (Ubuntu), can we monitor it ?, yes, you can !, you can do it via remote desktop connection.

Ubuntu as a part of Linux has provide some ports which commonly used as remote protocol, that is ssh (port 22) and telnet (port 21). If you are accustomed to use terminal you can use both of port above, but if you are not accustomed to, you can do it via VNC.


What is VNC ?
Virtual Network Computing (VNC) is a graphical desktop sharing system that uses the RFB protocol to remotely control another computer. It transmits the keyboard and mouse events from one computer to another, relaying the graphical screen updates back in the other direction, over a network. VNC is platform-independent – a VNC viewer on one operating system may connect to a VNC server on the same or any other operating system, (Wikipedia).

This article will show us how to remote Ubuntu desktop from windows via VNC For the first step, make sure that gsettings is already installed, in my computer (Ubuntu 11.10) gsetting has already installed by default, but if not do as follow to install gsetting in Ubuntu :

  • sudo apt-get install libglib2.0-bin
Second, Open terminal and execute following commands in order to allow other computers to access your computer.
  • gsettings set org.gnome.Vino enabled true
third, Download and install VNC Viewer on Windows then run it. Put the address of your computer in server field then click OK, wait until the remote computer (Ubuntu) authenticate the connection.
    VNC Viewer (Windows) make a connection to Ubuntu
Remote computer (Ubuntu) is asking permission, to get connected, you can click "refuse" to deny the connection.
Remote computer (ubuntu) is asking a Permission
if connect successfully, VNC (Windows) will display remote computer desktop, see screenshot.
    The display of Ubuntu desktop From Windows
If you want guest/any computer could connect to your desktop (Ubuntu) without asking any permission (automatically connect without login prompt), do following in terminal :
  • settings set org.gnome.Vino prompt-enabled false
this is end of article How to remote ubuntu desktop from windows trough VNC, hopefully help you ..

0 comments

» read more....

Use Pidgin for Chatting And Transferring Files on Local Network Without Internet Connection

7:44 AM

Dear Readers! How are you doing? I hope everything is well. Today I'd like to show you how to use Pidgin for chatting and transferring files on local network. You can do this even without Internet connection. Let's get started.


In this tutorial, I use Ubuntu and Windows XP (installed on VirtualBox) to test the cross platform compatibility.

Install Pidgin on Ubuntu
Type the following command on Terminal to install Pidgin:
  • sudo add-apt-repository ppa:pidgin-developers/ppa
  • sudo apt-get update
  • sudo apt-get install pidgin
Once installed, run Pidgin and create new account with Bonjour protocol.


You can fill the other fields with anything you like :p

Install Pidgin on Windows XP
Please download Pidgin for Windows here and Bonjour Print Service from here. Once downloaded, install both applications, and create new Pidgin account using Bonjour protocol.


Now, run Pidgin on both computers. If you did it well, you should see the username of another computer in the "Buddy List". You can start chatting and transferring file after that.



Enjoy it :)

0 comments

» read more....

Installing and Running Cisco Packet Tracer 5.3 in Ubuntu

6:54 PM

Continue what we write in "running graphical cisco network simulator in ubuntu", We would like to introduce one of official cisco network simulation program which frequently used by poeple which would take a Cisco test like CCNA, CCDA, CCNP, CCDP, CCSP, CCVP, and CCNA Security, for those who are familiar with cisco must be known with "Packet Tracer", this application now up to version 5.3 (if i'm not mistake) and available in both Windows and Linux.

Cisco Packet Tracer is a Official network simulation program by Cisco that allows users to experiment with network behavior. As an integral part of the Networking Academy comprehensive learning experience, Packet Tracer provides simulation, visualization, authoring, assessment, and collaboration capabilities and facilitates the teaching and learning of complex technology concepts.

Packet Tracer has available in ubuntu and other linux distro with various source installer (.bin .deb .rpm), this Article we will discuss about How to install Cisco Packet Tracer 5.3 in Ubuntu. Following step by step installing Packet tracer 5.3 in Ubuntu :

Packet Tracer 5.3 About Page
Download Packet Tracer 5.3 Source Installer
As mention above, packet tracer 5.3 available in various source installer, for those ubuntu user we suggest to choose .deb or .bin to get better compatibility, If you are student of Cisco Network Academy just sign-in and download fresh Packet Tracer DEB package from there. Notice you should find there Linux/Ubuntu version of Packet Tracer instead of binary .exe file for Windows, otherways you can download  packet tracer 5.3 through following links :

Install Packet Tracer 5.3 in Ubuntu 
it's time to install, for those who choose .deb installer you can install it by dpkg -i just like before,  would be like this.
  •  ex : sudo dpkg -i PacketTracer-5.3-u.i386.deb
To install the Linux BIN packages, set the permission to be executable then execute the binary in the terminal. Execute the following command:
  • chmod +x PacketTracer531_i386_installer-deb.bin
  • ./PacketTracer531_i386_installer-deb.bin
Running Packet Tracer 5.3 in Ubuntu 
After finished all action above, Cisco Packet Tracer must be in your system now, go to Applications > Internet > Cisco Packet Tracer (usually here) to start running packet tracer in ubuntu.

0 comments

» read more....

Step by Step sharing printer via CUPS on Ubuntu 10.04

9:42 AM


Whatever operating system (O/S) had installed, one of important jobs they must can do is "work every where, work any where", in this part we will stress our topic with how to let our printer use by other (sharing) via CUPS (Common Unix Printing System). The Common Unix Printing System, allows a computer to act as a print server. A computer running CUPS is a host that can accept print jobs from client computers, process them, and send them to the appropriate printer. For Example we will use Printer HP Laser Jet 1020 as object:
Go to System> Administration> Printing Printing after a window pops up then click Servers> New> Printers and follow the picture below
Step 1
  • Choose Windows Printer via SAMBA, then click the Browse button then it will continue the process of scanning ... select the printer that has be shared and then click OK. To ensure click the Verify button and make sure the dialog box Print Share Verified exit. Then click Forward

Step 2
  • Select a vendor for printers that have been sharing and click Forward
Step 3
  • Selecting brands of printers ...
Step 4
  • Give a identification to the new printer…
Step 5
  • The installation process successfully. Will do a test print? Yes to print, not to reject ...
Step 6
It's all procedure we must do to share printer via CUPS on Ubuntu 10.04, It's quite similar to do this jobs in most distriburion like Ubuntu, blankon, Mandriva, OpenSuse. Good luck ..

0 comments

» read more....

How to build reliable backup and restore system using rsync

1:33 PM


Data is an important asset owned by company, data which is the raw of information require a necessary method how keep and preserve well, to reduce the impact of damage and data loss which possibility occur. Backup and restore procedure that a part of disaster recovery planning is one of the way that can be perform to reduce the impact of data disaster. From statement above we can conclude that  all of us need to ensure all important data of us or our company must be backup well. And now the answer is, how to design a reliable backup and restore system which can run on linux ?
To design or build backup and restore system we must have reliable tool to move data from source to destination via network, lucky we have rsync running in linux operating system. Rsync is such application which can move data (use incremental method) from one computer to another through ftp, scp, and ssh, rsync is small and multi perform application which can be use as server or client.  

Step 1
First time before you start build a system we must describe what system we want to build otherwords describe fungsional and non fungsional sytem requirement then design the layout of application.

Step 2
Step 2 we must prepare our system and install all required application, for this section for required application we can install ssh-server, mysql5.0-server, and rsync as main application. with no less important  don't forget to describe supporting factors such database design, working directory, and previllages user to run.

Step 3
Important part of backup and restore system is script to copy/move data form one computer to another, for this section i have provide some script write in bash language that found in internet then modified it then you can download by following this link. Maybe you can't use script given directly, you can modified that script and fit to your system.  I will give explanation to have clear illustration, you can open the script while read this.
  • This script is running by cron, work valid by parameter save in file (/var/www/LIBT/exec/. That file configuration contain of  backup parameter such us name of session, rsync parameter, source and destination mechines. this file writen by application interface (you can build by your self) which help user to descibe backup session they want to build.
  • This script work to manage/colaborate supported application like rsync, mv, cp, mysql, chmod, chown, etc.
  • Plot of backup procedure of this script is  -- [read configuration file] -- [check input parameter given] -- [decide local/remote backup] -- [perform backup/rotate backup] -- [write log/give feedback]-- .This script can due incremental backup so if you have running the same backup before, system will save previous data backup and make a new copy of data backup, this important procedure can be use to implemented restore point.


Step 4
Test the script you build, the only way to test the script is try to implemented backup betwen two computer. Rsync is wells work with SSH, so i suggest that you chose SSH as media backup. Before start to backup you must consider  both of computer is free to access one to another, use ssh-key to make it happend, here step to make ssh-key between two computers. 
  • First log in on A as user a and generate a pair of authentication keys. command : ssh-keygen -t rsa.
  • Now use ssh to create a directory ~/.ssh as user b on B. (The directory may already exist, which is fine) command : ssh b_user@ | mkdir -p .ssh. 
  • Finally append a's new public key to b@B:.ssh/authorized_keys and enter b's password one last time, command : cat .ssh/id_rsa.pub | ssh b@B 'cat >> .ssh/authorized_keys'
  • Try to log on to computer B from computer A, if the machines not ask any password you have success implemented ssh-key and your system is ready to test
Step 5 
If all testing has complate, Verify data of backup you have got. if all data is identic (similar) to source data we assume that we have successfull reaserch and ready to the next step (restore). 

Step 6
Restore procedure is desperately needed backup information of previous procedure (backup), if you consider to add restore tool as additional feature of your system, you must write down all action, time execution, and all additional information needed to the database so you can use it then. Some infomation you have to record when doing backup is source and destination mechines (ip address), time of backup (to get restore point), path folder where you have save the data backup, user and password or ssh-key.

Step 7
If all step is clear and successfully tested, i think you have build a reliable backup and restore system under linux. please fell free to contact us if you get any problem. 

0 comments

» read more....

Free Download Cisco IOS Images for GNS3/Dynamips/Dynagen

11:48 PM

Cisco IOS is an operating system by Cisco System which offer a better way to build a managable netwok interconnection, this operating system used on the vast majority of Cisco Router and Cisco Network Switch. As article i wrote in ubuntubuzz, here the list of Cisco IOS can be used for GNS3, Dynamips, or Dynagen :

Dear visitor,
We were sorry that we can't provide free download cisco ios images on this page (anymore), we afraid of breaking "Free Open Source Software" rule and violate some cisco authorities about legal software, very unfortunate that Cisco does not provide any flexibility to CCNA, CCNP, CCIE students to learn more about cisco Routers/Switch by provide a free IOS For Download. 


For complete instruction the way to use Cisco IOS for simulating a Cisco Router and Cisco Network Switch, see my previous article here.

0 comments

» read more....

GNS3 : Running Graphical Cisco Network Simulator On Ubuntu Linux

10:57 AM

Cisco Network is well perform network equipment and platform, there are many companys in the world entrust their network being handle by this instrument. A lot of advantages we get if we know much about this network equipment eventhough it's not simple way to learn more about all Cisco Netwok familly. 

Not only Microsoft, Java, or Oracle, Cisco System provide Cisco Netwok Career Certifications which provide profesional IT certification for Cisco System Product such us CCNA, CCDA, CCNP, CCDP, CCSP, CCVP, and CCNA Security. There are five levels of certification: Entry, Associate, Professional, Expert, and Architect, as well as seven different paths, Routing & Switching, Design, Network Security, Service Provider, Storage Networking, Voice, and Wireless.

My personal opinion Cisco Netwok Career Certifications is not cheap, but it's very important for profesional network engginer to have it.  get the best preparation is the best effort we can do. There are many network/cisco simulator in a market as we know Boson, Networksim and All official Network simulator form Cisco System that can be install in our desktop and we can learn from it.

GNS3 is sort of Graphical Network Simulator, GNS is Free/Opensource Cisco Network Simulator running on Ubuntu and Linux familly. GNS3 is other form of Dynamips and Dynagen which older cisco simulator for linux running on terminal. To complate simulations, GNS3 is strongly lingked with :
  • Dynamips, the core program that allows Cisco IOS emulation.
  • Dynagen, a text-based front-end for Dynamips. And
  • Qemu, a generic and open source machine emulator and virtualizer.
That mean to start using GNS3 we must install application above, if you running ubuntu the fastest way to install GNS3 is go to System > Synaptics Package Manager > (type GNS3 as keyword) then Apply and install, all application needed to run GNS3 is automaticaly installed.
GNS3 Screenshot
Before GNS3 is ready to use, download Cisco IOS from this page first then add Cisco IOS to Dynagen IOS library. Here they are Step By step how running Cisco Network Simulator on Ubuntu Linux : * Continue with following step when you have finished installing GNS3.
  • Download Cisco IOS in this page (chose only required IOS)
  • Open GNS3, than add Cisco IOS to Dynagen IOS library. To add IOS to Dynagen go to menu edit > IOS images and Hypervisors, browse the images and fill all required information.
GNS3 Topology Example
  • Draw the topology you want to bulid by drag and drop router logo in the left side of GNS3 to the center of topology area.
  • Configure the network, Configuring network can be start by connecting one router to another by the connector (Giga etheret, ATM, Fast ethernet), to edit router properties like RAM, Additional Pheriperal in Slot, Name or other can be accessed by right click the router then chose 'configure'. Just like the actual Cisco router we can telnet (remote) the router and doing all Cisco task and job like the real ones.
Router Properties
Router Properties
  • to finish the topology, after all router has been configured well, check topology interconection by router utillity like 'ping' or 'traceroute' from one router to another.
And now we can start a better preparation to join profesional network certification from Cisco System, to expendite the practice download some Network Topology here.

0 comments

» read more....

5 Fastest Linux Download Manager/Accelerator Program

10:51 AM

Some people ask 'how can i use program such us Internet Download Manager (IDM) in Linux ?'. Yes !!!, to get a file or download in internet is an absolute activity now days, by download manager/accelerator having download is more easy and fast, Here the 5 Recommended Linux Download Manager/Accelerator Program widely use in linux.
Multiget 
MultiGet is an easy-to-use GUI file downloader for Windows/Linux/BSDs/MacOs.  It's programmed in C++ and has a GUI based on wxWidgets. It supports HTTP/FTP protocols which covers the requirements of most users. It supports multi-task with multi-thread on multi-server. It supports resuming downloads if the Web server supports it, and if you like, you can reconfig the thread number without stopping the current task. It's also support SOCKS 4,4a,5 proxy, ftp proxy, http proxy. (http://multiget.sourceforge.net/). Folow this link to download Multiget.
Axel
In the previous version a axel is a command line download manager, but now having download with axel can be done under GUI, It can possible to do a multiple mirrors for a download using tihis application. Axel has no dependencies and is lightweight, so it might be useful as a wget clone on byte-critical systems. we can install axel by typing "apt-get install axel" in a terminal.


Aria2
Aria2 is a command line download manager. The transfer can be paused, resumed, queued and saved. It has a very user friendly GTK based GUI, and useful log consoles. Program supports CRC checking, HTTP proxy server, cut-and-paste, drag-and-drop, and can define specific file retrieving procedure for particular web servers. Aria2 can download a file from multiple sources/protocols and tries to utilize your maximum download bandwidth. It supports downloading a file from HTTP(S)/FTP and BitTorrent at the same time, while the data downloaded from HTTP(S)/FTP is uploaded to the BitTorrent swarm. Using Metalink's chunk checksums, aria2 automatically validates chunks of data while downloading a file like BitTorrent. to install aria2 you can type "apt-get install aria2" in your terminal.


Wget
GNU Wget is a free software package for retrieving files using HTTP, HTTPS and FTP, the most widely-used Internet protocols. It is a non-interactive commandline tool, so it may easily be called from scripts, cron jobs, terminals without X-Windows support, etc (http://www.gnu.org/software/wget/). Wget is a default download application which is installed since we have install linux. Since ubuntu 9.10 we can download using wget under GUI, the program is named 
'gwget download manager'.

Prozilla
ProZilla is a program that makes multiple connections and downloads a file in multiple parts simultaneously thus enhancing the download speed and downloading the file faster than a download with a single connection.prozilla is not official linux or ubuntu download manager, in my own opinion prozilla is quiet awesome
we can manualy download and install prozilla form www.sourceforge.org.
Eventually that's all my review and recommendation, hopefully it will be usefull and keep you comfortable of using  linux. :)

0 comments

» read more....