LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 01-18-2013, 11:35 PM   #1
vishalpolara
Member
 
Registered: Nov 2012
Posts: 47

Rep: Reputation: Disabled
installation error of GPSR patch in ns-2.33


i got following error after installing gpsr

please tell me what to do


invalid command name "Agent/GPSR"
while executing
"Agent/GPSR set bdesync_ 0.5 "
(file "hls.tcl" line 6)

Last edited by vishalpolara; 01-19-2013 at 12:21 AM.
 
Old 01-19-2013, 11:31 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,645

Rep: Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532
$ ns hls.tcl : Your result looks like a failed install.
(Or you are using a wrong 'ns'. Make an ns copy "ns-hls" to /usr/local/bin/,
and run $ ns-hls hls.tcl , then you are sure, it's the right binary.)

May be have a look at post # 23, here
http://www.linuxquestions.org/questi...526/page2.html

Other files / commands :
$ bash run_small.bat
$ ns run.tcl -out hls_trace.txt -sc sc-x2000-y2000-n100-s30-t100-MRD -cp cp-n100-c400-15-98.tcl -nn 100 -locs 3 -use_peri 1 -x 2000 -y 2000 -mac_emu 0 -stop 100 -zip 0
$ ns ssoumayaa.tcl : http://www.linuxquestions.org/questi...on-4175440313/
( There are two versions, "ssoumayaa.tcl": Different number of nodes.)

-
 
Old 01-19-2013, 12:47 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,645

Rep: Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532
Binary package : gpsr-hls-2.33-ubuntu10_i386.deb
https://docs.google.com/file/d/0B7S2...pXOTBtZkk/edit
→ $ sudo dpkg -i gpsr-hls-2.33-ubuntu10_i386.deb

Providing : /usr/local/bin/ns-hls
/usr/local/lib/gpsr-hls/ns-allinone-2.33/hls-utils/<all-examples>


-
 
Old 01-23-2013, 09:13 PM   #4
vishalpolara
Member
 
Registered: Nov 2012
Posts: 47

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
Binary package : gpsr-hls-2.33-ubuntu10_i386.deb
https://docs.google.com/file/d/0B7S2...pXOTBtZkk/edit
→ $ sudo dpkg -i gpsr-hls-2.33-ubuntu10_i386.deb

Providing : /usr/local/bin/ns-hls
/usr/local/lib/gpsr-hls/ns-allinone-2.33/hls-utils/<all-examples>


-
i have download above package and install it but the file under /hls-utils/ folder seen as a lock file

how to check installation is correct or not

$ns run.tcl is not working

$ns-hls run.tcl working and show me some details in terminal

$ns gpsr.tcl is also not working
so tell me what to do

Last edited by vishalpolara; 01-23-2013 at 09:36 PM.
 
Old 01-24-2013, 01:40 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,645

Rep: Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532
# 4

There are multiple binary packages providing /usr/local/bin/ns-***,
and you can only have one binary by name 'ns'.

To set '/usr/local/bin/ns-hls' to be your main 'ns' :
cd /usr/local/bin/
sudo ln -s ns-hls ns
... Then you can use 'ns-hls' as $ ns <file>.tcl


-
 
Old 01-24-2013, 02:04 AM   #6
vishalpolara
Member
 
Registered: Nov 2012
Posts: 47

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
# 4

There are multiple binary packages providing /usr/local/bin/ns-***,
and you can only have one binary by name 'ns'.

To set '/usr/local/bin/ns-hls' to be your main 'ns' :
cd /usr/local/bin/
sudo ln -s ns-hls ns
... Then you can use 'ns-hls' as $ ns <file>.tcl


-

thanx for your support
 
Old 05-26-2013, 06:00 PM   #7
mido123
LQ Newbie
 
Registered: May 2013
Posts: 3

Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
Binary package : gpsr-hls-2.33-ubuntu10_i386.deb
https://docs.google.com/file/d/0B7S2...pXOTBtZkk/edit
→ $ sudo dpkg -i gpsr-hls-2.33-ubuntu10_i386.deb

Providing : /usr/local/bin/ns-hls
/usr/local/lib/gpsr-hls/ns-allinone-2.33/hls-utils/<all-examples>


-
Hello knudfl im istalled gpsr-hls-2.33-ubuntu10_i386.deb because i want to simulate GPSR then change it to secure GPSR ,and i want to know how can i do this with your version
 
Old 06-12-2013, 03:51 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,645

Rep: Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532
# 7 .

Protocols can be changed when you build your own modified version only.
 
  


Reply

Tags
gpsr, gpsr-hls


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error during GPSR installation in NS2 mrohini Linux - Networking 13 08-23-2014 06:36 AM
How to patch GPSR routing protocol to ns-2.35 sukhalid Linux - Newbie 6 08-09-2014 08:45 AM
How to patch GPSR routing protocol to ns-2.34 nimacasino Linux - Software 287 06-10-2014 12:27 PM


All times are GMT -5. The time now is 07:14 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration