Install ns2.29 on Ubunto 11.04(NIST Mobility Patch)
ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
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.
hi
for solving my problem I go back to Ubunto 10.04 and used from your helps to install it.
but now, when I ./install it, I have this error
Code:
`.gnu.linkonce.t._ZN6hdr_bt11packet_sizeENS_11packet_typeEi' referenced in section `.rodata' of bluetooth/lmp.o: defined in discarded section `.gnu.linkonce.t._ZN6hdr_bt11packet_sizeENS_11packet_typeEi' of bluetooth/lmp.o
`.gnu.linkonce.t._ZN6hdr_bt11packet_sizeENS_11packet_typeEi' referenced in section `.rodata' of bluetooth/lmp-link.o: defined in discarded section `.gnu.linkonce.t._ZN6hdr_bt11packet_sizeENS_11packet_typeEi' of bluetooth/lmp-link.o
`.gnu.linkonce.t._ZN6hdr_bt11packet_sizeENS_11packet_typeEi' referenced in section `.rodata' of bluetooth/sco-agent.o: defined in discarded section `.gnu.linkonce.t._ZN6hdr_bt11packet_sizeENS_11packet_typeEi' of bluetooth/sco-agent.o
collect2: ld returned 1 exit status
make: *** [ns] Error 1
Ns make failed!
See http://www.isi.edu/nsnam/ns/ns-problems.html for problems
I have got the same error message with you.and I use ubuntu 10.10 with gcc-3.4 and g++-3.4
have you solved this problem or you just change you OS to Cent OS?
I download the NS-MIH-MULTI-CRITERIA.tar.bz2 from sourceforge.net by using ubuntu 10.10 and i installed gcc3.4.Then i installed gcc41 as your guide. Could you please help me ?
hi... i trying to install ns2.29 with mob package
i'm using ubuntu 11.04 Linux c11-M720SR 2.6.38-16-generic #67-Ubuntu SMP Thu Sep 6 18:00:43 UTC 2012 i686 i686 i386 GNU/Linux
when i do ./install i got this error messege checking for sys/filio.h... no
checking FIONBIO vs. O_NONBLOCK for nonblocking I/O... ./configure: 1: Syntax error: Unterminated quoted string
tcl8.3.2 configuration failed! Exiting ...
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
# 25 .
Quote:
invalid command name "Agent/PMIPv6"
That's a failed build. Or you are using the wrong 'ns'.
Quote:
Am I need to edit the .bashrc files and change the path ?
Never. Not required for a Linux OS.
But : If you have another 'ns' executable in your PATH, you can rename
the new "ns" in ns-allinone-2.29/ns-2.29/ to 'ns-nist-pmipv6',
and copy the file to /usr/local/bin/ . Then you can do :
$ ns-nist-pmipv6 pmip.tcl
hi.. I installed MIH NIST module as mention in steps before "ns2.29 in Ubunto 10.4"
and it works and there are some output file ..
the problem with nam when i try to open files in hstng /802.11/
most of them don't work with NAM
NAM windows close from itself and "cannot connect to existing nam instance. starting a new one... segmentation fault"
appears in terminal . how i can fix that problem ?
anyone can help?
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Post #28, @AMA21 : Welcome to LQ.
Quote:
I installed MIH NIST module as mention in steps .. "ns2.29 in Ubunto 10.4"
and it works and there are some output file ..
the problem with nam when i try to open files in hstng /802.11/
I guess you mean ns-2.29-nist-mob-022707.tgz, Ubuntu 10.04 ?
"hsntg/802_21/" : Contains c++ code only.
No "simulation files.tcl" . What do you mean ?
knudfl thank you for replay ..
i try to execute .tcl files in ns2-2.29/tcl/hstng /802.11/
there are many files such as scenario1_802.11.tcl ,scenario1_802.16.tcl ,Simple_802_21_WIMAX-WiFi_1BS-2AP_v2.tcl
when i run them in terminal i have two output files one out.res , and the other out .nam .
they have a lot of lines and values it seems work correct but
the problem with NAM animator when execute .tcl file or nam out.nam it closes from it self
sometimes show result in NAM and type "cannot connect to existing nam instance. starting a new one... " i want to see handover in NAM to understand and also to sure the code was executed correctly
also , when i try to run node802.11.tcl have this:
node 3 is not defined... node 4 is not defined... node 4 is not defined... node 5 is not defined... Warning: Tracefile events are not sorted by time.
+ -t 4.54499999999996 -s 0 -d 1 -p cbr -e 1000 -c 0 -i 20287 -a 0 -x {0.0.0.5 1.0.4.1 2530 ------- null}
The above event should occur at or after -t 4.545000.
node 5 is not defined... node 2 is not defined... node 3 is not defined... node 4 is not defined... node 5 is not defined... node 2 is not defined... node 3 is not defined... node 4 is not defined... node 2 is not defined... node 2 is not defined... node 3 is not defined... Warning: Tracefile events are not sorted by time.
+ -t 4.54599999999996 -s 0 -d 1 -p cbr -e 1000 -c 0 -i 20291 -a 0 -x {0.0.0.1 1.0.2.1 2543 ------- null}
The above event should occur at or after -t 4.546000.
node 3 is not defined... node 4 is not defined... node 4 is not defined... node 5 is not defined... Warning: Tracefile events are not sorted by time.
+ -t 4.54599999999996 -s 0 -d 1 -p cbr -e 1000 -c 0 -i 20295 -a 0 -x {0.0.0.5 1.0.4.1 2531 ------- null}
The above event should occur at or after -t 4.546000.
node 5 is not defined... node 2 is not defined... node 3 is not defined... node 4 is not defined... node 5 is not defined...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.