Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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 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
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
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
Last edited by Asago; 02-09-2011 at 10:29 AM.
Reason: updating to previous question
Post # 20 :
That is not an instruction for ns-allinone-2.33.
Neither is the patch.
..
Thank You kndufl.,
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
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.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513
Rep:
@ 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
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?
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513
Rep:
# 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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.