LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 04-10-2013, 11:24 AM   #46
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2013.07, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,204

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373

# 44.

Package uninstalling commands are :

sudo apt-get remove myevalvid2-ns
Or : sudo dpkg -r myevalvid2-ns
Or : sudo dpkg --purge myevalvid2-ns
 
1 members found this post helpful.
Old 04-10-2013, 11:31 AM   #47
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2013.07, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,204

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
# 45 .

The lines from the trace file looks OK.

If you want a precise answer ..
The output from <unknown command> , <unknown tcl file> :
Really tells very little. Please specify what you are doing !
Like $ ns file-name.tcl

-
 
Old 04-10-2013, 01:52 PM   #48
binteasim
Member
 
Registered: Jan 2013
Posts: 54

Original Poster
Rep: Reputation: Disabled
NS2

I've attatched the file I used Sir and one of the reasons I asked you the question was that the visual trace analyzer I was using was not processing it's trace file giving errors on the lines which had these;xcp,smac or LMS_SETUP.
Attached Files
File Type: txt umts.txt (1.8 KB, 13 views)
 
Old 04-10-2013, 01:55 PM   #49
binteasim
Member
 
Registered: Jan 2013
Posts: 54

Original Poster
Rep: Reputation: Disabled
and what I was doing is:
Code:
$ ns230 '/home/dba/Desktop/FYP/NS2/umts.tcl'
 
Old 04-10-2013, 05:41 PM   #50
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2013.07, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,204

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
#45, #48, #49 .

$ ./ns230-eurane umts.tcl.txt : Nam opens the simulation (u1.nam = 107.5 MB)
.. and umts.tr, 51.7 MB, is created : Everything is OK.

( There is already one other example by name umts.tcl,
suggestion for a new name for your file : umts-b.tcl ).


P.S. : Please attach tcl files as name.tcl.txt :
It's much better when you can recognize the file type before reading / downloading.


LQ, UMTS/eurane http://www.linuxquestions.org/questions/tags/eurane/

UMTS-eurane examples .tcl : umts-eurane-examples.tar.bz2
https://docs.google.com/file/d/0B7S2...it?usp=sharing

-

Last edited by knudfl; 04-10-2013 at 06:39 PM.
 
Old 04-17-2013, 06:13 AM   #51
binteasim
Member
 
Registered: Jan 2013
Posts: 54

Original Poster
Rep: Reputation: Disabled
So Sir you can't see any of such words as "LMS_SETUP" or "xcp" in the trace file you got?
 
Old 04-17-2013, 06:30 AM   #52
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2013.07, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,204

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
# 51 : You mean umts.tr from umts-b.tcl ?

$ grep -i LMS_SETUP umts.tr : No LMS_SETUP or lms_setup
$ grep -i xcp umts.tr : No xcp or XCP
 
Old 04-17-2013, 07:10 AM   #53
binteasim
Member
 
Registered: Jan 2013
Posts: 54

Original Poster
Rep: Reputation: Disabled
P.S sir I tried to run the example be_a01.tcl from the link http://140.116.164.80/~smallko/ns2/myevalvid2.htm and I got the following (I don't know exactly if I did it right):

Code:
dba@dba-Inspiron-N5010:~$ ns-myevalvid2 '/home/dba/Desktop/FYP/NS2/mpg.tcl' warning: no class variable Agent/myUDP::packetSize_

	see tcl-object.tcl in tclcl for info about this warning.

couldn't open "st_a01": no such file or directory
    while executing
"open $original_file_name r"
    invoked from within
"set original_file_id [open $original_file_name r]"
    (file "/home/dba/Desktop/FYP/NS2/mpg.tcl" line 69)
the link says that this example is for cygwin environment but I don't know of any other example.


You also once told me that gprs is a built in feature of ns2; I had to create a gprs network with 10 UEs and I am still not successful in doing so, the networks are not even close to gprs as far as I get.If I try to install ns-2.1b7a(for gprs patch by richa jain) I encounter errors that I can't solve.
 
Old 04-17-2013, 07:12 AM   #54
binteasim
Member
 
Registered: Jan 2013
Posts: 54

Original Poster
Rep: Reputation: Disabled
#52

yes Sir umts.tr,OK then I don't know why I get these.
 
Old 04-17-2013, 07:24 AM   #55
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2013.07, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,204

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
# 53 .
$ ns be_a01.tcl : An ns executable like "ns-myevalvid2" must be used.
$ ns-myevalvid2 be_a01.tcl : No errors here.

'myevalvid2' : http://www.linuxquestions.org/questi...gs/myevalvid2/
 
Old 04-18-2013, 08:03 AM   #56
binteasim
Member
 
Registered: Jan 2013
Posts: 54

Original Poster
Rep: Reputation: Disabled
Sir can you send me the umts.tr you got?
 
Old 04-18-2013, 08:43 AM   #57
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2013.07, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,204

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
# 56 .

Suggest : Install the package myevalvid2-ns-2.28-ubuntu10-1_i386.deb
https://docs.google.com/file/d/0B7S2...it?usp=sharing
and do : $ ns-myevalvid2 be_a01.tcl
Then you have the file. File name = 'out.tr'. The file size is about 420 kB.

Ref. post #46 here http://www.linuxquestions.org/questi...965/page4.html

-
 
Old 04-18-2013, 09:00 AM   #58
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2013.07, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,204

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
# 56 : Sorry : UMTS-Eurane.

$ ns umts.tcl : umts.tr, 12 MB is created.
$ ns umts-b.tcl : umts(-b).tr : 51.7 MB . u1.nam : 107.5 MB.

umts-b.tr >> umts-b.tr.tar.bz2 , 3.2 MB :
https://docs.google.com/file/d/0B7S2...it?usp=sharing

-
 
Old 05-20-2013, 12:55 AM   #59
binteasim
Member
 
Registered: Jan 2013
Posts: 54

Original Poster
Rep: Reputation: Disabled
Sir do you know what does this command do in eyana.tcl:

set log [open "http.log" w]
 
Old 05-20-2013, 01:10 AM   #60
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2013.07, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,204

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
# 59 .

$ ns(-lte) eyana.tcl :
Creates three files : lte.nam , out.tr , http.log

"http.log" is a text file, about 60 kB.

-
 
  


Reply

Tags
gprs-ns2#20, lte, traceanalyzer, tracegraph, ubuntu 12.04


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
want to install ns2.29.3 along with mannasim patch for ns2.29 jeevanpinto Linux - Software 4 10-02-2013 12:09 AM
how to install both ns2.28 and ns2.34 versions on ubuntu 10.04? popoaung Linux - Software 3 06-10-2013 04:52 PM
Differences between LEACH results on ns2.1b5 and ns2.35 deepa_2111 Linux - Software 15 05-16-2013 05:53 PM
i am using ubuntu as os. for NS2 to implement a routing protocol in ns2. sujovasu Programming 1 07-27-2010 01:44 AM


All times are GMT -5. The time now is 11:01 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