connection

90 views
Skip to first unread message

Burke Geceyatmaz

unread,
Sep 7, 2023, 9:27:16 AM9/7/23
to Network Simulator 2 (NS2)
Does anybody know how to connect AODV and OLSR connection?

knudfl

unread,
Sep 9, 2023, 4:20:49 AM9/9/23
to Network Simulator 2 (NS2)
How would you "connect" two ways of doing transmission ?

Multi protocol:      Multi_node-config-4-ex.tar.xz
..... The aodv + olsr example is   6-arezoo-olsr-aodv.tcl

Burke Geceyatmaz

unread,
Sep 18, 2023, 7:39:29 AM9/18/23
to Network Simulator 2 (NS2)
it cant read file


9 Eylül 2023 Cumartesi tarihinde saat 11:20:49 UTC+3 itibarıyla knudfl şunları yazdı:

Burke Geceyatmaz

unread,
Sep 18, 2023, 7:44:31 AM9/18/23
to Network Simulator 2 (NS2)
isnt this command unpack tar xvf /Multi_node-config-4=ex.tar.xz

18 Eylül 2023 Pazartesi tarihinde saat 14:39:29 UTC+3 itibarıyla Burke Geceyatmaz şunları yazdı:

Burke Geceyatmaz

unread,
Sep 18, 2023, 7:44:55 AM9/18/23
to Network Simulator 2 (NS2)

tar xvf /Multi_node-config-4-ex.tar.xz
18 Eylül 2023 Pazartesi tarihinde saat 14:44:31 UTC+3 itibarıyla Burke Geceyatmaz şunları yazdı:

Burke Geceyatmaz

unread,
Sep 18, 2023, 7:53:44 AM9/18/23
to Network Simulator 2 (NS2)
Is it for hybrid olsr aodv

9 Eylül 2023 Cumartesi tarihinde saat 11:20:49 UTC+3 itibarıyla knudfl şunları yazdı:
How would you "connect" two ways of doing transmission ?

knudfl

unread,
Sep 18, 2023, 8:35:04 AM9/18/23
to Network Simulator 2 (NS2)
Do you mean  AOHR: 
AODV and OLSR Hybrid Routing Protocol for Mobile Ad Hoc Networks
......... You can buy the example paper  https://ieeexplore.ieee.org/abstract/document/4064180

.... or look for more with Google    ns2 aohr

Burke Geceyatmaz

unread,
Sep 18, 2023, 3:44:58 PM9/18/23
to Network Simulator 2 (NS2)
Is there any AODV + OLSR HYbrid Routing  for VANET

18 Eylül 2023 Pazartesi tarihinde saat 15:35:04 UTC+3 itibarıyla Network Simulator 2 (NS2) şunları yazdı:

knudfl

unread,
Sep 18, 2023, 4:20:42 PM9/18/23
to Network Simulator 2 (NS2)
Manet : Mobile Ad hoc Network
Vanet : A vehicular ad hoc network consists of groups of moving or stationary vehicles connected by a wireless network.
A VANET simulation can as well be "a MANET  simulation" with vehicles, I guess.


... and → https://neo.lcc.uma.es/staff/jamal/vanet/index.html%3Fq=node%252F11.html

Burke Geceyatmaz

unread,
Sep 19, 2023, 2:07:10 PM9/19/23
to Network Simulator 2 (NS2)

how to simulate urban vanet when i simulate urban vanet tcl. I can not succeed for simulation.
18 Eylül 2023 Pazartesi tarihinde saat 23:20:42 UTC+3 itibarıyla knudfl şunları yazdı:

knudfl

unread,
Sep 19, 2023, 2:27:00 PM9/19/23
to Network Simulator 2 (NS2)

Example from urban-VANET-scenario-U1/         see readMe.txt
ns-olsr urban-VANET-example.tcl 15 100kbps mobmod-urban-malaga-S15.tcl flowmod-urban-malaga-S15.tcl
.........  The file urban-VANET-example.tcl  says:
# Input parameters:
# 1. Number of mobile nodes
# 2. CBR data rate: Data rate of the CBR workflow generated
# 3. Mobility model file
# 4. Network workload file

..... the two edited examples are
urban-VANET-t30.tcl, urban-VANET-TeatinosM40.tcl
........ which both have the options included, i.e. no need for { ns [urban-vanet.tcl] <arg-1> <arg-2> <arg-3> <arg-4> }

Burke Geceyatmaz

unread,
Sep 20, 2023, 2:04:40 AM9/20/23
to Network Simulator 2 (NS2)
it wont open when i clicked

19 Eylül 2023 Salı tarihinde saat 21:27:00 UTC+3 itibarıyla knudfl şunları yazdı:

knudfl

unread,
Sep 20, 2023, 4:30:38 AM9/20/23
to Network Simulator 2 (NS2)
" it wont open when i clicked " :    Depends what you clicked. Nothing was mentioned.
Usually very little is supposed to open in Ubuntu by a click .... for security reasons.
"Open" :    Please type the appropriate command for the required action.
Example
$ tar xvf Vanet-ex-0622.tar.xz

Burke Geceyatmaz

unread,
Sep 20, 2023, 5:14:32 AM9/20/23
to Network Simulator 2 (NS2)
https://neo.lcc.uma.es/staff/jamal/vanet/index.html%3Fq=node%252F11.html this one urban vanet scenarios

20 Eylül 2023 Çarşamba tarihinde saat 11:30:38 UTC+3 itibarıyla knudfl şunları yazdı:

knudfl

unread,
Sep 20, 2023, 7:25:37 AM9/20/23
to Network Simulator 2 (NS2)

What do you see when you click this link in Firefox or Google Chrome ? ?

knudfl

unread,
Sep 20, 2023, 9:55:27 AM9/20/23
to Network Simulator 2 (NS2)
There are difficulties downloading
urban-VANET-scenario-U1.tar.gz urban-VANET-scenario-U2.tar.gz urban-VANET-scenario-U3.tar.gz
But then again, ns2 has been unsupported for many years. Links do disappear. Or get unusable.

Burke Geceyatmaz

unread,
Sep 20, 2023, 11:37:54 AM9/20/23
to Network Simulator 2 (NS2)
the page wont open . It just stuck there cannot continue.

20 Eylül 2023 Çarşamba tarihinde saat 14:25:37 UTC+3 itibarıyla knudfl şunları yazdı:

Burke Geceyatmaz

unread,
Sep 20, 2023, 11:38:45 AM9/20/23
to Network Simulator 2 (NS2)
Is there any implementation for aodv +olsr for vanet or aomdv +olsr  for vanet

20 Eylül 2023 Çarşamba tarihinde saat 18:37:54 UTC+3 itibarıyla Burke Geceyatmaz şunları yazdı:

knudfl

unread,
Sep 20, 2023, 1:29:36 PM9/20/23
to Network Simulator 2 (NS2)

Burke Geceyatmaz

unread,
Sep 20, 2023, 3:47:07 PM9/20/23
to Network Simulator 2 (NS2)
It wont let me run. This error occurs .
bg@bg-virtual-machine:~/Downloads/urban-VANET-scenario-U1$ ns urban-VANET-example.tcl
Error: Number of arguments has to be 4
Execute this script following the next structure:
ns urban-VANET-example.tcl <num_mobil_nodes=XX> <CBR_dat_rate> <mobmod-urban-malaga-YXX.tcl> <flowmod-urban-malaga-YXX.tcl>
invalid command name "Agent/OLSR"
    while executing
"Agent/OLSR set use_mac_    true"
    (file "urban-VANET-example.tcl" line 127)


20 Eylül 2023 Çarşamba tarihinde saat 20:29:36 UTC+3 itibarıyla knudfl şunları yazdı:

knudfl

unread,
Sep 20, 2023, 5:16:25 PM9/20/23
to Network Simulator 2 (NS2)
The example is ..... repeat .....
$ ns-olsr urban-VANET-example.tcl 15 100kbps mobmod-urban-malaga-S15.tcl flowmod-urban-malaga-S15.tcl

» invalid command name "Agent/OLSR" « :  You are using an executable ns with no OLSR.
When you have created an ns2 with OLSR patching, please copy ns to e.g. ns-olsr
Example
    tar xvf ns-allinone-2.35_gcc5.tar.gz        ( 2014..2017 update )
https://drive.google.com/file/d/0B7S255p3kFXNVVlxR0ZNRGVORjQ/view?usp=sharing&resourcekey=0-EyPhoScBFDb7ul0VFk6FZQ
    cd ns-allinone-2.35/
    patch -p0 < umolsr-ns235_v1.0-2014.patch
https://drive.google.com/file/d/0B7S255p3kFXNeVZhWFVVZlJnUEU/view?usp=sharing
    export CC=gcc-4.8 CXX=g++-4.8 && ./install
    cd ns-2.35/
    cp ns ns235-olsr
    sudo cp ns235-olsr /usr/local/bin
    cd ../nam-1.15/
    sudo make install
------  Simulation  --------
ns235-olsr script-olsr-etx.tcl

Burke Geceyatmaz

unread,
Sep 21, 2023, 7:12:18 AM9/21/23
to Network Simulator 2 (NS2)
bg@bg-virtual-machine:~/ns-allinone-2.34/nam-1.14$ ns234-olsr script-olsr-etx.tcl
couldn't read file "script-olsr-etx.tcl": no such file or directory
bg@bg-virtual-machine:~/ns-allinone-2.34/nam-1.14$




21 Eylül 2023 Perşembe tarihinde saat 00:16:25 UTC+3 itibarıyla knudfl şunları yazdı:

knudfl

unread,
Sep 21, 2023, 9:38:53 AM9/21/23
to Network Simulator 2 (NS2)
location = nam-1.14 :  $ ns234-olsr script-olsr-etx.tcl
"script-olsr-etx.tcl": no such file or directory
.......... Probably because there is no simulation script-olsr-etx.tcl in nam-1.14/

Ref. the example .......................
    cd ../nam-1.15/
    sudo make install
------  Simulation  --------            
........  This is a new section, you are supposed to change location to olsr-examples-09.19/, or wherever you have olsr examples.
ns235-olsr script-olsr-etx.tcl

Burke Geceyatmaz

unread,
Oct 1, 2023, 5:20:18 AM10/1/23
to Network Simulator 2 (NS2)
ıt says comand not found when run it 

21 Eylül 2023 Perşembe tarihinde saat 16:38:53 UTC+3 itibarıyla knudfl şunları yazdı:

knudfl

unread,
Oct 1, 2023, 6:09:21 AM10/1/23
to Network Simulator 2 (NS2)
If "it" means nam, then better install "safe nam"  =  nam_1.14_amd64.deb
.... Download  ....  and install
sudo apt install Downloads/nam_1.14_amd64.deb
Reply all
Reply to author
Forward
0 new messages