GPSR no recieved packets
Hi, the problem might occur because of 1) you have changed initial energy in GPSR.tcl where nodes are declared, 2) you donot run simulation for sufficient time. If problem still there please consider sharing your tcl and gpsr.tcl files.
Good luck |
Post # 61, @sukhalid :
The two connected tcl files are here, post # 13 .. http://www.linuxquestions.org/questi...4175440313/#13 |
Hello everybody,
Thanks alots for your help... finally i could make gpsr work on my scenario (tcl file)... now i need to know how can i make a performance evaluation using awk scripts or other thing ... if anyone can tell me what to do ... it will be very helpfull .. i.e: i would like to make some plots of delay , throughput, packet loss ... i know houw to do it for other protocols like AODV because i already found awk scripts to do it ... but for GPSR i didn't find anything and its trace is different from others so that i can't use the same awk scripts with it ... this is my new trace file : Code:
|
i have "./changjing1.tcl" and the trace fil from which i need to plot some graphics but i couldn't send it here becase i had this message "The text that you have entered is too long (1730523 characters). Please shorten it to 30000 characters long."
i don't know how to let you see it .. Thank you in advance |
# 64
Quote:
Example : $ gzip fangzhen1.tr && mv fangzhen1.tr.gz fangzhen1.tr.gz.txt ... Then it's down from 174.8 kB to 22.4 kB. Attachments : The paper clip tool in the 'Advanced Editor'. . |
can u please tell why am i getting this error when i execute wireless.tcl
invalid command name "Agent/GPSR" while executing "Agent/GPSR set planar_type_ 0 " (file "wireless-gpsr.tcl" line 112) please reply asap thanks |
Post # 66, @VanetG : Welcome to LQ.
Quote:
1) Your install failed, or wasn't patched correctly. 2) A binary 'ns' from a "non GPSR" install was used. 3) 'ns-allinone-2.33/' was renamed or moved to another location. - |
Hello
i want to run GPSR in NS2 2.33 ,i should use only the implementation of Ke Liu's from this link http://www.cs.binghamton.edu/~kliu/r...ode/index.html or also i patch my ns2.33 like in post #11 i should use one methode or both of them ? plz help me ............. |
Post # 68, @info_mimi : Welcome to LQ.
You could use both : Set up two different ns-allinone-2.33/, .. and find out which one can do the simulation you want. ( You can have as many versions of ns-allinone-2.xx as you want, installed at the same time. But : Do not add any of them to a *PATH.) P.S. : There is a binary package, GPSR-hls, gpsr-hls-2.33-ubuntu10_i386.deb, post #3 here http://www.linuxquestions.org/questi...-4175446277/#3 .. so you do actually not have to build that one. - |
Quote:
I tried re installing ns again and have patched gpsr again it was a successful make with last few lines being make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/gaurika/ns-allinone-2.34/ns-2.34/indep-utils/webtrace-conv/ucb' Still when i run wireless-gpsr.tcl i am getting same error invalid command name "Agent/GPSR" while executing "Agent/GPSR set planar_type_ 1 " (file "wireless-gpsr.tcl" line 112) please help |
# 70
Please install the binary package, gpsr-hls-2.33-ubuntu10_i386.deb : $ sudo dpkg -i gpsr-hls-2.33-ubuntu10_i386.deb http://www.linuxquestions.org/questi...-4175446277/#3 Then you have a usable binary, 'ns-hls'. - |
Quote:
I think i am missing some step . please tell where am i going wrong i am using ns2.34 Thanks |
# 72
Quote:
http://www.linuxquestions.org/questi...-4175446277/#3 → The files are automatically installed to /usr/local/bin/ns-hls .. and /usr/local/lib/gpsr-hls/ns-allinone-2.33/hls-utils/ .. when you do $ sudo dpkg -i gpsr-hls-2.33-ubuntu10_i386.deb - |
Quote:
but the AGENT/GPSR error still exists i followed the steps : " Hi there I am using ns2.34 the following steps are workable to include Keliu GPSR implementation which could be downloaded from http://www.cs.binghamton.edu/~kliu/r...ode/index.html: 1- follow the three steps you find in the readme, but at step "2" you need to follow "or sentence" i.e you need to modify the files rather than replace them, here you will find some structural difference between Keliu files and ns2.34 files but all you need to do is to do the simple modifications which are mentioned within step "2" of the readme.txt file 2- after you performe step 3 i.e recompilation of ns2.34 "it should be error free" then you can test wireless-gpsr.tcl " |
Ref. # 70
Quote:
And did you add the new lines to the Makefile ( or Makefile.in ) ? ( Line 330 in the Makefile.in ) Code:
gpsr/gpsr_neighbor.o \ ( The link in post # 74 is a copy of "half a link".) - |
All times are GMT -5. The time now is 05:42 PM. |