[ns] Mobile Node Turns off at wrong time instance
Hello, I face a problem with NS2 Mobile Nodes. I have a file in which i specify when individual nodes turn on / off and this file is passed as input in the NS2 simulation. Some mobile nodes turn off at different time instances than the ones specified in this file and this results to files getting dropped. Has anyone experienced this before? What do you suggest? Thanks in advance. -- _ Nicholas Loulloudes High Performance Computing Systems Laboratory (HPCL) University of Cyprus, Nicosia, Cyprus Tel: +357-22892663 Email: loulloudes.n[at]cs.ucy.ac.cy _
Re: [ns] Mobile Node Turns off at wrong time instance
Hi Mubashir, Thanks for the quick response. I have 4 files: 1) the simulation parameters TCL file , 2) the mobility file, 3) the node's on/off file 4) the data file (says when nodes send some data) I make sure that each mobile node sends some data in the network when it is ON. In some cases i see some data are lost simply because when the node tries to send something it's energy model is OFF. I always perform the following check before sending something: if ( true == thisNode-energy_model()-node_on() ){ send_data } thanks. Mubashir Rehmani wrote: Hi, But the question is that how you made synchronize your nodes to switch to on/off states with the data you are providing with the file? Regards Mubashir Husain Rehmani 2009/10/12 Nicholas Loulloudes loulloude...@cs.ucy.ac.cy mailto:loulloude...@cs.ucy.ac.cy Hello, I face a problem with NS2 Mobile Nodes. I have a file in which i specify when individual nodes turn on / off and this file is passed as input in the NS2 simulation. Some mobile nodes turn off at different time instances than the ones specified in this file and this results to files getting dropped. Has anyone experienced this before? What do you suggest? Thanks in advance. -- _ Nicholas Loulloudes High Performance Computing Systems Laboratory (HPCL) University of Cyprus, Nicosia, Cyprus Tel: +357-22892663 Email: loulloudes.n[at]cs.ucy.ac.cy http://cs.ucy.ac.cy _ -- Mubashir Husain Rehmani -- _ Nicholas Loulloudes PhD Candidate, High Performance Computing Systems Laboratory (HPCL) University of Cyprus, Nicosia, Cyprus Tel: +357-22892663 Email: loulloudes.n[at]cs.ucy.ac.cy Web: www.cs.ucy.ac.cy/~nickl _
Re: [ns] Help me
Hi, Thank you Sir, In my project, i am Using Hello Packets for neighbor discovery. But i don know how to create Hello Packets for neighbor discovery. If you have any idea, please share with me. It will usefull to me. Thank you With Regards Sebastian Terence On 10/9/09, Mubashir Rehmani mshrehm...@gmail.com wrote: Hi, See these links http://www.nabble.com/Finding-Neighbors-of-a-Mobile-Node.-td21019174.html#a21019289 Regards Mubashir Husain Rehmani 2009/10/9 Sebastian Terence.J jsebi...@gmail.com Hi Friends, I want to know how to discover neighbor nodes in mobile environment. If any one know please tell me, it will useful for me. Thank you -Sebastian Terence -- Mubashir Husain Rehmani
[ns] Deadline approaching - EW2010 - October 30
[we apologize if multiple copies are received] Call for Papers 16th European Wireless Conference www.ew2010.org Lucca (Tuscany), Italy April 12-15, 2010 Submission deadline: Oct 30, 2009 ** GENERAL The 12th European Wireless Conference will take place in the city of Lucca, heart of Tuscany, Italy, from April 12 to April 15, 2010 and will be hosted by the IMT Institute for Advanced Studies (www.imtlucca.it), a post-graduate school recently founded in Lucca, which awards PhD degrees to a restricted group of outstanding students from all over the world. The 2010 edition of the conference will revolve around a main theme: Towards the Future Internet. One of the key objectives of research in wireless communication, and notably the main one of 4th generation cellular/mobile networks, is full integration of wireless segments into the all-IP pervasive and ubiquitous network of the future, regardless of the nature (wired or wireless) of the physical media. In addition to technical sessions, tutorials and demonstation/poster sessions will be hosted. ** TOPICS Original contributions in any of the areas below are solicited: Wireless Networking - Ad-hoc and Mesh Wireless Networks - Transport Layer Issues in Mobile and Wireless Networks - Cross-layer Issues - Protocols and Architecture for Wireless Networks - Radio Resource Management - Mobility Management and Billing Technologies - QoS and Resource Allocation in Mobile Networks - Security and Robustness in Wireless Networks - Mobile/Wireless Networks Modeling and Simulation - Heterogeneous Wireless Networks - Wired-Wireless Integration Advanced Wireless Technology - Ultra-Wideband Communications - Software Radio Re-congurability, Cognitive Radio and Networks - Cross-layer Design in Mobile and Wireless Networks - Power Management for Small Terminals - 2G-3G-4G Migration, Convergence and Interworking - WiFi, WiMAX, 3GPP LTE - Wireless LAN/PAN/BAN - Location-based Services and Positioning - Wireless Broadband Mobile Access - RFID - Cooperative Techniques - Experimental Systems - Sensor Networks Technologies and Protocols - Mobile Social Networks Transmission Techniques and Signal Processing - Modulation and Coding for Wireless Communications - Signal Processing for Wireless Communications - Synchronization, Channel Estimation, Equalization - Iterative Detection and Processing - MIMO Systems, Space-Time Coding, Diversity - Fundamental Limits, Information Theory - Multiple Access Schemes, Multiuser Detection Algorithms - Interference Mitigation and Management Techniques - Network Coding and Cooperative Diversity and Processing - Adaptive Systems - OFDM and OFDMA - Localization and Positioning - Source and Joint Source/Channel Coding - Physical Security - Resource Allocation and Game Theory - Spectrum Sensing and Signal Parameters Estimation Radio Channel and RF Subsystems - Radio Channel Measurements - Radio Channel Modeling and Estimation - Antenna Issues in Wireless Communications - Smart Antennas and MIMO systems - Compact Antennas for Mobile Terminals - Modeling and Mitigation of RF System Imperfections ** IMPORTANT DATES Paper submission: Oct 30, 2009 Notification of acceptance: Dec 31, 2009 Camera-ready due: Jan 31, 2010 Proposals for tutorials: Dec. 31, 2009 Tutorial acceptance notification: Feb 15, 2010 ** SUBMISSION Submission of papers, up to 8 pages, will be handled electronically via EDAS. Detailed instructions will be available soon in the conference website: http://www.ew2010.org/. Accepted papers will be published in the Proceedings of EW 2010. Acceptance will be based on quality, relevance and originality. All submitted papers will be peer-reviewed by at least three reviewers and their comments will be provided to the authors. Presentation at the conference of accepted papers is subject to full-fee registration of at least one author within the early registration deadline. Presented papers will be included in the IEEExplore database. A Special issues of European Transactions on Telecommunications will be devoted to selected EW2010 papers. Furthermore, papers of special merit will be considered for possible fast track publication on Computer Communications Journal. ** KEYNOTE SPEAKERS - Sajal Das, University Texas at Arlington, USA - Andrea Goldsmith, Stanford University, USA - Michele Zorzi, University of Padova, Italy ** ORGANIZING COMMITTEE General Co-Chairs - Luciano Lenzini, University of Pisa, Italy - Marco Luise, University of Pisa, Italy TPC Co-Chairs - Albert Banchs, Universidad Carlos III de Madrid, Madrid, Spain - Christoph Mecklenbräuker, Vienna University of Technology, Austria Steering Committee Chair - Bernhard Walke, Aachen University of Technology, Germany Tutorial Co-Chairs - Carles Antón-Haro, CTTC, Spain - Daji Qiao, Iowa University, USA Panel Chair - Bernhard Walke, Aachen University of Technology, Germany Exibition
[ns] Having nodes use both 802.11 and SMAC
Hello all, I am running a wireless sensor network project where nodes use the SMAC protocol to communicate and gather the data. Do you know if it is possible to have some nodes using SMAC and some others using 802.11 as their MAC protocol, in the same simulation? Thanks in advance Stella
[ns] Why do I receive Invalid MAC Control subtype?
Dear all, Can somebody tell me why exactly the Invalid MAC Control subtype message is being produced by mac-802_11 module? I have changed the ACK packet structure, and have not touched MAC header. This error message that always appears only when I increase the number of nodes in the network. And this makes me believe that my modifications should not be the source of the problem. When I tracked down the problem, I understood that the packet had a correct type and subtype before the defer timer being set, but somehow, the header becomes null when the defer timer expires and MAC goes to check_pktCTRL subroutine. Any idea why this message was originally put in the check_pkt* subroutines? Or any specific reason why the header might become null? Any kind of help is really appreciated. Regards, Sanaz -- View this message in context: http://www.nabble.com/Why-do-I-receive-%22Invalid-MAC-Control-subtype%22--tp25849257p25849257.html Sent from the ns-users mailing list archive at Nabble.com.
[ns] ask for help!!!! help please
Hi all, I'am searching for a solution.. I have to send a message from one node to another node.. how to make it please tell in detail.. i am in need!! Thank you in advance and I'm sorry for the inconvenience Best REgards,
Re: [ns] ask for help!!!! help please
Hi, Thank you for your reply, the exemple that I have found in the Marc Greis's Tutorial concen only transfer data like CBR ,FTP... but in my case I need to send message from node 1 to node 2 (such as what is your actual postion ) and the node 2 answer by a message reply. If anyone have an idea about that please can you forward it to me because I'm stuck!! It will be a great help for me to advance in my project. Thank you in advance and I'm sorry for the inconvenience. carolina2 wrote: Hi all, I'am searching for a solution.. I have to send a message from one node to another node.. how to make it please tell in detail.. i am in need!! Thank you in advance and I'm sorry for the inconvenience Best REgards, -- View this message in context: http://www.nabble.com/ask-for-help%21%21%21%21-help-please-tp25858964p25861691.html Sent from the ns-users mailing list archive at Nabble.com.
Re: [ns] how to send a message a node to another node?
Hi Ane, I want to send a message from one node to another (not transfer data like FTP CBR ...). for exemple node 1 send to node 2 a message what is your actual postion? please if you have found a solution for that can you forward it to me. it will be a graet help for me. Thank you gisane wrote: I am work the ping protocol e I have that to send a specifies message a node to another node, how do I that? Ane -- View this message in context: http://www.nabble.com/how-to-send-a-message-a-node-to-another-node--tp23162002p25862059.html Sent from the ns-users mailing list archive at Nabble.com.
[ns] video tracefile anomalies
I have the following problem to get my trace simulation working . I would like to simulate a simple video streaming client server simulation with two routers and client server node. I'm using a video trace file (Verbose_Jurassic_64.dat) from http://trace.eas.asu.edu/tools/ns-example2.tar.gz. The following codes has been modified from the above codes. The codes run on my ubuntu 8.04 with ns2.31allinone ok but the .tr file output from the simulation shows weird output. The packets queue about 99% percent of the simulation time. + 141.242416 0 1 udp 1000 --- 1 0.0 3.0 0 0 - 141.242416 0 1 udp 1000 --- 1 0.0 3.0 0 0 + 141.242416 0 1 udp 1000 --- 1 0.0 3.0 1 1 + 141.242416 0 1 udp 1000 --- 1 0.0 3.0 2 2 + 141.242416 0 1 udp 1000 --- 1 0.0 3.0 3 3 + 141.242416 0 1 udp 1000 --- 1 0.0 3.0 4 4 . d 141.242416 0 1 udp 1000 --- 1 0.0 3.0 89 89 + 141.242416 0 1 udp 1000 --- 1 0.0 3.0 90 90 d 141.242416 0 1 udp 1000 --- 1 0.0 3.0 90 90 + 141.242416 0 1 udp 1000 --- 1 0.0 3.0 91 91 d 141.242416 0 1 udp 1000 --- 1 0.0 3.0 91 91 + 141.242416 0 1 udp 1000 --- 1 0.0 3.0 92 92 d 141.242416 0 1 udp 1000 --- 1 0.0 3.0 92 92 + 141.242416 0 1 udp 1000 --- 1 0.0 3.0 93 93 . + 141.242416 0 1 udp 1000 --- 1 0.0 3.0 454 454 d 141.242416 0 1 udp 1000 --- 1 0.0 3.0 454 454 + 141.242416 0 1 udp 1000 --- 1 0.0 3.0 455 455 d 141.242416 0 1 udp 1000 --- 1 0.0 3.0 455 455 + 141.242416 0 1 udp 1000 --- 1 0.0 3.0 456 456 d 141.242416 0 1 udp 1000 --- 1 0.0 3.0 456 456 + 141.242416 0 1 udp 1000 --- 1 0.0 3.0 457 457 d 141.242416 0 1 udp 1000 --- 1 0.0 3.0 457 457 + 141.242416 0 1 udp 1000 --- 1 0.0 3.0 458 458 Here are the codes.. set ns [new Simulator] set nf [open out.nam w] set f [open out.tr w] $ns trace-all $f $ns namtrace-all $nf $ns color 1 Blue $ns color 2 Red # generate the sending node: set send_node [$ns node] set router_node_1 [$ns node] # generate the routers: set router_node_2 [$ns node] set recv_node [$ns node] # set router shape label $router_node_1 shape box $router_node_2 shape box $send_node label VSer $router_node_1 label R1 $router_node_2 label R2 $recv_node label VClie # define the links between the nodes: $ns duplex-link $send_node $router_node_1 10Mb 10ms DropTail $ns duplex-link $router_node_1 $router_node_2 54Mb 10ms DropTail $ns duplex-link $router_node_2 $recv_node 10Mb 10ms DropTail # orientation of the links: $ns duplex-link-op $send_node $router_node_1 orient down $ns duplex-link-op $router_node_1 $router_node_2 orient right $ns duplex-link-op $router_node_2 $recv_node orient up # set que $ns duplex-link-op $router_node_1 $router_node_2 queuePos 0.5 $ns duplex-link-op $router_node_2 $recv_node queuePos 0.5 # set the maximal queue lengths of the routers: $ns queue-limit $router_node_1 $router_node_2 5 $ns queue-limit $router_node_2 $recv_node 5 #convert the trace file into binary for ns2 video data attachment. set original_file_name Verbose_Jurassic_64.dat set trace_file_name video.dat set original_file_id [open $original_file_name r] set trace_file_id [open $trace_file_name w] set last_time 0 while {[eof $original_file_id] == 0} { gets $original_file_id current_line if {[string length $current_line] == 0 || [string compare [string index $current_line 0] #] == 0} { continue } scan $current_line %d %s %d next_time type length set time [expr 1000*($next_time-$last_time)] set last_time $next_time puts -nonewline $trace_file_id[binary format II $time $length] #puts -nonewline $trace_file_id [binary format II $time $length] } close $original_file_id close $trace_file_id # set the simulation end time based on the video length: set end_sim_time [expr 1.0 * $last_time / 1000 + 0.001] # define the source and the source model: set udp [new Agent/UDP] $ns attach-agent $send_node $udp # define the destination: set snk [new Agent/Null] $ns attach-agent $recv_node $snk $ns connect $udp $snk $udp set fid_ 1 # read the video trace file: set trace_file [new Tracefile] $trace_file filename $trace_file_name #Attach binary trace file to the agent set video [new Application/Traffic/Trace] $video attach-tracefile $trace_file $video attach-agent $udp set cbr [new Application/Traffic/Trace] $cbr attach-agent $udp $cbr attach-tracefile $trace_file $cbr set type_ CBR $cbr set packet_size_ 1000 $cbr set random_ false $cbr set rate_ 1MB #start the simulation $ns at 0.0 $cbr start $ns at $end_sim_time $cbr stop $ns at [expr $end_sim_time + 1.0] finish proc finish {} { global ns nf f $ns flush-trace close $nf close $f exec nam out.nam exit 0 } $ns run