Install ns2.29 on Ubunto 11.04(NIST Mobility Patch)
Hi
I want to install ns2.29-nist-mobility on ubunto11.04 according to your last guides I do so: Code:
Add 'hardy' to /etc/apt/sources.list ( sudo gedit /etc/apt/sources.list ) Code:
============================================================ Code:
ns-2.29 installation problem #10: Code:
============================================================ please help me! |
Quote:
gcc-4.5, gcc-4.4. Ubuntu 11.04 has a "hideaway location" for the libgcc_s.so.1, that is required for gcc(-3.4) to work : /lib/i386-linux-gnu/libgcc_s.so.1 If you have a 32bits Ubuntu, either do a temporary workaround : sudo ln -s /lib/i386-linux-gnu/libgcc_s.so.1 /usr/local/lib/ Or use a "special compat gcc34/g++34" that comes with its own libgcc_s.so.1 : gcc34-compat-3.4.6_i386.deb https://docs.google.com/uc?id=0B7S25...nload&hl=en_US g++34-compat-3.4.6_i386.deb https://docs.google.com/uc?id=0B7S25...nload&hl=en_US → export CC=gcc34 CXX=g++34 ( Different naming from the gcc-3.4/g++-3.4 ). A 64bits Ubuntu 11.04 will not work with some or all ns2. .. |
how install gcc
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 |
Well, Ubuntu isn't the most reliable for any ns2.
Ubuntu 10.04 : First choice compiler g++-3.4 didn't work here either. I tried these other three compilers for ns-2.29, editing the Makefile to 1) CPP = g++-3.3 2) CPP = g++34 ( That's the g++34-compat-3.4.6_i386.deb (for Ubuntu 11*)). 3) CPP = gcc-4.1 cd ns-allinone-2.29/ns-2.29/ && make clean && make : Same error with g++-3.3, g++34. Different errors with g++-4.1. OS : The safe choice is Cent OS 5.6 or 6.0. ( All ns was originally created on RH→ CentOS.) Or if you prefer an rpm based OS, that use apt / Synaptic : PCLinuxOS. .. |
Ns2-29
How did u get to install NS2-29
because i got error during installatio thx |
Post #5, @maryemwood : Welcome to LQ.
Which Linux OS are you using ? ? Name and version, please. Like Ubuntu 10.10, Fedora 17, etc. |
OS
i use fedora 16,and i want to simulate a network mobile like UMTS.
who can i do it?? it's urgent |
# 7.
The UMTS, that I know is "EURANE" http://eurane.ti-wmc.nl/eurane/ http://www.linuxquestions.org/questi...ta-etc-869957/ Eurane is for ns-allinone-2.30. But then again : You can have as may versions of ns-allinone-2.xx as you want, installed at the same time. But do add any of them to a *PATH. . |
can u give me the step to follow to install ns-allinone-2.30. because i had many problems , i tested ns-allinone-2.35 its work so can i add the patch to this version, if is possible how can i add it
thx |
# 9.
Sorry, the patch will work in ns-2.30 only. General for all Fedora : # yum install \ gcc-c++ compat-gcc-34-c++ automake autoconf libtool libX11-devel \ libXext-devel libXau-devel libXmu-devel xorg-x11-proto-devel The install : cd ns-allinone-2.30/ns-2.30 && zcat ns-2.30_eurane-1.12.diff.gz | patch -p1 && cd ../ && export CC=gcc34 CXX=g++34 && ./install . |
and i have to change in the file /etc/bashrc right? to add the path of NS
|
# 11.
Quote:
if you have more than one version of ns-allinone-2.xx. See post # 8, please. This will do : cd ns-allinone-2.30/ns-2.30/ ; su ; make install ( 'make install' will copy the binary 'ns' to /usr/local/bin/ ). ( By more than one 'ns', just use a copy with a different name, e.g. ns230, ns230-eurane, etc. etc. ( I'd usually have at least ten different 'ns2xx' ). And : 'ns' is hard coded to know, where its libraries are located. And : One 'nam' in /usr/local/bin/ can be used for all ns2 versions. . |
i got this :
Nam has been installed successfully. Please compile your xgraph separately. Ns-allinone package has been installed successfully. Here are the installation places: tcl8.4.13: /home/maryem/ns-allinone-2.30/{bin,include,lib} tk8.4.13: /home/maryem/ns-allinone-2.30/{bin,include,lib} otcl: /home/maryem/ns-allinone-2.30/otcl-1.12 tclcl: /home/maryem/ns-allinone-2.30/tclcl-1.18 ns: /home/maryem/ns-allinone-2.30/ns-2.30/ns nam: /home/maryem/ns-allinone-2.30/nam-1.12/nam gt-itm: /home/maryem/ns-allinone-2.30/itm, edriver, sgb2alt, sgb2ns, sgb2comns, sgb2hierns ---------------------------------------------------------------------------------- Please put /home/maryem/ns-allinone-2.30/bin:/home/maryem/ns-allinone-2.30/tcl8.4.13/unix:/home/maryem/ns-allinone-2.30/tk8.4.13/unix into your PATH environment; so that you'll be able to run itm/tclsh/wish/xgraph. IMPORTANT NOTICES: (1) You MUST put /home/maryem/ns-allinone-2.30/otcl-1.12, /home/maryem/ns-allinone-2.30/lib, into your LD_LIBRARY_PATH environment variable. If it complains about X libraries, add path to your X libraries into LD_LIBRARY_PATH. If you are using csh, you can set it like: setenv LD_LIBRARY_PATH <paths> If you are using sh, you can set it like: export LD_LIBRARY_PATH=<paths> (2) You MUST put /home/maryem/ns-allinone-2.30/tcl8.4.13/library into your TCL_LIBRARY environmental variable. Otherwise ns/nam will complain during startup. (3) [OPTIONAL] To save disk space, you can now delete directories tcl8.4.13 and tk8.4.13. They are now installed under /home/maryem/ns-allinone-2.30/{bin,include,lib} After these steps, you can now run the ns validation suite with cd ns-2.30; ./validate For trouble shooting, please first read ns problems page http://www.isi.edu/nsnam/ns/ns-problems.html. Also search the ns mailing list archive for related posts. [/COLOR] so i soulg change in the file bashrc to add this path??? |
# 13.
Xgraph for Fedora, post #2 here ... http://www.linuxquestions.org/questi...34-a-862233/#2 Quote:
Quote:
. |
it works now i get
% when i write ns now can u hepl me for example to simulate a umts network? |
Quote:
have you solved this problem or you just change you OS to Cent OS? |
Post # 16, @edsionwang : Welcome to LQ.
Please read post #4 : The choice for ns-2.29.3 is gcc/g++ version 4.1.2 .. Either : Using the old Ubuntu gcc-4.1 / g++-4.1 : cd ns-allinone-2.29/ && export CC=gcc-4.1 CXX=g++-4.1 && install Or : Using the gcc41-compat / g++41-compat : cd ns-allinone-2.29/ && export CC=gcc41 CXX=g++41 && install gcc41-compat https://docs.google.com/open?id=0B7S...RjNjJhOTZjNjI2 g++41-compat https://docs.google.com/open?id=0B7S...hjMjljN2M2MGU4 sudo dpkg -i gcc41-compat-4.1.2_i386.deb g++41-compat-4.1.2_i386.deb .. Then reboot, and the binaries gcc41, g++41 are ready for use. . |
@knuldfl
thanks for your reply!I have done like #4.then I got messages as follows: Quote:
|
# 18
Quote:
You already created all ns-2.29/indep-utils/* when ./install was run. I will have a look at the 'NS-MIH-MULTI-CRITERIA.tar.bz2' package. . |
# 18 . NS-MIH-MULTI-CRITERIA ..
http://sourceforge.net/projects/mihnistns229/ > http://switch.dl.sourceforge.net/pro...ITERIA.tar.bz2 > NS-MIH-MULTI-CRITERIA.tar.bz2 > ns-allinone-2.29.zip > ns-allinone-2.29/. Reinstalling the MIH-MULTI-CRITERIA patched ns-allinone-2.29/ : rm -r ns-allinone-2.29/bin/ ; rm -r ns-allinone-2.29/lib/ And in tcl8.4.11/unix/, tk8.4.11/unix/, otcl*, tclcl*, ns-2.29/ : 1) rm config.cache ( tcl8*/unix, tk8*/unix ) 2) ./configure ( tcl8*/unix, tk8*/unix ) 3) make clean 4) rm Makefile ( if any.) Then : cd ns-allinone-2.29/ && export CC=gcc41 CXX=g++41 && ./install .. and you have a new binary 'ns' for your OS. . |
Post #15, @maryemwood
There are some umts examples in the package linked in post #20 : ns-allinone-2.29/ns-2.29/tcl/hsntg/umts-hier-tcp.tcl etc. etc. |
Post #20 @knudfl
Thank you very much, and I installed this patched ns for my OS successfully! |
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 ... anyone can help? thank you before,,, |
# 23 .
Quote:
Must be the version for gcc-4.1.2 : ns-allinone-2.29.3.tar.gz http://sourceforge.net/projects/nsna...allinone-2.29/ The install command : $ export CC=gcc41 CXX=g++41 && ./install - |
i've done the installation but when i try to run pmip.tcl this error messege appear
invalid command name "Agent/PMIPv6" while executing "Agent/PMIPv6 set debug_ $opt(debug)" (file "Documents/tcl script/pmip.tcl" line 34) am i need to edit the .bashrc files and change the path? |
# 25 .
Quote:
Quote:
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 - |
okay thank you... :D
it already works now.. :) |
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? |
Post #28, @AMA21 : Welcome to LQ.
Quote:
"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... |
802.21 simulator in ns-2.29
I have successfully installed 802.21 on ubuntu and I have detailed instructions how to do it. I have installed it also in windows via vmware.
I have published many papers and books with it. If anybody needs help write me on removed. |
802.21 simulator in ns-2.29
Quote:
|
All is successfully installed and patched in my simulator. I have scripts that make vertical handovers from wimax, wlan, umts, I have commands how to measure vertical handover latency, throughput, delay, jitter. Write me on removed.
|
please knudfl could you please provide me with the source of
Quote:
i follow these steps after installing ns2.29 on ubuntu 11.04 but the following steps give me error Quote:
|
Successful Installation
Please write me on kire_jakimoski@yahoo.com
I will explain in more details there. Quote:
|
Successful Installation
You can also find me on facebook under the name Kire Jakimoski
Quote:
|
|
MIH installation steps for ubuntu 10.04
Hi frds,
I installed ns2.29 on ubuntu 10.04.i want to install MIH plz share link or procedure.. |
Ref. post #38, @mano : Welcome to LQ.
Please start a new Thread for your MIH questions. http://www.linuxquestions.org/questi...ux-software-2/ >> 'New Thread'. MIH info . http://www.linuxquestions.org/questions/tags/mih/ . http://www.linuxquestions.org/questi...ulti-criteria/ . https://drive.google.com/file/d/0B7S...ew?usp=sharing . http://www.linuxquestions.org/questions/tags/nist-mob/ |
All times are GMT -5. The time now is 07:34 PM. |