Hi.. I want to transfer the file between two computers, while sending the file i need to trace for congestion node by using system ip adress. if its possible or not? is it possible means tell me how to do that.
Thanks and Regards Nanda |
Ns2 simulates certain things, but I doubt
it can be used for the transfer directly, may be by calling another utility ? Suggest : start a new thread, asking for file transferring in general. ( I know too little about the subject to give any advise.) ..... ..... And just another nice ns2 site, I found http://nile.wpi.edu/NS/simple_ns.html ..... |
1 Attachment(s)
Please have a look at this
http://www.isi.edu/nsnam/archive/ns-.../msg03804.html 'congestion_parameter.tcl' is attached. I edited line 139, was a comment only. Running the file with 'ns' will generate 'nam.out' to be run with 'nam' ... and click the play button. ..... ..... Post # 16, quote Quote:
I used the keyword .. trace for congestion node .. ..... and found the above link. ..... ..... If you want to ask about file transfer, you will have to rephrase the text. Ask for it generally, and do not start with mentioning ns2 or any of the ns2 specific words. ..... |
1 Attachment(s)
Hi i hav attached my screen design. in this form when i click browse button it will show open file dialog box after that i was selected one file. by clicking the send button i need to find out the priority of file transformation ie: High or low priority in the option button. i want to transfer the file Varsha.doc to another system in the mean while i want to show the file transfering informaiton in Nam. Is this possible or not? plz tell me
Thanks and Regards..! Nanda |
1 Attachment(s)
When i execute attached file as "ns example1.tcl" following errors i get ...
neeraj@ubuntu:~/mypractice$ ns example2.tcl --- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) --- _o18: no target for slot -1 _o18 type: Classifier/Hash/Dest content dump: classifier _o18 0 offset 0 shift 2147483647 mask 1 slots slot 2: _o112 (Classifier/Port) -1 default ---------- Finished standard no-slot{} default handler ---------- please help me out. |
@ neeraj.dwivedi # 20.
Why do you think, there are errors in the ns reply ? ? Quote:
Suggest : move your example1.tcl to a new empty folder, so you can see, what happens : ' cd new-folder/ ' ' ns example1.tcl ' ...which creates a new file : 'nam.out' . Please then do the command ' nam nam.out ', .. and the nam GUI will open. Hit the play button, .. wait for the traffic to show up .. And discover, that everything is OK. .. :) .. ..... |
thank you very much ...
when i perform according u , u were very true . now i am able to see the nam . but this is not performing as my expectations. during ns example2.tcl i got following response :- --- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) --- _o18: no target for slot -1 _o18 type: Classifier/Hash/Dest content dump: classifier _o18 0 offset 0 shift 2147483647 mask 1 slots slot 2: _o112 (Classifier/Port) -1 default ---------- Finished standard no-slot{} default handler ---------- is this gives any hint about my problem. my problem is ... in this script i have created 5 nodes, n0,n1,n2 provide traffic to n3 , and sink n4 gets traffic from n3. (as my expectations) but in this nam , nam shows traffic only from node n0 & n1 to n3, and n4 works as sink. but n2 is not start traffic. why ? |
yeaaahhhaaaaa
i got the error .. error in script code. thank you a ton brother. |
*
Can you attach the new script .. .. Or replace the one in post # 20 ?? Please .. |
now it is perfect having no error.
but i have a new problem .. please explain queuing theory as coded below .. #Monitor the queue for the link between node 2 and node 3 $ns duplex-link-op $n2 $n3 queuePos 0.5 Actually i m not able to understand this line of code of TCL.please explain it. |
now it is perfect having no error.
but i have a new problem .. please explain queuing theory as coded below .. #Monitor the queue for the link between node 2 and node 3 $ns duplex-link-op $n2 $n3 queuePos 0.5 Actually i m not able to understand this line of code of TCL.please explain it. |
1 Attachment(s)
new script is attached with this ,now it is perfect having no error.
but i have a new problem .. please explain queuing theory as coded below .. #Monitor the queue for the link between node 2 and node 3 $ns duplex-link-op $n2 $n3 queuePos 0.5 Actually i m not able to understand this line of code of TCL.please explain it. |
Sorry, in fact I don't use ns2 very much.
So, for an explanation, please Google .. $ns duplex-link-op $n2 $n3 queuePos 0.5 .. http://www.google.com/search?hl=da&s...ng&lr=&aq=&oq= .. and get 1,200 hits . Then you might find an explanation quicker than I can. I would have to read through all that text too. ..... |
Hi,
I am trying to simulate WiMAX on ns-2.28. I have installed ns-2.28 on Ubuntu 11.04. Downloaded WimAX module from the website "http://www.lrc.ic.unicamp.br/wimax_ns2/". I followed the below steps as mentioned in the website: 1. Download the software ns-allinone-2.28 package 2. Download the latest ns-2 WiMAX module source code. 3. Unzip the ns-2 WiMAX module source code file. 4. Put the files from "mac" directory into ns-allinone-2.28\ns-2.28\mac. 5. Put the files which are in common and tcl respectively into ns-allinone-2.28\ns-2.28\common and ns-allinone-2.28\ns-2.28\tcl. 6. Modify the Makefile.in as follows - After the sentence mac/mac-802_3.o add: - mac/mac-802_16-base.o mac/mac-802_16-ss.o mac/mac-802_16-bs.o \ - mac/mac-802_16-FSM.o mac/mac-802_16-timers.o \ 7. Go to the ns-allinone-2.28/ns-2.28 directory and execute "./configure", "make clean" and "make". The Makefile.in is recompiled and .o files for the newly added WiMAX files are also generated. But when I am trying to run the example.tcl, I get an error saying: xyz@xyz-Presario-V3000-GN367PA-ACJ:~/ns-allinone-2.28/ns-2.28$ ns example.tcl invalid command name "Mac/802_16BS" while executing "Mac/802_16BS set window_ 0.05" (file "example.tcl" line 36) I got to know that there is some problem after re-compilation but I am unable to find out what it is and what should be corrected so that the script runs. Kindly help me out with this. Thanks. |
# 29.
That's right, wimax 1.02 / ns-2.28 doesn't work with the two tcl examples. Wimax version 2.03 for ns-2.31 : OK. ns example.tcl generates an example.tr 5MB. ns example2.tcl : example2.tr 2.8 MB. The binary ns from the 32bits Ubuntu 11.04 : ns231-wimax203-i686.tar.gz > https://docs.google.com/open?id=0B7S...Wl2bmxDTTZ0ejg . |
All times are GMT -5. The time now is 08:14 PM. |