I am workin on OLSR in ns 2.35 ubuntu 14.10.
I perform all steps and install ns 2.35 and patch um-olsr-ns-2.35_v1.0.patch file after that olsr example run succesfully but problem is every example not run succesfully they showing me fatal error or any line error.
so can u tell me how to solve it
os : ubuntu 14.10 i686.
Hi Everyone
i m working on ns2.35 ubuntu 12.04
when i follow these steps for olsr patching
all commands ran without error
cd ns-allinone-2.35/ns-2.35/
tar zxvf um-olsr-1.0.tgz
ln -s ./um-olsr-1.0 ./um-olsr
patch -p1 < um-olsr/um-olsr_ns-2.35_v1.0.patch
but while running the olsr.tcl
it again shows the same error
invalid command name "Agent/OLSR"
while executing
"Agent/OLSR set use_mac_ true"
(file "olsr.tcl" line 38)
please help me , thnx in advance
Experts,
I need your help to create malicious nodes for OLSR routing protocol. I completly patch OSLR in ns 2.35 in ubuntu 14.10 (32-bit) and its working but when I am try to create any malcious node by defining it "Malicious" or "hacker" it show me an error and not running that .tcl file.
for an example.
$ns_ at 0.0 "[$node_(8) set ragent_] hacker "
$ns_ at 0.0 "[$node_(14) set ragent_] hacker "
$ns_ at 0.0 "[$node_(20) set ragent_] hacker "
$ns_ at 0.0 "[$node_(26) set ragent_] hacker "
Help me to solve this problem.
I searched over internet but couldn't find any solution.
Help me to solve this.
Thank you.
Hi...
anyone knows to setuo olsr in ns2 but for windows.
I got one but its not work for OLSR.
Hi
It's my first post,please bear with us.I write thesis "The concept of using energy metrics for route selection in OLSR routing protocol". I use the simulator ns2, and UM-OLSR patch. In tlc script I use "Energy model". How and where(in code, or tcl cript) I can change parameter "willingness" during simulation to take into account the level of battery.
pseudocode
if (battery < 1.0) && (battery > 0.8)
{willingnes = WILL_ALWAYS};
else if (battery < 0.8) && (battery > 0.4)
{willingnes = WILL_DEFAULT};
else if (battery < 0.4) && (battery > 0.2)
{willingnes = WILL_LOW};
else if (battery < 0.2)
{willingnes = WILL_NEVER};
Hi everyone (i hope this is the right section)
Im trying to install the RT patch preempt_rt 3.18.9 im running Ubuntu 14.04 with kernel v 3.16
i installed the rt patch "patch-3.18.9-rt5.patch" and also a new kernel "3.18.9" i patched the patch file with
patch -p1 < patch-3.18.9.patch
but there is somthing i don't know about linking folders of old kernel and new kernel, i searched about it and found
rm -rf linux && ln -s /usr/src/linux-3.18.9 linux && cd /usr/src/linux
then
make oldconfig
then
make menuconfig
i selected Full preemptive kernel then
make
then this error
cc1: some warnings being treated as errors make[2]: * [kernel/locking/locktorture.o] Error 1 make[1]: * [kernel/locking] Error 2 make: *** [kernel] Error 2
So..... Any help?? can someone walk me through this
or any other real time patch, Thanx.. plzzzzzz
My Ubuntu version is 12.04 i686 and my OS is LINUX.
I have the mobiwan that suit for NS-2.31 in Ubuntu 12.04. I have finish install and run out the result completely. The patch file for NS-2.31 mobiwan is mobiwan-1__ns231.patch that provide by Sir Knudfl.
But in mobiwan , it just contain the simple-mipv6.tcl , i want to get the HMIPv6 , FMIPv6 and FHMIPv6 tcl file that can run in mobiwan for NS-2.31.
Anyone can provide me those tcl file that suit for NS-2.31 mobiwan ?
I will be really please if you can help me in this problem. Your reply will be really appreciated.
Thank you very much in advance.
I found that the mobiwan patch file only for ns-2.33.
If I want to run the mobiwan in NS-2.31 , anyone can provide the mobiwan patch file that can run in NS-2.31 ? In the same time , can provide me the method to install it in NS-2.31 ?
I will be really please if you can help me in this problem. Your reply will be really appreciated.
Thank you very much in advance.
hello sir
you sloved my problem error while insatlling ns2.33 in ubuntu 10.04. my ns2.33 has been installed now. thanks for last answer. i asked this que with other account. bt now there is again one problem arrived. when i was running example from tcl file of ns2.33, the simulation was completing without showing on nam animator. i tried so many examples bt all are running on terminal only. not showing any animation. so please help me.
Hello every one
please I need your help to fix my problem to install ns2.33allinone on the ubuntu 10.10 in order to run ZRP protocol for security purpose.
before this time I install every thing correctly as follow
The steps I follow to run the ZRP on the Ubuntu 10.10 and Ns2-allinone-2.33
------------------------------------------------------------------
1. first install the Ubuntu 10.10 on VMwear and download the ns2.33 and exract it in the home directory
2.Ubuntu 10.10 - 32´ is old. you have to replace the text in /etc/apt/sources.list , to be able to install packages.
So you write
$ gedit /etc/apt/sources.list
After the file open remove all the text and past the following text instead it.
#
deb http://old-releases.ubuntu.com/ubuntu/ maverick main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ maverick-backports main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick-backports multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ maverick-security main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick-security multiverse universe
#
Then save the file and close.
3.Write the following command to update the system
$ sudo apt-get update
4.download the two files from the following link and save it in the home directory
gcc41-compat , `gcc41-compat-4.1.2_i386.deb' :
https://drive.google.com/file/d/0B7S...it?usp=sharing
g++41-compat , `g++41-compat-4.1.2_i386.deb' :
https://drive.google.com/file/d/0B7S...it?usp=sharing
5.write the following command to install
$ sudo dpkg -i g++41-compat-4.1.2_i386.deb gcc41-compat-4.1.2_i386.deb
6.write the following command to update the packages
$sudo apt-get install libx11-dev libxmu-dev libxmu-headers libxt-dev libtool make automake autoconf g++
7. Download the ZRP from the following link and put it in the ns-allinone-2.33 directory
The latest "patch package" is zrp-ns233-patching.tar.gz
https://drive.google.com/file/d/0B7S...it?usp=sharing
8. After that you should follow the next steps
$ cd ns-allinone-2.33/
$ tar xvf zrp-ns233-patching.tar.gz
$ export CC=gcc41 CXX=g++41
$ ./install
$ cd ns-2.33/
$ sudo make install
9. Then you can download the example of the ZRP from the following link and run
ZRP examples : zrp-examples-2012.tar.bz2
https://drive.google.com/file/d/0B7S...it?usp=sharing
but now when i try to install it again i got this error
after i run "./install" command
#
============================================================
* Build tcl8.4.18
============================================================
configu WARNING: unrecognized options: --enable-gcc
checking whether to use symlinks for manpages... no
checking whether to compress the manpages... no
checking whether to add a package name suffix for the manpages... no
checking for gcc... gcc41
checking whether the C compiler works... no
configu error: in `/home/ali/ns-allinone-2.33/tcl8.4.18/unix':
configu 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.
#
so please if any one can help me to fix this problem or give me any advice how to run ZRP protocol and the appropriate environment to run it
thanks in advance for your help
Hi mates,
I am trying to patch ospf in ns-2.34 i have downloaded the patch file from link:
http://sourceforge.net/projects/ospf...s/ospf4ns2.34/
$ cd ns-allinone-2.34/
$ patch -p0 < 20-ospf4ns2.34-examples.patch
Using : $ cd ns-2.34/
# make install
$ cd tcl/ex/ospf/
$ mkdir out_ospf0 out_ospf1 out_ospf2 out_ospf3 out_ospf4 out_ospf5 out_ospf6 out_ospf7 out_ospf8 out_ospf9
$ ns ospf0.tcl
i followed the procedure from below LQ link post no #3
http://www.linuxquestions.org/questi...-a-4175492253/
it is successfully patchinf file but it is showing error when i execute ospf0.tcl file
Quote:
(TCL) Creating simulator & trace files...
(TCL) Setting up nodes and links...
(TCL) Configuring traffic objects...
(TCL) Configuring routing protocol...
invalid command name "Agent/rtProto/OSPF"
while executing
"Agent/rtProto/OSPF set helloInterval 1"
(file "ospf0.tcl" line 132)
pls anyone suggest me ideas to get rid of this err.
Thanks in Advance,
Pon