[ns] Regarding security in WSN

2010-02-16 Thread M.Kama raj

Hi,
 Am working in security feature in WSN... Can anyone please help me wit
algorithm for key generation using DES scheme..
   And how to integrate the algorithm implemented in C++ wit ns2..

Thanks in advance
With Regards,
Kamaraj.M


[ns] regarding errors in packet.h

2010-02-16 Thread gayathri devi

Hai everybody,
I
have included my protocol in packet.h predefined header file, but while
compiling, it produces the following errors. please suggest me some
guidelines for rectifying these errors.
g++ packet.h
In file included from config.h:24,
 from packet.h:7:
tclcl.h:6:17: error: tcl.h: No such file or directory
tclcl.h:8:18: error: otcl.h: No such file or directory
tclcl.h:11:26: error: tclcl-config.h: No such file or directory
tclcl.h:12:23: error: tracedvar.h: No such file or directory
tclcl.h:126:28: error: tclcl-mappings.h: No such file or directory
In file included from scheduler.h:4,
 from
 config.h:277,
 from packet.h:7:
config.h:1:1: error: unterminated #ifndef
In file included from 
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/backward/heap.h:58,
 from scheduler.h:88,
 from config.h:277,
 from packet.h:7:
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/backward/backward_warning.h:32:2:
warning: #warning This file includes at least one deprecated or
antiquated header. Please consider using one of the 32 headers found in
section 17.4.1.2 of the C++ standard. Examples include substituting the
 header for the  header for C++ includes, or
 instead of the deprecated header .
To disable this warning use -Wno-deprecated.
In file included from packet.h:7:
config.h:1:1: error: unterminated #ifndef
In file included from packet.h:10:
bsd-list.h:44: error: stray ‘\’ in program
bsd-list.h:44: error: stray ‘\’ in program
In file included from packet.h:10:
bsd-list.h:47:3: error: #endif without #if
In file included from packet.h:11:
packet-stamp.h:11:21: error: antenna.h: No such file or directory
In file included from ns-process.h:6,
 from packet.h:12:
config.h:1:1: error: unterminated #ifndef
tclcl.h:23: error: ‘Tcl_Interp’ has not been declared
tclcl.h:26: error: ISO C++ forbids declaration of ‘Tcl_Interp’ with no type
tclcl.h:26: error: ‘Tcl_Interp’
 declared as an ‘inline’ field
tclcl.h:26: error: expected ‘;’ before ‘*’ token
tclcl.h:51: error: expected `;' before ‘inline’
tclcl.h:55: error: ‘Tcl_CmdProc’ has not been declared
tclcl.h:56: error: ‘ClientData’ has not been declared
tclcl.h:57: error: ‘Tcl_CmdDeleteProc’ has not been declared
tclcl.h:60: error: ‘Tcl_CmdProc’ has not been declared
tclcl.h:61: error: ‘ClientData’ has not been declared
tclcl.h:62: error: ‘Tcl_CmdDeleteProc’ has not been declared
tclcl.h:111: error: ISO C++ forbids declaration of ‘TclObject’ with no type
tclcl.h:111: error: expected ‘;’ before ‘*’ token
tclcl.h:112: error: ‘TclObject’ has not been declared
tclcl.h:113: error: ‘TclObject’ has not been declared
tclcl.h:118: error: ISO C++ forbids declaration of ‘Tcl_Interp’ with no type
tclcl.h:118: error: expected ‘;’ before ‘*’ token
tclcl.h:123: error:
 ‘Tcl_HashTable’ does not name a type
tclcl.h:72: error: ‘TCL_GLOBAL_ONLY’ was not declared in this scope
tclcl.h: In member function ‘int Tcl::dark() const’:
tclcl.h:25: error: ‘tcl_’ was not declared in this scope
tclcl.h: In member function ‘char* Tcl::result() const’:
tclcl.h:51: error: ‘tcl_’ was not declared in this scope
tclcl.h: In member function ‘void Tcl::result(const char*)’:
tclcl.h:53: error: ‘tcl_’ was not declared in this scope
tclcl.h: In member function ‘void Tcl::CreateCommand(const char*, int*, int, 
int*)’:
tclcl.h:58: error: ‘tcl_’ was not declared in this scope
tclcl.h:58: error: ‘Tcl_CreateCommand’ was not declared in this scope
tclcl.h: In member function ‘void Tcl::CreateCommand(int*, int, int*)’:
tclcl.h:63: error: ‘tcl_’ was not declared in this scope
tclcl.h:63: error: ‘Tcl_CreateCommand’ was not declared in this scope
tclcl.h: In
 member function ‘void Tcl::DeleteCommand(const char*)’:
tclcl.h:66: error: ‘tcl_’ was not declared in this scope
tclcl.h:66: error: ‘Tcl_DeleteCommand’ was not declared in this scope
tclcl.h: In member function ‘void Tcl::EvalFile(const char*)’:
tclcl.h:69: error: ‘tcl_’ was not declared in this scope
tclcl.h:69: error: ‘Tcl_EvalFile’ was not declared in this scope
tclcl.h:69: error: ‘TCL_OK’ was not declared in this scope
tclcl.h: In member function ‘const char* Tcl::var(const char*, int)’:
tclcl.h:73: error: ‘tcl_’ was not declared in this scope
tclcl.h:73: error: ‘Tcl_GetVar’ was not declared in this scope
tclcl.h: In member function ‘void Tcl::add_error(const char*)’:
tclcl.h:96: error: ‘interp’ was not declared in this scope
tclcl.h:96: error: ‘Tcl_AddErrorInfo’ was not declared in this scope
tclcl.h: In member function ‘const char* Tcl::rds(const char*,
 const char*) const’:
tclcl.h:107: error: ‘tcl_’ was not declared in this scope
tclcl.h:108: error: ‘TCL_GLOBAL_ONLY’ was not declared in this scope
tclcl.h:108: error: ‘Tcl_GetVar2’ was not declared in this scope
tclcl.h: At global scope:
tclcl.h:140: error: ‘TracedVar’ has not been declared
tclcl.h:142: error: ‘TracedInt’ has not been declared
tclcl.h:143: error: 

[ns] How to come up with this issue of mac access

2010-02-16 Thread Atif Sharif

Hi All!
I want to access the lower layer parameters using my agent (agent.cc).  I am 
using get-mac-object for returning the mac handle.

I am using this command in my test.tcl$ajd0 get_macObject [$node(0) 
get-mac-object]
 

3. I have this thing in the ns-mobilenode.tclNode/MobileNode instproc 
get-mac-object {}
{
puts "in get-mac-object"$self instvar mac_
if {$mac_(0)==""} {
puts "NO mac object is present"
} else {
return $mac_(0)
}
}
 

 

4. i have wriiten this in agent.ccif (strcasecmp(argv[1], "get_macObject")== 0)
{
Tcl& tcl = Tcl::instance();
TclObject* obj = TclObject::lookup(argv[2]);
if(obj== 0)
{
tcl.eval("puts \"A --ERROR###--- =\"");return 
(TCL_ERROR);


}
Macobj = (Mac802_11*) obj;
tcl.eval("puts \"A --#WORKING###--- 
=\"");
macfound = true;
return TCL_OK;
}
 
it compiled well but when i start simulate the test.tcl I come to this
 ns test.tcl -dist 20
ns: 
[code omitted because of length]
: wrong # args: should be {Node/MobileNode instproc name args body}
    (Class instproc line 1)
    invoked from within
"Node/MobileNode instproc get-mac-object {}"
Please suggest me where I am lagging.
Thanks
Atif



  


Re: [ns] 2 base stations handoff scenario

2010-02-16 Thread Naga Rajan

this is my code..

# ==
# Define options
# ==

set opt(chan)   Channel/WirelessChannel ;# channel type
set opt(prop)   Propagation/TwoRayGround;# radio-propagation
model
set opt(netif)  Phy/WirelessPhy ;# network interface
type
set opt(mac)Mac/802_11  ;# MAC type
set opt(ifq)Queue/DropTail/PriQueue ;# interface queue type
set opt(ll) LL  ;# link layer type
set opt(ant)Antenna/OmniAntenna ;# antenna model
set opt(ifqlen) 1000  ;# max packet in ifq
set opt(nn) 4  ;# number of
mobilenodes
set opt(adhocRouting)   DSDV   ;# routing protocol
set opt(threshold) 1.41828e-9;# the distance of coverage 75m
set opt(x)  100  ;# x coordinate of
topology
set opt(y)  100  ;# y coordinate of
topology
set opt(stop)   10;# time to stop
simulation
set num_wired_nodes 4
set num_bs_nodes2  ;# this is not really used here.
set size500
# ==

set basic 1.0e6
set data2.0e6


# create simulator instance

set ns_   [new Simulator]

# set up for hierarchical routing
$ns_ node-config -addressType hierarchical

AddrParams set domain_num_ 3   ;# number of domains
lappend cluster_num 1 1 1 ;# number of clusters in each domain
AddrParams set cluster_num_ $cluster_num
lappend eilastlevel 7 3 3;# number of nodes in each cluster
AddrParams set nodes_num_ $eilastlevel ;# of each domain

set tracefd  [open out.tr w]
set namtrace [open out.nam w]
$ns_ trace-all $tracefd
$ns_ namtrace-all-wireless $namtrace $opt(x) $opt(y)

set f1 [open s1 a]
set f2 [open s2 a]
set f3 [open s3 a]
set f4 [open s4 a]


# Create topography object
set topo   [new Topography]

# define topology
$topo load_flatgrid $opt(x) $opt(y)

# create God
create-god $opt(nn)

#create wired nodes

set W1 [$ns_ node 0.0.0]
set W2 [$ns_ node 0.0.1]
set W3 [$ns_ node 0.0.2]
set W4 [$ns_ node 0.0.3]
set W5 [$ns_ node 0.0.4]
#set W6 [$ns_ node 0.0.5]
#set W7 [$ns_ node 0.0.6]
set W8 [$ns_ node 0.0.5]
set W9 [$ns_ node 0.0.6]

# Configure for Basestation Node
$ns_ node-config -adhocRouting $opt(adhocRouting) \
 -llType $opt(ll) \
 -macType $opt(mac) \
 -ifqType $opt(ifq) \
 -ifqLen $opt(ifqlen) \
 -antType $opt(ant) \
 -propType $opt(prop) \
 -phyType $opt(netif) \
 -channelType $opt(chan) \
 -topoInstance $topo \
 -wiredRouting ON \
 -agentTrace ON \
 -routerTrace ON \
 -macTrace OFF

Phy/WirelessPhy set RXThresh_ $opt(threshold)

# Position (fixed) for base-station nodes (HA & FA).

set BS1 [$ns_ node 1.0.0]
set BS2 [$ns_ node 2.0.0]



# create a mobilenode that would be moving between HA and FA.
# note address of MH indicates its in the same domain as HA.
$ns_ node-config -wiredRouting OFF

set R1 [$ns_ node 1.0.2]
set R2 [$ns_ node 1.0.3]
set R3 [$ns_ node 2.0.2]
set R4 [$ns_ node 2.0.3]


$R1 base-station [AddrParams addr2id [$BS1 node-addr]]
$R2 base-station [AddrParams addr2id [$BS1 node-addr]]
$R3 base-station [AddrParams addr2id [$BS2 node-addr]]
$R4 base-station [AddrParams addr2id [$BS2 node-addr]]

# position of the nodes
$R1 set X_ 120.
$R1 set Y_ 80.
$R1 set Z_ 0.

$R2 set X_ 160.
$R2 set Y_ 40.
$R2 set Z_ 0.

$R3 set X_ 160.
$R3 set Y_ 0.
$R3 set Z_ 0.

$R4 set X_ 160.
$R4 set Y_ -40.
$R4 set Z_ 0.

$ns_ at 2.0 "$R1 setdest 90.0 20.0 20.0"
$ns_ at 2.0 "$R3 setdest 90.0 82.0 20.0"

# create links between wired and BaseStation nodes
$ns_ duplex-link $W1 $W3 2Mb 20ms DropTail
$ns_ duplex-link $W2 $W4 2Mb 20ms DropTail
$ns_ duplex-link $W8 $W3 2Mb 20ms DropTail
$ns_ duplex-link $W9 $W4 2Mb 20ms DropTail

$ns_ duplex-link $W3 $W5 5Mb 20ms DropTail
$ns_ duplex-link $W4 $W5 5Mb 20ms DropTail
#$ns_ duplex-link $W5 $W6 10Mb 20ms DropTail
#$ns_ duplex-link $W5 $W7 10Mb 20ms DropTail
$ns_ duplex-link $W5 $BS1 5Mb 20ms DropTail
$ns_ duplex-link $W5 $BS2 5Mb 20ms DropTail

# set the layout of links in NAM
$ns_ duplex-link-op $W1 $W3 orient right
$ns_ duplex-link-op $W8 $W3 orient right-down

$ns_ duplex-link-op $W2 $W4 orient right-up
$ns_ duplex-link-op $W9 $W4 orient right

$ns_ duplex-link-op $W3 $W5 orient right-down
$ns_ duplex-link-op $W4 $W5 orient right-up

#$ns_ duplex-link-op $W5 $W6 orient right-up

[ns] regarding wireless scenario

2010-02-16 Thread gayathri devi

Hai Everybody,
Can anyone help me or provide some snapshots of routing in an wirless scenario. 
how the output will look like for wireless scenario. 



  The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. 
http://in.yahoo.com/


[ns] cfp IWTMP2PS2010, CHENNAI, INDIA - FLYER

2010-02-16 Thread SABU M. THAMPI

 
---
*** Our apologies if you receive multiple copies of this CFP ***
---

FIRST INTERNATIONAL WORKSHOP ON TRUST MANAGEMENT IN P2P SYSTEMS(IWTMP2PS 2010)

Co-located with 

THIRD INTERNATIONAL CONFERENCE ON NETWORK SECURITY & APPLICATIONS (CNSA-2010)

JULY 23 ~ 25, 2010, CHENNAI, INDIA

VENUE: THE PARK HOTELS

http://coneco2009.com/IWTMP2PS2010/


CALL FOR PAPERS


Distributed systems involve numerous entities, many of which haven't previously 
interacted. A flexible and general-purpose trust management system can maintain 
current and consistent trustworthiness information for the different entities 
in a distributed system. P2P computing has emerged as a new distributed 
computing paradigm of sharing resources available on the Internet. The open and 
anonymous nature of peer-to-peer (P2P) network makes it an ideal medium for 
attackers to spread malicious content. The objective of IWTMP2PS is to 
establish a state of the art for security and trust in P2P systems, and to 
provide a forum for exchange of ideas between P2P researchers working on trust 
and security issues. 

High-quality papers in all trust and security related areas that at the time of 
submission are not under review or have not already been published or accepted 
for publication elsewhere are solicited. Authors are invited to submit papers 
through CMT: Microsoft Academic Conference Management Service at Track: 
IWTMP2PS 2010 by April 4, 2010. The proceedings of the conference will be 
published by Springer (LNCS) in Communications in Computer and Information 
Science (CCIS) Series.


Topics of interest include, but are not limited to:
---

Adaptive Security Policy Management
Agent-Based Trust Management
Analysis of Security and Privacy Issues in Grids
Anonymity and Privacy vs. Accountability
Applications of Trust and Reputation Management in E-Services
Audit and Accountability in Grid Systems
Authentication and Identity Management
Authorization in Trust Management
Data Management in Mobile P2P Systems
Decentralized Trust Management
Digital Rights Management
Fault Tolerance in P2P Systems
Free-Riding Prevention Methods
Grid Security Architectures
Legal Issues Related To the Management of Trust
Novel Techniques for Access Control
P2P Resource Management
P2P Services and Cloud Computing
Peer Access and Control in Mobile P2P Systems
P2P Economics
Personalized Reputation Management
Privacy and Identity Management
Quality of Service and Quality of Experience in P2P Systems
Real Time Distributed Trust Management
Reputation-Based Trust Management
Security in Data and Computational Grids
Self-organization vs. Security and Trust
Semantic Web and Trust Management
Simulation of Trust and Reputation Systems
Social Networks and Trust Management
Solutions for Free Riding and Partial Coverage in P2P
Statistical Models for Trust
Trust Management in Collaborative Global Computing
Trust Management Paradigms and Emerging Architectures for Virtual Organizations
Trust Models, Formalization, Specification, Analysis and Reasoning

Manuscript Submission
--

Submit a full paper (LNCS format: 15 Pages including figures and references) 
through CMT: Microsoft Academic Conference Management Service at 
https://cmt.research.microsoft.com/TMP2PS2010/. Accepted papers will be given 
guidelines in preparing and submitting the final manuscript(s) together with 
the notification of acceptance. All accepted papers will be included in the 
conference proceedings published by Springer (LNCS). 

Authors of selected outstanding papers will be invited to submit extended 
versions of their papers for consideration of publication in the following 
Journals: 

* International journal of Network Security & Its Applications (IJNSA)
* International Journal of Computer Science & Applications (IJCSA)
* International journal of Computer Networks & Communications (IJCNC)
* International Journal of Wireless & Mobile Networks (IJWMN)
* International journal of computer science & information Technology (IJCSIT)

At least one author of accepted paper is required to register at the full 
registration rate.


IMPORTANT DATES
---

Paper Submission Deadline: April 4, 2010
Paper Status Notification: April 20, 2010
Camera-ready Due: May 3, 2010
Conference: July 23 ~ 25, 2010


Technical Program Committee


General Chairs 

Antonio Coronato,Institute for High Performance Computing and Networking, 
Italy
K.Chandra Sekaran, Indian Institute of Technology Madras, India
Sajid Hussain, Fisk University, USA


Program Chairs

Jiankun Hu, RMIT University, Australia
Sabu M. Thampi, Rajagiri School of Engineering and Technology, Kerala, India
 

Re: [ns] Help Required Regarding NS2 version!

2010-02-16 Thread Sidney Doria

Aqeel,

any version of NS you choose for your purposes, I suggest you to use It in
a Virtualbox with Ubuntu [8.04 - 9.04].
This is the most compatible NS-2 set you ever use in Windows.

Cygwin is an option, but:

- I can tell you that NS runs slower in Cygwin than in a
Virtualbox Linux VM. You may measure that counting time of a simple
"validate" in both platforms.

- While the newest NS-2.35 isn't released, you must use a previous NS
in Cygwin 1.5 (legacy-setup) to a successful compilation, but this
release of Cygwin
isn't compatible with Windows 7. The newest Cygwin 1.7.1 is fully
compatible with Windows 7, but isn't compatible with NS-2.34 and below.
So, the main solution will be the NS-2.35. For now, to circumvent the
problems, those that use
Windows 7 must install Cygwin 1.5 in compatible mode (win95). After
this "special" install, recreate the Cygwin bash icon in start menu.

Sidney Doria
UFCG / BRAZIL


2010/2/16 Muhammad Aqeel :
>
> Hi,
>    I am going to do Mobility management in WiFi, WiMax and UMTS. I am going
> to use 802.21 for mobility management.
> I want to know which version of NS2.XX is more suitable for 802.21 and which
> also supports WiFi, WiMax and UMTS. I tried to find out comparisons but
> could not find enough information.
> I am using Windows 7 operating system.
>
> Please guide me regarding the best suitable version of NS2 for 802.21 based
> mobility management.
>
> Regards
>



-- 
Sidney Doria
Redes ad hoc móveis
Doutorado em Computação
UFCG
Brasil

"Nessa jornada, o conhecimento será o seu escudo..."
(Mestre dos Magos no episódio do grimoire de ouro)



[ns] Help Required Regarding NS2 version!

2010-02-16 Thread Muhammad Aqeel

Hi,
I am going to do Mobility management in WiFi, WiMax and UMTS. I am going
to use 802.21 for mobility management.
I want to know which version of NS2.XX is more suitable for 802.21 and which
also supports WiFi, WiMax and UMTS. I tried to find out comparisons but
could not find enough information.
I am using Windows 7 operating system.

Please guide me regarding the best suitable version of NS2 for 802.21 based
mobility management.

Regards


[ns] Multimedia Packet

2010-02-16 Thread Shyam Sundar

Hi,
I am new to ns2. I am using ns-allinone-2.34. I need to send multimedia
streaming through wireless nodes. Does anyone know how to send a multimedia
files/packets through wireless networks? Please reply me soon.

With Regards
S.Shyam Sundar


[ns] Simulate Load Balancing and DNS redirect

2010-02-16 Thread Luiz Carlos Rodrigues Chaves

Hello everyone,

How do I simulate load balancing and DNS redirect  in ns on usual wired
network? May be in the ns-2 and ns-3.

Regards,

Luiz Carlos.

-


[ns] installating mannasim-2.29 under ns-2.34, possible?

2010-02-16 Thread Souha Rayana

Hello,

I wonder if it is possible to install mannasim-2.29 under ns-2.34? In other
terms, does the mannasim  version's number imply that the use of ns-2.29 is
necessary.

Thanks


Re: [ns] Help configuring simple AODV routing example

2010-02-16 Thread 許 涛

Hi, Bello

I am learning that tutorial now.
I typed the code, and it run well.
If you insert "$ns node-config -adhocRouting AODV"
after
"for {set i 0} {$i < 12} {incr i} {
   set n($i) [$ns node]
}"

Variable declaration is not needed in Tcl.

Good luck.

On Wed, Feb 17, 2010 at 12:29 AM, Ariel Bello  wrote:

>
>
> I am a new user to ns-2 and have read through just about every tutorial
> I could find.  I used the example3.tcl script from Marc Greis' tutorial
> (ring architecture that illustrates the use the of the dynamic routing
> by using $ns rtproto DV command).  This file works fine on its own,
> however when I add the line "$ns node-config -adhocRouting AODV" right
> before I enter the for loop for instantiating the nodes, I get the
> following error:
>
> can't read "chan": no such variable
>while executing
> "$node
> add-interface $chan $propInstance_ $llType_ $macType_  $ifqType_
> $ifqlen_ $phyType_ $antType_ $topoInstance_  $inerrProc_ $outerrProc_
> $FECProc_"
>(procedure "_o3" line 77)
>(Simulator create-wireless-node line 77)
>invoked from within
> "_o3 create-wireless-node"
>("eval" body line 1)
>invoked from within
> "eval $self create-wireless-node $args"
>(procedure "_o3" line 23)
>(Simulator node line 23)
>invoked from within
> "$ns node"
>("for" body line 2)
>invoked from within
> "for {set i 0} {$i < 12} {incr i} {
>set n($i) [$ns node]
> }"
>
> I am assuming that ns wants me to instantiate/declare all of the variables
> listed after "$node add-interface ..." however I do not know how.  I looked
> at the NS-2 AODV tutorial which was sent over the mailing list a couple
> weeks ago, however the example in that tutorial fails to compile as well.
>  If I am leaving anything out, please do not hesitate to ask.
>
> Thanks in advance for any help.
>
> Ariel Bello
>
> _
> Hotmail: Free, trusted and rich email service.
> http://clk.atdmt.com/GBL/go/201469228/direct/01/
>


Re: [ns] running configuration..Installation of tclcl seems incomplete or can't be found automatically.

2010-02-16 Thread Souha Rayana

Thank you very much,

I have already installed ns-2.34. It was easier. But , the wireless sensor
networks module is named mannasim-2.29. I was told that it works only with
ns-2.29. But I am still not sure about the information.

I am waiting confirmation because installation of mannasim on ns-2.34 didn't
work. I want to know if it is a matter of compatibility or a technical
mistake.

Thanks

---

Regards,
Suha

2010/2/16 Hari Prabhat Gupta 

>
> hi,
> use ns2.33 in place of ns2.2X.
>
> hariprabhat
> iit guwahati
> On Mon, 15 Feb 2010 18:06:56 +0530 wrote
> >
>
> Hello,
>
> I tried to install ns2.29. when I enter "ns" command, % is displayed, so it
>
> is ok.
>
> then, I tried to add the mannasim framework (for sensor networks) by
>
> modifiying some files in the ns main folder.
>
> while re-running configuration script, the above message is displayed.
>
>
>
> Your answers would be very helful for me!
>
>
>
>
> --
>
> Regards,
>
> Suha
>
>
>
>
>
>
>
>
>
> checking if C++ libraries work with namespace std... yes
>
> checking if STL works without any namespace... no
>
> checking if STL works with namespace std... yes
>
> checking should use STL... yes
>
> checking for tcl.h... -I../include
>
> checking for libtcl8.4... -L../lib -ltcl8.4
>
> checking for init.tcl... ../lib/tcl8.4
>
> checking for tclsh8.4.11... no
>
> checking for tclsh8.4... ../bin/tclsh8.4
>
> checking for tk.h... -I../include
>
> checking for libtk8.4... -L../lib -ltk8.4
>
> checking for tk.tcl... ../lib/tk8.4
>
> checking for otcl.h... -I../otcl-1.11
>
> checking for libotcl1.11... -L../otcl-1.11 -lotcl
>
> checking for tclcl.h... -I../tclcl-1.17
>
> checking for libtclcl... no
>
> checking for tcl2c++... ../tclcl-1.17
>
> configure: error: Installation of tclcl seems incomplete or can't be found
>
> automatically.
>
> Please correct the problem by telling configure where tclcl is
>
> using the argument --with-tclcl=/path/to/package
>
> (perhaps after installing it),
>
> or the package is not required, disable it with --with-tclcl=no.
>
> [r...@localhost ns-2.29]#
>
>
>
> 


[ns] Help configuring simple AODV routing example

2010-02-16 Thread Ariel Bello


I am a new user to ns-2 and have read through just about every tutorial
I could find.  I used the example3.tcl script from Marc Greis' tutorial
(ring architecture that illustrates the use the of the dynamic routing
by using $ns rtproto DV command).  This file works fine on its own,
however when I add the line "$ns node-config -adhocRouting AODV" right
before I enter the for loop for instantiating the nodes, I get the
following error:

can't read "chan": no such variable
while executing
"$node
add-interface $chan $propInstance_ $llType_ $macType_  $ifqType_
$ifqlen_ $phyType_ $antType_ $topoInstance_  $inerrProc_ $outerrProc_
$FECProc_"
(procedure "_o3" line 77)
(Simulator create-wireless-node line 77)
invoked from within
"_o3 create-wireless-node"
("eval" body line 1)
invoked from within
"eval $self create-wireless-node $args"
(procedure "_o3" line 23)
(Simulator node line 23)
invoked from within
"$ns node"
("for" body line 2)
invoked from within
"for {set i 0} {$i < 12} {incr i} {
set n($i) [$ns node]
}"

I am assuming that ns wants me to instantiate/declare all of the variables 
listed after "$node add-interface ..." however I do not know how.  I looked at 
the NS-2 AODV tutorial which was sent over the mailing list a couple weeks ago, 
however the example in that tutorial fails to compile as well.  If I am leaving 
anything out, please do not hesitate to ask.

Thanks in advance for any help.

Ariel Bello
  
_
Hotmail: Free, trusted and rich email service.
http://clk.atdmt.com/GBL/go/201469228/direct/01/


[ns] Urgent - Paper needed

2010-02-16 Thread Rishi Kumar

Does anyone have a copy of "On route Lifetime in MultiHop Mobile Ad-hoc
networks", by Tseng Y, Li Y.  and Chang Y.

Please send me a copy asap.
Thanks in advance !


[ns] MAC-802.11 IFQ

2010-02-16 Thread sireesha madabhushi

Are the MAC packets meant to go into the interface queue? Yes, they can is
what I gathered from the documentation of NS2. But the codes in priority
queue are not able to detect that the obtained packet is a MAC packet. I
have tried with CMUPriQueue and PriQueue as well but encountered the same
problem in both the cases. Please help me in this regard.


[ns] tcp connection

2010-02-16 Thread siavash-sh


Hi all

I am new to NS2.
May anyone send to me a program example that creates connection  between two
nodes with FULLTCP by 3 way handshaking (SYN, SYN+ACK, ACK).  

Best regards,
Siavash
-- 
View this message in context: 
http://old.nabble.com/tcp-connection-tp27582299p27582299.html
Sent from the ns-users mailing list archive at Nabble.com.