[ns] URGENT MAC802_11 how to attach MN to BS
dear all, I receive in my log file the following message: At 9.525694049 Mac 5 (Node 3.0.1) drop packet because does not belong to bss_id -1 (hdv_state_=1) When I grep this error in mac_80211 I see that my MN is not attached at all to the BS: case MAC_Type_Data: //NIST: add L2 connection /* if we are not attached to bss_id, we cannot receive data */ //check if I am connected to my base station //src = ETHER_ADDR(mh-dh_ta); //Note: Only let routing algorithm messages pass through if ( ch-ptype()!=PT_MESSAGE (index_ != bss_id_) ((src != (u_int32_t) bss_id_) || hdv_state_ != MAC_CONNECTED) ) { //printf (at %f src = %d and type=%d, subtype=%x..., NOW,src,type,subtype); debug (At %.9f Mac %d (Node %s) drop packet because does not belong to bss_id %d (hdv_state_=%d)\n, \ NOW, index_, Address::instance().print_nodeaddr(netif_-node()-address()), bss_id_, hdv_state_); discard(pktRx_, NCO); goto done; My Question : How to attach this mn ? ps: this is how I attach my interface to the BS in tcl set iface1_($i) [$ns node 3.0.$i] ;# node id is 8. $iface1_($i) base-station [AddrParams addr2id [$bstation802 node-addr]] ;#attach mn to basestation Thanks
[ns] Issues with working on Bonnmotion-1.1 and Terminal
Hello, I use ns-allinone-2.33 on Ubuntu 8.10. I'm not sure if any of you worked on Bonnmotion-1.1 from withing a tcl file before, but I'm having two problems here. First problem is, I think after I installed either the jdk or Bonnmotion, whenever i open the terminal I get the following: bash: export: command not found u...@ubuntu:~$ Next, when I try to execute the bonnmotion from within the program, I get the following error Simulation simulation_results/compare-das-10-AODV-40-2010-23Dec-Thu203523 ERROR: couldn't execute bonnmotion-1.1/bin/bm: no such file or directory Simulation simulation_results/compare-das-10-AODV-85-2010-23Dec-Thu203523 ERROR: couldn't execute bonnmotion-1.1/bin/bm: no such file or directory Simulation simulation_results/compare-das-10-DSR-59-2010-23Dec-Thu203523 ERROR: couldn't execute bonnmotion-1.1/bin/bm: no such file or directory Simulation simulation_results/compare-das-10-SWARM-78-2010-23Dec-Thu203523 ERROR: couldn't execute bonnmotion-1.1/bin/bm: no such file or directory Simulation simulation_results/compare-das-10-DSR-71-2010-23Dec-Thu203523 ERROR: couldn't execute bonnmotion-1.1/bin/bm: no such file or directory Simulation simulation_results/compare-das-10-SWARM-84-2010-23Dec-Thu203523 ERROR: couldn't execute bonnmotion-1.1/bin/bm: no such file or directory Simulation simulation_results/compare-das-10-DSR-17-2010-23Dec-Thu203522 ERROR: couldn't execute bonnmotion-1.1/bin/bm: no such file or directory Simulation simulation_results/compare-das-10-SWARM-36-2010-23Dec-Thu203523 ERROR: couldn't execute bonnmotion-1.1/bin/bm: no such file or directory Simulation simulation_results/compare-das-10-DSR-80-2010-23Dec-Thu203523 ERROR: couldn't execute bonnmotion-1.1/bin/bm: no such file or directory Simulation simulation_results/compare-das-10-AODV-13-2010-23Dec-Thu203522 ERROR: couldn't execute bonnmotion-1.1/bin/bm: no such file or directory Simulation simulation_results/compare-das-10-SWARM-9-2010-23Dec-Thu203522 ERROR: couldn't execute bonnmotion-1.1/bin/bm: no such file or directory Simulation simulation_results/compare-das-10-SWARM-105-2010-23Dec-Thu203524 ERROR: couldn't execute bonnmotion-1.1/bin/bm: no such file or directory Simulation simulation_results/compare-das-10-AODV-67-2010-23Dec-Thu203523 ERROR: couldn't execute bonnmotion-1.1/bin/bm: no such file or directory Simulation simulation_results/compare-das-10-AODV-64-2010-23Dec-Thu203523 ERROR: couldn't execute bonnmotion-1.1/bin/bm: no such file or directory Simulation simulation_results/compare-das-10-AODV-22-2010-23Dec-Thu203523 ERROR: couldn't execute bonnmotion-1.1/bin/bm: no such file or directory Simulation simulation_results/compare-das-10-AODV-52-2010-23Dec-Thu203523 ERROR: couldn't execute bonnmotion-1.1/bin/bm: no such file or directory Simulation simulation_results/compare-das-10-AODV-58-2010-23Dec-Thu203523 ERROR: couldn't execute bonnmotion-1.1/bin/bm: no such file or directory Simulation simulation_results/compare-das-10-AODV-79-2010-23Dec-Thu203523 ERROR: couldn't execute bonnmotion-1.1/bin/bm: no such file or directory Simulation simulation_results/compare-das-10-AODV-103-2010-23Dec-Thu203524 ERROR: couldn't execute bonnmotion-1.1/bin/bm: no such file or directory Simulation simulation_results/compare-das-10-DSR-44-2010-23Dec-Thu203523 ERROR: couldn't execute bonnmotion-1.1/bin/bm: no such file or directory Simulation simulation_results/compare-das-10-AODV-82-2010-23Dec-Thu203523 ERROR: couldn't execute bonnmotion-1.1/bin/bm: no such file or directory Simulation simulation_results/compare-das-10-SWARM-69-2010-23Dec-Thu203523 ERROR: couldn't execute bonnmotion-1.1/bin/bm: no such file or directory Simulation simulation_results/compare-das-10-DSR-32-2010-23Dec-Thu203523 ERROR: couldn't execute bonnmotion-1.1/bin/bm: no such file or directory Simulation simulation_results/compare-das-10-SWARM-24-2010-23Dec-Thu203523 ERROR: couldn't execute bonnmotion-1.1/bin/bm: no such file or directory Simulation simulation_results/compare-das-10-SWARM-90-2010-23Dec-Thu203524 ERROR: couldn't execute bonnmotion-1.1/bin/bm: no such file or directory Simulation simulation_results/compare-das-10-DSR-65-2010-23Dec-Thu203523 ERROR: couldn't execute bonnmotion-1.1/bin/bm: no such file or directory Simulation simulation_results/compare-das-10-SWARM-54-2010-23Dec-Thu203523 ERROR: couldn't execute bonnmotion-1.1/bin/bm: no such file or directory Simulation simulation_results/compare-das-10-SWARM-99-2010-23Dec-Thu203524 ERROR: couldn't execute bonnmotion-1.1/bin/bm: no such file or directory Simulation simulation_results/compare-das-10-DSR-2-2010-23Dec-Thu203522 ERROR: couldn't execute bonnmotion-1.1/bin/bm: no such file or directory Simulation simulation_results/compare-das-10-DSR-68-2010-23Dec-Thu203523 ERROR: couldn't execute bonnmotion-1.1/bin/bm: no such file or directory Simulation simulation_results/compare-das-10-DSR-38-2010-23Dec-Thu203523 ERROR: couldn't execute
[ns] is it possible to attach more than one MN in Wifi Cell ?
Dear all I tried to attach N node in the same AP but it seams that it doesn't work , in the example given in NS2 each node belong to at most one AP. How can I attach more than 1 MN ? this is the instruction in TCL: set iface($i) [$ns node 2.0.[expr 1+$i]] $iface($i) random-motion 0 $iface($i) base-station [AddrParams addr2id [$bstation802($j) node-addr]] ;#attach mn to basestation Thank you in advance Regards
[ns] help with SMAC algorithm
Hello everyone Actually i am working on my term paper which is related to SMAC can anyone provide me the algorithm related to SMAC your request will be really helpful thank you