Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-29-2014, 03:12 AM
|
#1
|
LQ Newbie
Registered: Mar 2014
Posts: 10
Rep: 
|
[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
|
|
|
09-30-2014, 12:01 PM
|
#2
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
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 !
-
Last edited by knudfl; 09-30-2014 at 12:09 PM.
|
|
1 members found this post helpful.
|
09-30-2014, 01:14 PM
|
#3
|
LQ Newbie
Registered: Mar 2014
Posts: 10
Original Poster
Rep: 
|
thanks a lot. it works.
|
|
|
09-30-2014, 01:21 PM
|
#4
|
LQ Newbie
Registered: Mar 2014
Posts: 10
Original Poster
Rep: 
|
Dear Sir/Madam,
Is there any possibility to create a new protocol for wireless sensor network using ns2?? Please help me..
|
|
|
09-30-2014, 01:51 PM
|
#5
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
← #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.
-
|
|
|
12-17-2014, 11:46 PM
|
#6
|
LQ Newbie
Registered: Mar 2014
Posts: 10
Original Poster
Rep: 
|
Dear Sir/Mam,
Is there any simple coding for hash classifier ?? I searched but i couldn't get..
|
|
|
12-18-2014, 03:21 AM
|
#7
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
← #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
.
|
|
|
12-18-2014, 04:18 AM
|
#8
|
Senior Member
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7 / 8
Posts: 3,572
|
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 05:49 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|