Leach links #4
http://www.linuxquestions.org/questions/linux-newbie-8/protocol-leach-862835/#4
Latest : Pegasis+leach for ns-2.34 : exidus-pegasis-leach-ns234.patch.tar.gz
https://docs.google.com/file/d/0B7S255p3kFXNRFd1NGxVYlUtTU0/edit?usp=sharing
--
View this message in context:
http://netw
May be like : http://elmurod.net/en/index.php/archives/72
set val(energymodel) EnergyModel
set val(initialenergy) 100 ;# value
$ns node-config <.>
-energyModel $val(energymodel) \
-initialEnergy $val(initialenergy) \
Google .. initial energy of a node in ns2 ..
More examples
http://mahda
Besides the six zrp.tcl you have from zrp-examples-2012.tar.bz2
https://docs.google.com/file/d/0B7S255p3kFXNNmJSTERpQTY4Slk/edit?usp=sharing
... you can do 1) generate some new examples with the "ns2 script generator"
NSG2.1 http://mohittahiliani.blogspot.dk/2009/10/tcl-script-generator.html
( $ j
@etudiante :
Nam is a separate application, an animation tool for viewing network
simulation traces
http://www.isi.edu/nsnam/nam/
If you think you have a successful build of 'nam', and if 'nam' is in your
PATH,
you can open the nam GUI with : $ nam
The most common ways for using nam : 1) $ nam
> @moein
> /usr/include/c++/4.1.3/bits/stl_bvector.h:544: error: expected
> unqualified-id be
http://www.hamilton.ie/tianji_li/afr/afr.230.tar.gz
"afr.230.tar.gz" seems to contain some very old files. (From the ns-2.27
version ?)
Compiles OK with g++ version 3.3.6 . ( Or g++ version 3.2.3 ).
-
> @Bouki
> how can I install 802.21 module on ns-2 ...
Google .. ns2 802.21 module ..
Code example : http://sourceforge.net/projects/mihnistns229/
""MIH Nist NS2.29 , IEEE 802.21, MIH, Multi Criteria making decision""
You will find the "802.21" in the code with :
$ cd ns-allinone-2.29/ns-2.29/
> BMAC, Smac, Zmac
> @Yaseen
Examples, BMAC, SMAC, ZMAC ...
Ns2 : 'ns-2.**/tcl/test/test-suite-smac.tcl
Google .. ns2 BMAC.tcl .. ; Google .. ns2 SMAC.tcl .. ; Google .. ns2
ZMAC.tcl .. ;
wsn-bmac
http://code.google.com/p/wsn-bmac/source/browse/trunk/test/wireless-demo-csci694-bmac.tcl
> wire
> @ Bouki
> I posted 2 weeks ago about 802.21 simulation.
> .. this link: http://sourceforge.net/p/mihnistns229/wiki/Home/
> but it didnt work. it is out of date. even the file didnt extract without
> errors
"the file didnt extract without errors" :
A corrupt download ? $ tar xvf NS-MIH-MULTI-CR
> @prince
> regarding mannasim patch for ns-2.35
"ns2.35-mannasim.patch" : https://github.com/paultsr/ns-allinone-2.35
$ git clone https://github.com/paultsr/ns-allinone-2.35
... That's an ns-ns-allinone-2.35, patched with mannasim.
The patch 'ns2.35-mannasim.patch' has this location
ns-all
> @prince
> problem regarding mannasim patch for ns-2.35
>
> I have ubuntu 12.10(32-bit)
> I have 64 bit OS
? Which one is it ? $ uname -m
Mannasim patch for ns-2.35 : Unless you do something really really wrong, it
can't fail.
Ubuntu 12.10 - 64bits : x86_64 :
$ tar xvf ns-allinone-2.35.tar.gz
> @ prince
> invalid command name "EnergyModel/Battery"
No "EnergyModel/Battery" : Means that you are using an executable 'ns' with
no mannasim.
I.e. you are using the wrong 'ns'.
Or : If you have only one file by name 'ns' : No mannasim was compiled into
'ns'.
That's what happens when you ha
> @prince
> .. compiled as per given instructions
Hi.
I made three builds on the 64bits Ubuntu 12.10, and two on the 32bits.
Using some different ways of building. I wasn't able to reproduce your
errors ..
http://network-simulator-ns-2.7690.n7.nabble.com/problem-regarding-mannasim-patch-for-ns-
> @muaz
> LAR Patch
> .. a patch of LAR protocol for ns2.33 or ns2.34
"toilers-LAR-DREAM-2.32.patch" http://www.prism.gatech.edu/~gtg975v/ns/
→ http://www.prism.gatech.edu/~gtg975v/ns/toilers-LAR-DREAM-2.32.patch
Files for ns-2.33 were created from "toilers-LAR-DREAM-2.32.patch" to ...
toilers-
> @ Shivjay Singh
> warning: no class variable
> ./test: line 2: cd: tcl/ex: No such file or directory
> ./test: line 7: ./leach_test: No such file or directory
Looks like the oldest patch to be found ? With the buggy "test" ?
An edited 'test' is here, post #6
http://www.linuxquestions.org
> @tinh May
> but when i use ./configure and make ..
> configure: error: Installation of tcl seems incomplete or can't be found.
"ns-allinone-2.35" is known not to find it's own tcl when you recompile in
that way.
1) The most easy solution is to do a 'make clean' in
ns-allinone-2.35/ns-2.35/,
..
> @ tinh May
Add 1) : Ref. 'make clean'.
Better do 'make distclean' to insure that the old Makefile and config.status
are deleted.
-
--
View this message in context:
http://network-simulator-ns-2.7690.n7.nabble.com/Erros-when-use-configure-tp27446p27450.html
Sent from the ns-users mailing l
> @Shivjay Singh
> ./test
Don't know what you mean by result ? No file name ? ?
This is the output files from './test' :
$ cd mit/leach_sims/ && ls -l
-rw-r--r-- 1 knudfl knudfl 479 Aug 7 14:49 conditions.txt
-rw-r--r-- 1 knudfl knudfl 13060 Aug 7 14:49 le
> @ senthil kumar
> the ns-miracle extension package
The old "ns-miracle extension packages" : No valid links any more I think.
( I can't guess what you are trying to download. No links or file names in
your post.)
? Did you read this ..
https://groups.google.com/forum/?fromgroups#!searchin/ns-u
s/tags/leach/
Pegasis info http://www.linuxquestions.org/questions/tags/pegasis/
Running the LEACH 'test' :
$ export RCA_LIBRARY=/home//ns-allinone-2.34/ns-2.34/mit/rca && export
uAMPS_LIBRARY=/home//ns-allinone-2.34/ns-2.34/mit/uAMPS && ./test
Kind Regards , knudfl.
-
AMPS/sims/leach.tcl" : I don't think it's a
simulation.
Kind Regards , knudfl.
-
--
View this message in context:
http://network-simulator-ns-2.7690.n7.nabble.com/Leach-error-tp27515p27526.html
Sent from the ns-users mailing list archive at Nabble.com.
> @Ghada Al-mashaqbeh-2
> Is it true that ns2 is designed only for 32 bit systems
> and will not work correctly under 64 bit systems ?
> ... Ubuntu 12.04 64 bit
Generally you will get an inferior ns2 validate result from any 64bits Linux
OS.
Some ns2 versions / some patching will not work on a 6
> @Manjula Raja
> I have ubuntu 12.04
> is it compulsory to have gcc 4.3
Please read your previous post :
http://network-simulator-ns-2.7690.n7.nabble.com/Which-version-td27524.html
The available compilers are : gcc-4.1.2 for 32bits. ( And gcc-3.4.6 for a
64bits OS.)
** The referred "LQ @May Tam
> @SUREKHA
> Source code for fsr
** http://linuxsilo.net/docs/smart-questions_en.html
→ → "Don't TYPE IN ALL CAPS, .." ((Difficult to read etc. etc.))
Google .. ns2 fsr ..
https://www.google.com/webhp?hl=all#fp=d63228eae288ed4d&hl=en&q=ns2+fsr
Google .. ns2 zigbee ..
https://www.google.com/webhp
> @chandu1234
> ns2 in linux set the path
The "You must put ... <**_PATH ..>" text is a University thing / a 15 year
old text.
I.e. most often it can be ignored.
When you are the owner of the computer and have sudo / root access, you can
run make install:
$ cd ns-allinone-2.34/ns-2.34/ ; $ s
> @Flavio
> NS-2 models (codes) for Powerline Communication (PLC) network
May be ns3 can do what you want ?
Google .. ns3 powerline .. : 2,000,000 hits.
The first hit is http://www.ece.ubc.ca/~faribaa/paper.pdf
→ Page 6 : "CONCLUSION
In this paper, we have addressed one of the main shortcomings
Hi.
NSG2.1 https://sites.google.com/site/pengjungwu/nsg
→ Download NSG2 : → NSG2.1 (2008/11/18) →
https://fe91046d-a-62cb3a1a-s-sites.googlegroups.com/site/pengjungwu/nsg/NSG2.1.jar?attachauth=ANoY7cqwOOpePpbx7hu6Vhp6JlABSzp4Xqwxbu1LexYJjChG0pizzlSaax6M3TrouCmIn7ms6gPwp44OkUm_RkB-l5l-PpWyHB2B2Ob
> @Aline, Frank
> failed to build of ns-allinone-2.33 for nam and xgraph
Generally : 1) ns-allinone-2.xx is for a 32bits OS.
Most versions and patches will however work on a 64bits OS.
But with an inferior validate ( make test ) result.
2) I don't think you can build nam-1.13 on RHEL 6 - x86_64.
> @frace
> "install.osx.patch"
Google .. install.osx.patch .. : The first hit is :
""nsnam / Patches / #21 install patch for OS X Mountain Lion""
http://sourceforge.net/p/nsnam/patches/21/
→ → Tom Henderson / 2012-09-08 / Attachments / install.osx.patch
→
http://sourceforge.net/p/nsnam/patches/
> @rockchandu2020.
Please provide a valid link to the spin code.
Currently there seems to be no 'spin' at "nslouie".
If the code isn't available any more from the Internet,
please pack up "your spin code" as e.g. spin-2013.tar.gz.
( 'spin.tar.gz' is the old name for the ns-2.1b5 code.)
... And t
> @Golpour
> Would you please help me to install ns2.33
> gcc -c -O2 -pipe -Wall -Wno-implicit-int -fno-strict-aliasing -fPIC ..
`gcc' : That's gcc-4.8.1 , which cannot be used for "ns-allinone-2.33".
Please use gcc/g++ version 4.1.2 when / if you have the 32bits (i686) Ubuntu
13.10 :
a) gcc41
> @Flavio Arieta
> What could cause stack smashing on ns2 ?
"Stack smashing" can be caused by the wrong combination of OS version,
architecture (x86_64), the patch you are using. (And a failed build.)
*** Ns2 is for a 32bits OS (i686).
*** Not all patches will work with a 64bits OS (x86_64.)
Wh
> @Flavio Arieta
> .. Ubuntu release 12.04 .. 32-bit
No issues here with ns-2.34 + hwmp / Ubuntu 12.04 32bits :
$ tar xvf ns-allinone-2.34.tar.gz && cd ns-allinone-2.34/
$ tar xvf hwmp_rev282-ns234-patch.tar.bz2
https://drive.google.com/file/d/0B7S255p3kFXNcUxBT0hBX2ZNNFE/edit?usp=sharing
$ expo
> @faza2004
> ... same problem ..
Please tell what you are trying to do.
Is it mannasim ? Which version of ns-allinone-2.xx ?
.. And please specify your Linux OS :
a) The reply from the command $ uname -m
b) The OS name and version.
** Mannasim info http://www.linuxquestions.org/questions/tags/
> @faza2004 , Feb 04, 2014
> ?
Well, then be sure to read
http://www.linuxquestions.org/questions/tags/mannasim/
... and use the proof patch "mannasim-patched-ns229.tar.bz2", post #16 here
..
http://www.linuxquestions.org/questions/linux-newbie-8/help-ns2-29-installation-on-ubuntu-10-04-a-4175458
> my above post
> c) $ export CC=gcc41 CXX=g++
Sorry, I have a typo.
Must be (c) $ export CC=gcc41 CXX=g++41 && ./install
-
--
View this message in context:
http://network-simulator-ns-2.7690.n7.nabble.com/running-configuration-Installation-of-tclcl-seems-incomplete-or-can-t-be-foun
> faza2004
> cp: cannot create regular file
> `/home/baran/ns-allinone-2.29/lib/#inst.5697#': Permission denied
Looks like you have unpacked the "ns-allinone-2.29.3.tar.gz" with 'sudo'.
Please do all ns2 commands as unprivileged user (except 'make install') :
$ tar xvf ns-allinone-2.29.3.tar.g
> @ faza2004
> " sudo apt-get install g++-4.1 "
! There is no 'g++-4.1' to be installed with apt. (That's Ubuntu 10.04 and
earlier.)
Read the above posts ! The install command is :
sudo dpkg -i gcc41-compat-4.1.2.ubu1110_i386.deb g++41-compat-4.1.2_i386.deb
-
--
View this message in context
> faza2004
> list.h: No such file or directory
** Probably reinstall "gcc41-compat-4.1.2.ubu1110_i386.deb".
The fact is, I get no errors at all with mannasim / ns-2.29.3 .
Are you sure that your OS is 32bits (i686) ?
? You didn't answer to my first question / first post to you ? :
→ The reply
> @ faza2004
>From your previous post > ""fatal error: X11/Xlib.h: No such file or
directory"".
When you can forget to install the X libraries, may be you didn't install
all the ns2 prerequisites ?
They are : $ sudo apt-get install g++ autoconf automake libtool patch
libxmu-dev xgraph
-
--
V
> faza2004
> make: g++-41: Command not found
"make: g++-41: Command not found" : You have a typo in the "export command"
:
It's g++41 , not g++-41
I.e. $ export CC=gcc41 CXX=g++41 && ./install
-
--
View this message in context:
http://network-simulator-ns-2.7690.n7.nabble.com/running-conf
@ faza2004.
Testing :
A) $ ns-mannasim mannasim-rede-plana.tcl : The file mannasim-rede-plana.tr
38 kB is created.
B) $ ns-mannasim mannasim-rede-hierarquica.tcl :
mannasim-rede-hierarquica.tr 53 kB.
** Mannasim does not support nam.
It is possible to edit the above files to produce a small "ou
> faza2004
> invalid command name "EnergyModel/Battery"
invalid command name "EnergyModel/Battery" : That's either a failed build.
Or you are using a wrong version of the executable 'ns'.
You will have to use a renamed copy of ns-allinone-2.29/ns-2.29/*ns* ,
.. e.g. a copy by name '*ns-m*' , w
> @Flavio Arieta
> I have a protocol implementation on ns2.31.
> ... transfer ... to the another version ?
Which protocol is it about ? ?
Some protocols are fairly easy to edit to a later version.
But mostly : Stick to the version the protocol was made for.
Generally : You can have as many ve
> @hamta
> sudo git clone git://github.com/paultsr/ns-allinone-2.35.git
"sudo" is wrong ! ns2 is supposed to be built in /*home/*hamta/ns2/.
** Do not use sudo for any ns2 commands. ( Except 'make install'.)
The right "git clone" command is :
$ git clone https://github.com/paultsr/ns-allinone-2
> @hamta
> there are Installation Steps in wsnlab.org as a following ..
> http://forum.wsnlab.org/threads/how-to-install-ns2-35-with-mannasim-in-ubuntu-13-04.15/
First : Don't believe everything you read on the Internet.
And : The most "tutorials" are written by young students,
who are using Linu
> @:Dr:0z:D
> Segmentation fault
Result here : $ ./ns , will show % OK.
But the $ './ns all.tcl' result ..
[knudfl@localhost ns-2.35]$ ./ns myproto/all.tcl
_o39 recv GOOD ''
Xwarning: no class variable Scheduler/Calendar::packetSize_
see tcl-object.tcl in
> @dilipgyawali
> make: Nothing to be done for `all'.
> setdest: . Aborted (core dumped)
Noting to be done → Do nothing → Everything is OK.
.. It's simply the normal behavior by using 'make' :
When 'make' has been run once before : Nothing to be done.
I.e. the first 'make' was done with t
> @ moreroz
> wpan11.tar.gz
`wpan11.tar.gz' has a time stamp = Year 2004.
The files are meant for ns2 versions with no wpan : ns-2.26 .. ns-2.27 .
Please have a look into ns-2.34/wpan/, to watch files resembling
`wpan11.tar.gz'.
-
--
View this message in context:
http://network-simulator-ns
> @anirudh
> makefile.in is newer than makefile.
... I guess you mean : Makefile.in is newer than Makefile.
Please do : $ touch Makefile
* I.e. the touch command will change the time stamp to "the current time".
-
--
View this message in context:
http://network-simulator-ns-2.7690.n7.nabble
> @ ubuntu1
> when I run the gpsr.tcl
The file by name "gpsr.tcl" is usually a »GPSR configuration file«.
So which file.tcl is it about ? ? Please upload the file to e.g. `Google
Docs'.
GPSR-hls examples : gpsr-hls-examples-0113.tar.gz
https://drive.google.com/file/d/0B7S255p3kFXNWnNFWnY4ZmhCN1E
> @ubuntu1
> gpsr.tcl
The new "gpsr.tcl" is also a "gpsr configuration file". Not a file that you
can run !
Please read the file gpsr.tcl : Files.tcl are text files. Line 1 in your
"gpsr.tcl" says :
""gpsr.tcl -- TCL-world *configuration of GPSR* routing for ns-2"".
So it might be usable at doin
> @kinjal
> make: *** No rule to make target `VERSION'
The text file "ns-allinone-2.26/ns-2.26/VERSION" is missing.
Solution : Create a text file "VERSION", and type 2.26 in line one.
-
--
View this message in context:
http://network-simulator-ns-2.7690.n7.nabble.com/Error-during-MAODV-inst
> @kkundu
> Does anyone have the CONFIDANT protocol for ns2 ?
You can get the "imm3961.pdf" here
http://etd.dtu.dk/thesis/185873/imm3961.pdf
... Which includes { Monitor.h Hdr_Confidant.h Monitor.cc Pathmanager.cc
Reputationsystem.cc Reputationsystem.h Trustmanager.h Runtestscript.tcl }
... for n
> @kkundu
> it does not contain detector.h
No. And some more could be missing. Follow the link you got →
→ That's why the suggestion is to write to the author, Shanshan Song ..
http://www.linuxquestions.org/questions/linux-newbie-8/code-of-confidant-implemented-in-ns2-4175494785/#8
... and ask fo
> @kinjal
> No rule to make target `tcl/mcast/BST.tcl'
First you are missing the file VERSION :
.
http://network-simulator-ns-2.7690.n7.nabble.com/Error-during-MAODV-installation-td28555.html
... and now it's a missing BST.tcl .
Suggest : Delete the ns-allinone-2.26.tar.gz that you downloaded.
.
> @kinjal
> ns-2.26-gcc410.patch
Well, not that many links anymore for a free "ns-2.26-gcc410.patch" :
→ https://www.google.com/webhp?hl=all#hl=all&q=ns-2.26-gcc410.patch
* Example link, with an attached "ns-2.26-gcc410.patch", post #7 here :
http://www.linuxquestions.org/questions/linux-newbie-
> @ノCloverし
> Tracegraph ... link.
You will need two files, "tracegraph202linux.tar.gz" and "mglinstaller.gz".
tracegraph202Linux
https://drive.google.com/file/d/0B7S255p3kFXNY1Y3SDdXYUtEa28/edit?usp=sharing
mglinstaller
https://drive.google.com/file/d/0B7S255p3kFXNZV9fQnpIbm1aYU0/edit?usp=shar
> @kerkerred
> PT_TASK
Probably add TASK to `tcl/lib/ns-packet.tcl´ , e.g. section # Other
.. Should be lines 182 .. 185 , if ns-2.35 .
Then, $ cd ns-2.35/ && make clean && make
.. and TASK should be present in the executable 'ns'.
-
--
View this message in context:
http://network-simulat
> @kerkerred
> Segmentation fault
→ #2
http://www.linuxquestions.org/questions/linux-newbie-8/aodv-uu-segmentation-fault-on-ns2-34-a-4175499342/#2
-
--
View this message in context:
http://network-simulator-ns-2.7690.n7.nabble.com/how-to-set-packet-type-tp28622p28643.html
Sent from the ns-us
> @ हर्षद वाजार
> Mac/Csma/Ca
A "Mac/Csma/Ca" example that works : `csma.tcl´
https://github.com/dnlove/ammac-ns2/blob/master/duy/tcl/csma.tcl
I.e. you can try editing line 43 to MAC/Csma/Ca (Instead of `MAC/Csma/Cd´.)
.. Which will work equally well as `MAC/Csma/Cd´.
All "duy/tcl" https://githu
> @ billyfuad
> how to patch LAR
Which Linux OS are you using ?
a) Please show the output from the command $ uname -m
b) OS name and version.
-
--
View this message in context:
http://network-simulator-ns-2.7690.n7.nabble.com/LAR-Patch-tp27351p28646.html
Sent from the ns-users mailing list
> @billyfuad
> Ubuntu 12.04 - x86_64
OK, the LAR patching and the simulations are working with Ubuntu
12.04-x86_64.
How to build ns-2.33 + toilers-LAR-DREAM :
$ sudo apt-get install \
g++ g++-4.4 autoconf automake make patch libtool libxmu-dev xgraph nam
$ cd ns-allinone-2.33/
$ tar xvf toilers-
> @moreroz
> .. any documentation about the code I have ?
802.15.4 ( Zigbee ).
. http://www.ee.washington.edu/research/funlab/802_15_4/
. http://www.ifn.et.tu-dresden.de/~marandin/ZigBee/ZigBeeSimulation.html
→ ZigBee Tutorial
→ ZigBee Simulation Environment
→ System performance
→ Helpful scrip
> @billyfuad
> gzip: stdin: not in gzip format
Well, then delete the `toilers-LAR-DREAM-ns233-patching.tar.gz´, that you
downloaded.
And get a new one from ..
https://drive.google.com/file/d/0B7S255p3kFXNM2JwbktMSGxoUkE/edit?usp=sharing
-
--
View this message in context:
http://network-simu
> @billyfuad
> Location Aided Routing Protocol (LAR)
> is it the same way if I would use NS-2.34 ?
`ns-2.34´ : You can try out the patch, toilers-lar-dream_ns234.patch
https://drive.google.com/file/d/0B7S255p3kFXNaHY3WnNodERZQUU/edit?usp=sharing
Not all the simulations seem to work OK today. Y
> @billyfuad
> tes.tcl , Zigbee / 802_15_4
1) Your link is for 'tes.tcl' only.
Please provide "kordinat_20_20.scn" too.
2) Please have a look into ``dream.tcl´´ to know how "Dream" is added :
Line 114 : add-packet-header Dream
-
--
View this message in context:
http://network-simulator-ns-
> @billyfuad
> Zigbee / 802_15_4
Here is my sketch for a Zigbee file with "Agent/Dream" :
wpan_demo1__Dream.tcl
https://drive.google.com/file/d/0B7S255p3kFXNVTBaWmdGNTVHWTA/edit?usp=sharing
It's the default ns-2.xx/tcl/ex/wpan_demo1.tcl + the 88 lines (edited)
`Dream´ stuff from dream.tcl .
* Y
> @billyfuad
> tes.tcl
OK, got the file `kordinat_20_20.scn´.
Other missing file(s) : /tess.awk/ , and maybe energy.awk if different from
the default energy.awk.
"tes.tcl" : Nice 802.15.4 example , no ``Dream´´.
? Did the "wpan_demo1__Dream*.tcl" examples do anything that you could use ?
-
> @ evi26
> rushing attack
May be you can use this ?
http://wirelessnetworksecurity11.blogspot.dk/2014/01/rushing-attacks-jellyfish-and-byzantine.html
Works OK, with ns-2.35 see post #17 here :
http://www.linuxquestions.org/questions/linux-software-2/ns2-wormhole-attack-4175471714/page2.htm
> @jega
> TPSN
$ *ns-tpsn* tpsn.tcl :
ns: tpsn/tpsn_udp.cc:749: virtual void TpsnUdpAgent::sendmsg(int, AppData*,
nsaddr_t, const char*): Assertion `size_> 0' failed.
Looks like you are the first one to use the TPSN code in the 7 years since
it was made ?
Here are the links. And hopefully somebo
> @Edmond Egaru
> nam , "segmentation fault .."
Is it an out.nam file that causes `segmentation fault´ ?
? Or is it at doing $ nam
If you have a corrupt executable 'nam' : Delete 'nam'.
And install a new one : $ sudo apt-get install nam
--
View this message in context:
http://network-s
> @jega
> " Assertion size_>0 failed" aborted
A (dirty) fix : Edit ( line 749 ) from
assert(size_> 0);
to
//assert(size_> 0);
In ns-2.xx/, delete 'ns', and tpsn/tpsn_udp.o
Run $ make : And you have a new executable 'ns'.
If you get "Floating point exception" with
> @justisiaaa
> zigbee
You don't tell which "throughput.awk" and "awk_delay.awk" scripts it's
about.
The "tes.tcl" connected awk files are included in
`802.15.4-zigbee_05.2014.tar.gz´ →
→
https://drive.google.com/file/d/0B7S255p3kFXNLVZyMEU0YnBNZkU/edit?usp=sharing
The package `awk_scripts-04.20
> @justisiaaa
> awk scripts.
Assume `aodv20.tr´ from $ ns tes.tcl , with » set val(rp) AODV «.
$ $ awk -f Throughput2007.awk aodv20.tr
Average Throughput[kbps] = 68.94 StartTime=63.20
StopTime=99.80
Average Throughput[kbps] = 68.94 StartTime=63.20
S
> @ billyfuad
> GPSR-hls + LAR.
* Please use a 32bits OS for GPSR-hls :
* The simulation with e.g. "hls.tcl" doesn't work in a 64bits OS.
Building the application isn't a problem. Just use an older compiler :
g++34.
Example, post #19 here ...
http://www.linuxquestions.org/questions/linux-wirele
> @ faza2004
> invalid command name "ARQTx"
Looks like you are using the wrong executable 'ns'.
If you are sure that the "arq-Tx" files were compiled into a new 'ns',
then make a copy of this new ns, to a new name :
1) $ cp ns ns229-arq
2) $ sudo cp ns229-arq /usr/local/bin/
Suggest : Rename
> @faza2004
> wireless arq ?
Please have a look at the arq.tcl from either of ns233 / ns234 / ns235.
$ ns arq.tcl
Or : $ ns229-arq arq.tcl
.. is a more complex simulation / output result.
And you can try editing the arq.tcl from ns-2.3x to your requirements.
-
--
View this message in cont
> @boufedah badissi azzouz
> ns2 `Trace Formats´
NS-2 Trace Formats http://nsnam.isi.edu/nsnam/index.php/NS-2_Trace_Formats
→ → "New Wireless Trace Formats"
-
--
View this message in context:
http://network-simulator-ns-2.7690.n7.nabble.com/new-wireless-trace-format-tp28767p28772.html
Sen
> @ yaseen-2
> Ubuntu 14.04 64bits
> nam, segmentation fault
> write tcl file
May be the Ubuntu 14.04 nam has been updated ? Current is "build 3" :
nam-1.15-3 .
Suggest 1) : Update your nam install → →
$ sudo apt-get install --reinstall nam libotcl1 libtclcl1
( I have no issues with the Ubuntu
> @yaseen-2
> nam-1.15
Building a stable nam-1.15 package : OK → nam_1.15-10-ubuntu14_amd64.deb ,
2.3MB
https://drive.google.com/file/d/0B7S255p3kFXNdmxzSmRzaVRWb28/edit?usp=sharing
→ No dependencies. { tcl, tk, otcl, tclcl } : Included in the package.
Based on the gcc-4.8 / g++-4.8 updated ns-
> @evi26
> attack
I wonder why you don't ask in your own thread about attack :
http://network-simulator-ns-2.7690.n7.nabble.com/rushing-attack-code-td28700.html
If you find some outdated information on the Internet, that doesn't work,
please tell what's about. Else no chance to help you.
The ru
> @eng.aqeel
> awk scripts
You can find about 50 awk scripts for ns2 with Google.
The latest package with ns2 scripts is `awk_scripts-05.2014.tar.bz2´
https://drive.google.com/file/d/0B7S255p3kFXNcm9KTG84TVo2ZFE/edit?usp=sharing
-
--
View this message in context:
http://network-simulator-n
> @topgun007
> awk script
May be you can find a perl or awk script in "awk_scripts-05.2014.tar.bz2" ?
https://drive.google.com/file/d/0B7S255p3kFXNcm9KTG84TVo2ZFE/edit?usp=sharing
... It's a package with about 75 scripts.
-
--
View this message in context:
http://network-simulator-ns-2.769
> @Reza Karimi
> disable sending ACK packets in MAC Layer
? May be ?
https://www.google.com/webhp?hl=all&gws_rd=ssl#hl=en&q=ns2+disable+sending+ACK+packets+in+MAC+Layer
→ → Lots of info. ( 300,000 hits.)
Example http://cng1.iet.unipi.it/archive/ns2hcca/thesis_ch8.pdf
-
--
View this messa
> @Golpour
> PEGASIS for NS2.34
Pegasis info http://www.linuxquestions.org/questions/tags/pegasis/
The files : leach+pegasis-ns234-files-2.tar.gz
https://drive.google.com/file/d/0B7S255p3kFXNUDB4VmI4ZVdZTjg/view?usp=sharing
$ cd ns-allinone-2.34/
$ tar xvf leach+pegasis-ns234-files-2.tar.gz
$ .
Well, you can start here : Google .. ns2 cluster* ..
. https://www.google.com/webhp?hl=all&gws_rd=ssl#hl=en&q=ns2+cluster
. https://www.google.com/webhp?hl=all&gws_rd=ssl#hl=en&q=ns2+clustering
.
https://www.google.com/webhp?hl=all&gws_rd=ssl#hl=en&q=ns2+clustering+simulation
. https://www.google
> @Nabin Pradhan
> mdart
MDART, Multipath-directed-diffusion.
Acttually the patch http://wpage.unina.it/marcello.caleffi/ns2/mdart.html
→ wget http://wpage.unina.it/marcello.caleffi/ns2/mdart.diff
is pointing to an "ns-2/", and can also be used for ns-2.33 .
But anyway, here is the genuine
> @Nabin Pradhan
> GPSR tcl code with VANET mobility
Please attach your "Sumo movement" file(s).
If too big for attaching, the file(s) can be uploaded to 'Google Docs /
Google Drive'.
-
--
View this message in context:
http://network-simulator-ns-2.7690.n7.nabble.com/GPSR-tcl-code-with-VAN
> @ xoxcowboyxox
> eurane
Example ns-allinone-2.30 :
$ cd ns-allinone-2.30/
$ ln -s ns-2.30/ ns-2.30-eu112
$ patch -p0 < ns-2.30_eurane-1.12.diff
https://drive.google.com/file/d/0B7S255p3kFXNb2xsVGFKbWw5aHc/view?usp=sharing
And ns-allinone-2.34, post #3 here ...
http://www.linuxquestions.org/qu
> @xoxcowboyxox
> Eurane
* ns-allinone-2.30 : gcc / g++ version 4.1.2 is required.
* ns-allinone-2.34 : Use gcc / g++ -4.4 ,
like this (Ubuntu) example : $ export CC=gcc-4.4 CXX=g++-4.4 && ./install
? Which "Linux OS" are you using ?
a) Please show the output from the command $ uname -m
b) OS
> @pratikjoshi
> IEEE802.11
? Change "contention window" from what to what ? ?
Some documentation ...
. http://www.isi.edu/nsnam/ns/doc/node193.html
. http://www.crhc.illinois.edu/wireless/assignments/simulations/slabc1.html
.
http://www.ijoar.org/journals/IJOAREC/papers/Implementation-of-Dedic
> xoxcowboyxox
> ns-allinone-2.30 + Eurane.
Repeat : show the output from the command $ uname -m
I.e. there are two versions of Ubuntu 14.04 : 1) i686 2) x86_64
-
--
View this message in context:
http://network-simulator-ns-2.7690.n7.nabble.com/About-Eurane-install-and-the-multi-cell-pa
> @ xoxcowboyxox
> Eurane-umts, ns-2.35
The patch `ns-2.35_eurane-1.12.diff´ is not usable. Too many errors in the
file.
Your (copy?) of some complicated way building ns-allinone-2.35 :
As complicated as possible is rarely the right solution.
* And defenitely no reason to show it here.
A lin
> @xoxcowboyxox
> Ped_A, Veh_A
Ped_A, Veh_A : Unknown terms
Goggle, ns2 ped_a, veh_a : No valid hits.
Google, sumo ped_a, veh_a : Also nothing.
Please tell where you got information about "Ped_A, Veh_A",
"Pedestrian or Vehicle Environment" for ns2.
-
--
View this message in context:
http:
> @vaishali mandhare
> OLSR
Build example ...
$ tar xvf ns-allinone-2.35_gcc491.tar.gz
https://drive.google.com/file/d/0B7S255p3kFXNWEZzekRuSGVJMVE/view?usp=sharing
$ cd ns-allinone-2.35/
$ patch -p0 < umolsr-ns235_v1.0-2014.patch
https://drive.google.com/file/d/0B7S255p3kFXNeVZhWFVVZlJnUEU/view?
> @banti patil
> TORA
Please read my post #2 here , Apr 07, 2014; 4:14pm
http://network-simulator-ns-2.7690.n7.nabble.com/TORA-td28539.html#a28540
I.e. "The stock tora in ns-2.xx isn't working well with the known tora
simulation examples."
-
--
View this message in context:
http://network-s
> @banti patil
> ZRP, ns-2.33
»» invalid command name "Agent/ZRP" «« :
You are using a wrong executable 'ns'. Or you have a failed build of
ns-2.33 + zrp.
HOWTO ZRP + ns-2.33 , build example :
a) $ tar xvf ns-allinone-2.33.tar.gz
b) $ cd ns-allinone-2.33/
c) $ patch p0 < zrp-diff2014_ns233.pat
> @Pinakini
> ns-2.27
HOWTO build ns-allinone-2.27 :
$ tar xvf ns-allinone-2.27.tar.gz
$ patch -p0 < ns-2.27-gcc410.patch
. I.e. the patch must be applied outside "ns-allinone-2.27/"
$ cd ns-allinone-2.27/
$ export CC=/gcc41/ CXX=/g++41/ && ./install
→ → → i.e. gcc/g++ must be version 3.4.6 .
> @Magdy Fares
> Rocketfuel
Rocketfuel is included in ns3 ...
http://www.nsnam.org/doxygen/classns3_1_1_rocketfuel_topology_reader.html
ns-3-users : https://groups.google.com/forum/?fromgroups#!forum/ns-3-users
-
--
View this message in context:
http://network-simulator-ns-2.7690.n7.nabble
> @zahra_5737
> mannasim
`ns2.34-mannasim-gcc4.3.patch´ :
Link
https://drive.google.com/file/d/0B7S255p3kFXNQzk2c1NVbl9YZHM/view?usp=sharing
Or
https://knowledgehurts.wordpress.com/2010/03/02/mannasim-on-ns-2-34-and-gcc-4-3/
→ → http://www.box.net/shared/th6qi9b5v0
Latest is https://github.com/p
1 - 100 of 158 matches
Mail list logo