[ns] NAM Problemn
Hey All, I am a newbie to ns2. I am working with wireless transmissions and find that the packet transfer is not displayed in NAM. The trace file is showing sending and receiving of packets but in NAM only the nodes are displayed with no transfer between them. Please Help. -- Regards, Mayank Daga MUKTI '09 | www.mukti09.in
Re: [ns] Transmission Range in ns2.
On Sun, Dec 14, 2008 at 1:39 AM, Mayank Daga wrote: > Dear All, > I want to set different ranges for each node. How can I do that. Using > threshold.cc, we set same range for all the nodes. > > Please help. > > -- > Regards, > Mayank Daga > MUKTI '09 | www.mukti09.in > Please help!!! -- Regards, Mayank Daga MUKTI '09 | www.mukti09.in
Re: [ns] Transmission Range in ns2.
Hey, for {set i 0} {$i < $opt(nn) } {incr i} { Phy/WirelessPhy set RXThresh_ value set node_($i) [$ns_ node] } will this work? if it will then i suppose this change the range statically. Can anything be done to change the range during runtime? Thanks On Mon, Dec 15, 2008 at 1:01 PM, Waleed Tuffaha wrote: > Hello Mayank, > > In ns-mobilenode.tcl there is this function: > > # set transmission power > Node/MobileNode instproc setPt { val } { > $self instvar netif_ > $netif_(0) setTxPower $val > } > > I haven't tried it before, so i'm not sure if it works. > > I usually change the transmission power by setting the PLCPDataRate_ > parameter, for example" > Mac/802_11 set PLCPDataRate_ 1.0e6 > but I use it to change the power for all nodes. > > > > > On Sun, Dec 14, 2008 at 6:46 PM, Mayank Daga wrote: > >> >> On Sun, Dec 14, 2008 at 1:39 AM, Mayank Daga >> wrote: >> >> > Dear All, >> > I want to set different ranges for each node. How can I do that. Using >> > threshold.cc, we set same range for all the nodes. >> > >> > Please help. >> > >> > -- >> > Regards, >> > Mayank Daga >> > MUKTI '09 | www.mukti09.in >> > >> >> Please help!!! >> >> -- >> Regards, >> Mayank Daga >> MUKTI '09 | www.mukti09.in >> > > > > -- > Waleed Tuffaha. > -- Regards, Mayank Daga MUKTI '09 | www.mukti09.in
[ns] Finding Neighbors of a Mobile Node.
Hey All, Can anyone please help me find out the number of neighbors of a mobile node. Thanks -- Regards, Mayank Daga MUKTI '09 | www.mukti09.in
[ns] Neighbor List for Wireless Nodes
Dear All, I want to know how can I access the Neighbor List of mobile nodes. I know that Node object maintains a Neighbor List, but I am not able to figure out the same for mobile nodes. The reason I want to access this list is to count the number of neighbors of a particular node at regular intervals. Please help. -- Regards, Mayank Daga Senior Undergraduate Student, Department of Information Technology, National Institute of Technology, Durgapur, India
[ns] NAM Problem
Hey, I am using a scenario file which comes with ns2. scen-3-test. But the issue is, when I see the topology in NAM, there is just one node and that too is not at the co-ordinates where it has been assigned to. I have tried with various scenario files but non luck. Please help. -- Regards, Mayank Daga Senior Undergraduate Student, Department of Information Technology, National Institute of Technology, Durgapur, India
[ns] Classifier no slot.
Hey all, I have been trying to implement normal wireless scenario using DSDV protocol. The scenario has 49 equispaced nodes and there is some traffic applied. The problem is when I run the TCL script, i get the following output: linux-v1gr:~/tcl # ns test_soma.tcl num_nodes is set 49 warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl INITIALIZE THE LIST xListHead Starting Simulation... channel.cc:sendUp - Calc highestAntennaZ_ and distCST_ highestAntennaZ_ = 1.5, distCST_ = 550.0 SORTING LISTS ...DONE! --- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) --- _o139: no target for slot -1 _o139 type: Classifier/Port content dump: classifier _o139 0 offset 0 shift 2147483647 mask 2 slots slot 0: _o875 (CMUTrace/Recv) slot 255: _o130 (Agent/DSDV) -- Finished standard no-slot{} default handler -- Please help. -- Regards, Mayank Daga Senior Undergraduate Student, Department of Information Technology, National Institute of Technology, Durgapur, India
[ns] DSDV Protocol
Hey all, I am making a simple DSDV application. I found out that when source and destination nodes are not immediate neighbors, i.e., destination is out of range of the source node, then the packets get dropped. I mean wont the source route through its immediate neighbors and eventually reach destination? Will it transmit packets only when the destination is a neighbor. FYI I am using UDP with CBR. Please help. -- Regards, Mayank Daga Senior Undergraduate Student, Department of Information Technology, National Institute of Technology, Durgapur, India
[ns] Range Proble...Again :(
Hey Mubashir, Sorry for bugging you again but I am totally clueless as to how to set the range. Since past few days, I have been trying to set the range by the setting the value of radius variable of a particular node. This is what radius variable does according to NS Manual: $mobilenode radius The radius denotes the node’s range. All mobilenodes that fall within the circle of radius with the node at its center are considered as neighbours. This info is typically used by the gridkeeper. But, today I found out that this is not affecting the way the traffic is sent, i.e., the range is still 250m, the default value. Please help me as to how can I set the range of the nodes. This is is very much imperative for my project. Please help. -- Regards, Mayank Daga Senior Undergraduate Student, Department of Information Technology, National Institute of Technology, Durgapur, India
[ns] Neighbor List
Hey all, Please let me know, how to access the Neighbor List of any mobile node. It is imperative for my project work and I am not being to able to find it. I found a function addNeighbor(node) in node.cc but it seems that it is not called from anywhere. Then how are neighbors being maintained. Please help. -- Regards, Mayank Daga Senior Undergraduate Student, Department of Information Technology, National Institute of Technology, Durgapur, India
[ns] Packets getting dropped.
Hey, I am using DSDV Protocol for my wireless simulation. I am having 2 nodes which have different Propagation Threshold (Pt_) which makes their range different. But I find that the packets do not reach the destination even when the destination is within the range of the source node. Is it so that the nodes communicate only when both the nodes have same range? Please help as this is the central idea of my B.Tech Project. -- Regards, Mayank Daga Senior Undergraduate Student, Department of Information Technology, National Institute of Technology, Durgapur, India