[ns] number of send packet
Hi all I used tcl script for simulation of 9 node with cbr traffic. in this script sink node is fixed and every node send packets to sink with defined interval.But when I changed the position of nodes(only the position)and run script again the number of send packet is different.Is it true when we have cbr traffic with defined interval, created of sending packet in nodes is random? defining of cbr traffic in script, comes in following: #src dest interval start stop packetsize stage #the first sensor activity cbrtraffic 0 3 0.2 0.1 0.9 5 1;# target is in the range from 15 to 10 meters from the first sensor (sensed signal=5 bytes) cbrtraffic 0 3 0.2 1.0 1.9 8 2;# target is in the range from 10 to 5 meters from the first sensor (sensed signal=8 bytes) #the second sensor activity cbrtraffic 1 3 0.2 0.2 0.9 1 1; # target is the range of 25 to 20 meters far from the sensor(sensed signal=1 bytes) cbrtraffic 1 3 0.2 1 1.9 3 2; # target is the range of 20 to 15 meters far from the sensor(sensed signal=3 bytes) cbrtraffic 1 3 0.2 2 2.9 5 3; # target is the range of 15 to 10 meters far from the sensor(sensed signal=5 bytes)
[ns] help for awk script
Hi all How can write awk script for get energy consumption of aodv? Thanks
[ns] install ns2 error
Hi all I am using ns-allinone-2.28 on cygwin (win XP). I added new routing protocol and following these steps for reinstall: ./configure make clean make make install but after make install I got these message: user/bin/install -c -m 555 -o bin -g bin ns /usr/local/bin usr/bin/install:invalid user 'bin' make: *** [install-ns] Error 1 What should I do? thanks Khadijeh
[ns] install ns2 error
Hi all I am using ns-allinone-2.28 on cygwin (win XP). I added new routing protocol and following these steps for reinstall: ./configure make clean make make install but after make install I got these message: user/bin/install -c -m 555 -o bin -g bin ns /usr/local/bin usr/bin/install:invalid user 'bin' make: *** [install-ns] Error 1 What should I do? thanks Khadijeh
[ns] Phy/Wireless Transmission Power w.r.t Trans Range
Hi In which files and directory can change the Phy/Wireless Transmission Power w.r.t Trans Range?We most add related codes in main tcl code or create another tcl script for this? thanks
[ns] compile ns
Hi all I installed ns-2.28 in cygwin on windows xp.After installation and configured that when I want to run one of tcl files like simple-wireless.tcl I encountered with this message: When configured, ns found the right version of tclsh in /home/dukat/ns-allinone-2.28/tcl8.4.5/unix/tclsh but it doesn't seem to be there anymore, so ns will fall back on running the first tclsh in your path. The wrong version of tclsh may break the test suites. Reconfigure and rebuild ns if this is a problem. Ofcourse I searched for riding of that and find this suggestion: This is a cosmetical annoyance and doesn't hinder proper operation. To get rid of this message you'll have to compile ns from source. Now how can compile ns from source? I'm biginner and I don't know how can compile it. Please help me. Thanks Khadijeh