Upload
arif-hussain
View
41
Download
0
Embed Size (px)
Citation preview
7/27/2015 CognitiveRadioNetworkSimulatorinstallation|Mano
https://getch.wordpress.com/2010/12/30/cognitiveradionetworksimulatorinstallation/ 1/7
Mano
DEC302010
CognitiveRadioNetworkSimulatorinstallation
CognitiveRadioCognitiveNetworks(CRCN)Simulatorisbasedonns2simulator.InthispostIwouldexplainindetailthestepsneededtoruncrcnsimulationsinyourLinux.
Note:Theinstallationissuccessfulonlyinversion2.31ofns(nsallinone2.31)
Step1:DownloadCRCNfromandnsallinone2.31from
Step2:IMPORTANT:backupyournsallinone2.31folderbeforeproceeding.Thisiswillhelpustorestoretheworkingns2installationincaseanythingunexpectedoccurs.
Step3:ExtractCRCN.zipandyouwillseeseveralfilesinsidethat.Youhavetocopyeachfileinthatandreplacethecorrespondingfilesinns2.31folder.
Letmeexplainthisinmoredetail.
IfyouhaveafoldernamedAODVincrcn.Copyallitscontentsandpasteitin/home/micman/nsallinone2.31/ns2.31/aodvfolder.
Heremicmanismyusername,replaceitwithyourusername.
Youwouldbereplacingtheexistingaodvfoldercontentswiththenewoneyoucopiedfromcrcn.Leaverestofthefilesunmodified.
Similarly,youwillhavefoldersnamedcommon,mac,mobileandsoon.RepeatStep2forallthesefolders.
Step4:Finally,youwillbeleftwithsometclandperlscriptsinsidethecrcnfolder.Justcopythemandplacetheminanyfolder,preferably/home/micman/nsallinone2.31/ns2.31
Step5:OpenMakefileinrootusermode
$su
#gedit/home/micman/nsallinone2.31/ns2.31/Makefile
Hereihaveusedgediteditor.replaceitwiththeeditorofyourchoice.
Step6:IntheMakefile,findthelinethatsays
Ihavethelight,comegetenlightened
33
7/27/2015 CognitiveRadioNetworkSimulatorinstallation|Mano
https://getch.wordpress.com/2010/12/30/cognitiveradionetworksimulatorinstallation/ 2/7
OBJ_CC=\
Inmysystemitisatline164.
Step7:CopythefollowinglinesandappendittoOBJ_CClistingasshown
wcett/wcett_logs.owcett/wcett.o\
wcett/wcett_rtable.owcett/wcett_rqueue.o\
mac/macng.omac/maccon.o\
mac/macngenhanced.o\
(https://getch.wordpress.com/2010/12/30/cognitiveradionetworksimulatorinstallation/objcc/)
SaveandclosetheMakefile.
Step8:NextexecutethefollowingcommandsinTerminal.
makeclean
makedepend
make
Ifeachofthesecommandsrunwithoutanyerror,thencrcninstallationissuccessful.
Errorswereexperiencedinotherversionsofns2.
ThereisalsoaGUIavailableforCRCNsimulation.Itsjustajarfilethatjustneedstobeexecuted.Allyouneedtodoistorunitstraightaway,butbeforethatithassomedependencies/prerequisites:
*JDK6orlaterversionsshouldhavebeeninstalled.[DownloadJavaJDK(http://www.java.com/en/download/manual.jsp)]
*Gnuplotshouldhavebeeninstalled.[DownloadGnuplot(http://www.gnuplot.info/)]
Ubuntu10.10userscouldinstalliteasilybyexecutingthefollowinglineinTermninal.
$sudoaptgetinstallgnuplot
*Downloadperlscriptandplaceitin/home/micman/nsallinone2.31/ns2.31/
Heremicmanismyusername
*FinallyDownloadjarfile.
Thejarfilecouldbeexecutedasfollows:
$javajarCRCN.jar
7/27/2015 CognitiveRadioNetworkSimulatorinstallation|Mano
https://getch.wordpress.com/2010/12/30/cognitiveradionetworksimulatorinstallation/ 3/7
FormorehelponhowtousetheCRCNGUIgo
(https://getch.wordpress.com/2010/12/30/cognitiveradionetworksimulatorinstallation/tip5/)
(https://getch.wordpress.com/2010/12/30/cognitiveradionetworksimulatorinstallation/blogger_appeal/)
ByManojKumarPostedinNetworkSimulator(ns)TaggedCognitiveRadioCognitiveNetwork,crcn,nsallinone2.31,ns2
33commentsonCognitiveRadioNetworkSimulatorinstallation
1. PINGBACK:hi
KGJANUARY14,2011@9:53AMHeyManoj,IseethatyouareworkingwithCRCNsimulator.Ihavejusstartedwithit.Doyouhaveanyexamplescriptstorunforitforthesingleradiomultiplechannelconfiguration.Ifyoufindsome,plsletmeknowtoo
manoj1987JANUARY14,2011@12:05PM
About these ads(https://wordpress.com/about-these-ads/)
7/27/2015 CognitiveRadioNetworkSimulatorinstallation|Mano
https://getch.wordpress.com/2010/12/30/cognitiveradionetworksimulatorinstallation/ 4/7
HiSerene!VisitCRCNofficialsite.DownloadtheCRCNguijarfiletheyprovide.Iguesstherearesomesamplescriptsbundledintoit!
KGJANUARY19,2011@6:36AMHelloManoj,
Ididcheckwiththescriptsthere.Ibasicallywanttoworkwithasingleradiomultichannelenvironmentbutthechannelindex_variablethatgiveninthepacketheaderisnottakinganyvaluesorthelowerlayerastheysayshouldsupportthisdecisionisprobablynotsupportingthedecision.Canyouhelp?
Thanksalot!
manoj1987JANUARY19,2011@10:01AMHiSerene!IamsorrytosaythatapartfrominstallingCRCN,Igotnoknowledgeaboutit.IlearnttheinstallationparttohelpoutmycolleagueswhohavejuststartedintoCRCN.
KGJANUARY19,2011@11:44AMOk.Thanks!
dipakJANUARY24,2011@10:18AMHiplznametheofficialwebsiteofCRCN
KGJANUARY29,2011@10:54AMDipak,
Followthelink:stuweb.ee.mtu.edu/~ljialian/
jaibabaFEBRUARY15,2011@12:28PMthankyouverymuch.Yourcleardescriptionhelpedmealot
manoj1987FEBRUARY15,2011@9:23PMOhThatssogoodtohearInsteadofathanksyoucancontributeyourfindingstotheworld.Asmallstepcanmakeabigchange.
LOKESHFEBRUARY21,2011@5:33PMihaveinstalledsuccessfullyNS2.butimgettingtheerrorinmakedependmake:***[depend]Error2pleasesuggest
KGFEBRUARY22,2011@12:49AMLOKESH,
Whichstepareyouon?Haveyouinstalledns2.31orsomeotherversionofns?
starbearMARCH26,2011@6:07PMLOKESH,Ihavethesameproblematstep8,makedependerror,haveyousolvedityet?Iinstalledns22.31.
undefinedreferenceto`hdr_wcett::offset_
7/27/2015 CognitiveRadioNetworkSimulatorinstallation|Mano
https://getch.wordpress.com/2010/12/30/cognitiveradionetworksimulatorinstallation/ 5/7
undefinedreferenceto`hdr_wcett::offset_collect2:ldreturned1exitstatusmake:***[ns]Error1
AjitAPRIL13,2011@7:37AMformake:***[depend]Error2inubuntudothefollowing.
sudorm/bin/shsudolns/bin/bash/bin/sh
NiravAPRIL15,2011@1:18PMINCRCNGUIitdoesnotgivemeselectionfortrafficnexttothroughputtab.Cananyonehelp?Thanksinadvance
AliAPRIL22,2011@2:35PMHelloallimtryingtoinstallCRCN.shouldifirstinstallns2.31andtheninstallcrcn?cananyoneexplainplz.Thanks
SunilAUGUST8,2011@10:15AMHi,IamgettingsameerrorasLOKESHEveryversionofsoftwares,(ns2,jreetc)isasperthispagesrequirements.yetIamgettingerroratstep8whentryingmakedepend
MunamNOVEMBER24,2011@1:35AMhythere!Iamtryingtorunmakefilebutitsgivingfollowingerror.pleaseadviceMakefile:520:***commandscommencebeforefirsttarget.
MariaDECEMBER1,2011@5:57PMihaveinstalledns2.31onubuntu10.04.whenIdomakedependitgivesmethiserror.Thanksforyourhelp.
make:***[depend]Error2
SusheelKhianiMARCH28,2012@7:39PMheythanksforthepost
amhavingadoubt
ihavedownloadns2allinone,butthereisnoMakefileinit.thoughthereismakefile.vcandmakefile.in
asaresultamnotabletomoveaheadfromstep6onwardsthistheerroriget
root@susheelCompaqPresarioCQ40NotebookPC:/home/susheel/Desktop/nsallinone2.31/ns2.31#makemake:***Notargetsspecifiedandnomakefilefound.Stop.
pleasehelp..
amreallybadlystuck.
thanksalot
islamMAY3,2012@10:49PM
7/27/2015 CognitiveRadioNetworkSimulatorinstallation|Mano
https://getch.wordpress.com/2010/12/30/cognitiveradionetworksimulatorinstallation/ 6/7
wheniusethiscommandforexamplensrandom.tclifounderrorsalsothatishappendwithmostcodes..whatisthesolutionhelpmeplz
aryamitaMARCH5,2013@11:34PMhello,sirIveinstalledcrcnbuttherearetwoproblems(i)whenitypedinnamfilename.namtoseetheanimationfile,onlythenamconsolecamewithoutanynodesoranyoutput.howdoigetproperanimationwindpw?(ii)incrcnguiwhenipressedinterferencebutton,thenjustablankscreencomes.whatdoidotogetitcorrectly.Pleasehelp/guidme,sir
Regards,Aryamita
nareshAPRIL12,2013@9:56AMwhilerunningsampletclfilewhichislocatedinsidecrcnfolder,iamgettingerrorsayingthatunabletosetchannelbutnodeissettingwithoutanyerror
SonuMishraJUNE19,2013@11:53AMwhenIrunmakedepend,Iget:make:***[depend]Error1
Afewlinesbeforeitareasfollows:internet.ccemulate/ping_responder.ccemulate/arp.ccemulate/icmp.ccemulate/netpcap.ccemulate/nat.ccemulate/iptap.ccemulate/tcptap.cccommon/tclAppInit.cccommon/tkAppInit.cc>&/dev/null
Pleasehelp.
leyeAUGUST22,2013@5:54PMHinareshplziamhavingfewchallengesinCRCNinstallationonNS2.35,couldyoupleasehelpthanksinadvance
amirAUGUST24,2013@10:13AMHiIinstallns2.31inubuntu12.0464bit.IwanttoinstallCRCN,butinstep8whenIusedcommandmake,igetthiserror:collect2:ldreturned1exitstatusmake:***[ns]Error1canyouhelpme,Ireallyneedit..thanks
PrakashAUGUST28,2013@8:04PMIcannotdownloadCRCNforthedirectedsource..saysNotFound
TherequestedURL/~ljialian/crcn.zipwasnotfoundonthisserver.
Apache/2.2.3(RedHat)Serveratstuweb.ee.mtu.eduPort80..
Expectinghelpfromanybodyouthere
ThankYou.
anhvanleOCTOBER4,2013@3:12AM
7/27/2015 CognitiveRadioNetworkSimulatorinstallation|Mano
https://getch.wordpress.com/2010/12/30/cognitiveradionetworksimulatorinstallation/ 7/7
Hi,Pleasefixthelinkbecauseitisdownoranyonecansendmethepatchtomyemailvanla3190@gmail.comThanksinadvance
ManojKumarOCTOBER5,2013@12:[email protected].
AnakNOVEMBER6,2013@10:57PMHiMr.Manoj,[email protected]?.Thankyouinadvance.
SantoshSubediNOVEMBER7,2013@10:17AMHelloeveryone,Igotthesameerrorforthelastcommandmake.Theresponsetothecommandmakeiscollect2:ldreturned1exitstatusmake:***[ns]Error1.Anyideatofixit??????
PratikNOVEMBER22,2013@10:05AMIcannotdownloadthethroughput.plperlscriptfromthewebsite(http://stuweb.ee.mtu.edu/~ljialian/CRCN%20user%20code%203/CRCN%20user%20code%203/throughput.pl
Ifsomeonehasthisperlscript,[email protected].
leyeDECEMBER6,2013@7:25PMGooddaysir,leaseIinstallns2.31inubuntu12.0464bit.IwanttoinstallCRCN,butwhenIusedcommandmake,igetthiserror:collect2:ldreturned1exitstatusmake:***[ns]Error1canyouhelpme,[email protected]
CreateafreewebsiteorblogatWordPress.com.|TheiTheme2Theme.
Follow
FollowMano
BuildawebsitewithWordPress.com