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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
01-18-2013, 11:35 PM
|
#1
|
|
Member
Registered: Nov 2012
Posts: 43
Rep: 
|
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.
|
|
|
|
01-19-2013, 11:31 AM
|
#2
|
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2012.8, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 11,586
|
$ 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.)
-
|
|
|
|
01-19-2013, 12:47 PM
|
#3
|
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2012.8, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 11,586
|
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>
-
|
|
|
|
01-23-2013, 09:13 PM
|
#4
|
|
Member
Registered: Nov 2012
Posts: 43
Original Poster
Rep: 
|
Quote:
Originally Posted by knudfl
|
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.
|
|
|
|
01-24-2013, 01:40 AM
|
#5
|
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2012.8, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 11,586
|
# 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
-
|
|
|
|
01-24-2013, 02:04 AM
|
#6
|
|
Member
Registered: Nov 2012
Posts: 43
Original Poster
Rep: 
|
Quote:
Originally Posted by knudfl
# 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
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:45 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|