Re: [ns] build nam on mac OSx

2012-09-13 Thread bostanip
Hello, see this: http://old.nabble.com/Error-while-installing-NS2.35-to-Mac-OS%28Lion%29-td34275411.html http://old.nabble.com/Error-while-installing-NS2.35-to-Mac-OS%28Lion%29-td34275411.html and the patch in the attachement. Best regards, Behnaz http://old.nabble.com/file/p34431582/instal

Re: [ns] Broadcasting a UDP ns2.34 802.11Ext

2012-11-06 Thread bostanip
Hi Paulo, Sorry to bother you, but I have just seen your question and I have a similar problem: I would like a source node (n0) to broadcast CBR packets via UDP to 1 hop neighbors (n1,n2) in a wireless dhoc network (either CMU 802.11 or 802.11 ext). After if that succeeds, I would like to incre

[ns] Get a mobile node coordinates at a given time (in TCL )

2012-11-12 Thread bostanip
Hi, I would like to to get a mobile node coordinates at a given time in TCL script. I have a procedure like this: proc getLocations { node_a tstart tend } { set time-step 0.1 set t $tstart set x -1 set y -1 while {$t <= $tend} {

[ns] 802.11g/b implementation in NS2

2013-01-07 Thread Bostanip
Hi all, How can I set the parameters of cmu mac 802.11 (Mac/802_11) and physical layer in ns2 to implement IEEE 802.11b and IEEE 802.11g? Does somebody have an example (tcl code) of the implementations of IEEE 802.11b and IEEE 802.11g? It's really urgent and I would be really grateful.. Thanks,

[ns] 802.11(b/g) Mike Moreton implementation.

2013-01-08 Thread Bostanip
Hello, I saw in some old posts that implemetations of 802.11 b and g by Mike Moreton exists. Do you know how can I find this implementation or any other implementation of 802.11 b or g. i really apprecaite your help, Thanks, Behnaz -- View this message in context: http://network-simulator-ns

Re: [ns] NS2 broadcast agent

2013-01-08 Thread Bostanip
Hi, Check this: http://mailman.isi.edu/pipermail/ns-users/2009-October/066564.html you can use it if you set probability to 1. -- View this message in context: http://network-simulator-ns-2.7690.n7.nabble.com/NS2-broadcast-agent-tp26001p26009.html Sent from the ns-users mailing list archiv

Re: [ns] How noise_floor_ is chosen for 802.11a

2013-06-27 Thread Bostanip
Well, after many months I know the answer. The noise floor is defined in the official documentation of 802.11a and corresponds to thermal noise of the system. -- View this message in context: http://network-simulator-ns-2.7690.n7.nabble.com/How-noise-floor-is-chosen-for-802-11a-tp26183p27187.h

Re: [ns] Packet header of application layer protocol

2013-07-06 Thread Bostanip
Hello, There could be many reasons for this. One possible reason might be that you only added a const static packet_t ….. for your new packet type in packet.h and after compiled your ns-2 code using "make" command. However,the "make" command will not take into account the changes that are only