Mobiwan for Ns2.33
Hi,
I am a newbie to Mobiwan. I am currenltly looking for mobiwan ns2.33 files and the steps of installing d mobiwan in ns 2.33. I found mobiwan ns 2.16b on the internet , however i faced a lot of erros during the installation of mobiwan ns 2.16b and i found out that mobiwan ns 2.16b dose not support other version of ns 2. I really appreaciate if someone can email for me the files that i need. And is it mobiwan is comptible with ns 2.34? I really hope someone can reply me as i really need d mentioned files to continue my final year project.. thank you so much :) |
Welcome to LQ.
The ns-233-mobiwan-1.patch http://www.nicta.com.au/__data/asset...obiwan-1.patch More info : LQ Search → Tag = mobiwan Or : LQ Search → Keyword = mobiwan No mobiwan for ns-2.34. And no : 'ns-2.1b6' cannot be build on Fedora. Good luck ! |
HI.
Thanks for you link sir. However, i faced d below error during the installation.. I follows all d instruction given in : http://hpds.ee.ncku.edu.tw/~smallko/...nstruction.txt gmake[1]: *** No rule to make target `/home/beenseok/NS/ns-2.34-mobiwan/src/tcl/lib/ns-local-lib.tcl', needed by `/home/beenseok/NS/ns-2.34-mobiwan/.work/tcl/lib/ns-lib.tcl'. Stop. |
I don't see any ns-2.34 mentioned in that link.
No ns-allinone 2.1b6 related files will usually work on a modern Linux. Please use ns-allinone-2.33 for Mobiwan. It's all described in the previous "mobiwan threads". And there are no problems having two or more ns-allinone versions installed at the same time. .. |
currently, i am installing the ns-2.33 with ns-233-mobiwan-1.patch added into the folder
This is the command that i used : patch -p0 < ns-233-mobiwan-1.patch The next step to do will be ./install right? |
*
As I remember it, yes. |
Thanks knudfl.. :)
Now waiting for the validate steps to complete as it take quite long time :) |
Hmm..i guess things didt run smoothly for me. I faced the following errors when i am trying to run simple-mipv6/tcl:
invalid command name "Agent/MIPv6/mn" while executing "Agent/MIPv6/mn set bs_forwarding_ 0 " (file "simple3_mipv6.tcl" line 4) [beenseok@localhost 6]$ ns simple3_mipv6.tcl invalid command name "Agent/MIPv6/MN" while executing "Agent/MIPv6/MN set bs_forwarding_ 0 " (file "simple3_mipv6.tcl" line 4) Hope you can teach me on how to solve these errors... |
Suggest ( again ) : Read some other mobiwan threads.
It has been up before, but I don't remember the solution. Examples http://www.linuxquestions.org/questi...t%2FMIPv6%2Fmn http://www.linuxquestions.org/questi...t%2FMIPv6%2Fmn http://www.linuxquestions.org/questi...t%2FMIPv6%2Fmn .. |
NS 3 Mobile IPv6
Hello friends,
Please anybody working on the MIPv6 in NS3. In which version does this support. |
Quote:
|
@ w.suhas, post # 10 : Welcome to LQ.
This thread is about ns2, mobiwan. Please start your own thread, if you have ns3 questions. Google .. NS3 Mobile IPv6 .. http://www.google.com/webhp?hl=all#h...2bee5a4a93f9a3 Example http://groups.google.com/group/ns-3-...2ecb7ea6c73c16 .. |
Thanks to all.
Mobiwan finally works on ns2.33:) |
@bsyew
Help me please I have the same problem you while executing "Agent/MIPv6/mn set bs_forwarding_ 0 " (file "simple3_mipv6.tcl" line 4) [beenseok@localhost 6]$ ns simple3_mipv6.tcl invalid command name "Agent/MIPv6/MN" while executing "Agent/MIPv6/MN set bs_forwarding_ 0 " (file "simple3_mipv6.tcl" line 4) |
rochd:
which version did u use for ns? 2.33 or 2.34? |
bsyew
ns-2.33 and ubunto 10.04 |
Hi bsyew,
we are facing the same problems that you got .. Could you please support us by the steps that you achieved on the instillation procedure.. really you will help us.. Mobiwan in ns2-33 with Fedora/Ubunto. Thanks in advance |
Hi, knudfl
Could you please help me to know who to solve this problem i faced!. really I need your help when I installed mobiwan on ns-allinone-2.33 on Fedora 11 I faced these errors, I don't know what is the problem while I followed the installation instruction: I tried with @localhost distrib-mobiwan]$ gmake mobiwan & $ make mobiwan Also the same ***************************** Building mobiwan gmake[2]: Entering directory `/home/altamimi/Documents/ns2/distrib-mobiwan/.work' gmake[2]: *** No targets specified and no makefile found. Stop. gmake[2]: Leaving directory `/home/altamimi/Documents/ns2/distrib-mobiwan/.work' gmake[1]: *** [target] Error 2 gmake[1]: Leaving directory `/home/altamimi/Documents/ns2/distrib-mobiwan' gmake: *** [mobiwan] Error 2 tq; That's problem already solved but still have some obstacles: I couldn't finish the installation: @localhost distrib-mobiwan]$ make mobiwan I got such these errors: ******************************************* arp.cc: In constructor ‘ARPTable::ARPTable(const char*, const char*)’: arp.cc:102: error: ‘off_mac_’ was not declared in this scope arp.cc:103: error: ‘off_ll_’ was not declared in this scope arp.cc:105: error: ‘off_arp_’ was not declared in this scope arp.cc: In member function ‘void ARPTable::arprequest(nsaddr_t, nsaddr_t, LL*)’: arp.cc:226: error: ‘off_arp_’ was not declared in this scope arp.cc: In member function ‘void ARPTable::arpinput(Packet*, LL*)’: arp.cc:259: error: ‘off_arp_’ was not declared in this scope gmake[2]: *** [arp.o] Error 1 gmake[2]: Leaving directory `/home/altamimi/Documents/ns2/distrib-mobiwan/.work' gmake[1]: *** [target] Error 2 gmake[1]: Leaving directory `/home/altamimi/Documents/ns2/distrib-mobiwan' make: *** [mobiwan] Error 2 waiting your available advices |
Post # 18, @ Asago : Welcome to LQ.
Quote:
And what does the file " .work " mean ? ( Usually it would be : cd /home/<name>/ns2/ns-allinone-2.33/ns-2.33/ && make clean && make -f Makefile.<new> ). .. |
Quote:
http://hpds.ee.ncku.edu.tw/~smallko/...nstruction.txt I couldn't apply step No (4.), I got the above errors! Thanks for your replaying |
Post # 20 :
That is not an instruction for ns-allinone-2.33. Neither is the patch. Is for ns-allinone-2.1b6-gcc32(.tar.gz) Please read post #2, which has a link to the 2.33 patch. .. |
Quote:
I got the patch from your appreciated comment @ post#2, but still couldn't find the mobiwan installation instruction for ns-2.33.. could you please info me how can find it! sorry for disturbing you |
It's Done! .. Many thinks Knudfl
|
After installed mobiwan, TCP variants, for example, TCP Reno, failed~
Dear NS Users,
These are the errors that occurs when i am trying to run the tcl script that implements TCP reno in IPv4 after mobiwan is installed in ns-2.33. num_nodes is set 3 wired node 0 created wired node 1 created wired node 2 created INITIALIZE THE LIST xListHead Base-Station node 3 created wireless node 0 created ... wireless node 1 created ... warning: Route to base_stn not known: dropping pkt warning: Route to base_stn not known: dropping pkt channel.cc:sendUp - Calc highestAntennaZ_ and distCST_ highestAntennaZ_ = 1.5, distCST_ = 709.7 SORTING LISTS ...DONE! --- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) --- _o39: no target for slot 2 _o39 type: Classifier/Addr content dump: classifier _o39 0 offset 0 shift 2047 mask 0 slots ---------- Finished standard no-slot{} default handler ---------- Below is the other error that occur when i m trying to run wireless-mitf.tcl in tcl/ex folder: [beenseok@localhost 6]$ ns wireless-mitf.tcl num_nodes is set 2 INITIALIZE THE LIST xListHead can't read "EnableHierRt_": no such variable (Object set line 1) invoked from within "Simulator set EnableHierRt_" (procedure "_o15" line 10) (Node attach line 10) invoked from within "$node attach $ragent [Node set rtagent_port_]" (procedure "_o3" line 96) (Simulator create-wireless-node line 96) invoked from within "_o3 create-wireless-node" ("eval" body line 1) invoked from within "eval $self create-wireless-node $args" (procedure "_o3" line 24) (Simulator node line 24) invoked from within "$ns_ node" invoked from within "set node_(0) [$ns_ node]" (file "wireless-mitf.tcl" line 110) I need helps to solve these errors and appreciate it so much if someone can tell me how to solve it. Regards |
@ bsyew, post # 24 : Looks like something, that has been answered before.
To run non mobiwan stuff, a binary 'ns' with no mobiwan is required. 1) Build an ns-allinone-2.33 and rename the binary ns to ns233. Copy 'ns233' to /usr/local/bin/ 2) Build an ns-allinone-2.33 with mobiwan. cp ns ns-mobiwan. Copy 'ns-mobiwan' to /usr/local/bin/ Then you can do : 'ns233 file.tcl' with the non mobiwan files. And : 'ns-mobiwan file.tcl' with "mobiwan files". Suggest : Read all (12) mobiwan threads here at LQ. LQ Search > > Keyword = mobiwan .. |
@knudfl :
I followed your advise on building two version of ns2 in fedora and copy both binaries to /usr/local/bin/. However, I have doubt regarding the .bashrc file. At first, ns-2.33 without mobiwan is built. The .bashrc file is editted according to the correct path in which ns-2.33 without mobiwan is located. Then after that when ns-2.33 with mobiwan is built, the path environment in .bashrc file changes again. After source ~/.bashrc, ns consider that the environment is accorded to the latest bashrc file, that is the environment path for ns-2.33 with mobiwan. Am i doing the correct steps Sir? |
# 26 :
The whole ".bashrc" thing is mostly for older ns-allinone-2.xx (2.26 and older ?) With ns* in /usr/local/bin/ : It's a system PATH. About the LD_LIBRARY_PATH All later ns2 versions are partly statically compiled, and do usually not depend on anything else than the X*libs in /usr/lib/. So ns or a renamed ns will most often know the path : ns-allinone-2.xx/lib/ . ( Problems occur, if you change the ns-allinone-2.xx/lib/ location.) With three or four different ns-allinone-2* on every OS, I never experience ns asking for ///otlcl*/libotcl.* or ///tclcl*/libtclcl.*. And I never change the bashrc. .. |
knudfl:
current ns2.33 and mobiwan finally compatible in my fedora. Thanks for your advice knudfl. I have a question regarding the trace file that i obtained from mobiwan simulation. Where can i get the trace format that explains each column of the mobiwan's trace file? I need the trace format in order to compute the throughput and delay by using awk & perl. Thanks in advance. |
Google .. trace columns ns2 ..
http://www.google.com/webhp#sclient=...62779cc03b1b30 Some examples http://kulo.in/forum/showthread.php?tid=33 http://www.ns2ultimate.com/post/3442...trace-ex1-link http://www.cubinlab.ee.unimelb.edu.a...2/node234.html http://nsnam.isi.edu/nsnam/index.php/NS-2_Trace_Formats We had a recent thread about trace format ( columns ), but I can't find it. .. |
i want to use MIP v6 in ns-2
Quote:
|
Post # 30, @ masumbillah243 : Welcome to LQ.
http://www.inrialpes.fr/planete/mobiwan/ Quote : "MobiWan distribution comprises : .... . Mobile IPv6, available, in two modes: .... " You can read about Mobiwan for ns233 here in the LQ threads : LQ Search → Tag = mobiwan 'ns2.1b6' is not usable on a contemporary Linux. .. |
Dear knudfl, thanx for ur kind answer. can you please tell me more about this --- i want to compare MIPv6 vs HMIPv6...what i need to use? Mobiwan or i can do by using Columbia university micro-mobility source code? please looking for your answer.
|
Does any one use macro mobility and micro mobility protocol in same platform for IPv6,
|
Quote:
Dear Sir, Actually i am asking to many questions only becs my project due within next 6 days, i m so tense i did mistaken basis mistake, can u please tell me the steps, consider i installed ns-2.33, but i want to compare HMIP vs MIP, i guess i need mobiwan patch and FHMIP extension patch, would u please tell me the steps i should follow to get my result.. regrds masum |
error while installing mobiwan
hi guys,
i got this error while adding mobiwan patch to ns2.33 In file included from mobiwan/ipv6.cc:45:0: ./classifier/classifier-hash.h: At global scope: ./classifier/classifier-hash.h:43:7: error: redefinition of ‘class HashClassifier’ ./classifier/classifier-hash.h:43:42: error: previous definition of ‘class HashClassifier’ ./classifier/classifier-hash.h:133:7: error: redefinition of ‘class SrcDestFidHashClassifier’ ./classifier/classifier-hash.h:133:56: error: previous definition of ‘class SrcDestFidHashClassifier’ ./classifier/classifier-hash.h:146:7: error: redefinition of ‘class SrcDestHashClassifier’ ./classifier/classifier-hash.h:146:53: error: previous definition of ‘class SrcDestHashClassifier’ ./classifier/classifier-hash.h:160:7: error: redefinition of ‘class FidHashClassifier’ ./classifier/classifier-hash.h:160:49: error: previous definition of ‘class FidHashClassifier’ ./classifier/classifier-hash.h:171:7: error: redefinition of ‘class DestHashClassifier’ ./classifier/classifier-hash.h:171:50: error: previous definition of ‘class DestHashClassifier’ mobiwan/ipv6.cc: In member function ‘virtual void NetworkBS::recv(Packet*, Handler*)’: mobiwan/ipv6.cc:330:29: warning: comparison between signed and unsigned integer expressions mobiwan/ipv6.cc: In member function ‘virtual void NetworkMN::recv(Packet*, Handler*)’: mobiwan/ipv6.cc:442:30: warning: comparison between signed and unsigned integer expressions make: *** [mobiwan/ipv6.o] Error 1 can any one help me, to solve the above problem |
@vithanalasatish, post # 35 : Welcome to LQ.
Please specify your Linux OS. Like Fedora 15, CentOS 6, Ubuntu 10.04. http://catb.org/~esr/faqs/smart-questions.html And : Read all posts in the thread http://www.linuxquestions.org/questi...2-33-a-856104/ .. |
post # 35 :
i am using ubuntu 11.04 i sloved the above problem when i am implementing NMEO protocol using binary file "ns-mobiwan_Ubu1010" u provided i got this error satish@satish-desktop:~/Documents/ns-allinone-2.33/ns-2.33/tcl/mobiwan$ ./ns-mobiwan_Ubu1010 nemo_test_bidirct.tcl When configured, ns found the right version of tclsh in /home/knudfl/8tmp/ns-allinone-2.33/bin/tclsh8.4 but it doesn't seem to be there anymore, so ns will fall back on running the first tclsh in your path. The wrong version of tclsh may break the test suites. Reconfigure and rebuild ns if this is a problem. invalid command name "Agent/MIPv6/MR" while executing "Agent/MIPv6/MR set bs_forwarding_ 0 " (file "nemo_test_bidirct.tcl" line 4) can u suggest where i have to change the path for tclsh8.4 |
invalid command name "Agent/MIPv6/MN
Quote:
I am using both ubuntu 8.04 and 10.04 on two computers and the same problem I get: Code:
root@ngannguyen:~/ns-allinone-2.33/ns-2.33/tcl/mobiwan# ns simple-mipv6.tcl The simple-mipv6.tcl file is the original. Even I tried to change line 90 in this file as below, the problem still cannot be solved. Code:
Old: 90 source ~/nstcl/mobility/timer.tcl Any one help me! Thank you in advance |
All times are GMT -5. The time now is 04:03 PM. |