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.
this is my code in simple...
# set BASEDIR to your own correct path
source /home/rochd/ns-allinone-2.33/ns-2.33/ns-2.33-mobiwan/tcl/lib/proc-mipv6-config.tcl
source /home/rochd/ns-allinone-2.33/ns-2.33/ns-2.33-mobiwan/tcl/lib/proc-tools.tcl
source /home/rochd/ns-allinone-2.33/ns-2.33/ns-2.33-mobiwan/tcl/lib/proc-topo.tcl
source /home/rochd/ns-allinone-2.33/ns-2.33/ns-2.33-mobiwan/tcl/lib/ns-topoman.tcl
source /home/rochd/ns-allinone-2.33/ns-2.33/ns-2.33-mobiwan/tcl/lib/proc-mobi-global.tcl
source /home/rochd/ns-allinone-2.33/ns-2.33/ns-2.33-mobiwan/tcl/lib/proc-mobi-config.tcl
source /home/rochd/ns-allinone-2.33/ns-2.33/tcl/mobility/timer.tcl
i added in source /ns-2.33-mobiwan because the files proc-mobi-global.tcl and..... no exist in ns2.33 directly
i hope help me thanks??
I think that your error indicates that you actually haven' t patched your ns source at all!
To be sure, can you write down the steps you took for patching?
@Elenka
to keep the patch file "ns-233-mobiwan-1.path" in ns-2.33 folder in ns-allinone-2.33 directory.
and Install the patch by running "patch -p0 ns-233-mobiwan-1" from the ns-2.33 directory.
But it looks a little suspicious, that an ns-233-mobiwan/ directory is created
inside ns-allinone-2.33/ns-2.33/
So may be it is : cd ns-allinone-2.33/ && mv ns-233/ ns-233-mobiwan
And : cd ns-233-mobiwan/ && patch -p1 < ns-233-mobiwan-1.patch
? ? Then the files at least look OK. ?
./configure && make : Also OK.
The original stripped ns was 5.5 MB. The new ns (-mobiwan) is 5.7 MB,
when it has been stripped. ( 'strip ns' ).
I applied this
which already exists! Assume -R? [n] y
but
ochd@rochd-laptop:~/ns-allinone-2.33/ns-2.33-mobiwan$ ./configure
bash: ./configure: Aucun fichier ou dossier de ce type
./configure not working any folder or file this type !!???
configure and make are Excecutive
what to do now (execute simple .tcl ......)
i do
rochd@rochd-laptop:~/ns-allinone-2.33/ns-2.33$ ns simple-mipv6.tcl
num_nodes is set 5
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl (except for MobiWAN simulations)
INITIALIZE THE LIST xListHead
Erreur de segmentation
and
When I run out.nam nothing appears
rochd@rochd-laptop:~/ns-allinone-2.33/ns-2.33$ ns out.nam
rochd@rochd-laptop:~/ns-allinone-2.33/ns-2.33$
thanks for all
help me please
thans f
I see you have managed to patch and configure ns-2.33...
This new error...hmm...have you checked the script, some lines
contain an address where a necessary script should be found in the
ns directory but on Your computer? Sth like ...tcl/mobility/timer.tcl?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.