[ns] gdb debuger

2007-09-13 Thread Elahe Alipour

hi all
  I am trying to debug a program, but when I enter any command I get
  
 No symbol table is loaded.  Use the file command.'

  Could someone help ?
regards,
  elahe

   
-
 Check out  the hottest 2008 models today at Yahoo! Autos.


[ns] Fwd: need help for VoIP over GPRS

2007-09-13 Thread arief wibowo

Note: forwarded message attached.



  

Fussy? Opinionated? Impossible to please? Perfect.  Join Yahoo!'s user panel 
and lay it on us. http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 


[ns] problem when installing ns2

2007-09-13 Thread Bin Zhang

hi dear experts,

I am just installing ns-allinone-2.32 package  in kubuntu, following the 
installing instruction, which is decribed in  
http://nsnam.isi.edu/nsnam/index.php/Installing_ns2.31_on_Ubuntu7.04.

The installing process of the package is successful. But in the next 
step, the changing of my environment variance in bashrc file cannot be 
recognized by my system.

Following is the content of the bashrc file:

# This line was appended by KDE
# Make sure our customised gtkrc file is loaded.
export GTK2_RC_FILES=$HOME/.gtkrc-2.0

# LD_LIBRARY_PATH
OTCL_LIB=/data/bzhang/work/ns-allinone-2.31/otcl-1.13
NS2_LIB=/data/bzhang/work/ns-allinone-2.31/lib
X11_LIB=/usr/X11R6/lib
USR_LOCAL_LIB=/usr/local/lib
export 
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OTCL_LIB:$NS2_LIB:$X11_LIB:$USR_LOCAL_LIB

# TCL_LIBRARY
TCL_LIB=/data/bzhang/work/ns-allinone-2.31/tcl8.4.14/library
USR_LIB=/usr/lib
export TCL_LIBRARY=$TCL_LIB:$USR_LIB

# PATH
XGRAPH=/your/path/ns-allinone-2.31/bin:/data/bzhang/work/ns-allinone-2.31/tcl8.4.14/unix:/data/bzhang/work/ns-allinone-2.31/tk8.4.14/unix
NS=/data/bzhang/work/ns-allinone-2.31/ns-2.31/
NAM=/data/bzhang/work/ns-allinone-2.31/nam-1.13/
PATH=$PATH:$XGRAPH:$NS:$NAM

when I tried to source this file by $ source ~/.bashrc, I got such 
error message from the shell:

[EMAIL PROTECTED]:bzhang/work/ns-allinone-2.32] 109) source ~/.bashrc
export: Command not found.
OTCL_LIB=/data/bzhang/work/ns-allinone-2.31/otcl-1.13: Command not found.
NS2_LIB=/data/bzhang/work/ns-allinone-2.31/lib: Command not found.
X11_LIB=/usr/X11R6/lib: Command not found.
USR_LOCAL_LIB=/usr/local/lib: Command not found.
Bad : modifier in $ ($).

can anyone help me to fix this problem.

Thanks a lot.

B. Zhang





Re: [ns] problem when installing ns2

2007-09-13 Thread Bin Zhang

hi dear experts,

I've found the cause of my problem. It is just a stupid error. I was 
using Yakuake Terminal Program, which supports only tsh. I have only 
recognized it now and changed to bash to execute source ~/.bashrc. 
Besides, I have also forgotten to change the name of the path in bashrc 
file, according to ns-allinone-2.32.

Now there is no problem any more.

B. Zhang


Bin Zhang wrote:
 hi dear experts,

 I am just installing ns-allinone-2.32 package  in kubuntu, following the 
 installing instruction, which is decribed in  
 http://nsnam.isi.edu/nsnam/index.php/Installing_ns2.31_on_Ubuntu7.04.

 The installing process of the package is successful. But in the next 
 step, the changing of my environment variance in bashrc file cannot be 
 recognized by my system.

 Following is the content of the bashrc file:

 # This line was appended by KDE
 # Make sure our customised gtkrc file is loaded.
 export GTK2_RC_FILES=$HOME/.gtkrc-2.0

 # LD_LIBRARY_PATH
 OTCL_LIB=/data/bzhang/work/ns-allinone-2.31/otcl-1.13
 NS2_LIB=/data/bzhang/work/ns-allinone-2.31/lib
 X11_LIB=/usr/X11R6/lib
 USR_LOCAL_LIB=/usr/local/lib
 export 
 LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OTCL_LIB:$NS2_LIB:$X11_LIB:$USR_LOCAL_LIB

 # TCL_LIBRARY
 TCL_LIB=/data/bzhang/work/ns-allinone-2.31/tcl8.4.14/library
 USR_LIB=/usr/lib
 export TCL_LIBRARY=$TCL_LIB:$USR_LIB

 # PATH
 XGRAPH=/your/path/ns-allinone-2.31/bin:/data/bzhang/work/ns-allinone-2.31/tcl8.4.14/unix:/data/bzhang/work/ns-allinone-2.31/tk8.4.14/unix
 NS=/data/bzhang/work/ns-allinone-2.31/ns-2.31/
 NAM=/data/bzhang/work/ns-allinone-2.31/nam-1.13/
 PATH=$PATH:$XGRAPH:$NS:$NAM

 when I tried to source this file by $ source ~/.bashrc, I got such 
 error message from the shell:

 [EMAIL PROTECTED]:bzhang/work/ns-allinone-2.32] 109) source ~/.bashrc
 export: Command not found.
 OTCL_LIB=/data/bzhang/work/ns-allinone-2.31/otcl-1.13: Command not found.
 NS2_LIB=/data/bzhang/work/ns-allinone-2.31/lib: Command not found.
 X11_LIB=/usr/X11R6/lib: Command not found.
 USR_LOCAL_LIB=/usr/local/lib: Command not found.
 Bad : modifier in $ ($).

 can anyone help me to fix this problem.

 Thanks a lot.

 B. Zhang


   



Re: [ns] How to recompile and run tcl files?

2007-09-13 Thread Teerawat Issariyakul


Say you want to include

myfile.cc

into NS2 code, you have to incorporate

myfile.o

in file Makefile

Open Makefile and look how an object file (myfile.o) can be incorporate
into the Makefile.

Finally, run make at ns2 directory, and you're done!!

Best,
Teerawat

On 9/13/2007, Kavuluri, Mallesh (IE10)
[EMAIL PROTECTED] wrote:




In SUMMARY,
what is the normal way to recompile .cc files that .tcl file
requires and run  the .tcl files? How shall we make necessary changes in
Makefile?

 I have tried make clean, make depend, ./configure, make.
Even I tried ./install in ns-allinone-2.28 folder and then tried the
above Make clean, ./configure, make clean, make depend and make
commands.
But still, I am getting the same old output. The changes that I have
made are not getting reflected in output.

 When I keep some error in .cc file, when using make, it is giving me
error.
When I correct it, make is  compiling successfully.

Any help or suggestion is greatly appreciated.

-Thanks and regards,
Mallesh




[ns] need help of DN-AN worm model

2007-09-13 Thread 김기환

Hi All

I would like to ask you some questions about NS and I hope that
somebody could have at least some partial answers. Meanwhile thank you
for your time to read this e-mail.

I'm working to test DN-AN worm simulation. but I haven't any information
about the worm model simulation.

Now, my main question is where can I get the DN-AN draft paper.
The ns Manual(September 5, 2007)
Chapter 40 Worm Model, p360 line 10

For detailed description on DN-AN model, please refer to our draft paper.

Any suggestion will be highly appreciated.


[ns] data rate of TCP traffic

2007-09-13 Thread jerry zhao

Hello,
can we set the data rate of TCP traffic, e.g telnet or ftp? I just see that
we can set the packet size. But I have not found information about how to
set the data rate.
Any advice is appreciated.
Thanks.

Best regards
Jerry


[ns] TCP segment size vs. IP packet size

2007-09-13 Thread Jasin Zujovic

Hi,

I need some help distinguishing cases when NS is thinking about TCP 
segments vs. when it's thinking about IP packets, since it seems to me 
that they're used almost interchangeably.

In particular:

1) Is packetSize_ in TPC agents the IP packet size or TCP segement size?

2) When using a command like $ns queue-limit $n0 $n1 100, is the queue 
limit expressed as the number of TCP segments or IP packets? Does the 
distinction even make sense in this case?

3) When simulating web traffic (such as in tcl/ex/web-traffic.tcl) using 
a command like $pool create-session 1 $numPage 0.2 $interPage $pageSize 
$interObj $objSize is objSize in TCP segments or IP packets? Again, is 
the distinction meaningful here?


-- 
Jasin



[ns] Installation problem with MW-Node patch for ns-2.29.3

2007-09-13 Thread Ghada Al-Mashaqbeh

Dear all,
   
  I am trying to use MW-node patch with ns-2.29.3 , when I have tried to 
install mw-node patch for ns-2.29.3 there are many Hunks failed, I have 
followed the same steps announced on your website 
(http://www.q2s.ntnu.no/~paquerea/ns.html) but it does not work, I am using 
ns-2 under windows XP SP 2 (using cygwin), what shall I do to alleviate this 
probelm since I am in an urgent need for this patch? 
   
  I must use ns-2.29.3 to support other patches which are available just for 
these version (i.e. do not support ns-2.30 version). Also, when I run 'make 
distclean' it does not work (is the problem here?).
   
  Thanx.
   
  Ghada 

   
-
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, 
photos  more. 


[ns] Power Line Communication in NS

2007-09-13 Thread Haroldo Zattar

Dear Sir 

I would like to know if it is possible to avaliate TCP over Power line 
Communication using OFDM? Somebody have scripts of it? 
Thanks very much 
Zattar 
Brazil 
-- 
WebMail Coordenaçao de Processamento de Dados / UFMT 
  http://www.ufmt.br 


--
WebMail Coordenaçao de Processamento de Dados / UFMT
   http://www.ufmt.br


-- 
Esta mensagem foi verificada pelo sistema de antivírus e
 acredita-se estar livre de perigo.



Re: [ns] TCP segment size vs. IP packet size

2007-09-13 Thread WangYaogong

1) It's the size in Bytes of the TCP payload, excluding TCP header and IP 
header. 
eg. If you set packetSize_ of the TCP Agent to be 1000, then the actual size of 
the IP datagram is 1040. You can validate this from the trace file.
 
2) I don't think it matters anything. Queue limit is measured in packets. The 
size of the packet doesn't affect anything.
3) I'm not sure about it.



 Date: Thu, 13 Sep 2007 15:15:21 +0200 From: [EMAIL PROTECTED] To: 
 ns-users@ISI.EDU Subject: [ns] TCP segment size vs. IP packet size   Hi, 
  I need some help distinguishing cases when NS is thinking about TCP  
 segments vs. when it's thinking about IP packets, since it seems to me  that 
 they're used almost interchangeably.  In particular:  1) Is packetSize_ 
 in TPC agents the IP packet size or TCP segement size?  2) When using a 
 command like $ns queue-limit $n0 $n1 100, is the queue  limit expressed as 
 the number of TCP segments or IP packets? Does the  distinction even make 
 sense in this case?  3) When simulating web traffic (such as in 
 tcl/ex/web-traffic.tcl) using  a command like $pool create-session 1 
 $numPage 0.2 $interPage $pageSize  $interObj $objSize is objSize in TCP 
 segments or IP packets? Again, is  the distinction meaningful here?   -- 
  Jasin 
_
用 Live Search 搜尽天下资讯!
http://www.live.com/?searchOnly=true