nam

52 views
Skip to first unread message

Burke Geceyatmaz

unread,
May 18, 2023, 4:06:43 AM5/18/23
to Network Simulator 2 (NS2)
Does anybody know how to run nam ? . It gives me error 

knudfl

unread,
May 18, 2023, 8:30:49 AM5/18/23
to Network Simulator 2 (NS2)
The Ubuntu nam package has been corrupt the most years.  Please remove nam: sudo apt remove nam
----------
Or you can use your own nam build  .........
tar xvf ns-allinone-2.35_gcc5.tar.gz
https://drive.google.com/file/d/0B7S255p3kFXNVVlxR0ZNRGVORjQ/view?usp=sharing&resourcekey=0-EyPhoScBFDb7ul0VFk6FZQ
cd ns-allinone-2.35/
export CC=gcc-4.8 CXX=g++-4.8 && ./install
cd nam-1.15/
sudo make install

Burke Geceyatmaz

unread,
May 18, 2023, 4:40:37 PM5/18/23
to Network Simulator 2 (NS2)
ı remove the nam package. How to install it again? Does it work with ns-allınone 2.34?

18 Mayıs 2023 Perşembe tarihinde saat 15:30:49 UTC+3 itibarıyla knudfl şunları yazdı:

knudfl

unread,
May 18, 2023, 9:20:46 PM5/18/23
to Network Simulator 2 (NS2)

NAM is a separate application, nam 1.14 and 1.15 will work with even the oldest versions of ns2.
nam 1.14 is a "one file application", i.e. /usr/local/bin/nam
nam 1.15 is more complicated, was designed to also work with a Mac computer :
Depends on the tcl / tk it was built with ..... in the right location.
(That's why "Ubuntu nam" fails: tcl/tk get updates. nam: No updates because of lowest possible ns2 / nam priority)

How to install 'nam'

1) tar xvf ns-allinone-2.35_gcc5.tar.gz

https://drive.google.com/file/d/0B7S255p3kFXNVVlxR0ZNRGVORjQ/view?usp=sharing&resourcekey=0-EyPhoScBFDb7ul0VFk6FZQ
cd ns-allinone-2.35/
export CC=gcc-4.8 CXX=g++-4.8 && ./install
cd nam-1.15/
sudo make install

Or 2) Use a package ........ example :
Ubuntu, 64bits https://drive.google.com/file/d/0B7S255p3kFXNNmtLeXhsaG5hXzQ/view?usp=sharing
→ nam_1.14_amd64.deb  →  Download the package, and :
cd Downloads/
sudo apt install ./nam_1.14_amd64.deb

Tewabech Atnafu

unread,
May 21, 2023, 3:18:55 PM5/21/23
to ns-u...@googlegroups.com
Hi! I doing a research on mimizing the effect of blackhole attack in aodv routing protocol I need to know how   to implement black hole attack in aodv routing protocol and minimize it using encryption and decryption please help me how can I implement it ?

--
You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ns-users/e5f5ac70-ce39-424a-813a-6ac13ecfb461n%40googlegroups.com.

Tewabech Atnafu

unread,
May 22, 2023, 9:59:58 AM5/22/23
to ns-u...@googlegroups.com
Hello Knudfi! I downloaded  SAODV code  "saodv-08242013_a-saodv.tar.gz" from the attachment you post, ,I don't know how to install it and use it to mitigate blackhole attack, pleas sir tell me the step that I should follow, it is urgent.

With best regards 

knudfl

unread,
May 23, 2023, 5:00:33 AM5/23/23
to Network Simulator 2 (NS2)
zenu....

Re: SAODV

There are no success stories about "installation", I think
 ( I never built or tested SAODV ).
Please read the file INSTALL.

Tewabech Atnafu

unread,
May 23, 2023, 1:49:28 PM5/23/23
to ns-u...@googlegroups.com
Hello Knudfi !! this is the SAODV i found from the conversation i think it is used for security, please if this will help me to mitigate blackhole attack tell me how can i use it, it is very important to my  project  

SAODV-09659435_a-saodv_0.2.tar.gz
Reply all
Reply to author
Forward
0 new messages