Showing posts with label ns2. Show all posts
Showing posts with label ns2. Show all posts

Monday, November 22, 2010

Google Talk for Ubuntu 10.04

gtalk for ubuntu
What is google talk(in short – gtalk)?

Google Talk is an instant messaging service(The Project is developed on Google Code) which is built on Open Protocols – XMPP,Extensible Messaging and Presence Protocol(Old Name – Jabber),an open protocol based on XML; and Jingle(an extension to XMPP for initiating and maintaining peer to peer sessions).gtalk,a google instant messenger(With Extra features like voice calls over Internet using voip) is free and it’s source code is also available so that developers can build a clients that can be connected to the google talk service.

Gtalk for Ubuntu 9.10/10.04

Currently google talk has native support for windows-XP(or Later) and Mac OS X only i.e for Linux or Ubuntu google talk is not developed(Although it is guessed that for Linux gtalk is under development…).On the second thought,ubuntu 10.04 has already a Empathy IM(Instant Messenger) client but if you have used gtalk before on windows XP or 7 then you won’t want to forget gtalk.Although there are many other ways you can use google talk on your ubuntu 10.04.One of the simple ways is to install it through wine.

Install google talk(gtalk) on Ubuntu 10.04 – by using wine

#1. To install google talk,first you need to install wine on ubuntu 10.04.Skip this step if already you are using wine on ubuntu.

#2. Download the gtalk windows executable from the google’s website.
Download Google Talk

#3. Install Google Talk on Ubuntu by Right click-> Open with Wine Windows Program Loader.

#4. I hope Your work is done!

Conclusion : Running Windows application program on Ubuntu by using Wine might irritate sometimes..I think Google will release the gtalk for ubuntu(*.deb) soon…

Friday, August 20, 2010

NS2 for fedora 12 ,fedora 13 and RHEL5

hi guys
the indian it diary team has tested Installing different versions of ns2 in fedora 12,13 and also on RHEL5. after two weeks of continuous struggle to install , the team has found out this was the easiest and simplest procedure to install NS2 in Fedora 12 and 13 and also on RHEL5. now follow these steps.


Now follow these steps to install ns on Linux
Download ns-allinone package from nsnam sourceforge project page. Or
download directly version 2.34 from here.

After downloading extract the packages. To do this open gnome-terminal; press Alt + F2 and type exactly gnome-terminal there and hit enter. Then apply following commands.

$ tar xzvf ns-allinone-2.34.tar.gz

Now change directory and run ns `install` script applying following commands


$ cd ns-allinone-2.34

$ ./install



It will display a lot of information on the screen configuring, building and installing packages one after one. It might take around 10 minutes depending on your Computer’s speed. After installation is complete the screen will display information about installation paths of different packages.

Ns-allinone package has been installed successfully.

Here are the installation places:

tcl8.4.18: /home/aliyarappa/Desktop/ns-allinone-2.34/{bin,include,lib}

tk8.4.18: /home/aliyarappa/Desktop/ns-allinone-2.34/{bin,include,lib}

otcl: /home/aliyarappa/Desktop/ns-allinone-2.34/otcl-1.13

tclcl: /home/aliyarappa/Desktop/ns-allinone-2.34/tclcl-1.19

ns: /home/aliyarappa/Desktop/ns-allinone-2.34/ns-2.34/ns

nam: /home/aliyarappa/Desktop/ns-allinone-2.34/nam-1.14/nam

gt-itm: /home/aliyarappa/Desktop/ns-allinone-2.34/itm, edriver, sgb2alt, sgb2ns, sgb2comns, sgb2hierns

----------------------------------------------------------------------------------



Please put /home/aliyarappa/Desktop/ns-allinone-2.34/bin:

/home/aliyarappa/Desktop/ns-allinone-2.34/tcl8.4.18/unix:

/home/aliyarappa/Desktop/ns-allinone-2.34/tk8.4.18/unix

into your PATH environment; so that you'll be able to run itm/tclsh/wish/xgraph.

IMPORTANT NOTICES:

(1) You MUST put /home/aliyarappa/Desktop/ns-allinone-2.34/otcl-1.13, /home/aliyarappa/Desktop/ns-allinone-2.34/lib,

into your LD_LIBRARY_PATH environment variable.

If it complains about X libraries, add path to your X libraries

into LD_LIBRARY_PATH.

If you are using csh, you can set it like:

setenv LD_LIBRARY_PATH

If you are using sh, you can set it like:

export LD_LIBRARY_PATH=

(2) You MUST put /home/aliyarappa/Desktop/ns-allinone-2.34/tcl8.4.18/library into your TCL_LIBRARY environmental

variable. Otherwise ns/nam will complain during startup.

After these steps, you can now run the ns validation suite with

cd ns-2.34; ./validate

For trouble shooting, please first read ns problems page

http://www.isi.edu/nsnam/ns/ns-problems.html. Also search the ns mailing list archive

for related posts.

This information is necessary because, you need to include them on your PATH variable.

To set your PATH correctly follow this format



where PATH_SUGGESTED_BY_INSTALLED_NS has to be replaced with the path displayed at the end of installation of NS.

$ PATH=$PATH:PATH_SUGGESTED_BY_INSTALLED_NS



For example in my case it is:


PATH=$PATH:/home/aliyarappa/Desktop

/ns-allinone-2.34/bin:home/aliyarappa/Desktop/

ns-allinone-2.34/tcl8.4.18/unix:/home/aliyarappa

/Desktop/ns-allinone-2.34/tk8.4.18/unix


To make it permanent append following line to .bashrc file (you can open this file using this command: `gedit ~/.bashrc &`)

export PATH=$PATH:PATH_SUGGESTED_BY_INSTALLED_NS

In my case it is:

export PATH=$PATH:/home/aliyarappa/Desktop

/ns-allinone-2.34/bin:home/aliyarappa/Desktop/

ns-allinone-2.34/tcl8.4.18/unix:/home/aliyarappa

/Desktop/ns-allinone-2.34/tk8.4.18/unix



After PATH is set correctly you can now work with NS. Simply type ns on terminal to run the simulator.

$ ./ns



% set a 4



4



% puts $a



4




% exit