# 15
Everything is OK, don't worry. You will not have to delete anything : All the questions and your information is OK. When I find the time, I will have a look at ns-2.33-hls ... and your tcl file. I have made ns-2.33-hls once ( this year ) : # 11, # 23 : http://www.linuxquestions.org/questi...4-a-878526/#11 . |
thanks for your kindness but please try to help me as soon as possible because i have to make my tcl script work in 2 days maximum ...
about your posts # 11, # 23 in http://www.linuxquestions.org/questi...4-a-878526/#11, I already have seen them and it was really helpful to make hls.tcl work . .. but as i have explained to the problem now is how to use GPSR as a routing protocol to simulate a vehicular ad hoc network .... i need an exemple of tcl script to understund how does it work !!because i couldn't make my tcl script work till the moment .... Thank you in advance |
# 13, the tcl files : ( "ssoumayaa.tcl" depends on changjing1.tcl )
Code:
$ ./ns ssoumayaa.tcl $ nam fangzhen1.nam : Nam opens. They play button will start some "animation". . |
thanks for your help, i have also the same result but there is now real transmission of packets between nodes if you read the tr file or execute the nam file ... if the tcl script works and there is generation of tr and nam files does this mean that the tcl script is correct ?
|
# 19 .
Something is working. But not much activity in the "nam visualized simulation." Understanding what's happening. One could say the usual : A week or two to learn how to build ns2 with a patch. And 3 months? to learn how to use ns2. .. And sorry, I only understand very little about the many ns2 functions. I am mostly building the "package" only. And can make a few edits in a tcl file. ( I am not a coder.) . |
ok thank you for your help
|
Posts: 23 Rep: Reputation: Disabled hi all , hope you all fine , i run gpsr protocol on my file tcl with " ns-hls ", but the trace file , have another format , so i cant apply my scripts awk , and this an extract of my trace file Code:
HLS_UPD_s , HLS_UD_fr and is there a difference between them and s , r ( i talk about the beginning of each line of my trace file) or i should find another awk script special to gpsr routing protocol ,? i'm confused , plz help , and thanks in advance . |
hi, all, I have install the gpsr protocol (KeLiu version) on my NS-2.35, Ubuntu10.04LTS
no error or other messeges after make command when running the wireless-gpsr.tcl in the package ($ns wireless-gpsr.tcl) i got following output, Code:
num_nodes is set 100 it is the right output? and what is the meaning of these output? thanks! |
Post # 23, @tunerhuei : Welcome to LQ.
The output is OK. |
hello, ssoumayaa #1
can you share patch GPSR routing protocol to implementation in NS2? I have final project same with you about Vanet using GPSR. please help me, |
# 25, @anisabutsi.
All patches are linked in post # 5. GPSR-hls examples, including the ssoumayaa code, ssoumayaa-0.tcl, ssoumayaa.tcl, changjing1.tcl : gpsr-hls-examples-0113.tar.gz https://docs.google.com/file/d/0B7S2...it?usp=sharing - |
thank you :)
|
I got the GPSR patch and also it working well...please can anybody help me to use GPCR routing protocol to simulate a vehicular ad hoc network ???
from where i got the patch for it..???? |
Quote:
http://www.cn.uni-duesseldorf.de/alu.../hls-ns2-patch but when i test with hls.tcl i get invalid command name "Agent/GPSR" while executing "Agent/GPSR create _o3 " invoked from within "catch "$className create $o $args" msg" invoked from within "if [catch "$className create $o $args" msg] { if [string match "__FAILED_SHADOW_OBJECT_" $msg] { delete $o return "" } global errorInfo error "class $..." (procedure "new" line 3) invoked from within "new Agent/GPSR" invoked from within "set gpsr [new Agent/GPSR]" (file "hls.tcl" line 4) can you help me to find problem |
VANET scenario of city and highway environment
Dear friends,
Im looking for scenario in NS2 of VANET in both city and highway environments. your assistant will be most appreciated Bara |
All times are GMT -5. The time now is 03:35 AM. |