LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
$ 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: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 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: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 7 .

Protocols can be changed when you build your own modified version only.
 
Old 07-24-2016, 11:41 AM   #9
en.khalid82
Member
 
Registered: Apr 2013
Posts: 61

Rep: Reputation: Disabled
GPSR

Dear knudfl

Please, I need a tcl file for GPSR require two input file (scenario and traffic files) and awk script for GPSR to analyse the trase file.

Thanks
 
Old 07-24-2016, 01:50 PM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #9.

GPSR info http://www.linuxquestions.org/questions/tags/gpsr/

GPSR-hls examples, gpsr-hls-examples-05.15.tar.gz
https://drive.google.com/file/d/0B7S...ew?usp=sharing

GPSR-KeLiu examples, GPSR_KeLiu_examples.06.2016.tar.gz
https://drive.google.com/file/d/0B7S...ew?usp=sharing

awk#perl#python__scripts-10.2015.tar.gz
https://drive.google.com/file/d/0B7S...ew?usp=sharing


-

Last edited by knudfl; 07-24-2016 at 01:52 PM.
 
Old 07-24-2016, 02:19 PM   #11
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by en.khalid82 View Post
Dear knudfl
Please, I need a tcl file for GPSR require two input file (scenario and traffic files) and awk script for GPSR to analyse the trase file.
en.khalid82: are you unable to do ANYTHING, except ask for handouts about this??? You've been asking about GPSR for THREE YEARS now...at what point are you going to be able to actually look anything up for yourself, or *DO* anything for yourself?

http://www.linuxquestions.org/questi...s2-4175584844/
http://www.linuxquestions.org/questi...-a-4175486112/
http://www.linuxquestions.org/questi...25/page14.html
http://www.linuxquestions.org/questi...2-34-a-878526/

It's been YEARS now...have you not learned ANYTHING? You've been asked (several times) to read the "Question Guidelines" link...have you? Have you read the LQ Rules? You re-opened a thread that had been closed for three years, just to hijack it with your own request for handout.

STOP asking for handouts, stop asking people to look things up for you (my personal favorite: http://www.linuxquestions.org/questi...ml#post5077426), and show some actual effort.

Last edited by TB0ne; 07-24-2016 at 02:20 PM.
 
  


Reply

Tags
gpsr, gpsr-hls, ns2



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
How to patch GPSR routing protocol to ns-2.35 sukhalid Linux - Newbie 50 04-07-2017 11:52 AM
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.34 nimacasino Linux - Software 287 06-10-2014 12:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:25 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration