LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   [code omitted because of length (https://www.linuxquestions.org/questions/linux-software-2/%5Bcode-omitted-because-of-length-4175520461/)

esthersangeetha 09-29-2014 03:12 AM

[code omitted because of length
 
Dear Sir/Madam,
I am using ns-allinone-2.34 in Fedora 18. While I run my nam file I am facing the following error.

[root@localhost ~]# nam yeho.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 {[string equal [tk windowingsystem] "classic"]
|| [string equal [tk windowingsystem] "aqua"]} {
bind Listbox <MouseWheel> {
%W yview scroll [expr {..."

Please help me to recover this

knudfl 09-30-2014 12:01 PM

Please install the nam package for CentOS6 / Fedora :

Post #2 here http://www.linuxquestions.org/questi...-4175517981/#2

$ cd Downloads/
# yum localinstall nam-1.14-*

And : Delete the nam you have in ns-allinone-2.34/nam-1.14/
( Or you can delete the complete nam-1.14/ folder.)

P.S. : You are not supposed to run nam with root.
The root prompt is for administrative tasks only !


-

esthersangeetha 09-30-2014 01:14 PM

thanks a lot. it works.

esthersangeetha 09-30-2014 01:21 PM

Dear Sir/Madam,
Is there any possibility to create a new protocol for wireless sensor network using ns2?? Please help me..

knudfl 09-30-2014 01:51 PM

← #4 .

Have you tried using the advised nrlsensorsim package ?
If you are a skilled c++ coder, you could try porting
the ns226 files to a later ns2 ...... as a start.

-

esthersangeetha 12-17-2014 11:46 PM

Dear Sir/Mam,
Is there any simple coding for hash classifier ?? I searched but i couldn't get..

knudfl 12-18-2014 03:21 AM

1 Attachment(s)
← #6 .

"hash classifier" :
ns-2.35/classifier/\
{ classifier-addr.cc classifier-mcast.cc
classifier-addr.h classifier-mcast.h
classifier-bst.cc classifier-mpath.cc
classifier.cc classifier-port.cc
classifier.h classifier-port.h
classifier-hash.cc classifier-qs.cc
classifier-hash.h classifier-qs.h
classifier-hier.cc classifier-virtual.cc
classifier-hier.h filter.cc
classifier-mac.cc filter.h }

... And tcl : cd ns-2.35/tcl/ && grep -Rin hash * >> hash.txt
.

TenTenths 12-18-2014 04:18 AM

Just a hint, read this: How To Ask A Question and then try creating "New Thread" with a meaningful title for each new question you'll get better exposure and probably more answers.


All times are GMT -5. The time now is 09:42 PM.