Re: [ns] Simulation Node B to Node B in UMTS by NS2

2015-08-06 Thread knudfl

 @cukstn
 Reconfigure ns-2.35/

Reconfiguring etc., ns-2.35 :  Simply go to the top directory =
ns-allinone-2.35/,
... and do your usual ./install command.


Configuring ns-allinone-2.xx/ns-2.xx :  OK with ns-2.26 ... ns-2.34 ,,,  not
ns-2.35 !

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/Simulation-Node-B-to-Node-B-in-UMTS-by-NS2-tp30266p30467.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] Olsr ns2

2015-07-06 Thread knudfl

 @Jair Ferronato
 OLSR

?  Which Linux OS are you using ?
http://www.catb.org/%7Eesr/faqs/smart-questions.html
a) The reply from the command  *$ uname -m*
b) OS name and version

OLSR build examples :
May 07, 2015; 9:50pm → →  
http://network-simulator-ns-2.7690.n7.nabble.com/how-to-implement-OLSR-td30013.html#a30020

http://network-simulator-ns-2.7690.n7.nabble.com/about-olsr-protocol-td29457.html#a29459


OLSR simulation examples,  umolsr-examples-04.04.2015.tar.gz :

https://drive.google.com/file/d/0B7S255p3kFXNTWxRZGx1S0dJdmM/view?usp=sharing

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/Olsr-ns2-tp30305p30308.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] About Eurane install and the multi_cell patch

2015-06-28 Thread knudfl

 @cukstn
 $ ns235-eurane hs-dsch.tcl → →  Segmentation fault 

?  May be you are using a wrong OS ?   Please specify your OS :
a)  $ uname -m
b)  OS name and version  ( $ cat /etc/release ).

- 



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/About-Eurane-install-and-the-multi-cell-patch-tp15552p30267.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] Simulation Node B to Node B in UMTS by NS2

2015-06-28 Thread knudfl

 @cukstn
 Simulation is running ... please wait ...
 Simulation ended.

... That's the reply from an OK simulation. ( Also : The file out.tr, 7.8MB
is created.)

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/Simulation-Node-B-to-Node-B-in-UMTS-by-NS2-tp30266p30268.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] implementation of manhattan mobility model.

2015-06-01 Thread knudfl

 @Zainab Nayyar
 manhattan mobility model

Please use `Google´,  ns2 manhattan mobility model
https://www.google.com/webhp?hl=allgws_rd=ssl#hl=enq=ns2+manhattan+mobility+model

The third hit is 
http://mailman.isi.edu/pipermail/ns-users/2010-November/069036.html
→ →  $ bm -f battlefield2-b RPGM -d 100 -i 1000 -n 90 -x 2000 -y 2000 -a 10

... For creating a Manhattan mobility scenario with bonnmotion.

-




--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/implementation-of-manhattan-mobility-model-tp30151p30154.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] what does proc cmu-trace do in my tcl file

2015-05-29 Thread knudfl

Google, tcl proc  
https://www.google.com/webhp?hl=allgws_rd=ssl#hl=enq=tcl+proc
→ →  http://wiki.tcl.tk/463  → → http://wiki.tcl.tk/38650  → → 
http://wiki.tcl.tk/463 →
» proc, a built-in Tcl command, creates a new command. «

-

On Friday, May 29, 2015 at 4:05:59 PM UTC+2, mima Amira wrote:

 Hi every body

 please I would like to know what does this function exactely


 proc cmu-trace { ttype atype node } {
 global ns_ tracefd

 if { $tracefd ==  } {
 return 
 }
 set T [new CMUTrace/$ttype $atype]
 $T target [$ns_ set nullAgent_]
 $T attach $tracefd
 $T set src_ [$node id]

 $T node $node

 return $T
 }


 thanks you




Re: [ns] drop entry in the trace file visualization

2015-05-28 Thread knudfl

Hi.

You can use the 'grep' command to read the  gpsr-KeLiu patch :
$ grep -n cmu-trace.cc gpsr-KeLiu_ns235.patch
2384:diff -Naur ns-2.35-orig/trace/cmu-trace.cc ns-2.35/trace/cmu-trace.cc
2385:--- ns-2.35-orig/trace/cmu-trace.cc2011-10-03 00:32:
35.0 +0200
2386:+++ ns-2.35/trace/cmu-trace.cc 2014-12-20 14:02:31.837372448 +0100
 I.e. the lines for ``GPSR-KeLiu´´ are found after line 2386 in the 
patch :
cmu-trace.cc, line ~60 : +#include gpsr/gpsr_packet.h
cmu-trace.cc, line ~1460 : +case PT_GPSR:
+break;

-

On Thursday, May 28, 2015 at 6:53:57 PM UTC+2, mima Amira wrote:

 Hi Sir

 Please, I have an important question and a very difficult one at the same 
 time.

 I've succesfully patched GPSR keliu in NS2.35 (ubuntu 12.04) , 

 My question is  when I take a look in my trace file after runing a tcl 
 file *I coudln't find any drop event,  (*I couldn't see a drop entry in 
 my trace file  )

 I take a look on *cmu-trace.cc  and I couldn't find the gpsr-keliu trace 
 function *and I don't know where Can I modify to let the drop event 
 visible in the trace file

 This problem is very important for me, I pass 2 months just to deploy GPSR 
 protocol and I still facing problems so any help in this topic will be 
 appreciate.


 Thanks in advance







Re: [ns] Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) help me ??

2015-05-28 Thread knudfl

 @yang


The error »»- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl)
---«« is a generic error.

Can happen for several reasons :

Faulty simulation scripts. ( file.tcl, etc.)
By using the wrong OS / the wrong architecture for an added protocol.
A failed build of ns2 ( + some added protocol code ? )

So if you want a precise answer :  Some more information, please ...
→ →  http://www.catb.org/%7Eesr/faqs/smart-questions.html

- 



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/Classfier-no-slot-default-handler-tcl-lib-ns-lib-tcl-help-me-tp30095p30104.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] cross layer optimization in ns2

2015-05-28 Thread knudfl

 @Shabeer_15
 cross layer design


Some hints 
. 
http://wmnatupdiliman.blogspot.dk/2011/02/exchanging-cross-layer-information-in.html
.  http://jsun74.blogspot.dk/2010/10/cross-layer-design-in-ns2-how-can.html

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/cross-layer-optimization-in-ns2-tp30089p30105.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] NS2 problem in implementing PQ and WFQ

2015-05-24 Thread knudfl

 @ChubbyNabilah
 `priority queue´, WFQ

`priority queue´, see  (ns-2.35)/queue/dsr-priqueue.cc, dsr-priqueue.h,
priqueue.cc, priqueue.h .
Else
https://www.google.com/webhp?hl=allgws_rd=ssl#hl=enq=ns2+priority+queue


WFQ, info  http://www.linuxquestions.org/questions/tags/wfq-ns2/
WFQ links ...
. 
http://www.cse.iitb.ac.in/~varsha/allpapers/packet-scheduling/sim_code/ns2_packet_scheduling/examples/
. 
http://www.cse.iitb.ac.in/~varsha/allpapers/packet-scheduling/sim_code/ns2_packet_scheduling/
. 
http://www.cse.iitb.ac.in/~varsha/allpapers/packet-scheduling/sim_code/ns2_packet_scheduling/src/
.  http://www.cse.iitb.ac.in/~varsha/allpapers/packet-scheduling/ 
→
http://www.cse.iitb.ac.in/~varsha/allpapers/packet-scheduling/wfqJuniper.pdf
. 
http://www.cse.iitb.ac.in/~varsha/allpapers/packet-scheduling/sim_code/*final.tgz*

-





--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/NS2-problem-in-implementing-PQ-and-WFQ-tp30056p30079.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] Segmentation fault (core dumped) error with NAM command in GPSR Keliu wireless-gpsr.tcl example

2015-05-16 Thread knudfl

Hi .

I guess the GPSR-KeLiu protocol isn't really supporting nam ?

There is a text file  TextFile-modify-wireless-gpsr about nam in the 
examples.
But I don't remember that anybody ever succeeded with a  GPSR-KeLiu nam 
file.

Latest examples :  GPSR-KeLiu-examples_01.2015.tar.gz
https://drive.google.com/file/d/0B7S255p3kFXNR3J6b3hxX19TTnM/view?usp=sharing

-

On Sunday, May 17, 2015 at 1:14:17 AM UTC+2, mima Amira wrote:

 Hi


 please, i get an error Segmentation fault (core dumped) error with NAM 
 command in GPSR Keliu wireless-gpsr.tcl example


 my OS is ubuntu 32bit, NS2.35 and I succfully patched GPSR keliu

 my problem in when I put nam nam-out.nam  the nam window is open but when 
 I run it I get this error and the nam window is closed


 thanks in advance






Re: [ns] Run different patchs

2015-05-13 Thread knudfl

 @berbatov
 pipe or two commands in the same time, 
 for  example( ns-lte | ns235-wimax.awg bicfixdownlink-802_16.tcl )

I don't think so. 
And why would you do that, when you have / can create the executable 
'ns235-wimax.awg+LTE' ?

The LTE patch can be added to a { wimax-awg-2.6 patched ns-2.35 } as is.  No
editing required.
( Other multiple added protocols do require a dedicated combined patch.  Not
LTE.)

$ cd ns-allinone-2.35/
$ zcat wimax-awg26_ns235.patch.gz | patch -p0 
$ patch -p0  LTE-ns235_2014-2.patch
$ ./install   and 4 minutes later you have the combined executable
wimax-awg + lte.

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/Run-different-patchs-tp30036p30039.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] Run different patchs

2015-05-12 Thread knudfl

 @berbatov
 LTE + UMTS + WImax

I don't think you can use LTE and UMTS in the same simulation. ?

But LTE and Wimax is just  { LTE using Mac/802_16 }.

Example : Edit ``bicfixdownlink.tcl´´ to Mac/802_16 , and it runs OK :
$ *ns235-wimax.awg+LTE* bicfixdownlink.tcl
... The files fair-down.nam 36.8kB, fair-down.tr 34.4kB are created.
And the NAM animation is OK.
The file example :  bicfixdownlink-802.tcl
http://network-simulator-ns-2.7690.n7.nabble.com/file/n30037/bicfixdownlink-802.tcl
  

I have no executable ns-Wimax+Eurane(+LTE) , so I can't test a simulation.
And : I don't know / don't have an umts example with set opt(mac)
Mac/802_XX. 

-




--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/Run-different-patchs-tp30036p30037.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] Which NS2 Source file should be modified to implement this Algorithm

2015-05-10 Thread knudfl

 @Amodu Oluwatosin
 TCP Congestion

I guess you can compare your code with the old tcp congestion files for
ns-2.30
http://www.mathcs.emory.edu/~cheung/Courses/558/Syllabus/06-Extend-NS/TCP.html

Or / and the patches :
congestion_ns230.patch
https://drive.google.com/file/d/0B7S255p3kFXNcTJ4SU81N0ctYk0/view?usp=sharing
congestion_ns235.patch
https://drive.google.com/file/d/0B7S255p3kFXNcW0yY1VOZHhvRUU/view?usp=sharing

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/Which-NS2-Source-file-should-be-modified-to-implement-this-Algorithm-tp30027p30028.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] error in validate

2015-05-10 Thread knudfl

 @alok9408
 validate

A validate with no errors does not happen very often. 
One failed group test only is actually very good.
As long as you can run all your required simulations : Nothing to worry
about.


Note : Validate uses 108 group tests (ns-2.35), to run the ~2,000 individual
tests.
See ns-2.35/tcl/test/.

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/error-in-validate-tp30029p30030.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] unable to calculate throughput for TORA protocol

2015-05-08 Thread knudfl

 @rashmi_25
 TORA

Please compare your file / result with the default TORA examples,
tora-examples_04.2015.tar.gz
https://drive.google.com/file/d/0B7S255p3kFXNVEtXdmQxaHpNSFE/view?usp=sharing

As TORA behaves different with different Linux OS´s : Please specify your
OS.
I.e. architecture ( i686 or x86_64 ), and the OS name and version.

Please also tell if you did any editing of ns2 for TORA. 
( If different from
https://erl1.wordpress.com/2010/08/10/running-tora-in-ns-2-34-on-ubuntu-10-04/
)

And :   Which version of ns2 are you using ? ?

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/unable-to-calculate-throughput-for-TORA-protocol-tp30018p30019.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] how to implement OLSR?

2015-05-08 Thread knudfl

 @swat
 olsr

ns-allinone-2.35_gcc482.tar.gz (My 'Nov 2014' update) can use all gcc, g++
versions 4.4.x ... 5.1.0 .
So it is a very convenient version to use. 

And no, if you have a clean ns-allinone-2.35/ (No changes made), you can of
course use it.

Besides that :
You can have as many ns-allinone-2.xx as you want, installed at the same
time, same OS.
But : Do never add any *PATH text to .bachrc .  Not required.

-




--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/how-to-implement-OLSR-tp30013p30020.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] how to implement OLSR?

2015-05-07 Thread knudfl

 @swat
 olsr, ns-2.35

You cannot run the OLSR code, but /can/ build an ns-2.35 with OLSR :

$ tar xvf ns-allinone-2.35_gcc482.tar.gz
https://drive.google.com/file/d/0B7S255p3kFXNSGJCZ2YzUGJDVk0/view?usp=sharing
$ cd ns-allinone-2.35/
$ patch -p0  umolsr-ns235_v1.0-2014.patch
https://drive.google.com/file/d/0B7S255p3kFXNeVZhWFVVZlJnUEU/view?usp=sharing
$ ./install
$ cd ns-2.35/
$ cp ns ns-olsr
$ sudo cp ns-olsr /usr/local/bin/
 Then you can do $ ns-olsr ddebbie90-scenario.tcl
 from the examples  umolsr-examples-04.2014.tar.gz
https://drive.google.com/file/d/0B7S255p3kFXNZG9TTjlvcHI4TXM/view?usp=sharing

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/how-to-implement-OLSR-tp30013p30015.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] nam error

2015-05-07 Thread knudfl

 @swat
 wireless1.tcl  http://www.isi.edu/nsnam/ns/tutorial/examples/wireless1.tcl
 Marc Greis  http://www.isi.edu/nsnam/ns/tutorial/nsscript5.html#first


The file wireless1.tcl is meant be run from ns-2.xx/tcl/ex/,
in order to find the two connected files :
set val(cp) ../mobility/scene/cbr-3-test 
set val(sc) ../mobility/scene/scen-3-test

Running nam goes like this :  $ nam wireless1-out.nam **

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/nam-error-tp29909p30014.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] Do we have a Similar tcl file?

2015-05-06 Thread knudfl

 @ Amodu Oluwatosin.

Please try if you can find something similar in 
``all_ns2-tcl-examples-2.tar.gz´´
https://drive.google.com/file/d/0B7S255p3kFXNWTU5Qi00b2U2SU0/view?usp=sharing
.. It's a package with ~2,000 simulation files.tcl .

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/Do-we-have-a-Similar-tcl-file-tp29997p30006.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] how to generate nam file and xgraph

2015-05-05 Thread knudfl

 blue.tcl

Read my above post :
Some many lines for Creating Output Files for Xgraph were not added to
blue.tcl.
Please read http://www.isi.edu/nsnam/ns/tutorial/nsscript4.html

Required is :
# --- Most of this ---

proc attach-expoo-traffic { node sink size burst idle rate } {
#Get an instance of the simulator
set ns [Simulator instance]
#Create a UDP agent and attach it to the node
set source [new Agent/UDP]
$ns attach-agent $node $source

#Create an Expoo traffic agent and set its configuration parameters
set traffic [new Application/Traffic/Exponential]
$traffic set packetSize_ $size
$traffic set burst_time_ $burst
$traffic set idle_time_ $idle
$traffic set rate_ $rate

# Attach traffic source to the traffic generator
$traffic attach-agent $source
#Connect the source and the sink
$ns connect $source $sink
return $traffic
}
# ---

# --- And this --
set sink0 [new Agent/LossMonitor]
set sink1 [new Agent/LossMonitor]
set sink2 [new Agent/LossMonitor]
$ns attach-agent $n4 $sink0
$ns attach-agent $n4 $sink1
$ns attach-agent $n4 $sink2

set source0 [attach-expoo-traffic $n0 $sink0 200 2s 1s 100k]
set source1 [attach-expoo-traffic $n1 $sink1 200 2s 1s 200k]
set source2 [attach-expoo-traffic $n2 $sink2 200 2s 1s 300k]
# -

# - And some . --
proc record {} {
global sink0 sink1 sink2 f0 f1 f2
#Get an instance of the simulator
set ns [Simulator instance]
#Set the time after which the procedure should be called again
set time 0.5
#How many bytes have been received by the traffic sinks?
set bw0 [$sink0 set bytes_]
set bw1 [$sink1 set bytes_]
set bw2 [$sink2 set bytes_]
#Get the current time
set now [$ns now]
#Calculate the bandwidth (in MBit/s) and write it to the files
puts $f0 $now [expr $bw0/$time*8/100]
puts $f1 $now [expr $bw1/$time*8/100]
puts $f2 $now [expr $bw2/$time*8/100]
#Reset the bytes_ values on the traffic sinks
$sink0 set bytes_ 0
$sink1 set bytes_ 0
$sink2 set bytes_ 0
#Re-schedule the procedure
$ns at [expr $now+$time] record
# ---

# --- And maybe like this  .. ---
$ns at 0.0 record
$ns at 10.0 $source0 start
$ns at 10.0 $source1 start
$ns at 10.0 $source2 start
$ns at 50.0 $source0 stop
$ns at 50.0 $source1 stop
$ns at 50.0 $source2 stop
$ns at 60.0 finish
# -

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/how-to-generate-nam-file-and-xgraph-tp29986p30003.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] tracing GPSRprotocol with HLS in NS2

2015-05-04 Thread knudfl

 @djanahana
 GPSR - HLS

»» Can I use the ordinary awk script «« :   ? What script would that be 
?  ?

You might find some usable scripts amongst the ~140 default scripts :
 awk-and-perl_scripts_12.2014.tar.gz 
https://drive.google.com/file/d/0B7S255p3kFXNY0NROGhkZkIzWDQ/view?usp=sharing

-




--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/tracing-GPSRprotocol-with-HLS-in-NS2-tp29993p29995.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] how to generate nam file and xgraph

2015-05-03 Thread knudfl

 @alok9408
 blue.tcl

Some many lines for Creating Output Files for Xgraph were not added to
blue.tcl .
Please read this again ...
http://www.isi.edu/nsnam/ns/tutorial/nsscript4.html
* You are missing about three sections in your file.

Please also read the ~16 default examples in
'xgraph_ns2-files-tcl_24Apr2015.tar.gz'.
And run the default examples to watch what happens.
... Then read the Xgraph files created by the simulations : **.tr , **.data
, **.dat ,
and read the files xgraph-12.2/examples/*.xgr ,  to know how the syntax for
Xgraph must be.

-




--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/how-to-generate-nam-file-and-xgraph-tp29986p29990.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] how to generate nam file and xgraph

2015-05-03 Thread knudfl

 Creating Output Files for Xgraph

Creating Output Files for Xgraph :
http://www.isi.edu/nsnam/ns/tutorial/nsscript4.html

All the available Xgraph examples :  xgraph_ns2-files-tcl_24Apr2015.tar.gz
https://drive.google.com/file/d/0B7S255p3kFXNVjJvWk9aczFUVXc/view?usp=sharing

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/how-to-generate-nam-file-and-xgraph-tp29986p29987.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] how to generate nam and xgraph

2015-04-30 Thread knudfl

 @alok9408
 mkc

Please delete the tcl text : Not usable as is.

And then please attach mkc-T1-heterogeneous.tcl.

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/how-to-generate-nam-and-xgraph-tp29975p29976.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] plz help me to solve this error is urgent

2015-04-28 Thread knudfl

 @alok9408
 Max-Min kelly  control, congestion  minimization  ( MKC )

OK, then please show some links to the information you are using.


... And please use an original ns-2.35/common/packet.h file. ( If you are
using ns-2.35.)
No usable lines were added in your wrecked packet.h ?

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/plz-help-me-to-solve-this-error-is-urgent-tp29945p29963.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] plz help me to solve this error is urgent

2015-04-27 Thread knudfl

 @alok kumar
 common/packet.h

The header you show is mostly like ns-2.35/common/packet.h .
And then some section(s) from a style ns-2.31  packet.h has been added.
Which means you have two times package definitions in two different ways of
coding.

? What's the idea with that ?What are you trying to do  ?  ?

-





--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/plz-help-me-to-solve-this-error-is-urgent-tp29945p29959.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] implementation of some attacks in ns2

2015-04-26 Thread knudfl

  @ Lamyaa Moulad
  [attacks]aodv

Please read this post 07 Apr 2015 about { idsAODV, Blackholeaodv,
Malicious, Rushing attacks } :
http://network-simulator-ns-2.7690.n7.nabble.com/Security-Attack-in-Vanets-td29864.html#a29869

And we have ``grayhole´´ here ...
.  http://www.linuxquestions.org/questions/tags/grayhole/
.  http://www.dcs.warwick.ac.uk/~adhoc1/malicious.html

Sybil attack, example 
http://en.pudn.com/downloads656/sourcecode/unix_linux/network/detail2665933_en.html

Collision attack, example 
http://airccse.org/journal/ijcses/papers/0212ijcses05.pdf

Wormhole, example 
http://www.linuxquestions.org/questions/linux-software-2/ns2-wormhole-attack-4175471714/page2.html

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/implementation-of-some-attacks-in-ns2-tp29946p29947.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] how to implement ENFAT-AODV

2015-04-26 Thread knudfl

 @Amine Tamtalini
 ENFAT-AODV

Some hints here ...
http://network-simulator-ns-2.7690.n7.nabble.com/Help-to-add-new-protocol-in-ns2-td29941.html

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/how-to-implement-ENFAT-AODV-tp29949p29950.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] Help to add new protocol in ns2

2015-04-25 Thread knudfl

 @ israe iken
 enfat-aodv

The text you show looks like a simulation file, AODV_final.tcl, which you
can get here
http://www.28im.com/cpp/a3714481.html
... There is one typo in AODV_final.tcl. I have uploaded the edited file
as AODV_final-1.tcl.txt.
Link 
https://drive.google.com/file/d/0B7S255p3kFXNY1owekgtXzNxREU/view?usp=sharing

About ENFAT-AODV : There is some code here ...
http://www.academia.edu/7706617/wireless_sensor_network_report_on_implementation_of_ENFANT-AODV_on_TOSSIM
→ →  And you can download the report as `Final_stage3_2.doc´, to get the
code.
** I have no idea if the code is usable in ns2.

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/Help-to-add-new-protocol-in-ns2-tp29941p29943.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] MANNASIM ERROR

2015-04-17 Thread knudfl

 @Amodu Oluwatosin
 mannasim error

Please test your executable 'ns' with no file.tcl :
$ ns
Or : $ ./ns
Then you should get the ns prompt : %
If the reply is [code omitted because of length] , the you have a failed
build of ns2.

Please read another answer about mannasim, from this morning.  Same errors.
http://www.linuxquestions.org/questions/showthread.php?p=5348739#post5348739

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/MANNASIM-ERROR-tp29919p29920.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] nam error

2015-04-14 Thread knudfl

 @Razan Tout
 nam cannot recognize the trace file trace.tr 

Nam cannot display an ordinary trace file. Only a genuine nam trace file.
In all the default simulation scripts.tcl, the nam output file has suffix
.nam, like out.nam .

Please run some other examples.
And then read the out.nam files, to know the formatting.

Which ``example.tcl´´ are you using ?

- 



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/nam-error-tp29909p29910.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] installing ns3

2015-04-08 Thread knudfl

 @Zeinab Rezaiefar
 ns3 build prerequisites

Ubuntu 12.10 is an old OS. Was moved to the Ubuntu museum a year ago. 
Which Ubuntu version are you using ?


The install command for e.g. python-dev is :
$ sudo apt-get update  sudo apt-get install python-all-dev

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/installing-ns3-tp29878p29881.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] Security Attack in Vanets

2015-04-07 Thread knudfl

 @Amodu Oluwatosin
 Security Attack


Blackhole

. http://www.linuxquestions.org/questions/tags/blackhole/

.
http://www.linuxquestions.org/questions/linux-newbie-8/how-implement-blackhole-attack-4175535427/#3

.
http://network-simulator-ns-2.7690.n7.nabble.com/template/NamlServlet.jtp?macro=search_pagenode=2query=blackholesort=date

.
https://groups.google.com/forum/?fromgroups#!searchin/ns-users/blackhole|sort:date

 

Malicious

. http://www.linuxquestions.org/questions/tags/malicious/

.
http://network-simulator-ns-2.7690.n7.nabble.com/template/NamlServlet.jtp?macro=search_pagenode=2query=maliciousdays=0sort=date

.
https://groups.google.com/forum/?fromgroups#!searchin/ns-users/malicious|sort:date

 

Rushing attacks

.
http://network-simulator-ns-2.7690.n7.nabble.com/template/NamlServlet.jtp?macro=search_pagenode=2query=rushing+attackssort=date

. http://www.linuxquestions.org/questions/tags/rushing%20attacks/

.
https://groups.google.com/forum/?fromgroups#!searchin/ns-users/Rushing$20attacks|sort:date

 

Byzantine attack

. http://www.linuxquestions.org/questions/tags/byzantine%20attack/

.
https://groups.google.com/forum/?fromgroups#!searchin/ns-users/Byzantine$20attack

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/Security-Attack-in-Vanets-tp29864p29869.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] nam installation error

2015-04-07 Thread knudfl

 @Razan Tout
 libXext.so.6

A missing libXext.so.6 : May be you installed a 32bits 'nam' package into a
64bits OS ?
Or vice versa.
?  How did you install 'nam' ?  And which OS are you using ?

Fedora : # yum install libXext
Debian, Ubuntu : $ sudo apt-get install libxext6

-




--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/nam-installation-error-tp29871p29872.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] Ns-users Digest, Vol 135, Issue 19

2015-04-02 Thread knudfl

 @muhammad ismail
 olsr script

I guess you mean for ns2 ?

umolsr-examples-04.2014.tar.gz :
https://drive.google.com/file/d/0B7S255p3kFXNZG9TTjlvcHI4TXM/view?usp=sharing

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/Re-Ns-users-Digest-Vol-135-Issue-19-tp29856p29862.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] Moving the All-In-One Folder

2015-03-30 Thread knudfl

 @Mike Palarz
  Moving the All-In-One Folder

The executable 'ns' and any copy of ns to 'ns-any-name' is hard coded to
know the location of it´s libraries :
ns-allinone-2.xx/{ lib/* , bin/tcsh8* } :  In the build location !

The old ~1999 text about adding a *PATH text to .bashrc was meant for a
University Computer only !
I.e. when you had no write permissions to /usr/.
Today we just do like : 1)  $ cd ns-allinone-2.35/ns-2.35/  sudo make
install
( If it's your computer, and you have write access to /usr/.)
* 'make install' will copy 'ns' to /usr/local/bin/.
2)  $ cd ../nam-1.15/  sudo make install

The solution for your issue : Make a copy of ns-allinone-2.xx/{ lib/, bin/
} in Downloads/.

More info : Read my post here 30 Mar 2015 [ Handling multiple builds of
ns-allinone-2.xx ]
https://groups.google.com/forum/?fromgroups#!topic/ns-users/oznEEorxqJE

-






--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/Re-Moving-the-All-In-One-Folder-tp29848p29850.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] Aquasim installation problem

2015-03-15 Thread knudfl

 @nazish
 Xgraph

Xgraph isn't required for building ns2.  
But can be of use for xgraph visualizations.

May be you can get it with $ *sudo apt-get* update  sudo apt-get install
xgraph

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/Aquasim-installation-problem-tp29785p29814.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] Aquasim installation problem

2015-03-11 Thread knudfl

 @nazish
 X11/Xlib.h: No such file or directory.

You will of course have to get the ns2 build prerequisites, before you can
build any ns2 :

$ sudo apt-get install g++ g++-4.4 automake libtool libxmu-dev xgraph

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/Aquasim-installation-problem-tp29785p29797.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] about :Dijkstra shortest path (DAP) Protocol

2015-03-07 Thread knudfl

 @Muugii0909
 Dijkstra shortest path


By default NS2 uses Dijkstra´s shortest path algorithm
to compute optimal routes for all pairs of nodes.
See
https://books.google.dk/books?id=_VkTzFLnwD4Cpg=PA113lpg=PA113dq=ns2+Dijkstra+shortest+pathsource=blots=___4oh8xugsig=0QrrQrCKWnwhyMaNoYb7KqLFTd4hl=ensa=Xei=TuT6VJydAomiygOVrIHQDgved=0CDsQ6AEwBA#v=onepageq=ns2%20Dijkstra%20shortest%20pathf=false


dijkstra.cc : ns-2.xx/routealgo/dijkstra.cc 


Google
https://www.google.com/webhp?hl=allgws_rd=ssl#hl=enq=ns2+Dijkstra+shortest+path
. http://www.academia.edu/5662602/Report_on_Djikstra_and_Network_simulator
.
http://www.codeproject.com/Articles/19919/Shortest-Path-Problem-Dijkstra-s-Algorithm
. http://www.sourcecodeonline.com/list?q=ns2_code_for_shortest_path_routing


Shortest Path Routing for Sensor Networks :
http://www.cs.binghamton.edu/~kliu/research/ns2code/#spr

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/about-Dijkstra-shortest-path-DAP-Protocol-tp29780p29781.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] Aquasim installation problem

2015-03-07 Thread knudfl

 @ nazish
 Aqua-Sim
 C compiler cannot create executables. 

$ sudo apt-get install g++-4.4

$ cd Aquasim/
$ patch -p0  ns230_gcc44.patch
https://drive.google.com/file/d/0B7S255p3kFXNdHJpbkJ2Tm5mX00/view?usp=sharing
$ export CC=gcc-4.4 CXX=g++-4.4  ./install

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/Aquasim-installation-problem-tp29785p29786.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] nam cannot recognize the trace file out.nam

2015-02-20 Thread knudfl

 @muugii0707
 tcl issues

There are several issues with your code :
Missing lines, wrong syntax, etc.
( Other errors will appear, when you have fixed the nam text.)

Please have a look at the basics for writing a file.tcl for ns2,  here :
http://www.isi.edu/nsnam/ns/tutorial/  →
§ IV : The first Tcl script  →  is also about NAM :
http://www.isi.edu/nsnam/ns/tutorial/nsscript1.html
↓
Please read all eight pages.

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/nam-cannot-recognize-the-trace-file-out-nam-tp29726p29730.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] about: issue is additional nam for satellite network

2015-02-20 Thread knudfl

 @muugii0707
 satellite

Some ns2 protocols do simply not support NAM. 

About your referred text ...
» Addition of nam for satellite is open to interested contributors  « :
If it was an easy task, some one had probably re-written the code long time
ago.
...  The sat-examples.tcl have been part of ns2 for 16 years or more.

-




--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/about-issue-is-additional-nam-for-satellite-network-tp29728p29729.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] error applying LTE patch to ns-2.33

2015-02-18 Thread knudfl

 @Sourav Chakraborty
 LTE

»»I want to try out call admission control in LTE.
basically varying the number ofUEs with varying throughput 
and delay requirements and check if successful/unsuccessful 
admission happens for UEs«« :   
Don't know.
But please have a look at the LTE examples, lte-examples-0614.tar.gz  
https://drive.google.com/file/d/0B7S255p3kFXNRWV4Mzc0bGYtQzA/view?usp=sharing
...  may be one the authors did something similar.


P.S. :  LTE build examples ns-2.33, ns-2.34, ns-2.35
https://drive.google.com/file/d/0B7S255p3kFXNTzM3Q3MwQk8yaFU/view?usp=sharing

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/error-applying-LTE-patch-to-ns-2-33-tp29715p29721.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] About Eurane install and the multi_cell patch

2015-02-16 Thread knudfl

 @berbatov
 Eurane + LTE

Add the patch to the Eurane patched ns2 : 
$ cd ns-allinone-2.35/
$ patch -p0  LTE-ns235_2014-2.patch
... Then the file Makefile.in.rej will be present in ns-2.35/.
Makefile.in.rej is a text file, please read.
There is a line number for the patch command to know where to add +lines.
Add lines marked with + to Makefile.in section OBJ_CC , line 345 :
project/ltequeue.o \
project/ulairqueue.o \
project/dlairqueue.o \
project/uls1queue.o \
project/dls1queue.o \
project/dlqueue.o \
 be careful : No space´s can be used. Lines start with TAB, ends
with \.

If you still cannot manage editing the text file Makefile.in, please use
this one
https://drive.google.com/file/d/0B7S255p3kFXNbzZmUFYxZHNYM3M/view?usp=sharing

-




--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/About-Eurane-install-and-the-multi-cell-patch-tp15552p29711.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] error applying LTE patch to ns-2.33

2015-02-16 Thread knudfl

 @Sourav Chakraborty
 LTE

Which OS are you using now ?
Please show the output from the command $ uname -m
OS name and version, please.

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/error-applying-LTE-patch-to-ns-2-33-tp29715p29716.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] About Eurane install and the multi_cell patch

2015-02-15 Thread knudfl

 @berbatov
 umts, eurane

$ ns235-eurane Example00.tcl
$ ns235-eurane hs-dsch.tcl
$ ns235-eurane test_tcp.tcl
$ ns235-eurane test_tcp_hsdsch.tcl
$ ns235-eurane test_udp_hsdsch.tcl
$ ns235-eurane umts.tcl
$ ns235-eurane umts-b.tcl
.  No issues here  with any of those files.

And when you follow my post `Nov 30, 2014'
http://network-simulator-ns-2.7690.n7.nabble.com/About-Eurane-install-and-the-multi-cell-patch-td15552.html#a29415
 you can have no issues.

I suspect :
1) You are using a diiferent version of ns-allinone-2.35.tar.gz ( The 2011
version? )
* Your nam issues indicates  not using ns-allinone-2.35_gcc482.tar.gz.
2) The patch  eurane_ns235-2.patch is for the above 
ns-allinone-2.35_gcc482.
*  The ns-allinone-2.35_gcc482.tar.gz is miscellaneous updates, `Nov 2014'. 
  The patch may fail if used with ns-allinone-2.35.tar.gz ?

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/About-Eurane-install-and-the-multi-cell-patch-tp15552p29706.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] About Eurane install and the multi_cell patch

2015-02-15 Thread knudfl

 @berbatov
 Eurane
 LTE
 Eurane + LTE ?

LTE : Yes  →  LTE-ns235_2014-2.patch
https://drive.google.com/file/d/0B7S255p3kFXNLVlDZ29EWWxJTFk/view?usp=sharing

And : If you mean add LTE to the Eurane patched ns-2.35 : Yes.
The only thing to do : Edit Makefile.in according to Makefile.in.rej .


Adding the combined patch, Eurane+LTE_ns235.patch 
https://drive.google.com/file/d/0B7S255p3kFXNWmlUblJUTmdqa1U/view?usp=sharing
... if you are starting from scratch : ns-allinone-2.35_gcc482.tar.gz .

Results :
$ ns235-eurane+lte Example00.tcl 
$ ns235-eurane+lte hs-dsch.tcl 
$ ns235-eurane+lte test_tcp.tcl
$ ns235-eurane+lte test_tcp_hsdsch.tcl
$ ns235-eurane+lte test_udp_hsdsch.tcl 
$ ns235-eurane+lte umts-b.tcl 
$ ns235-eurane+lte umts.tcl
$ ns235-eurane+lte umts_am1movil.tcl
... all OK.
$ ns235-eurane+lte bic-throughput-down.tcl
$ ns235-eurane+lte bic1.tcl
$ ns235-eurane+lte bicfixdownlink.tcl
$ ns235-eurane+lte deVacto-lte.tcl
$ ns235-eurane+lte example3-lte.tcl
$ ns235-eurane+lte eyana.tcl
$ ns235-eurane+lte lte.tcl
$ ns235-eurane+lte ltez.tcl
 the usual results.

-





--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/About-Eurane-install-and-the-multi-cell-patch-tp15552p29708.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] About Eurane install and the multi_cell patch

2015-02-14 Thread knudfl

 @berbatov
 nam

`nam-1.14´ cannot be compiled without editing tk8*.
(tk-8.4-lastevent.patch).
Generally nam will often fail. 
And : All the Ubuntu nam packages are corrupt.

Nam packages that will work OK 
#2
http://www.linuxquestions.org/questions/linux-newbie-8/ns-stop-couldn%27t-execute-nam-permission-denied-while-executing-exec-nam-4175524760/#2

Please delete all nam executable´s you may have. And delete all `nam-1.1*/´
folders.
Download a package for your OS, install the package, and you have a
functional 'nam'.

-




--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/About-Eurane-install-and-the-multi-cell-patch-tp15552p29704.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] routing protocol

2015-02-13 Thread knudfl

 @krima patel
 Link state routing protocol, Geographic routing protocol, opportunistic
 routing protocol

OLSR is a Link state routing protocol.
https://www.google.com/webhp?hl=allgws_rd=ssl#hl=enq=ns2+link+state+routing+protocol

https://www.google.com/webhp?hl=allgws_rd=ssl#hl=enq=ns2+geographic+routing+protocol

https://www.google.com/webhp?hl=allgws_rd=ssl#hl=enq=ns2+opportunistic+routing+protocol

OLSR http://sourceforge.net/projects/um-olsr/
OLSR info ...
.
http://network-simulator-ns-2.7690.n7.nabble.com/template/NamlServlet.jtp?macro=search_pagenode=2query=olsrsort=date
 
. http://www.linuxquestions.org/questions/tags/olsr/
.
https://groups.google.com/forum/?fromgroups#!searchin/ns-users/olsr|sort:date

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/routing-protocol-tp29698p29699.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] Fwd: nam error

2015-02-05 Thread knudfl

 @sims
 nam

Please show the output from this command :

$ uname -m

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/Fwd-nam-error-tp29640p29641.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] a query

2015-02-03 Thread knudfl

 @ lillibette sophay
 SIP

SIP  https://www.google.com/webhp?hl=allgws_rd=ssl#hl=enq=ns2+sip
SIP ns227 http://www.dcc.fc.up.pt/~rprior/ns/index-en.html
ns229.3
http://code.dma.unipi.it/projects/ns-modules/browser/trunk/ns-2.29/sip?rev=29 

Voip++
https://groups.google.com/forum/?fromgroups#!searchin/ns-users/voip$2B$2B|sort:date
.
https://groups.google.com/forum/?fromgroups#!searchin/ns-users/voip$2B$2B|sort:date/ns-users/mkO6vssFwXY/YRqq_w6-CfkJ
.
https://groups.google.com/forum/?fromgroups#!searchin/ns-users/voip$2B$2B|sort:date/ns-users/laCVLs6PR9I/Nji2_9CX5DoJ

SIP and Voip http://www.linuxquestions.org/questions/tags/voip-ns2/

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/a-query-tp29628p29630.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] Fwd: Query about ns-2.30

2015-02-03 Thread knudfl

 @Nazish Rafique
 when I click on any package nothing happens

Nothing is probably supposed to happen.
Unless you have the OS mentioned in the 'Build example'.
* An example is just an example, not the instructions for /your/ OS.

* Please specify your OS :
a) $ *uname -m*
b) OS name and version, please.

Note : Aqua-Sim is for a 32bits (i686) OS.
Not all simulations (uw_tcl/*) will work with a 64bits OS.

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/Fwd-Query-about-ns-2-30-tp29620p29632.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] Fwd: Query about ns-2.30

2015-02-03 Thread knudfl

 @Nazish Rafique
 Ubuntu 12.04 - 64.

You can build Aqua-Sim with a 64bits OS. 
But not use all the simulations. 

Download the compilers ...
gcc34
https://drive.google.com/file/d/0B7S255p3kFXNRTkzQnRSNXZ6UVU/view?usp=sharing
→ compat-gcc34-3.4.6-ubuntu1204-1_amd64.deb
g++34
https://drive.google.com/file/d/0B7S255p3kFXNV3J3bnVoWGNWdG8/view?usp=sharing
→ compat-gcc-34-c++_3.4.6-20_amd64.deb

Installing the compilers : $ sudo dpkg -i \
compat-gcc34-3.4.6-ubuntu1204-1_amd64.deb
compat-gcc-34-c++_3.4.6-20_amd64.deb

Buiding aquasim : 
As my post, 2 Feb 2015, but with this build command → →
$ export CC=gcc34 CXX=g++34  ./install


Installing a 32bits 12.04, suggest 1) Install 'VirtualBox', 
 in your current Ubuntu, or in Windows©.
2) Install  Ubuntu 12.04 - 32 into 'VirtualBox'.

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/Fwd-Query-about-ns-2-30-tp29620p29634.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] Fwd: Query about ns-2.30

2015-02-02 Thread knudfl

 @Nazish Rafique
 Aqua-sim

» the tcl script «  :  Unknown file.

Your errors : You are probably using an executable 'ns' with no Aqua-Sim.

Build example, post #8 here ...
http://www.linuxquestions.org/questions/linux-software-2/install-aquasim-in-ns-2-34-a-4175466464/#8
$ mkdir aquasim
$ cd aquasim/
$ tar xvf Aqua-Sim-1.0.tgz
$ export CC=gcc41 CXX=g++41  ./install
$ cd ns-2.30/
$ sudo make install
$ cp ns *ns-aqua*
$ sudo cp *ns-aqua* /usr/local/bin/
... Then all simulations can be done in underwatersensor/uw_tcl/,
like : $ *ns-aqua* hop_by_hop_VBF_example.tcl

* Please also read post #5
http://www.linuxquestions.org/questions/linux-software-2/install-aquasim-in-ns-2-34-a-4175466464/#5

-




--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/Fwd-Query-about-ns-2-30-tp29620p29622.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] ns-make error

2015-02-02 Thread knudfl

 @Pinakini
  Nothing to be done for `all'. 

? Why not   Google ,  Nothing to be done for `all'. 
* You will get ~900,000,000 hits.
Most will hopefully tell that  »Nothing to be done for `all'.«  means :
Everything is OK.

`Nothing to be done´ is the reply when 'make' is run more than one time.
( The first 'make' is done with the './install' command.)

- 




--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/ns-make-error-tp29623p29624.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] mannasim

2015-01-31 Thread knudfl

 @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/paultsr/ns-allinone-2.35
 $ git clone https://github.com/paultsr/ns-allinone-2.35
... which is a mannasim patched ns-allinone-2.35.

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/mannasim-tp29610p29616.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] Creating a network topology in NS2

2015-01-30 Thread knudfl

 @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.com/Creating-a-network-topology-in-NS2-tp29608p29609.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] installation of ns2.27

2015-01-26 Thread knudfl

 @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  4.1.2 .

* When you have specified your OS, I can provide links to the ns227
compilers.
a) Please show the output from the command   *$ uname  -m*
b) OS name and version, please.

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/installation-of-ns2-27-tp29589p29590.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] about zrp protocol

2015-01-06 Thread knudfl

 @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.patch
https://drive.google.com/file/d/0B7S255p3kFXNUkdoT3NWUTRWeVk/edit?usp=sharing
d) $ export CC=gcc-4.4 CXX ./install 
e) $ cd ns-2.33/
f) $ cp ns ns-zrp
g) $ sudo cp ns-zrp /usr/local/bin/
. Then you can do $ ns-zrp zrp-Demo1-1.tcl
... etc. etc. from zrp-examples-2012.tar.bz2
https://drive.google.com/file/d/0B7S255p3kFXNNmJSTERpQTY4Slk/edit?usp=sharing


Ns-2.34 + zrp 
http://www.linuxquestions.org/questions/linux-networking-3/please-help-4175530175/#2

Ns-2.35 + zrp :  zrp-ns235.patch
https://drive.google.com/file/d/0B7S255p3kFXNNUVuOE9MQWhRNTQ/view?usp=sharing

-




--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/about-zrp-protocol-tp29525p29526.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] About TORA protocol

2014-12-19 Thread knudfl

 @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-simulator-ns-2.7690.n7.nabble.com/About-TORA-protocol-tp29472p29473.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] about olsr protocol

2014-12-16 Thread knudfl

 @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?usp=sharing
$ ./install
$ cd ns-2.35/
$ cp ns ns-olsr
$ sudo cp ns-olsr /usr/local/bin/
 Then you can do $ ns-olsr ddebbie90-scenario.tcl
 from the examples  umolsr-examples-04.2014.tar.gz
https://drive.google.com/file/d/0B7S255p3kFXNZG9TTjlvcHI4TXM/view?usp=sharing

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/about-olsr-protocol-tp29457p29459.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] About Eurane install and the multi_cell patch

2014-12-13 Thread knudfl

 @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://network-simulator-ns-2.7690.n7.nabble.com/About-Eurane-install-and-the-multi-cell-patch-tp15552p29450.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] About Eurane install and the multi_cell patch

2014-11-30 Thread knudfl

 @ 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 link to the information would do.

HOWTO, ns-2.35 + eurane :
$ sudo apt-get install g++ autoconf automake libtool libxmu-dev xgraph

$ tar xvf ns-allinone-2.35_gcc482.tar.gz
https://drive.google.com/file/d/0B7S255p3kFXNSGJCZ2YzUGJDVk0/view?usp=sharing
$ cd ns-allinone-2.35/
$ patch -p0   eurane_ns235-2.patch
https://drive.google.com/file/d/0B7S255p3kFXNMWZ0UUFmQ1FLckU/view?usp=sharing
$ ./install
$ cd ns-2.35/
$ sudo make install  ( 'make install' will copy 'ns' to  /usr/local/bin/ ).
* Make a backup / a recognizable 'ns' to a new name :
$ cp ns ns235-eurane
$ sudo cp ns235-eurane /usr/local/bin/
$ cd ../nam-1.15/
$ sudo make install
. That's it. Nothing more. No adding some *PATH text to .bashrc .
(Adding a *PATH text was for a University computer.
I.e. when you had no permissions to write to /usr/.)

Running the examples : 
$ ns235-eurane hs-dsch.tcl
$ ns235-eurane umts-b.tcl
... etc. etc. examples from umts-eurane-examples.tar.gz.

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/About-Eurane-install-and-the-multi-cell-patch-tp15552p29415.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] How to maniulate IEEE802.11p parameters from IEEE802-11p.tcl

2014-11-29 Thread knudfl

 @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-Dedicated-Short-Range-Communication-%28DSRC%29-IEEE80211p-in-NS2-and-Its-Performance-Analysis-over-IEEE802-11.pdf

. https://www.google.com/webhp?hl=allgws_rd=ssl#hl=allq=IEEE802-11p.tcl
.
https://www.google.com/webhp?hl=allgws_rd=ssl#hl=enq=ns2+Contention+window

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/How-to-maniulate-IEEE802-11p-parameters-from-IEEE802-11p-tcl-tp29408p29410.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] About Eurane install and the multi_cell patch

2014-11-29 Thread knudfl

 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-patch-tp15552p29412.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] About Eurane install and the multi_cell patch

2014-11-26 Thread knudfl

 @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 name and version, please.

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/About-Eurane-install-and-the-multi-cell-patch-tp15552p29399.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] About Eurane install and the multi_cell patch

2014-11-25 Thread knudfl

 @ 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/questions/linux-newbie-8/patch-umts-4175525618/#3

`umts, eurane examples' , umts-eurane-examples.tar.gz :
Post #2 in the above link.

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/About-Eurane-install-and-the-multi-cell-patch-tp15552p29396.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] GPSR tcl code with VANET mobility

2014-11-19 Thread knudfl

 @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-VANET-mobility-tp29378p29381.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] MDART patching

2014-11-11 Thread knudfl

 @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 ns-2.33 patch : mdart_ns233.patch
https://drive.google.com/file/d/0B7S255p3kFXNLW9VaGg4b2lZTHc/view?usp=sharing

$ cd ns-allinone-2.33/
$ patch -p0 mdart_ns233.patch

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/MDART-patching-tp29362p29364.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] ABOUT CLUSTER CODE

2014-11-01 Thread knudfl

Well, you can start here : Google .. ns2 cluster* ..
. https://www.google.com/webhp?hl=allgws_rd=ssl#hl=enq=ns2+cluster
. https://www.google.com/webhp?hl=allgws_rd=ssl#hl=enq=ns2+clustering
. 
https://www.google.com/webhp?hl=allgws_rd=ssl#hl=enq=ns2+clustering+simulation
. https://www.google.com/webhp?hl=allgws_rd=ssl#hl=enq=ns2+cluster+heads
. to see some choices.

There is the old `clustering - ns-2.29', there is `leach + pegasis', etc.

-

On Friday, October 31, 2014 6:12:15 PM UTC+1, mai Ragaei wrote:

 HI,
 I want cluster code which is working in ns2.34, could anyone please help 
 me as i need to implement my cluster protocol and want any help ??

 thanks in advance

 Best Regards,

  

Re: [ns] Source code of PEGASIS for NS2.34

2014-10-20 Thread knudfl

 @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
$ ./install

Edit leach_test, line 5 to :   alg=pegasis
... to run the Pegasis simulation.

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/Source-code-of-PEGASIS-for-NS2-34-tp29323p29324.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] Disabling sending ACK in MAC layer

2014-10-06 Thread knudfl

 @Reza Karimi
 disable sending ACK packets in MAC Layer

? May be ? 
https://www.google.com/webhp?hl=allgws_rd=ssl#hl=enq=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 message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/Disabling-sending-ACK-in-MAC-layer-tp29225p29265.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] [NS]Problem with AODV+,Please help me!

2014-09-21 Thread knudfl

 @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.7690.n7.nabble.com/NS-Problem-with-AODV-Please-help-me-tp15086p29218.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] AWK scripts

2014-06-04 Thread knudfl

 @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-ns-2.7690.n7.nabble.com/AWK-scripts-tp28816p28819.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] implemention malicious node in MANET over DSR

2014-06-02 Thread knudfl

 @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 rushing attacks works. If you have questions, please ask : Very easy to
add to ns2.
Asking in a thread about malicious : You will get information about
malicious →
http://www.linuxquestions.org/questions/tags/malicious/
aodv-malicious_ns235.patch → 
https://drive.google.com/file/d/0B7S255p3kFXNU0VNbUtIWlJpRk0/edit?usp=sharing

Other related topic : Blackhole
http://www.linuxquestions.org/questions/tags/blackhole/
*
https://groups.google.com/forum/?fromgroups#!searchin/ns-users/blackhole/ns-users/Id76GVGr76Q/b7N2JcXNlQgJ

-




--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/implemention-malicious-node-in-MANET-over-DSR-tp11583p28812.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] nam -segmentation fault

2014-05-24 Thread knudfl

 @ 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 14.04 - 64  nam-1.15-3 package.)

Suggest  2) If nam is still showing `Segmentation fault´ after an update (to
-3) :
$ sudo apt-get remove nam 
... And then use the  nam-1.14 package = 'nam_1.14_amd64.deb' →
https://drive.google.com/file/d/0B7S255p3kFXNNmtLeXhsaG5hXzQ/edit?usp=sharing


Writing tcl scripts :  Please start here 
http://www.isi.edu/nsnam/ns/tutorial/ , I .. XI.2.
* Examples with nam and xgraph are included.

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/nam-segmentation-fault-tp28777p28779.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] nam -segmentation fault

2014-05-24 Thread knudfl

 @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-allinone-2.35 by `paultsr´ :
https://github.com/paultsr/ns-allinone-2.35  ( It's a mannasim patched
ns-2.35 ).

-





--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/nam-segmentation-fault-tp28777p28781.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] new wireless trace format

2014-05-22 Thread knudfl

 @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
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] Problem with ARQ module

2014-05-21 Thread knudfl

 @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 context: 
http://network-simulator-ns-2.7690.n7.nabble.com/Problem-with-ARQ-module-tp28747p28759.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] Problem with ARQ module

2014-05-20 Thread knudfl

 @ 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 arq.tcl to a new name. 
We already have tcl/ex/hdlc/arq.tcl in the later ns-2.xx versions.
My example :  $ ns229-arq arq-Tx.tcl
At 100, The tcp sequence number is 60110
 I.e. the simulation example replies with one line only. (And some
warnings.)

Files :  arq-Tx_ns229-files.tar.gz
https://drive.google.com/file/d/0B7S255p3kFXNY2Vadm05enY4V1E/edit?usp=sharing




--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/Problem-with-ARQ-module-tp28747p28749.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] LAR Patch

2014-05-19 Thread knudfl

 @ 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-wireless-networking-41/ns2-31-and-crcn-patch-4175457659/page2.html




--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/LAR-Patch-tp27351p28739.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] LAR Patch

2014-05-18 Thread knudfl

 @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   
StopTime=99.80

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/LAR-Patch-tp27351p28732.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] LAR Patch

2014-05-16 Thread knudfl

 @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.2014.tar.bz2´ may contain something that you can
use →
→
https://drive.google.com/file/d/0B7S255p3kFXNOEw1OTlLUzV4V2s/edit?usp=sharing
→ 50+ awk etc. script examples.

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/LAR-Patch-tp27351p28725.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] hai im doing synchronisation protocol.

2014-05-15 Thread knudfl

 @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 $ ns tpsn.tcl
.. then edit config.tcl : set opt(stop) 100
to : set opt(stop) 75
.. or lower than 75.





--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/hai-im-doing-synchronisation-protocol-tp28704p28717.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] hai im doing synchronisation protocol.

2014-05-13 Thread knudfl

 @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 somebody can help with a fix.
burak_kulakli_tez.pdf http://ube.ege.edu.tr/~erciyes/burak_kulakli_tez.pdf
TPSN-ns2-files.tar.gz
https://drive.google.com/file/d/0B7S255p3kFXNWFI5eV9hRWJ6S3M/edit?usp=sharing

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/hai-im-doing-synchronisation-protocol-tp28704p28708.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] rushing attack code

2014-05-12 Thread knudfl

 @ 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.html

Another 6,000 suggestions with Google .. ns2 rushing attacks ..
https://www.google.com/webhp?hl=all#hl=enq=ns2+rushing+attacks

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/rushing-attack-code-tp28700p28701.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] LAR Patch

2014-05-09 Thread knudfl

 @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 ?

-





--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/LAR-Patch-tp27351p28693.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] LAR Patch

2014-05-06 Thread knudfl

 @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-2.7690.n7.nabble.com/LAR-Patch-tp27351p28681.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] LAR Patch

2014-05-06 Thread knudfl

 @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 .
* You will also need ns-2.xx/tcl/ex/wpan_demo1.scn .

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/LAR-Patch-tp27351p28682.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] LAR Patch

2014-05-01 Thread knudfl

 @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-simulator-ns-2.7690.n7.nabble.com/LAR-Patch-tp27351p28664.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] LAR Patch

2014-05-01 Thread knudfl

 @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. You may have noticed that
with the ns233 build ?
I get errors with box-Helen.tcl on both ns-2.33 and ns-2.34.
Could happen that the original ns-2.32 solution is the best one for a 64bits
OS ?
( The three patches are all adding the same code lines to the ns2
cmu-trace.*,
that is actually the only real code added. No change to the original code.)

Building ns-2.34 + LAR :
$ tar xvf ns-allinone-2.34.tar.gz
$ patch -p1  toilers-lar-dream_ns234.patch
$ export CC=gcc-4.4 CXX=g++-4.4  ./install
$ cd ns-2.34/  cp ns ns234-lar  sudo cp ns234-lar /usr/local/bin/

-





--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/LAR-Patch-tp27351p28666.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] how to set packet type?

2014-04-29 Thread knudfl

 @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-users mailing list archive at Nabble.com.



Re: [ns] mactype as mac/csma/ca

2014-04-29 Thread knudfl

 @  हर्षद वाजार
 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://github.com/dnlove/ammac-ns2/tree/master/duy/tcl
Getting ammac-ns2 files : $ git clone https://github.com/dnlove/ammac-ns2

The same 'csma.tcl' is also present here ..
http://www-sop.inria.fr/members/Eitan.Altman/ns.htm

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/mactype-as-mac-csma-ca-tp28641p28645.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] LAR Patch

2014-04-29 Thread knudfl

 @ billyfuad
 how to patch LAR

Which Linux OS are you using ?
a) Please show the output from the command $ uname -m Enter
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 archive at Nabble.com.



Re: [ns] LAR Patch

2014-04-29 Thread knudfl

 @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-LAR-DREAM-ns233-patching.tar.gz
$ export CC=gcc-4.4 CXX=g++-4.4  ./install
$ cd ns-2.33/
$ cp ns *ns-lar*
$ sudo cp ns-lar /usr/local/bin/
.. That's it. Don't do anything else. Like adding a *PATH text to .bashrc :
Not required.

* Run the simulations in the directory lar-examples/
( lar-examples/ can have any location )
$ *ns-lar* ARP_TCP-box.tcl

-




--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/LAR-Patch-tp27351p28648.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] how to start 802.15.4 in ns2

2014-04-29 Thread knudfl

 @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 scripts for ns-2
. http://elmurod.net/en/index.php/archives/72
. https://www.google.com/webhp?hl=all#hl=allq=ns2+802.15.4 `ns2 802.15.4´

. wpan11.tar.gz https://sites.google.com/site/jzhengresearch/pub/file
. yongsen-ns2_zigbee-0b59c4e.tar.gz http://yongsen.github.io/ns2_zigbee/
→ {data/ demo/ out/ README.md thesis.pdf thr_drop_delay.awk zigbee.scn
zigbee.tcl}
.. Or do you mean the 802.15.4 that's already present in ~ns233.. ns235 ?
* Please look into the files.cc / files.h in the wpan/  directory.
→ Lots of documentation : Lines / comments starting with   // text... 
* And :  wpan/*WPAN_ZBR_pub.pdf*

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/how-to-start-802-15-4-in-ns2-tp28619p28649.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] how to set packet type?

2014-04-28 Thread knudfl

 @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-simulator-ns-2.7690.n7.nabble.com/how-to-set-packet-type-tp28622p28625.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] Asking for help

2014-04-20 Thread knudfl

  @ノ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=sharing

Setting up, and using 'tracegraph', post #29 here ...
http://www.linuxquestions.org/questions/programming-9/ns2-4175449125/page2.html

Note : tracegraph202Linux should work OK with Ubuntu 10.xx - 32bits (i686).
A 64bits Ubuntu 10.04 or Ubuntu 10.10 : Ask for a solution.

-



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/Asking-for-help-tp28590p28592.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] Regarding MAODV

2014-04-19 Thread knudfl

 @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=allq=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-8/urgent-error-installing-ns2-on-ubuntu-7-04-a-858161/#7

-




--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/Regarding-MAODV-tp28585p28587.html
Sent from the ns-users mailing list archive at Nabble.com.



  1   2   >