Re: [ns] RTP over wireless connection between two nodes
I tried to install the 2.26 but it needs older version of tcl and I don't want to damage the 2.34 installation. I installed 2.31 but when I tried to add the maodv files it gave me this error: mac/channel.cc: In member function ‘void WirelessChannel::calcHighestAntennaZ(Phy*)’: mac/channel.cc:625: error: ‘class WirelessPhy’ has no member named ‘getAntennaZ’ mac/channel.cc:626: error: ‘class WirelessPhy’ has no member named ‘getAntennaZ’ mac/channel.cc:632: error: ‘class WirelessPhy’ has no member named ‘getDist’ mac/channel.cc:632: error: ‘class WirelessPhy’ has no member named ‘getCSThresh’ mac/channel.cc:632: error: ‘class WirelessPhy’ has no member named ‘getPt’ make: *** [mac/channel.o] Error 1 Did it give you such error when you installed it? It would be really helpful if you uploaded them anyway. Thank you in any case. Fivos.K wrote: i have ported them both for ns2.31 , i could upload them somewhere if you are interested but you could also use them in the ns version they support. pebbles wrote: Do I have to configure myself the unicast mechanism so as to send RTCP packets only to the sender node (and of course keeping the multicast for RTP packets, so that the sender sends to every receiver node)? I'm asking this because in case of having more receiver nodes I'd want the RTP packets to be sent to all of them. Also, I couldn't find a working version of either protocol (MAODV,ADMR) for ns 2.34. I think it's been a long time since they have been updated... Fivos.K wrote: pebbles wrote: The simple-rtp example uses the multicast on option so I'd rather stick to a multicast protocol for now. With ADMR one node can send RTP packets to nodes that belong to one multicast group but each one of them sends RTCP packets to that node (unicast), while with PUMA the nodes send RTCP packets to a multicast group address? They are all multicast protocols. Simply MAODV and ADMR allow use of unicast as well. The RTCP packets should only be sent to the sender and not to the whole group, so by sending them using a unicast mechanism you decrease the number of collisions in your setup. -- View this message in context: http://old.nabble.com/RTP-over-wireless-connection-between-two-nodes-tp31407109p31688725.html Sent from the ns-users mailing list archive at Nabble.com.
[ns] Error when testing DSR in NS2 with more than 10 nodes
Hello All, I use Ns2.33 to run DSR. I cannot know why I test DSR with more than 10 nodes it has an error error of segment Could you please explain me why? If you have a tcl script that run DSR well please send me. Thank you in advance. Wei
[ns] Traffic generator option ( connection vs actives nodes )
Hi Friends, This is the options related to a traffic generator whith which i must work in my project : ./trafgen-n nodes -a active nodes -t simulation time -c connections Any one has an idea about the difference between : active nodes and connections? Thank you ZAK
Re: [ns] RTP over wireless connection between two nodes
try this link http://140.112.21.101/~maxmilian/ns2/ns-allinone-2.31_with_maodv.zip it contains a ready version of ns-allinone 2.31 with maodv included. Also note that by installing 2.26 all in one package you don't damage anything. All the files of ns2 reside in its directory. if you wish to uninstall it all you need to do is delete the dir. as for using the right tcl version ,you can have an if condition in your bashrc as i do. i have a variable called NS in it and set it according to the NS-version i want to use .for example export NS=26 source ~/.bashrc would load ns version 2.26 settings. It's quite easy once you understand how this works. I have 4 ns-versions on my system all working fine. good luck ! pebbles wrote: I tried to install the 2.26 but it needs older version of tcl and I don't want to damage the 2.34 installation. I installed 2.31 but when I tried to add the maodv files it gave me this error: mac/channel.cc: In member function ‘void WirelessChannel::calcHighestAntennaZ(Phy*)’: mac/channel.cc:625: error: ‘class WirelessPhy’ has no member named ‘getAntennaZ’ mac/channel.cc:626: error: ‘class WirelessPhy’ has no member named ‘getAntennaZ’ mac/channel.cc:632: error: ‘class WirelessPhy’ has no member named ‘getDist’ mac/channel.cc:632: error: ‘class WirelessPhy’ has no member named ‘getCSThresh’ mac/channel.cc:632: error: ‘class WirelessPhy’ has no member named ‘getPt’ make: *** [mac/channel.o] Error 1 Did it give you such error when you installed it? It would be really helpful if you uploaded them anyway. Thank you in any case. Fivos.K wrote: i have ported them both for ns2.31 , i could upload them somewhere if you are interested but you could also use them in the ns version they support. pebbles wrote: Do I have to configure myself the unicast mechanism so as to send RTCP packets only to the sender node (and of course keeping the multicast for RTP packets, so that the sender sends to every receiver node)? I'm asking this because in case of having more receiver nodes I'd want the RTP packets to be sent to all of them. Also, I couldn't find a working version of either protocol (MAODV,ADMR) for ns 2.34. I think it's been a long time since they have been updated... Fivos.K wrote: pebbles wrote: The simple-rtp example uses the multicast on option so I'd rather stick to a multicast protocol for now. With ADMR one node can send RTP packets to nodes that belong to one multicast group but each one of them sends RTCP packets to that node (unicast), while with PUMA the nodes send RTCP packets to a multicast group address? They are all multicast protocols. Simply MAODV and ADMR allow use of unicast as well. The RTCP packets should only be sent to the sender and not to the whole group, so by sending them using a unicast mechanism you decrease the number of collisions in your setup. -- View this message in context: http://old.nabble.com/RTP-over-wireless-connection-between-two-nodes-tp31407109p31694258.html Sent from the ns-users mailing list archive at Nabble.com.
Re: [ns] Ns-users Digest, Vol 89, Issue 23
Whei, dear friend, you're working with a module with the NS? -- Message: 3 Date: Tue, 24 May 2011 16:55:55 +0100 (BST) From: Wei Zhang weizhang...@yahoo.com Subject: [ns] Error when testing DSR in NS2 with more than 10 nodes To: ns-users@isi.edu Message-ID: 870908.15497...@web29010.mail.ird.yahoo.com Content-Type: text/plain; charset=iso-8859-1 Hello All, I use Ns2.33 to run DSR. I cannot know why I test DSR with more than 10 nodes it has an error error of segment Could you please explain me why?? If you have a tcl script that run DSR well please send me. Thank you in advance. Wei -- Message: 4 Date: Tue, 24 May 2011 17:31:30 +0100 From: Zakia Khalfallah zakia_khalfal...@hotmail.fr Subject: [ns] Traffic generator option ( connection vs actives nodes ) To: NS user ns-users@isi.edu Message-ID: blu117-w1325a28c2331a55da8e5c09d...@phx.gbl Content-Type: text/plain; charset=iso-8859-1 Hi Friends, This is the options related to a traffic generator whith which i must work in my project : ./trafgen-n nodes -a active nodes -t simulation time -c connections Any one has an idea about the difference between : active nodes and connections? Thank you ZAK -- Message: 5 Date: Tue, 24 May 2011 14:09:42 -0700 (PDT) From: Fivos.K fivos@gmail.com Subject: Re: [ns] RTP over wireless connection between two nodes To: ns-users@isi.edu Message-ID: 31694258.p...@talk.nabble.com Content-Type: text/plain; charset=UTF-8 try this link http://140.112.21.101/~maxmilian/ns2/ns-allinone-2.31_with_maodv.zip it contains a ready version of ns-allinone 2.31 with maodv included. Also note that by installing 2.26 all in one package you don't damage anything. All the files of ns2 reside in its directory. if you wish to uninstall it all you need to do is delete the dir. as for using the right tcl version ,you can have an if condition in your bashrc as i do. i have a variable called NS in it and set it according to the NS-version i want to use .for example export NS=26 source ~/.bashrc would load ns version 2.26 settings. It's quite easy once you understand how this works. I have 4 ns-versions on my system all working fine. good luck ! pebbles wrote: I tried to install the 2.26 but it needs older version of tcl and I don't want to damage the 2.34 installation. I installed 2.31 but when I tried to add the maodv files it gave me this error: mac/channel.cc: In member function ?void WirelessChannel::calcHighestAntennaZ(Phy*)?: mac/channel.cc:625: error: ?class WirelessPhy? has no member named ?getAntennaZ? mac/channel.cc:626: error: ?class WirelessPhy? has no member named ?getAntennaZ? mac/channel.cc:632: error: ?class WirelessPhy? has no member named ?getDist? mac/channel.cc:632: error: ?class WirelessPhy? has no member named ?getCSThresh? mac/channel.cc:632: error: ?class WirelessPhy? has no member named ?getPt? make: *** [mac/channel.o] Error 1 Did it give you such error when you installed it? It would be really helpful if you uploaded them anyway. Thank you in any case. Fivos.K wrote: i have ported them both for ns2.31 , i could upload them somewhere if you are interested but you could also use them in the ns version they support. pebbles wrote: Do I have to configure myself the unicast mechanism so as to send RTCP packets only to the sender node (and of course keeping the multicast for RTP packets, so that the sender sends to every receiver node)? I'm asking this because in case of having more receiver nodes I'd want the RTP packets to be sent to all of them. Also, I couldn't find a working version of either protocol (MAODV,ADMR) for ns 2.34. I think it's been a long time since they have been updated... Fivos.K wrote: pebbles wrote: The simple-rtp example uses the multicast on option so I'd rather stick to a multicast protocol for now. With ADMR one node can send RTP packets to nodes that belong to one multicast group but each one of them sends RTCP packets to that node (unicast), while with PUMA the nodes send RTCP packets to a multicast group address? They are all multicast protocols. Simply MAODV and ADMR allow use of unicast as well. The RTCP packets should only be sent to the sender and not to the whole group, so by sending them using a unicast mechanism you decrease the number of collisions in your setup. -- View this message in context: http://old.nabble.com/RTP-over-wireless-connection-between-two-nodes-tp31407109p31694258.html Sent from the ns-users mailing list archive at Nabble.com. -- ___ Ns-users mailing list Ns-users@isi.edu http://mailman.isi.edu/mailman/listinfo/ns-users End of Ns-users
Re: [ns] PMIPv6 ns-2 module
Hello, Go in the following directory ns-allinone-2.29/ns-2.29/sctp and open the file named sctp.h. Go to line number 705 in that file and delete SctpAgent:: from that line. Via terminal go to ns-allinone-2.29/ns-2.29 and give the following commands: ./configure make clean make make install Hope it helps. Regards, Mohit P. Tahiliani
Re: [ns] Error when testing DSR in NS2 with more than 10 nodes
Hello, Instead of using Queue/DropTail/PriQueue as ifq type use the following while simulating DSR CMUPriQueue Hope it helps. Regards, Mohit P. Tahiliani