LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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

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

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: pclos2012.8, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 11,586

Rep: Reputation: 1886Reputation: 1886Reputation: 1886Reputation: 1886Reputation: 1886Reputation: 1886Reputation: 1886Reputation: 1886Reputation: 1886Reputation: 1886Reputation: 1886
$ 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: pclos2012.8, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 11,586

Rep: Reputation: 1886Reputation: 1886Reputation: 1886Reputation: 1886Reputation: 1886Reputation: 1886Reputation: 1886Reputation: 1886Reputation: 1886Reputation: 1886Reputation: 1886
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: 43

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: pclos2012.8, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 11,586

Rep: Reputation: 1886Reputation: 1886Reputation: 1886Reputation: 1886Reputation: 1886Reputation: 1886Reputation: 1886Reputation: 1886Reputation: 1886Reputation: 1886Reputation: 1886
# 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: 43

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
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to patch GPSR routing protocol to ns-2.34 nimacasino Linux - Software 126 04-28-2013 02:03 PM
Error during GPSR installation in NS2 mrohini Linux - Networking 11 12-27-2012 03:50 AM
How to patch GPSR routing protocol to ns-2.35 sukhalid Linux - Newbie 0 10-09-2012 06:52 AM


All times are GMT -5. The time now is 08:45 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
Open Source Consulting | Domain Registration