Re: [ns] nam problem in ns2 it is urgent

2015-05-16 Thread Daniel Trierweiler

Since you' re mentioning the .deb-file, i assume you installed ns via
Software-Center.

Please try installing ns2 following these instructions:
http://askubuntu.com/questions/467901/segmentation-fault-core-dumped-in-ns2-ubuntu-14-04

The tcl-file you posted in the other thread calls nam. So as long as nam
won't run by itself,
the error you get with the tcl-script seems to be clear ...





[ns] nam problem in ns2 it is urgent

2015-05-15 Thread alok kumar

sir,
I am getting error  when I am entered in  root  then type nam it
gives  error:
   root@HP:/home/alok# nam
Segmentation fault (core dumped)

plz solve this problem


thank you



[ns] nam problem in ns2

2015-05-14 Thread alok kumar

sir,
   i am getting  nam error :
Segmentation fault (core dumped)  in ns2  while i am
already  try  nam_1.15-10_i386.deb   package.But its give   again
this  above error.


thank you



Re: [ns] nam problem

2009-10-01 Thread carolina2


Hi,

I have the same problem than you when I try to run nam
$ nam out.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 if you have resolved the problem can you tell me about it.
It will be a great help for me .
Thanks in advance.



balador wrote:
 
 
 
 I have installed ns-2.33 on cygwin on xp. 
 
 while running simple example programs, I get error, 
 
 $ nam: no display name and no $DISPLAY environment variable. 
 
   
 
 I tried set it with export DSIPLAY=:0..0 
 
 it gives error   
 
 $ nam: couldn't connect to display 0.0 
 
 I also tried  startx before running programs, it gives following error, 
 
 $ 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... 
 
 can anybody figure out where the problem lies? 
 
 I am new to ns-2 as well as linux environment so please. 
 
   
 
 Thanks in anticipation. 
   
 Regards, 
 
 ali balador,
 
 
   
 
 

-- 
View this message in context: 
http://www.nabble.com/nam-problem-tp22422807p25696827.html
Sent from the ns-users mailing list archive at Nabble.com.




[ns] nam problem

2009-06-10 Thread verotiana rabarijaona

Hi,

I can't use nam on ns2. Everytime I try to use it either from the terminal or a 
tcl script the following error occur:

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...

I've tried to reinstall ns2 but the the problem remains so I don't know what to 
do
anybody can help?

Vero


  


[ns] nam problem

2009-05-06 Thread Nikheel Kumar

hello all,

whenever i m running nam it gives following message:

  Cannot connect to the existing nam instance. starting a new one

why this message every time comes.

regards,


Re: [ns] nam problem

2009-03-10 Thread lukman_hanif

Hi Ali balador,

I also have the same problem in linux fedora it happens to people who use 
fedora 9  10 you can go to this link 
http://forums.fedoraforum.org/showthread.php?t=206795
for the solution in linux fedora.sorry, it's not for cygwin windows but 
maybe you could get some info from there...

Lukman





From: ns-users-requ...@isi.edu ns-users-requ...@isi.edu
To: ns-users@ISI.EDU
Sent: Tuesday, March 10, 2009 12:00:31 AM
Subject: Ns-users Digest, Vol 63, Issue 9

Send Ns-users mailing list submissions to
ns-users@isi.edu

To subscribe or unsubscribe via the World Wide Web, visit
http://mailman.isi.edu/mailman/listinfo/ns-users
or, via email, send a message with subject or body 'help' to
ns-users-requ...@isi.edu

You can reach the person managing the list at
ns-users-ow...@isi.edu

When replying, please edit your Subject line so it is more specific
than Re: Contents of Ns-users digest...


Today's Topics:

   1. How to change node configuration when simulation is running?
  (simayeji)
   2. Mobile ip and sctp (Spyros Marinis)
   3. Re: How to assign a new address to a node (martini.spy)
   4. nam problem (ali bala)


--

Message: 1
Date: Mon, 9 Mar 2009 11:08:22 +0800 (CST)
From: simayeji simay...@163.com
Subject: [ns] How to change node configuration when simulation is
running?
To: ns-users@ISI.EDU
Message-ID:
7008073.146351236568102288.javamail.corem...@bj163app80.163.com
Content-Type: text/plain; charset=gbk

Hello everyone,
I want to change the node configuration when simulation is running. For 
example, i want to change RXthreshold of all nodes at 2.5s. How can I make it 
in my tcl script?

thanks very much.



??

--

Message: 2
Date: Mon, 9 Mar 2009 08:48:16 + (GMT)
From: Spyros Marinis spyros_...@yahoo.gr
Subject: [ns] Mobile ip and sctp
To: ns-users@ISI.EDU
Message-ID: 695883.3003...@web25507.mail.ukl.yahoo.com
Content-Type: text/plain; charset=iso-8859-7

Hello all!
Does anyone know how I can use mobile ip with sctp at transport layer, in a 
wired-cum-wireless topology with hierarchical addresses?
The standard method doesn't work in this case; should I modify something???
I would be very grateful if you could help in any way,
Spyros




  
___ 
?? Yahoo!; 
?? ?? ??  (spam); ?? Yahoo! Mail 
 ???  ?? ?  ??? ??? 
? http://login.yahoo.com/config/mail?.intl=gr 


--

Message: 3
Date: Mon, 9 Mar 2009 02:37:01 -0700 (PDT)
From: martini.spy spyros_...@yahoo.gr
Subject: Re: [ns] How to assign a new address to a node
To: ns-users@ISI.EDU
Message-ID: 22409732.p...@talk.nabble.com
Content-Type: text/plain; charset=UTF-8


nobody knows :(


martini.spy wrote:
 
 
 Hi all!
 I have a mobile node that has been defined with a certain hierarchical
 address and bound to the appropriate base station, like this:
 
 set if_1 [$ns_ node 1.0.1] ??? ?? ??? 
 $if_1 base-station [AddrParams addr2id [$BS_umts node-addr]] 
 
 How can I change this afterwards and assign to the same node a new
 hierarchical address that corresponds with another base station, with
 which it should communicate so on? What must I modify in the c++ code?
 
 (I have tried -MobileIP ON option, with no result. After all, I am using
 sctp and I don't know if that's applicable.)
 
 Please let me know if anybody knows something about it. Any help will be
 highly appreciated. Thanks in advance.
 Spyros
 
 
 
  
 ___ 
 ?? Yahoo!; 
 ?? ?? ??  (spam); ?? Yahoo! Mail 
  ???  ?? ?  ??? ??? 
 ? http://login.yahoo.com/config/mail?.intl=gr 
 
 

-- 
View this message in context: 
http://www.nabble.com/How-to-assign-a-new-address-to-a-node-tp22376659p22409732.html
Sent from the ns-users mailing list archive at Nabble.com.




--

Message: 4
Date: Mon, 9 Mar 2009 14:28:01 -0700 (PDT)
From: ali bala mrbala...@yahoo.com
Subject: [ns] nam problem
To: ns-users@ISI.EDU
Message-ID: 423217.60603...@web45112.mail.sp1.yahoo.com
Content-Type: text/plain; charset=iso-8859-1


I have installed ns-2.33 on cygwin on xp. 

while running simple example programs, I get error, 

$ nam: no display name and no $DISPLAY environment variable. 

? 

I tried set it with export DSIPLAY=:0..0 

it gives error ? 

$ nam: couldn't connect to display 0.0 

I also tried ?startx before running programs, it gives following error, 

$ 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

[ns] nam problem

2009-03-09 Thread ali bala


I have installed ns-2.33 on cygwin on xp. 

while running simple example programs, I get error, 

$ nam: no display name and no $DISPLAY environment variable. 

  

I tried set it with export DSIPLAY=:0..0 

it gives error   

$ nam: couldn't connect to display 0.0 

I also tried  startx before running programs, it gives following error, 

$ 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... 

can anybody figure out where the problem lies? 

I am new to ns-2 as well as linux environment so please. 

  

Thanks in anticipation. 
  
Regards, 

ali balador,


  


Re: [ns] NAM problem II

2009-02-15 Thread Dalton Cézane

I had the same error a few weeks ago, with the ns-2.27 installation.
I guess I solved the problem with some update... I don't remember which, but
something like gcc or any lib... Look if your files are all updated (the
files needed to ns compilation). Search in the previously posts at list...

I hope it can help you!


 --

 Message: 5
 Date: Sun, 15 Feb 2009 18:00:59 +1930
 From: Jose Rodriguez johei...@gmail.com
 Subject: [ns] NAM problem II
 To: ns-users@ISI.EDU
 Message-ID:
d9c1e2020902141430i75d7547ex7ceefeb253b33...@mail.gmail.com
 Content-Type: text/plain; charset=ISO-8859-1

 Hello everyone!

 I wrote before about a problem that im having with NAM.

 Looking up some of the info showed by ns-allinone-2.33 at the end of the
 installion i found this

 .
 .
 .
 *make[2]: se sale del directorio
 `/home/jose/Escritorio/ns-allinone-2.33/dei80211mr-1.1.4'
 make[1]: se sale del directorio
 `/home/jose/Escritorio/ns-allinone-2.33/dei80211mr-1.1.4'
 Please compile your nam separately.

 Ns-allinone package has been installed successfully.
 Here are the installation places:
 tcl8.4.18:/home/jose/Escritorio/ns-allinone-2.33/{bin,include,lib}
 tk8.4.18:/home/jose/Escritorio/ns-allinone-2.33/{bin,include,lib}
 .*
 .
 .

 I have to compile NAM separately. Im following the instruction of the READ
 ME file in /nam-1.13. I have type ./configure first but when i use this
 command i get the following

 .
 .
 .
 *No explicit static compilation flag; setting V_STATIC to 
 checking for dlopen in -ldl... yes
 checking for a BSD-compatible install... /usr/bin/install -c
 configure: creating ./config.status
 config.status: creating Makefile
 config.status: creating autoconf.h
 config.status: autoconf.h is unchanged**
 .*
 .
 .

 Does anyone knows what that means?? What should i do??

 Thanxs again! I wish u all a happy valentines day!


 --
 A day without sunshine is like, you know...night.


 --

 ___
 Ns-users mailing list
 Ns-users@isi.edu
 http://mailman.isi.edu/mailman/listinfo/ns-users


 End of Ns-users Digest, Vol 62, Issue 14
 




-- 
===
Dalton Cézane - Voip UFCG: 1075-2005
Mestrando em Ciência da Computação
Bacharel em Ciência da Computação
Universidade Federal de Campina Grande - UFCG


[ns] NAM problem

2009-02-14 Thread Jose Rodriguez

Hello everyone,

Im new on ns-2 and i have the following issue:

I downloaded ns-allione-2.33 and installed it (im using Ubuntu 8.04 by the
way). I did the changes to my PATH and LD_LIBRARY_PATH that at the end of
the installation process tells me to do. Im trying to run a simple scripy
and i get the following error

ns: finish: couldn't execute nam: no such file or directory
while executing
exec nam out.nam 
(procedure finish line 5)
invoked from within
finish

I looked on this problem online and everyones says that it could be a PATH
issue. I included the location to nam-1.13 to my PATH but it didnt work. I
dont know if this part of the problem but in /ns-allinone-2.33/ns-2.33/nam
is empty. Also in /ns-allinone-2.33/nam-1.13 there isnt a nam directory,
just nam1, nam.h, etc but no an exec file. I dont think Nam was installed
correctly.

What should i Do..?? Can i install just nam or should i install everything
again...?? How do i install nam alone and then mixing it with what i
alredeay have???

Thanxs in advance! Hope eveyone has a great day!
-- 
A day without sunshine is like, you know...night.


[ns] NAM problem II

2009-02-14 Thread Jose Rodriguez

Hello everyone!

I wrote before about a problem that im having with NAM.

Looking up some of the info showed by ns-allinone-2.33 at the end of the
installion i found this

.
.
.
*make[2]: se sale del directorio
`/home/jose/Escritorio/ns-allinone-2.33/dei80211mr-1.1.4'
make[1]: se sale del directorio
`/home/jose/Escritorio/ns-allinone-2.33/dei80211mr-1.1.4'
Please compile your nam separately.

Ns-allinone package has been installed successfully.
Here are the installation places:
tcl8.4.18:/home/jose/Escritorio/ns-allinone-2.33/{bin,include,lib}
tk8.4.18:/home/jose/Escritorio/ns-allinone-2.33/{bin,include,lib}
.*
.
.

I have to compile NAM separately. Im following the instruction of the READ
ME file in /nam-1.13. I have type ./configure first but when i use this
command i get the following

.
.
.
*No explicit static compilation flag; setting V_STATIC to 
checking for dlopen in -ldl... yes
checking for a BSD-compatible install... /usr/bin/install -c
configure: creating ./config.status
config.status: creating Makefile
config.status: creating autoconf.h
config.status: autoconf.h is unchanged**
.*
.
.

Does anyone knows what that means?? What should i do??

Thanxs again! I wish u all a happy valentines day!


-- 
A day without sunshine is like, you know...night.


[ns] nam problem

2007-08-01 Thread JEHD MAHDI


hi there this a problem i get when i run
 
ns simple.tcl
 
 
running nam...ns: finish: couldn't execute 'nam': no such file or directory
while executing'exec nam out.nam '(procedure 'finish' line 8)invoked 
from within'finish'
 
i did all paths like this:
 
 setenv PATH /usr/local/ns2/ns-allinone-2.29/binsetenv TCL_LIBRARY 
/usr/local/ns2/tcl8.4.11/librarysetenv TK_LIBRARY 
/usr/local/ns2/tk8.4.11/library
 
but still get it!!! any help plzz :-(
 
 


J Mahdi
Newcastle Upon Tyne
**
My favourite sites:
www.al-islam.com
www.islamspirit.com 
www.troid.org 
 
_
Celeb spotting – Play CelebMashup and win cool prizes
https://www.celebmashup.com/index2.html


[ns] nam problem

2007-08-01 Thread JEHD MAHDI


hi there this a problem i get when i run
 
ns simple.tcl
 
 
running nam...ns: finish: couldn't execute 'nam': no such file or directory
while executing'exec nam out.nam '(procedure 'finish' line 8)invoked 
from within'finish'
 
i did all paths like this:
 
 setenv PATH /usr/local/ns2/ns-allinone-2.29/binsetenv TCL_LIBRARY 
/usr/local/ns2/tcl8.4.11/librarysetenv TK_LIBRARY 
/usr/local/ns2/tk8.4.11/library
 
but still get it!!! any help plzz :-(
 
 


J Mahdi
Newcastle Upon Tyne
**
My favourite sites:
www.al-islam.com
www.islamspirit.com 
www.troid.org 
 
_
Feel like a local wherever you go with BackOfMyHand.com
http://www.backofmyhand.com


Re: [ns] nam problem

2007-08-01 Thread JEHD MAHDI


doesn't work


J Mahdi
Newcastle Upon Tyne
**
My favourite sites:
www.al-islam.com
www.islamspirit.com 
www.troid.org 
 


Date: Wed, 1 Aug 2007 09:09:50 -0700From: [EMAIL PROTECTED]: Re: [ns] nam 
problemTo: [EMAIL PROTECTED]: ns-users@isi.edu
Hi ns-user,
I think you should remove or delete or disable the following statment: # exec 
nam trace2.nam 
 
like my proc I used:
 
proc stop {} {global ns_ tracefd namtrace throughFile$ns_ flush-trace   
 close $tracefdclose $namtraceclose $throughFile   # exec nam 
trace2.nam exit 0}
 
Mohammed AbuHajarJEHD MAHDI [EMAIL PROTECTED] wrote:
hi there this a problem i get when i runns simple.tclrunning nam...ns: finish: 
couldn't execute 'nam': no such file or directory while executing'exec nam 
out.nam ' (procedure 'finish' line 8) invoked from within'finish'i did all 
paths like this:setenv PATH '/usr/local/ns2/ns-allinone-2.29/bin'setenv 
TCL_LIBRARY '/usr/local/ns2/tcl8.4.11/library'setenv TK_LIBRARY 
'/usr/local/ns2/tk8.4.11/library'but still get it!!! any help plzz :-(J 
MahdiNewcastle Upon Tyne**My favourite 
sites:www.al-islam.comwww.islamspirit.com www.troid.org 
_Feel like a 
local wherever you go with BackOfMyHand.comhttp://www.backofmyhand.com


Moody friends. Drama queens. Your life? Nope! - their life, your story.Play 
Sims Stories at Yahoo! Games. 
_
100’s of Music vouchers to be won with MSN Music
https://www.musicmashup.co.uk/index.html


[ns] NAM problem in Cygwin

2007-02-15 Thread Shaili Desai

Hello all

In one of the cygwin environments with NS2, following is the error even
after setting path environments correctly.nam executable does exist but for
the display it gives the following error:

[EMAIL PROTECTED] nam-1.11]$ ./nam
nam: no display name and no $DISPLAY environment variable
[EMAIL PROTECTED] nam-1.11]$

Looks like DISPLAY environment in cygwin is not set properly. SO, the
following was tried:

export DISPLAY=:0.0
nam: couldn't connect to display :0.0

Even t hen it shows the above error. Any suggestions/help on this would be
appreciated.


-- 
Thanx
Shaili Desai
Master's Candidate
Telecommunications and Management
University of Maryland,College Park,USA


[ns] nam problem

2006-12-07 Thread 冯娟娟

hi,
I installed ns-allinone-2.1b6 on redhat(kernel 2.4.20),when I have
installed,and input namin/home/user ,there is the informationconnot
connect to existing nam instance,starting a new one.what's the problem?