Академический Документы
Профессиональный Документы
Культура Документы
NS2softwareinstallationinWindowsplatformsimpletutorial
Login
Technology
AndroidDevices
Forum
AskExperts
Giveaways
VivoX5Max
ProductReviews
PracticeTests
Register
Search
StartThread|SubmitArticle|RewardPrograms|AdSenseTips|Blogging
Tips|Social|AffiliatePrograms|Help|NewPosts|
ResourcesHardware&NetworkingInstallationandSetup
SignupforourNewsletter!
SubscribetoRSSFeedsbyEmail
NS2softwareinstallationinWindowsplatformsimpletutorial
Techulator
Like
LastUpdated:31Jan2013
Author:MobileBoy
Category:InstallationandSetup
6,013peoplelikeTechulator.
MemberLevel:Gold Points:50
ThisarticleaimstoguidetheNS2softwareinstallationprocessinWindowsplatform,sothatthe
Facebooksocialplugin
majorityofNS2userscancompleteprocessintheshortestpossibletime.HereIhavegiventhestep
bystepNS22.34installationprocesswithscreenshots.Readthearticlebelow.
Advertisements
ActiveMembers
Today
MuddassirHusa...(10)
CarlosSolanki(6)
NS2installationinWindowstutorial
NS2softwareisavailableonlyforLinuxversions.ToinstallthisinyourWindowsOSyouneedtoinstallCygwinwhichisacross
Hafeez(4)
Last7Days
platformLinuxkernel.IhavegivenlinkbelowtodownloadCygwinsoftware.
Vandana(438)
TonyJohn(383)
CygwinISOimagefiledownload
TheabovelinkcontainsCygwinISOfileandthissoftwareiscompatiblewithWindows2000/XP/2003/Vista/Server2008/7.Isuggest
Prakash(148)
more...
onlytodownloadCygwinISOfileasitiseasytoinstall.Thendownload"Daemontools"virtualdrivesoftwaretoopentheCygwiniso
imagefile.UsingDaemontoolssoftwareyoucanmountCygwinimagefile,mountingissimilartoinsertingCD/DVDinaphysicalCD
ROM.InsidethevirtualCDROMyoucanfindsetup.exe,doubleclickonit.Now,aCygwininstallationdialogboxopens.Followthesteps
below.
RSSFeeds
ResourceFeeds
ForumFeeds
JobFeeds
http://www.techulator.com/resources/8854NS2softwareinstallationWindowsplatformsimpletutorial.aspx
1/5
12/21/2014
NS2softwareinstallationinWindowsplatformsimpletutorial
CygwinInstallation
1.ChooseaDownloadSource:Forthisdialogboxselect"InstallfromLocalDirectory"radiobuttonandclicknext.
2.SelectRootInstallDirectory:In"RootDirectory"columnenterC:\cygwinandselectAllUsersandUnix/binaryradiobuttons.
3.Selectpackages:Don'tmisstoinstallbelowpackagesotherwiseNS2won'twork.SelectcurrentradiobuttonandclickonViewto
togglepackagebrowsingmode.
gcc
gccg++
gnuplot
make
patch
perl
tar
Xstartupscripts
xorgx11base
xorgx11bin
xorgx11devel
xorgx11bindlls
xorgx11binlndir
xorgx11etc
xorgx11fenc
xorgx11fnts
xorgx11libsdata
xorgx11xwin
Betteryouinstallallthepackages.EvenifyoumissonepackageNS2willnotworkproperly.
NS2installation
4.Afterthisprocess,Cygwininstallationwillbeover.NowdownloadNS2packagefromthebelowlink.
http://www.isi.edu/nsnam/dist/nsallinone2.29.tar.gz
5.DownloadNS2compressedpackageandcopythepackagetoC:\cygwin\home\YOUR_PATH(YOUR_PATHprobablyyouruser
name).NS2packagemustbeintheCygwin'shomedirectory.
6.Usethefollowingcommandtoextractthecompressedpackage.Lineafterdollarsymbolisthecommandyouneedtotype.
Command1:$tarxvfznsallinone2.29.tar.gz
Note:ModifytheC:\cygwin\home\dinglan\nsallinone2.29\nam1.11\agent.hfile.Inline73enterasNULL0.
Command2:$cd/home/dinglan/nsallinone2.29/ns2.29
Command3:$./configuremakecleanmakedependmake
Abovecommandwilltakesometimesopleasebepatient.
7.GototheC:\cygwin\home\YOUR_PATHdirectoryandfind.bashrcfile.Nowcopytheandpastethebelowlinesintheendof
.bashrcfile.Openthis.bashrcusingatexteditor.EditwhereverImentionedasYOUR_PATH.
exportNS_HOME="/home/YOUR_PATH/nsallinone2.29"
export
PATH="$NS_HOME/nam1.11:$NS_HOME/tcl8.4.11/unix:$NS_HOME/tk8.4.11/unix:$NS_HO
ME/bin:$PATH"
exportLD_LIBRARY_PATH="$NS_HOME/tcl8.4.11/unix:$NS_HOME/tk8.4.11/
unix:$NS_HOME/otcl1.11:$NS_HOME/lib:$LD_LIBRARY_PATH"
http://www.techulator.com/resources/8854NS2softwareinstallationWindowsplatformsimpletutorial.aspx
2/5
12/21/2014
NS2softwareinstallationinWindowsplatformsimpletutorial
exportTCL_LIBRARY="$NS_HOME/tcl8.4.11/library"
Verification
8.Runthecommand
$startxwin.bat
$cd/nsallinone2.29/ns2.29/wimax_example
$nsexample2.tcl
Commandstartxwin.batwillswitchtoNS2modeandshowssomedemofiles.Commandcd/nsallinone2.29/ns2.29/wimax_example
willopenexampleprojectsavailableinNS2.Technicallyit'saTCLdemoscriptandyoucanverifyitbyrunninganyoneofthescript.If
youhaven'tinstalledanypackagescorrectlythenyoumayfaceproblems.Torunascriptusethecommandnsexample2.tcl.The
outputwillbelikebelow.
RelatedResources:
JobsinQatar
AllNewJobsAll
Categories.ApplyToday!
ComparisonofWindowswithLinux
CompareWindowsNTserverwithUnixoperatingsystem
BenefitsofWindowsoverLinux
HowtoaddmycomputertoWindowsTaskbar
HowtorunaTrialSoftwareasLongasYouWishinWindowsOperating
Systems
EvolutionofWINDOWS
RegistryCleanExpert4.78forWindows
WindowsMaliciousSoftwareRemovalToolOnlinescanner
OnScreenkeyboardOneofthebestinbuiltutilitiesthatcomeswith
http://www.techulator.com/resources/8854NS2softwareinstallationWindowsplatformsimpletutorial.aspx
3/5
12/21/2014
NS2softwareinstallationinWindowsplatformsimpletutorial
Windows
HowtorecoveraccidentallydeletedfilesfromWindowswithFileRecover
tool
Readrelatedarticles:WindowsOperatingSystemWindowsInstallationWindowsSoftwares
Didyoulikethisresource?Shareitwithyourfriendsandshowyourlove!
0
Tweet
Share
Recommend 2peoplerecommendthis.
Techulator: Techn
Follow
Like
+1
Share 6,013peoplelikethis.
+ 12,373
Responsesto"NS2softwareinstallationinWindowsplatformsimpletutorial"
GuestAuthor:jagadish30Sep2014
Iamgettingthebelowerrorwhileinstallingns2onWindows.Pleasehelpme.
jagan@jaganPC~
$tarxvfznsallinone2.29.tar.gz
tar(child):nsallinone2.29.tar.gz:Cannotopen:Nosuchfileordirectory
tar(child):Errorisnotrecoverable:exitingnow
tar:Childreturnedstatus2
tar:Errorisnotrecoverable:exitingnow
jagan@jaganPC~
$
Feedbacks SubscribetoFeedbacks
UnSubscribe
PostComment:
Notifymebyemailwhenotherspostcommentstothisarticle.
Donotincludeyourname,"withregards"etcinthecomment.Writedetailedcomment,relevanttothetopic.
NoHTMLformattingandlinkstootherwebsitesareallowed.
Thisisastrictlymoderatedsite.Absolutelynospamallowed.
Name:
SignIntofillautomatically.
Email:
(Willnotbepublished,butrequiredtovalidatecomment)
Typethenumbersandlettersshownontheleft.
SubmitResponse
http://www.techulator.com/resources/8854NS2softwareinstallationWindowsplatformsimpletutorial.aspx
4/5
12/21/2014
NS2softwareinstallationinWindowsplatformsimpletutorial
SubmitArticleReturntoArticleIndex
AboutUsContactUsCopyrightPrivacyPolicyTermsOfUseTrademarkDisclaimer
http://www.techulator.com/resources/8854NS2softwareinstallationWindowsplatformsimpletutorial.aspx
5/5