How to install Media independent handoff [MIH] 802.21 patch inns2.35
Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How to install Media independent handoff [MIH] 802.21 patch inns2.35
Hello sir/Madam,
I want to implement MIH in ns2.35. please guide me ,as i was new to ubuntu and ns2.
At present i am using ubuntu 14.04 and ns2.35. if it is ubuntu 16.04 means how to install it.
thank u
Hello sir/Madam,
I want to implement MIH in ns2.35. please guide me ,as i was new to ubuntu and ns2. At present i am using ubuntu 14.04 and ns2.35. if it is ubuntu 16.04 means how to install it. thank u
First, you need to read the LQ Rules and "Question Guidelines" link in my posting signature. Do not use text speak (it's "you" not "u"), and do not ask for handouts.
We are happy to help with SPECIFIC questions, but asking us to 'guide you' and give you a step-by-step guide is fairly rude. There are THOUSANDS of NS2 guides you can easily find with a Google search. Start there. If you get STUCK, then please, post what message(s)/error(s) you're getting, along with DETAILS, and we will be glad to help.
About Ubuntu : Some ns2 protocols will still work with Ubuntu.
The latest ns2 friendly version was an early install of Ubuntu 10.10 :
But the updates changed 10.10 to be ns2 hostile like later Ubuntu versions.
5$ sudo ./configure
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
No .configure file found in current directory
Continuing with default options...
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for ANSI C header files... (cached) yes
checking for string.h... (cached) yes
checking for main in -lXbsd... no
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... yes
checking for dcgettext in -lintl... no
checking for getnodebyname in -ldnet_stub... no
checking that g++ can handle -O2... yes
checking if C++ libraries work without any namespace... no
checking if C++ libraries work with namespace std... yes
checking if STL works without any namespace... no
checking if STL works with namespace std... yes
checking should use STL... yes
checking for tcl.h... -I../include
checking for tclInt.h... -I../include
checking for libtcl8.6... no
checking for init.tcl... ../lib/tcl8.5
checking for http.tcl... ../lib/tcl8.5/http1.0
checking Tcl http.tcl library... yes
checking for tclsh8.6.1... no
checking for tclsh8.6... /usr/bin/tclsh8.6
configure: error: Installation of tcl seems incomplete or can't be found automatically.
Please correct the problem by telling configure where tcl is
using the argument --with-tcl=/path/to/package
(perhaps after installing it),
or the package is not required, disable it with --with-tcl=no.
How do I check if the installation of tcl is done or not?
And if yes, what is the path//....?
If not, then how do I install it?
This error occured when installing evalvid in ns2.35 of ubuntu 14.04
5$ sudo ./configure
configure: error: Installation of tcl seems incomplete or can't be found automatically.
Please correct the problem by telling configure where tcl is
using the argument --with-tcl=/path/to/package
(perhaps after installing it),
or the package is not required, disable it with --with-tcl=no.
How do I check if the installation of tcl is done or not?
Did you read what you posted??? The part in bold TELLS YOU it didn't complete, and even told you what to do to fix the compile error. Did you bother to actually DO it?
Quote:
And if yes, what is the path//....?
You tell us...where did you install it?
Quote:
If not, then how do I install it? This error occured when installing evalvid in ns2.35 of ubuntu 14.04
You were told how to install things and given links by knudfl...did you read/understand/follow them?
Thank you for replies . But i have more queries . I have installed NS-MIH-MULTI-CRITERIA package for 802.21 MIH in ubuntu 14.04.
Before this package i installed ns2.35 . My requirement is to implement 802.21 along with evalvid for vertical handover between wifi-wimax, wifi-umts,wimax-cellular. when this package extracted ,in ns-2.29 it came along with evalvid folder.I installed ns-2.29 with the instruction given in the read file.later i executed examples which is present in NS-MIH-MULTI-CRITERIA/ns-allinone-2.29/ns-2.29/tcl/hsntg -errors encountered.
~$ cd NS-MIH-MULTI-CRITERIA/ns-allinone-2.29/ns-2.29/tcl/hsntg/802_21/scenario1
~/NS-MIH-MULTI-CRITERIA/ns-allinone-2.29/ns-2.29/tcl/hsntg/802_21/scenario1$ ns scenario1.tcl
Wrong Number of Arguments!
command is ns scenario1.tcl case [seed]
invalid command name "Agent/MIHUser/IFMNGMT/MIPV6/Handover/Handover2"
while executing
"Agent/MIHUser/IFMNGMT/MIPV6/Handover/Handover2 set case_ 2"
(file "scenario1.tcl" line 40)
~/NS-MIH-MULTI-CRITERIA/ns-allinone-2.29/ns-2.29/tcl/hsntg/802_21/scenario1$ cd
~$ cd NS-MIH-MULTI-CRITERIA/ns-allinone-2.29/ns-2.29/tcl/hsntg/802_21/validation
~/NS-MIH-MULTI-CRITERIA/ns-allinone-2.29/ns-2.29/tcl/hsntg/802_21/validation$ ns scenario1_802_11.tcl
invalid command name "Agent/ND"
while executing
"Agent/ND set debug_ 0"
(file "scenario1_802_11.tcl" line 15)
~/NS-MIH-MULTI-CRITERIA/ns-allinone-2.29/ns-2.29/tcl/hsntg/802_21/validation$ ns scenario1_802_16.tcl
invalid command name "Agent/ND"
while executing
"Agent/ND set debug_ 0"
(file "scenario1_802_16.tcl" line 15)
Last edited by sirikeshava; 08-08-2016 at 06:03 AM.
Hello sir,
I have installed NS-MIH-MULTI-CRITERIA package for MIH in ubuntu 14.04. when i executing the example of MIH tcl i got this error
please help me.
:~/NS-MIH-MULTI-CRITERIA/ns-allinone-2.29/ns-2.29$ cd tcl/hsntg
:~/NS-MIH-MULTI-CRITERIA/ns-allinone-2.29/ns-2.29/tcl/hsntg$ ns testMIH.tcl
invalid command name "Agent/ND"
while executing
"Agent/ND set debug_ 1"
(file "testMIH.tcl" line 45)
thank you
Hello Knudlf,
i have gcc-4.1 and g++-4.1 for ns-2.29 on ubuntu-14.04. when i run command in ns-allinone-2.29$: ./install i got the following error
g++-4.1 -o common/ptypes2tcl common/ptypes2tcl.o
/usr/lib/gcc/x86_64-linux-gnu/4.1.2/libstdc++.a(eh_personality.o): In function `__gxx_personality_v0':
(.text.__gxx_personality_v0+0xd3): undefined reference to `_Unwind_GetIPInfo'
collect2: ld returned 1 exit status
make: *** [common/ptypes2tcl] Error 1
Ns make failed!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.