Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-26-2008, 09:13 AM   #1
LQ Newbie
Registered: Sep 2008
Posts: 1

Rep: Reputation: 0
ns2 error

[panse@localhost ns-2.30]$ ./ns
% ns example1.tcl
error when calling class OldSim: example1.tcl
% cat example1.tcl
set ns [ new Simulator ]
set nf [ open out.nam w ]
$ns namtrace-all $nf
proc finish { }
global ns nf
$ns flush-trace
close $nf
exec nam &
exit 0
set n0 [ $ns node ]
set n1 [ $ns node ]
$ns duplex-link $n0 $n1 10ms DropTail
$ns at 5.0 "finish"
$ns run

my .tcl files are placed in /n-2.30/tcl/ex directory

my ns version is ns-2.30

tell me the step by step solution to solve this...

i am new to ns

thnx in advance


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
NS2 snapshot install error : tk8.4 sn68 Linux - Desktop 15 07-22-2014 05:53 AM
NS2.26/TCP installation error? japz20 Linux - Newbie 6 01-16-2013 03:27 AM
Installing NS2.26 (Network Simulator) Error:can't find X library linuxsimulationboy Debian 3 07-13-2008 02:41 AM
NS2 Error ajkannan83 Linux - Software 1 02-10-2008 11:33 PM
ns2 md_imranullah LQ Suggestions & Feedback 2 01-25-2008 02:01 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:56 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration