LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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


Closed Thread
  Search this Thread
Old 11-08-2014, 01:21 PM   #1
mary1001
Member
 
Registered: Jul 2014
Location: Iran
Posts: 76

Rep: Reputation: Disabled
Unhappy error in running tcl file in NS2


i install ns2-2.35 in ubuntu 12.04
i have a problem in running some examples tcl files in ns2.any wireless example can run. i athach the picture of two errors.
plz help me. i am so down
Attached Thumbnails
Click image for larger version

Name:	end1.png
Views:	27
Size:	72.6 KB
ID:	16836   Click image for larger version

Name:	end2.png
Views:	32
Size:	76.1 KB
ID:	16837  
 
Old 11-08-2014, 01:56 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
→ #16 → http://www.linuxquestions.org/questi...33#post5266733
 
1 members found this post helpful.
Old 11-08-2014, 02:02 PM   #3
mary1001
Member
 
Registered: Jul 2014
Location: Iran
Posts: 76

Original Poster
Rep: Reputation: Disabled
thanks for your reply. i replyed on that thread, plz you answer here.
 
Old 11-08-2014, 02:04 PM   #4
mary1001
Member
 
Registered: Jul 2014
Location: Iran
Posts: 76

Original Poster
Rep: Reputation: Disabled
ok thancks so. i will do.those examples are in the NS2 patch and i didnt edit them. only the examples that related to wireless nodes, can not run.
i run this examples ago and i did not any change to this file before so why this happend?
i only add a new routing protocol like AODV. and some days ago i try to write a tcl example for wireless nodes and i try to creat a random traffic to my tcl example but the cbr generator cant built it. i follow this :

to create new traffic generation between nodes, the user must first follow "ns-allinone-2.34/ns-
2.34/indep-utils/cmu-scen-gen" directory and then write the following instruction in the Linux terminal
.
ns cbrgen.tcl -type <traffic_type> -nn <number> -seed <number> -mc <number> -rate <number>
 
Old 11-09-2014, 09:32 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.


http://www.linuxquestions.org/questi...in-4175455909/
 
  


Closed Thread


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
[SOLVED] The problem of running the tcl script file in the NS2.31+crcn environment syxcod Linux - Software 16 11-24-2015 05:12 PM
NS2: regarding error during run .tcl file bhupendrapatel Linux - Software 4 05-03-2013 10:32 AM
HELP ME: Error while running tcl scrip for ZRP in NS2.33 ubuntu 10.04 vuichoigiaitri Ubuntu 1 12-02-2012 11:11 PM


All times are GMT -5. The time now is 03:53 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration