[ns] LSR routing in ns2

2012-02-08 Thread Revathi Elangovan

Can anyone help me by providing tcl script for LSR routing protocol

Thanks in advance


[ns] hello message

2012-02-08 Thread Fatma LOUATI

hi

Actually I am working on aodv by using ns2.34
Sorry for asking u a very simple question.I already study the aodv.cc and
aodv.h
But did u notice that the send hello and receive hello of this protocol is
not working?
Because i got try to add a printf statement inside send hello and receive
hello function in aodv.cc,but unfortunately nothing printed out.

The send hello and receive hello not even invoked within the whole
simualtion process in trace file.
I am not sure about this whether is source code problem or some other
problem…
can u tell me?
I am appreciating every helps from u…Thanks.

fatma


[ns] make problem

2012-02-08 Thread Fatma LOUATI

hi,
I just modify the aodv protocol on ns2.34 (ubunu 11.04)
when i try sudo make clean
it returns
make: *** Pas de règle pour fabriquer la cible « clean ». Arrêt.

can anyone help me please
fatma
PS: I have already  tried
apt-get install tcl
sudo apt-get install tcl-dev


[ns] Make clean

2012-02-08 Thread DAKE DELALI

I try to modify DSDV protocol in ns2. Bu when i type 'make clean', i get the 
following errors :

Makefile.in is newer than Makefile.
You need to re-run configure.
false
make: *** [Makefile] Error 1

Your help is most urgent

Thank you.


[ns] make clean

2012-02-08 Thread Fatma LOUATI

hi,
I just modify the aodv protocol on ns2.34 (ubunu 11.04)
when i try sudo make clean
it returns error
any help plz
fatma


[ns] 2nd cfp COGNITIVE 2012 July 22-27, 2011 - Nice, France

2012-02-08 Thread Cristina Pascual


INVITATION:

=

Please consider to contribute to and/or forward to the appropriate groups the 
following opportunity to submit and publish 
original scientific results to COGNITIVE 2012.

The submission deadline is set to March 5, 2012.

In addition, authors of selected papers will be invited to submit extended 
article versions to one of the IARIA Journals: 
http://www.iariajournals.org

=


== COGNITIVE 2012 | Call for Papers ===

CALL FOR PAPERS, TUTORIALS, PANELS

COGNITIVE 2012, The Fourth International Conference on Advanced Cognitive 
Technologies and Applications

July 22-27, 2011 - Nice, France


General page: http://www.iaria.org/conferences2012/COGNITIVE12.html

Call for Papers: http://www.iaria.org/conferences2012/CfPCOGNITIVE12.html

- regular papers

- short papers (work in progress)

- posters

Submission page: http://www.iaria.org/conferences2012/SubmitCOGNITIVE12.html

Submission deadline: March 5, 2012

Sponsored by IARIA, www.iaria.org

Extended versions of selected papers will be published in IARIA Journals: 
http://www.iariajournals.org

Please note the Poster and Work in Progress options.

The topics suggested by the conference can be discussed in term of concepts, 
state of the art, research, standards, 
implementations, running experiments, applications, and industrial case 
studies. Authors are invited to submit complete 
unpublished papers, which are not under review in any other conference or 
journal in the following, but not limited to, 
topic areas.

All tracks are open to both research and industry contributions, in terms of 
Regular papers, Posters, Work in progress, 
Technical/marketing/business presentations, Demos, Tutorials, and Panels.

Before submission, please check and comply with the Editorial rules: 
http://www.iaria.org/editorialrules.html

COGNITIVE 2012 Topics (topics and submission details: see CfP on the site)

BRAIN: Brain information processing and informatics

Cognitive and computation models; Human reasoning mechanisms; Modeling brain 
information processing mechanisms; Brain 
learning mechanisms; Human cognitive functions and their relationships; 
Modeling human multi-perception mechanisms and 
visual, auditory, and tactile information processing; Neural structures and 
neurobiological process; Cognitive 
architectures; Brain information storage, collection, and processing; Formal 
conceptual models of human brain data; 
Knowledge representation and discovery in neuroimaging; Brain-computer 
interface; Cognition-inspired complex systems

COGNITION: Artificial intelligence and cognition

Expert systems, knowledge representation and reasoning; Reasoning techniques, 
constraint satisfaction and machine 
learning; Logic programming, fuzzy logic, neural networks, and uncertainty; 
State space search, ontologies and data 
mining; Games, planning and scheduling; Natural languages processing and 
advanced user interfaces; Cognitive, reactive and 
proactive systems; Ambient intelligence, perception and vision

AGENTS: Agent-based adaptive systems

Agent frameworks and development platforms; Agent models and architectures; 
Agent communication languages and protocols; 
Cooperation, coordination, and conversational agents; Group decision making and 
distributed problem solving; Mobile, 
cognitive and autonomous agents; Task planning and execution in multi-agent 
systems; Security, trust, reputation, privacy 
and safety in agent-based systems; Negotiation brokering and matchmaking in 
agent-oriented protocols; Web-oriented agents 
(mining, semantic discovery, navigation, etc.; SOA and software agents; 
Economic agent models and social adoption

AUTONOMY: Autonomous systems and autonomy-oriented computing

Self-organized intelligence nature-inspired thinking paradigms; Swarm 
intelligence and emergent behavior; 
Autonomy-oriented modeling and computation; Coordination, cooperation and 
collective group behavior; Agent-based complex 
systems modeling and development; Complex behavior aggregation and 
self-organization; Agent-based knowledge discovery and 
sharing; Autonomous and distributed knowledge systems; Autonomous knowledge via 
information agents; Ontology-based agent 
services; Knowledge evolution control and information filtering agents; Natural 
and social law discovery in multi-agent 
systems; Distributed problem solving in complex and dynamic environments; 
Auction, mediation, pricing, and agent-based 
market-places; Autonomous auctions and negotiations

APPLICATIONS

Agent-oriented modeling and methodologies; Agent-based interaction protocols 
and cognitive architectures; Emotional 
modeling and quality of experience techniques; Agent-based assistants and 
e-health; Agent-based interfaces; Knowledge and 
data intensive classification systems; Agent-based fault-tolerance systems; 
Learning and self-adaptation via multi-agent 
systems; Task-based and task-oriented agent-based systems; Agent-based 

[ns] Error in simulation

2012-02-08 Thread Jyoti Kohli

Hi all,
i am running the following code for MIP in wired+wireless network but
getting error at run time.. please help..



# ==
# 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) 50 ;# max packet in ifq
set opt(nn) 1  ;# number of mobilenodes
set opt(adhocRouting)   DSDV   ;# routing protocol

set opt(cp)  ;# cp file not used
set opt(sc)  ;# node movement file.

set opt(x)  900;# x coordinate of topology
set opt(y)  670;# y coordinate of topology
set opt(seed)   0.0;# random seed
set opt(stop)   250;# time to stop simulation

set opt(ftp1-start)  100.0

set num_wired_nodes  4
#set num_bs_nodes   2  ; this is not really used here.

# ==

# check for boundary parameters and random seed
if { $opt(x) == 0 || $opt(y) == 0 } {
puts No X-Y boundary values given for wireless topology\n
}
if {$opt(seed)  0} {
puts Seeding Random number generator with $opt(seed)\n
ns-random $opt(seed)
}

# create simulator instance
set ns   [new Simulator]

# set up for hierarchical routing
$ns node-config -addressType hierarchical 3 8 8 8

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

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

# Create topography object
set topo   [new Topography]

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

# create God
#   2 for HA and FA
create-god [expr $opt(nn) + 2]

#create wired nodes
set temp {0.0.0 0.1.0}   ;# hierarchical addresses
for {set i 0} {$i  $num_wired_nodes} {incr i} {
set W($i) [$ns node [lindex $temp $i]]
}

# Configure for ForeignAgent and HomeAgent nodes
$ns node-config -mobileIP ON \
 -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 OFF \
 -macTrace OFF

# Create HA and FA
set HA [$ns node 1.0.0]
set FA [$ns node 2.0.0]
#set FA [$ns node 3.0.0]
$HA random-motion 0
$FA random-motion 0
#$FA_2 random-motion 0

# Position (fixed) for base-station nodes (HA  FA).
$HA set X_ 1.
$HA set Y_ 2.
$HA set Z_ 0.

$FA set X_ 450.
$FA set Y_ 200.
$FA set Z_ 0.

#$FA_2 set X_ 850.
#$FA_2 set Y_ 600.
#$FA_2 set Z_ 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 MH [$ns node 1.0.1]
set node(0) $MH
set HAaddress [AddrParams addr2id [$HA node-addr]]
[$MH set regagent_] set home_agent_ $HAaddress

# movement of the MH
$MH set Z_ 0.
$MH set Y_ 2.
$MH set X_ 2.

# MH starts to move towards FA1
$ns at 100. $MH setdest 400. 180.
20.

# goes back to HA
$ns at 200. $MH setdest 2. 2.
20.

# create links between wired and BaseStation nodes
$ns duplex-link $W(0) $W(1) 5Mb 2ms DropTail
$ns duplex-link $W(1) $W(2) 5Mb 2ms DropTail
$ns duplex-link $W(2) $W(3) 5Mb 2ms DropTail
$ns duplex-link $W(3) $HA 5Mb 2ms DropTail
$ns duplex-link $W(3) $FA 5Mb 2ms DropTail



$ns duplex-link-op $W(0) $W(1) orient down
$ns duplex-link-op $W(1) $W(2) orient down
$ns duplex-link-op $W(2) $W(3) orient down
$ns duplex-link-op $W(3) $HA orient left-down
$ns duplex-link-op $W(3) $FA orient down


# 

[ns] gnuplot

2012-02-08 Thread ziralda


hello all

please it's the first one i use gnuplot to plot a graph of packet delivery
ratio, i have used this script awk, i have executed awk -f file.awk
file.trfile.txt, but when i open it, i find nothing
please could u guide me, thanks in advance

BEGIN {
sends=0;
recvs=0;
}
{
# CALCULATE PACKET DELIVERY FRACTION
if(( $1 == s) ( $35 == cbr )  ( $19==AGT )) { sends+=1; }
if(( $1 == r) ( $35 == cbr )  ( $19==AGT )) { recvs+=1; }
}
END {
for ( i in end_time )
{
start = start_time[i];
end = end_time[i];
}
PDF = (recvs/sends)*100;
printf(PDF = %.2f\n,PDF);
}
-- 
View this message in context: 
http://old.nabble.com/gnuplot-tp33287834p33287834.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] help me on upstream label asssignment

2012-02-08 Thread prabin


Can anyone help me on upstream label assignment on mpls multicast networks?
By default data driven mode is enabled but even if i use enable-data-driven
then upstream label assignment is not working.
-- 
View this message in context: 
http://old.nabble.com/help-me-on-upstream-label-asssignment-tp33290782p33290782.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] Directional antenna -reg.

2012-02-08 Thread Munivenkatesh K

Dear all,

if any one has directional antenna sample scripts pl send me. And kindly
tell me the execution process also if it is different from normal one.

-- 
Thanks  Regards,
Muni
Research Scholar,


[ns] help me on upstream label assignment on mpls

2012-02-08 Thread prabin maharjan


hello


I' doing upstream label assignment in mpls multicast network and when i use 
enable-data-driven instead of enable-control-driven then i got following 
output. In the following output, the incoming label has incomplete values. If 
anyone has idea about upstream label assignment, then can you please suggest me?


FEC PHB LIBptr AltanativePath
2 -1 0 -1
4 -1 1 -1
7 -1 2 -1

___LIB dump___ [node: 1]
-
# iIface iLabel oIface oLabel LIBptr
0: -1 -1 2 0 -1
1: -1 -1 4 0 -1
2: -1 -1 4 999 -1

--) ___ERB dump___ [node: 1] (--
-
FEC LSPid LIBptr

--) ___PFT dump___ [node: 2] (--
-
FEC PHB LIBptr AltanativePath
1 -1 0 -1
3 -1 1 -1

___LIB dump___ [node: 2]
-
# iIface iLabel oIface oLabel LIBptr
0: -1 -1 1 0 -1
1: -1 -1 3 0 -1

--) ___ERB dump___ [node: 2] (--
-
FEC LSPid LIBptr

--) ___PFT dump___ [node: 3] (--
-
FEC PHB LIBptr AltanativePath
2 -1 0 -1
4 -1 1 -1
6 -1 2 -1
7 -1 3 -1

___LIB dump___ [node: 3]
-
# iIface iLabel oIface oLabel LIBptr
0: -1 -1 2 0 -1
1: -1 -1 4 0 -1
2: -1 -1 6 0 -1
3: 4 999 6 0 -1

--) ___ERB dump___ [node: 3] (--
-
FEC LSPid LIBptr

--) ___PFT dump___ [node: 4] (--
-
FEC PHB LIBptr AltanativePath
1 -1 0 -1
3 -1 1 -1
5 -1 2 -1
7 -1 3 -1

___LIB dump___ [node: 4]
-

# iIface iLabel oIface oLabel LIBptr
0: -1 -1 1 0 -1
1: -1 -1 3 0 -1
2: -1 -1 5 0 -1
3: 1 999 3 999 -1

--) ___ERB dump___ [node: 4] (--
-
FEC LSPid LIBptr

--) ___PFT dump___ [node: 5] (--
-
FEC PHB LIBptr AltanativePath
4 -1 0 -1
6 -1 1 -1

___LIB dump___ [node: 5]
-
# iIface iLabel oIface oLabel LIBptr
0: -1 -1 4 0 -1
1: -1 -1 6 0 -1

--) ___ERB dump___ [node: 5] (--
-
FEC LSPid LIBptr

--) ___PFT dump___ [node: 6] (--
-
FEC PHB LIBptr AltanativePath
3 -1 0 -1
5 -1 1 -1

___LIB dump___ [node: 6]
-
# iIface iLabel oIface oLabel LIBptr
0: -1 -1 3 0 -1
1: -1 -1 5 0 -1

--) ___ERB dump___ [node: 6] (--
-
FEC LSPid LIBptr