LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 11-08-2014, 12:38 PM   #16
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

← #15, @mary1001.

The first one is easy to solve :
Rename the file to a new name ( wireless-test_mary.tcl ),
and run the file in any ns-2.xx/tcl/ex/ ,
for the file to use ../lib/mobilnode.tcl .
.. Or keep a copy of ns-2.xx/tcl/lib/ns-mobilenode.tcl on ~/Desktop,
.. and edit line 183? "source ../lib/ns-mobilenode.tcl"
to : "source ./ns-mobilenode.tcl"


The second file, wireless-mitf.tcl will run OK with an unpatched 'ns'.
If you edited the file, then please attach it as e.g. wireless-mitf_mary.tcl.txt .
* Attachments : The paper clip tool in the 'Advanced Editor'.

-
 
Old 11-08-2014, 12:58 PM   #17
mary1001
Member
 
Registered: Jul 2014
Location: Iran
Posts: 76

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-08-2014, 01:27 PM   #18
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
← #17 .
Quote:
ns cbrgen.tcl -type <traffic_type> -nn <number> -seed <number> -mc <number> -rate <number>
Example, "cbrgen.tcl" :
$ ns cbrgen.tcl -type cbr -nn 20 -seed 1.0 -mc 8 -rate 4.0 >> cbr-test-20.tcl

Example, scen-file :
$ ./setdest -n 20 -p 2.0 -s 10.0 -t 200 -x 500 -y 500 >> scen-20

-
 
Old 11-08-2014, 01:34 PM   #19
mary1001
Member
 
Registered: Jul 2014
Location: Iran
Posts: 76

Rep: Reputation: Disabled
yes i know this. i run this commands. and i think that maybe that errors are beacuse of this commands!!
 
  


Reply



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
problem in installing ns2.35 in ubuntu 11.10 ANIRBAN KANUNGOE Linux - Newbie 1 05-07-2012 01:02 AM
installing software on linux mint version 10 Upendra Pratap Singh Linux - Newbie 6 05-29-2011 12:50 PM
Problem installing ns2 on Ubuntu Aden09 Linux - Newbie 7 04-18-2011 06:01 PM
[SOLVED] problem in installing ns2.33 in ubuntu 8.10 neeraj.dwivedi Linux - Newbie 18 09-12-2009 08:00 AM
Problem Installing NS2 in Ubuntu 7.10 smetya Linux - Software 5 04-27-2008 08:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

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