LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-15-2014, 03:33 PM   #31
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641

# 28 .
Quote:
Hunk #3 FAILED at 99.
.
.
root@asma-HP-ProBook-4520s:/home/asma/Desktop/work#
You are not supposed to use root to build applications, in /home/name/.
`root' is for administrative purposes only !
One command can be done with sudo (or root) : make install
.. All other ns2 commands must be done as ordinary user.

Read the above thread : All the $ <some-command> means you do not use root.
I.e. '$' is the user commands prompt, '#' is the root prompt.

-

Last edited by knudfl; 03-15-2014 at 03:35 PM.
 
Old 03-15-2014, 03:36 PM   #32
asma_it
Member
 
Registered: Mar 2014
Posts: 30

Rep: Reputation: Disabled
sir i got this error
root@asma-HP-ProBook-4520s:/home/asma/Desktop/work/ns-allinone-2.28/ns-2.28/myevalvid2# ns-myevalvid2 be_a01.tcl
ns-myevalvid2: command not found
root@asma-HP-ProBook-4520s:/home/asma/Desktop/work/ns-allinone-2.28/ns-2.28/myevalvid2# ns be_a01.tcl
warning: no class variable Agent/myUDP:acketSize_

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

9.9689999999999994
warning: no class variable Tracefile::debug_

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

300 records
 
Old 03-15-2014, 03:38 PM   #33
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 32 .

A warning is not an error. A warning is "an informative text" only.
 
Old 03-15-2014, 04:15 PM   #34
asma_it
Member
 
Registered: Mar 2014
Posts: 30

Rep: Reputation: Disabled
Sir
Here are the installation places:
tcl8.4.5: /home/asma/Desktop/work/ns-allinone-2.28/{bin,include,lib}
tk8.4.5: /home/asma/Desktop/work/ns-allinone-2.28/{bin,include,lib}
otcl: /home/asma/Desktop/work/ns-allinone-2.28/otcl-1.9
tclcl: /home/asma/Desktop/work/ns-allinone-2.28/tclcl-1.16
ns: /home/asma/Desktop/work/ns-allinone-2.28/ns-2.28/ns

please what should i do to change it to the root diractory like you said to me .thank you sir for help.
 
Old 03-15-2014, 04:30 PM   #35
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 34 .

Post #31 says "no root".

And you cannot move anything.
The executable 'ns' (and copies of ns) is hard coded to find libraries in
/home/asma/Desktop/work/ns-allinone-2.28/lib/ , and tcsh* in
/home/asma/Desktop/work/ns-allinone-2.28/bin/.

"Hard coded to find libraries and tcsh" also means,
that writing *PATH's into .bashrc makes no sense.

-
 
Old 03-15-2014, 04:42 PM   #36
asma_it
Member
 
Registered: Mar 2014
Posts: 30

Rep: Reputation: Disabled
am sorry i was wrong sir ;
ok so now what is the reason of this warningroot@asma-HP-ProBook-4520s:/home/asma/Desktop/work/ns-allinone-2.28/ns-2.28/myevalvid2# ns-evalvid be_a01.tcl
warning: no class variable Agent/myUDP:acketSize_

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

9.9689999999999994
warning: no class variable Tracefile::debug_

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

300 records
root@asma-HP-ProBook-4520s:/home/asma/Desktop/work/ns-allinone-2.28/ns-2.28/myevalvid2# ns-evalvid be_a01.tcl
warning: no class variable Agent/myUDP:acketSize_

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

9.9689999999999994
warning: no class variable Tracefile::debug_

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

300 records
 
Old 03-15-2014, 06:01 PM   #37
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 36 .
Quote:
.. what is the reason of this warning ..
I have no idea. Lots of simulations will display similar warnings.
They can usually be ignored.
 
Old 03-15-2014, 06:16 PM   #38
asma_it
Member
 
Registered: Mar 2014
Posts: 30

Rep: Reputation: Disabled
i checket ns-defaul.tcl file and it missed

Agent/myUDP set packetSize_ 1000

Tracefile set debug_ 0
! i should add it and make clean;make ns2.28.
 
1 members found this post helpful.
Old 03-16-2014, 05:49 AM   #39
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 38 : ns-defaul.tcl : Thank you.

Code:
Agent/myUDP set packetSize_ 1000

Tracefile set debug_ 0
Please attach your `ns-defaul.tcl' as 'ns-default.tcl.txt'.
Attachments : The paper clip tool in the 'Advanced Editor'.
( Only suffix .txt will do for a text file.)

Then I will make up a new patch "myevalvid2-ns228-patching-1.tar.gz",
to replace the old "myevalvid2-ns228-patch.tar.gz" ,
originally made from the @johnli files, post #42 →
http://www.linuxquestions.org/questi...965/page3.html

-
 
Old 03-16-2014, 07:27 AM   #40
asma_it
Member
 
Registered: Mar 2014
Posts: 30

Rep: Reputation: Disabled
ns-default.tcl.txt
 
1 members found this post helpful.
Old 03-16-2014, 09:09 AM   #41
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 40 : Thank you. Works perfectly.

A new "patch package", 'myevalvid2-ns228-patching-1.tar.gz' can be found here ..
https://drive.google.com/file/d/0B7S...it?usp=sharing


-
 
Old 03-16-2014, 10:16 AM   #42
asma_it
Member
 
Registered: Mar 2014
Posts: 30

Rep: Reputation: Disabled
plesae sir i have a probleme when i execute a simple ns .tcl

ns ns-simple.tcl
CBR packet size = 1000
CBR interval = 0.0080000000000000002
ns: finish: couldn't execute "nam": no such file or directory
while executing
"exec nam out.nam &"
(procedure "finish" line 7)
invoked from within
"finish"
i dont change the path as u advice me
 
Old 03-16-2014, 10:44 AM   #43
asma_it
Member
 
Registered: Mar 2014
Posts: 30

Rep: Reputation: Disabled
sir i make updates in ns-defaultcl file and i execute those commande /configure
make clean ;make
and when i run the simple example of evalvid ns-evalvid be_a01.tcl to test always the same warning!


warning: no class variable Agent/myUDP:acketSize_

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

9.9689999999999994
warning: no class variable Tracefile::debug_

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

300 records
root@as
 
Old 03-16-2014, 10:49 AM   #44
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 43 .

Be sure that you make a copy of the new 'ns' to e.g. 'ns-myevalvid2-1'
.. and $ sudo cp ns-myevalvid2-1 /usr/local/bin/

* The simulation $ ns-myevalvid2-1 be_a01.tcl
Code:
[knudfl@localhost myevalvid2]$ ns-myevalvid2-1 be_a01.tcl 
9.9689999999999994
300 records
-

Last edited by knudfl; 03-16-2014 at 10:59 AM.
 
Old 03-16-2014, 11:09 AM   #45
asma_it
Member
 
Registered: Mar 2014
Posts: 30

Rep: Reputation: Disabled
i have ns-evalvid in usr/local/bin
the problem is when i update the ns-default.tcl
ns not considered the changes
 
  


Reply

Tags
dselect#22, myevalvid, myevalvid2, ns2


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
transmit power fahadnasir Linux - Hardware 3 04-09-2008 12:42 PM
laptop transmit to antenna? sortia Linux - Wireless Networking 4 10-12-2006 09:05 PM
3com Transmit error Ogi Linux - Networking 5 10-09-2005 04:35 PM
eth0: Transmit timed out GuPH Linux - Networking 4 12-16-2003 09:16 PM
eth1: transmit timed out aaron Linux - Networking 0 08-27-2001 03:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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