LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how can I find implementation of multicast routing protocol for MANET? (https://www.linuxquestions.org/questions/linux-newbie-8/how-can-i-find-implementation-of-multicast-routing-protocol-for-manet-4175481858/)

muthana 10-22-2013 11:29 PM

how can I find implementation of multicast routing protocol for MANET?
 
Hi, please I need help from any one had information about (How to implementation to multicast routing protocol for MANET (MAODV) in NS-2, Thank you

knudfl 10-23-2013 04:01 PM

MAODV links

http://www.linuxquestions.org/questi...2-34-a-787178/

http://www.sce.carleton.ca/wmc/code.html
http://kunz-pc.sce.carleton.ca/thesis/maodv-ns-2.26.pdf
http://kunz-pc.sce.carleton.ca/Thesis/maodv-code.zip
http://kunz-pc.sce.carleton.ca/Thesis/maodv-scripts.zip

http://www.hynet.umd.edu/research/maodv/MAODV-UMD.html

And : Google .. maodv ns2 ..

-

muthana 10-26-2013 07:48 AM

hi, please I need NS2.34 program who can sent it to me

thank you

knudfl 10-28-2013 08:27 AM

# 3 .

What is it you want for ns-2.34 ? "multicast routing protocol" ?

Note 1: ns-allinone-2.26 can be built on any 32bits Linux OS.
Note 2:
You can have as many versions of ns-allinone-2.xx as you want,
installed at the same time.
But : Do never add any *PATH text to .bashrc .

-

muthana 11-02-2013 09:11 AM

Hi, How to install MAODV protocol in NS-2.34
Thanks

knudfl 11-02-2013 10:01 AM

# 5 .

About http://kunz-pc.sce.carleton.ca/Thesis/maodv-code.zip
First thing to do (probably) :
Get the buggy ns-2.26 maodv code fixed so it works in ns-2.26 .

Next : Port the c++ code to ns-2.34 .


-

muthana 11-20-2013 08:00 AM

Hi buddies,
any idea of how use or implement multicasting

thank you

muthana 12-08-2013 04:47 AM

please any one can sent to me any example of multicasting (maodv) protocol I need to check the protocol that I install it
thank's

muthana 01-31-2014 11:52 AM

how to download ubuntu 12.4

muthana 02-03-2014 12:35 PM

Hi every body
can any one sent to me steps to install ns2.33 in ubuntu 12.4
thanks for all

knudfl 02-03-2014 12:45 PM

# 10 :

Is it Ubuntu 12.04 - 32bits (i686) ?

This command will reply : $ uname -m <Enter>


-

muthana 02-03-2014 09:56 PM

yes ubuntu 12.04 - 32bits (i686)

knudfl 02-04-2014 03:05 AM

#10, #12 .
Quote:

.. steps to install ns2.33 in ubuntu 12.04
First :
Install the compilers gcc41-compat-4.1.2.ubu1204_i386.deb, g++41-compat-4.1.2_i386.deb,
post #18 here http://www.linuxquestions.org/questi...022/page2.html


Next : In /home/muthana/ : $ tar xvf ns-allinone-2.33.tar.gz
$ export CC=gcc41 CXX=g++41 && ./install
$ cd ns-2.33/ && sudo make install

-

muthana 02-04-2014 03:51 AM

Thanks knudfl

muthana 02-06-2014 04:26 AM

Hi sir knudfl
please con you sent to me the steps for (How to implement GPRS routing protocol in ns 2.33)
thank you

knudfl 02-06-2014 08:38 AM

# 15 .

GPRS is already present in ns-2.2x - ns-2.3x .
Post #20 http://www.linuxquestions.org/questi...125/page2.html
( #20 ... #22 ).

-

muthana 02-06-2014 07:00 PM

sir knudfl
please con you sent to me the steps for (How to install ns-2.33 in ubuntu 12.04
thank you

muthana 02-07-2014 01:13 AM

hi can any one help me to solve this problem
iraq@iraq:~$ cd ns-allinone-2.33/
iraq@iraq:~/ns-allinone-2.33$ sudo apt-get install gcc-4.4 g++-4.4
[sudo] password for iraq:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package gcc-4.4 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'gcc-4.4' has no installation candidate
E: Unable to locate package g++-4.4
E: Couldn't find any package by regex 'g++-4.4'
iraq@iraq:~/ns-allinone-2.33$ sudo apt-get install libxt-dev libx11-dev libxmu-dev xorg-dev xgraph
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libxt-dev
E: Unable to locate package libx11-dev
E: Unable to locate package libxmu-dev
E: Unable to locate package xorg-dev
E: Unable to locate package xgraph
iraq@iraq:~/ns-allinone-2.33$
thanx

muthana 02-07-2014 07:33 AM

Hi every body
con any one help me to solve this problem please
configure: error: C compiler cannot create executables
See `config.log' for more details
tcl8.4.18 configuration failed! Exiting ...
Tcl is not part of the ns project. Please see www.Scriptics.com
to see if they have a fix for your platform.
iraq@iraq:~/ns-allinone-2.33/ns-allinone-2.33$ ^C

thanx for help

knudfl 02-07-2014 12:48 PM

# 19 .

The prerequisites for ns2 are :
$ sudo apt-get install libxmu-dev xgraph g++ autoconf automake libtool patch


Quote:

E: Unable to locate package libxmu-dev
? No internet connection ?
? Or you have a non valid file /etc/apt/sources.list ?

# 17 : How to install ns-2.33 in ubuntu 12.04 :
Install the gcc41/g++41 compilers for the 32bits (i686) Ubuntu 12.04 :
Post # 18 here ..
http://www.linuxquestions.org/questi...022/page2.html

The ns2 build: $ cd ns-allinone-2.33/ && export CC=gcc41 CXX=g++41 && ./install

-

muthana 02-07-2014 12:56 PM

Dear sir
please can you sent to example for GPSR and the steps for implementation this example in ns2.33

best wishes

knudfl 02-07-2014 01:20 PM

# 21 .

No. You cannot "implement" something that is already present in ns-2.33.
But you can run the suggested commands. See post #16, and follow the link.

EDIT : Sorry, now it seems to be GPSR, not GPRS !


-

muthana 02-08-2014 11:26 AM

Dear sir
I tried to install Ns-2.33 and it was successfully installed but I would like to install GPSR into it.

I tried to run the example hls.tcl and i got below problem:

invalid command name "Agent/GPSR"
while executing
"Agent/GPSR set bdesync_ 0.5 "
(file "gpsr.tcl" line 6)


Does that mean GPSR is not installed yet?

knudfl 02-08-2014 02:41 PM

# 23 .

OK, I was still answering your original question about GPRS.
"GPSR" is something else.
Please read 1) gpsr http://www.linuxquestions.org/questions/tags/gpsr/
2) gpsr-hls http://www.linuxquestions.org/questions/tags/gpsr-hls/
3) gpsr-KeLiu http://www.linuxquestions.org/questi...gs/gpsr-keliu/

Building GPSR-hls, example post #23 here
http://www.linuxquestions.org/questi...526/page2.html
... And post #69 for the gpsr-hls package.

.

muthana 02-09-2014 03:59 AM

Dear sir
I tried to install Ns-2.33 and it was successfully installed but I would like to install GPSR into it.

I tried to run the example hls.tcl and i got below problem:

invalid command name "Agent/GPSR"
while executing
"Agent/GPSR set bint_"
invoked from within
"expr 3*([Agent/GPSR set bint_]+[Agent/GPSR set bdesync_]*[Agent/GPSR set bint_])"
invoked from within
"Agent/GPSR set bexp_ [expr 3*([Agent/GPSR set bint_]+[Agent/GPSR set bdesync_]*[Agent/GPSR set bint_])] "
(file "hls.tcl" line 7)


Does that mean GPSR is not installed yet?

knudfl 02-09-2014 04:09 AM

# 25 .
Quote:

Does that mean GPSR is not installed yet ?
Either you did not build any GPSR-hls !

Or you are using the wrong executable 'ns'.
The safe thing to do when a new `ns' has been built : Rename it.
And take care that ns2 added *PATH text in .bashrc gets deleted.
Nothing is to be added to .bashrc !

! Make sure that you read all posts linked in post # 24 !

-

muthana 02-09-2014 10:31 PM

GPSR
 
dear sir
I have this problem please need your help and your explan to solve it
thanks

muthana@muthana:~$ sudo dpkg -i gcc41-compat-4.1.2.ubu1204_i386.deb g++41-compat-4.1.2_i386.deb
[sudo] password for muthana:
(Reading database ... 148187 files and directories currently installed.)
Preparing to replace gcc41-compat 4.1.2.ubu1204 (using gcc41-compat-4.1.2.ubu1204_i386.deb) ...
Unpacking replacement gcc41-compat ...
Preparing to replace g++41-compat 4.1.2 (using g++41-compat-4.1.2_i386.deb) ...
Unpacking replacement g++41-compat ...
Setting up gcc41-compat (4.1.2.ubu1204) ...
Setting up g++41-compat (4.1.2) ...
muthana@muthana:~$ cd ns-allinone-2.33/
muthana@muthana:~/ns-allinone-2.33$ export CC=gcc41 CXX=g++41
muthana@muthana:~/ns-allinone-2.33$ ./install
bash: ./install: No such file or directory

knudfl 02-10-2014 07:20 AM

# 27 .
Quote:

bash: ./install: No such file or directory
Your location is wrong.
Or the file 'install' is missing.
( Or maybe you unpacked ns-allinone with sudo, and have no access to files.)

If any doubt, the first command is always $ pwd
... to decide your location.

-


All times are GMT -5. The time now is 05:16 PM.