LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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


Reply
  Search this Thread
Old 05-02-2014, 11:55 AM   #1
sheetal123
LQ Newbie
 
Registered: May 2014
Posts: 1

Rep: Reputation: Disabled
Ns2 installation and where to write scripts


i completed ns2 installation sucessfully,have run all test cases with no error.i do,nt know how to use ns2.
i am not able to view even a single view of ns2.
when i run %nam command after ns .output is like
[root@localhost Desktop]# ns
% nam
nam:
[code omitted because of length]
: no event type or button # or keysym
while executing
"bind Listbox <MouseWheel> {
%W yview scroll [expr {- (%D / 120) * 4}] units
}"
invoked from within
"if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"} {
bind Listbox <MouseWheel> {
%W yview scroll [expr {- (%D)}] units
}
bind Li..."
child process exited abnormally
%

what i got from here is nam is not working.
does i need to install all ns2 again,for reqired bug fixing.give me fast reply
 
Old 05-02-2014, 12:28 PM   #2
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
Welcome to LQ.

Nam will most often fail. You will know that when you get 3 million hits with:
Google .. nam:[code omitted because of length] ..
https://www.google.com/webhp?hl=all#...use+of+length]

The easy solution is to get a package, like $ sudo apt-get install nam

Any questions ? Then please specify your OS ...
. http://www.linuxquestions.org/linux/...Ask_a_Question
. http://linuxsilo.net/docs/smart-questions_en.html
a) Please show the output from the command $ uname -m
b) OS name and version, please.

-
 
  


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
I want to write c++ coding to implement NS2 kaleeswari Linux - Software 3 10-07-2013 08:24 AM
where to place my tcl scripts for ns2 to see them ? alinnic1 Linux - Software 2 10-14-2010 10:58 AM
How to write a program based on algorithm in ns2 raviteja99 Linux - Wireless Networking 4 09-14-2010 07:33 PM
How can I write Installation scripts for my LFS-5.1.1 distribution alihamza Linux From Scratch 2 09-13-2005 03:11 PM
Some scripts I need to write.... Meekal Linux - General 1 12-05-2004 04:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:45 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
Open Source Consulting | Domain Registration