[ns] Requesting tcl scripts..

2013-01-22 Thread gopi

Dear ns users,
    can any one send me the wireless tcl scripts of traffic transmission 
through intermediate node...

example,

n0 - source node
n1,n2 - intermediate nodes
n3 - sink node

flow is like n0 -- n1 -- n2 -- n3

Regards,
T.Gopi


Re: [ns] Requesting tcl scripts..

2013-01-22 Thread Evaggelos Chatzistavros

Dear ns user

Instead of asking scripts from others, I suggest you should try building a 
network topology first and in case you face some problems ask for help.

Regards 
Vag

22 Ιαν 2013, 1:31 μ.μ., ο/η gopi gopi_...@yahoo.co.in έγραψε:

 
 Dear ns users,
 can any one send me the wireless tcl scripts of traffic transmission 
 through intermediate node...
 
 example,
 
 n0 - source node
 n1,n2 - intermediate nodes
 n3 - sink node
 
 flow is like n0 -- n1 -- n2 -- n3
 
 Regards,
 T.Gopi



[ns] nse issue

2013-01-22 Thread Bipul Kumar

Hellow ns user

I am trying to compile nse from ns-allinone package but  i am getting this
error

inone-2.35/otcl-1.14 -lotcl -L/home/bipul/ns-allinone-2.35/lib -ltk8.5
-L/home/bipul/ns-allinone-2.35/lib -ltcl8.5 -lXext -lX11 -lnsl -ldl -lm
-lm
emulate/net-pcap.o: In function `PcapNetwork::close()':
net-pcap.cc:(.text+0xa0): undefined reference to `pcap_close'
emulate/net-pcap.o: In function `PcapNetwork::filter(char const*)':
net-pcap.cc:(.text+0xf4): undefined reference to `pcap_compile'
net-pcap.cc:(.text+0x145): undefined reference to `pcap_setfilter'
emulate/net-pcap.o: In function `PcapNetwork::stat_pkts()':
net-pcap.cc:(.text+0x1ac): undefined reference to `pcap_stats'
emulate/net-pcap.o: In function `PcapNetwork::stat_pdrops()':
net-pcap.cc:(.text+0x1ea): undefined reference to `pcap_stats'
emulate/net-pcap.o: In function `PcapNetwork::recv(unsigned char*, int,
sockaddr, double)':
net-pcap.cc:(.text+0x386): undefined reference to `pcap_dispatch'
net-pcap.cc:(.text+0x39e): undefined reference to `pcap_strerror'
emulate/net-pcap.o: In function `PcapNetwork::recv(void (*)(void*, Packet*,
timeval const), void*)':
net-pcap.cc:(.text+0x5b2): undefined reference to `pcap_dispatch'
emulate/net-pcap.o: In function `PcapLiveNetwork::open(int, char const*)':
net-pcap.cc:(.text+0x892): undefined reference to `pcap_open_live'
net-pcap.cc:(.text+0x904): undefined reference to `pcap_datalink'
net-pcap.cc:(.text+0x920): undefined reference to `pcap_fileno'
net-pcap.cc:(.text+0xaab): undefined reference to `pcap_lookupnet'
emulate/net-pcap.o: In function `PcapLiveNetwork::autodevname()':
net-pcap.cc:(.text+0xb79): undefined reference to `pcap_lookupdev'
emulate/net-pcap.o: In function `PcapFileNetwork::open(int, char const*)':
net-pcap.cc:(.text+0x10f1): undefined reference to `pcap_open_offline'
net-pcap.cc:(.text+0x1161): undefined reference to `pcap_file'
collect2: ld returned 1 exit status
make: *** [nse] Error 1
bipul@bipul-Linux:~/ns-allinone-2.35/ns-2.35$


[ns] Deadline extension: ICIW 2013 || June 23 - 28, 2013 - Rome, Italy

2013-01-22 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 ICIW 
2013.

The submission deadline is February 7, 2013.

Authors of selected papers will be invited to submit extended article versions 
to one of the IARIA Journals: http://www.iariajournals.org
=


== ICIW 2013 | Call for Papers ===

CALL FOR PAPERS, TUTORIALS, PANELS

ICIW 2013, The Eighth International Conference on Internet and Web Applications 
and Services

June 23 - 28, 2013 - Rome, Italy


General page: http://www.iaria.org/conferences2013/ICIW13.html

Call for Papers: http://www.iaria.org/conferences2013/CfPICIW13.html

- regular papers

- short papers (work in progress)

- posters

Submission page: http://www.iaria.org/conferences2013/SubmitICIW13.html


Submission deadline: February 7, 2013

Sponsored by IARIA, www.iaria.org


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

Print proceedings will be available via Curran Associates, Inc.: 
http://www.proceedings.com/9769.html

Articles will be archived in the free access ThinkMind Digital Library: 
http://www.thinkmind.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


ICIW 2013 Topics (topics and submission details: see CfP on the site)


IWAS : Internet and Web-based Applications and Services

   Web technologies, frameworks, languages, mechanisms; Web applications design 
and development; Interaction with/from Web-based applications; Web-based 
applications? features; Management of Web-based applications; Evaluation of Web 
applications; Specialized Web applications; Aggregating multimedia documents; 
E-business, appliances, and services; IP Grid Management and Grid Services; 
IP-based convergent solutions and next generation networks; Standards, case 
studies and special groups on web-based applications; E-business system design, 
development, and management for SMEs

WSSA : Web Services-based Systems and Applications

   Service Innovations; Service Architectures; Model-driven development of 
context-aware services; Context-aware service models, architectures and 
frameworks; Model-driven development of semantic Web services; Web services 
foundation, architectures, frameworks, languages; Web services architecture and 
business continuity; Special Web services mechanisms; Semantic Web, Ontology, 
and Web services; Web service applications ; Data Management aspects in Web 
Services; Autonomic e-Business integration and collaboration; Web service based 
Grid computing and P2P computing; Web services based applications for 
e-Commerce; Multimedia applications using Web Services; Automatic computing for 
Web services; Web services challenges on trust, security, performance, 
scalability; Enterprise Web services; Web services discovery, announcing, 
monitoring and management; Platforms, technologies, mechanisms and case 
studies; Grid architectures, middleware and toolkits

ENSYS: Entertainment Systems

   Developing entertainment systems and applications; Platforms for 
entertainment systems; Speech technology  its usability for entertainment 
systems; Networking requirements for entertainment systems; Traffic generated 
by entertainment applications; QoS/SLA on entertainment systems; Reliability 
and high availability of entertainment systems; Identify aspects in 
entertainment systems; Real-time access to entertainment systems; Customized 
access entertainment systems; Navigation and entertainment systems; Integration 
and interoperability aspects in entertainment systems; Entertainment systems 
and applications; Networking and system support for entertainment systems; 
Wireless and mobile technologies for entertainment; Wireless multimedia for 
entertainment; Systems for music and movie distribution; Games on mobile and 
resource-constrained devices; Mobile video entertainment systems; 
Car/flight/train entertainment systems; Ubiquitous entertainment systems; 
Interactive televisio!
 n; Technologies for sport and enter
tainment; WiFi wireless home entertainment systems; Wearable technologies for 
entertainment

P2PSA: P2P Systems and Applications

   P2P architectures, 

[ns] Question about assertion failed

2013-01-22 Thread mai ragaei

Dear Sir,

when i simulate using mac802_11Ext and wirelessphyExt , it appear an error like 
that

ns: mrcl_wireless-phyExt.cc:146: : Assertion `initialized()' failed.
Aborted

can any one tell me the reason that it causes these error ???

thanks a lot 
Best regards 
Mai Ragaei



[ns] Regarding Tcl scripts

2013-01-22 Thread gopi

Dear ns users,
    I want to simulate wireless node traffic transmission through intermediate 
node...

example,

n0 - source node
n1,n2 - intermediate nodes
n3 - sink node

flow is like n0 -- n1 -- n2 -- n3

i had tried the following tcl scripts


# Define options
set val(chan) Channel/WirelessChannel ;  # channel type
set val(prop) Propagation/TwoRayGround ; # radio-propagation model
set val(netif) Phy/WirelessPhy ; # network interface type
set val(mac) Mac/802_11 ;    # MAC type
set val(ifq) Queue/DropTail/PriQueue ;   # interface queue type
set val(ll) LL ; # link layer type
set val(ant) Antenna/OmniAntenna ;   # antenna
 model
set val(ifqlen) 50 ; # max packet in ifq
set val(nn) 4 ; # number of mobilenodes
set val(rp) DSDV ;   # routing protocol
set val(x) 800 ;    # X dimension of topography
set val(y) 800 ;    # Y dimension of topography
set val(stop) 5
 ;  # time of simulation end

set ns [new Simulator]
set tracefd [open cc1.tr w]
set namtrace [open cc1.nam w]

$ns trace-all $tracefd
$ns namtrace-all-wireless $namtrace $val(x) $val(y)

# set up topography object
set topo [new Topography]

$topo load_flatgrid $val(x) $val(y)

create-god $val(nn)

# configure the nodes
$ns node-config -adhocRouting $val(rp) \
-llType $val(ll) \
-macType $val(mac) \
-ifqType $val(ifq) \
-ifqLen $val(ifqlen) \
-antType $val(ant) \
-propType $val(prop) \
-phyType $val(netif) \
-channelType $val(chan) \
-topoInstance $topo \
-agentTrace ON \
-routerTrace ON \
-macTrace OFF \
-movementTrace ON

for {set i 0} {$i  $val(nn) } { incr i } {
set n($i) [$ns node]
}

# Provide initial location of
 nodes

$n(0) set X_ 200.0
$n(0) set Y_ 200.0
$n(0) set Z_ 0.0


$n(1) set X_ 250.0
$n(1) set Y_ 350.0
$n(1) set Z_ 0.0



$n(2) set X_ 150.0
$n(2) set Y_ 500.0
$n(2) set Z_ 0.0



$n(3) set X_ 370.0
$n(3) set Y_ 600.0
$n(3) set Z_ 0.0


# Set a TCP connection and send data between n(0) and n(1)
set tcp [new Agent/TCP/Newreno]
$tcp set class_ 2
set sink [new Agent/TCPSink]
$ns attach-agent $n(0) $tcp
$ns attach-agent $n(1) $sink
$ns connect $tcp $sink
set ftp [new Application/FTP]
$ftp attach-agent $tcp
$ns at 1.0 $ftp start

# Set a TCP connection and send data between n(1) and n(2)
set tcp [new Agent/TCP/Newreno]
$tcp set class_ 2
set sink [new Agent/TCPSink]
$ns attach-agent $n(1) $tcp
$ns attach-agent $n(2) $sink
$ns connect $tcp $sink
set ftp [new Application/FTP]
$ftp attach-agent $tcp
$ns at 1.0 $ftp
 start

# Set a TCP connection and send data between n(2) and n(3)
set tcp [new Agent/TCP/Newreno]
$tcp set class_ 2
set sink [new Agent/TCPSink]
$ns attach-agent $n(2) $tcp
$ns attach-agent $n(3) $sink
$ns connect $tcp $sink
set ftp [new Application/FTP]
$ftp attach-agent $tcp
$ns at 1.0 $ftp start


# Define node initial position in nam

$ns initial_node_pos $n(0) 60
$ns initial_node_pos $n(1) 60
$ns initial_node_pos $n(2) 60
$ns initial_node_pos $n(3) 120

#defining heads
$ns at 0.0 $n(3) label Sink

# Telling nodes when the simulation ends
for {set i 0} {$i  $val(nn) } { incr i } {
$ns at $val(stop) $n($i) reset;
}

# ending nam and the simulation
$ns at $val(stop) $ns nam-end-wireless $val(stop)
$ns at $val(stop) stop
$ns at 5.1 puts \end simulation\ ; $ns halt
proc stop {} {
global ns tracefd namtrace
$ns flush-trace
close
 $tracefd
close $namtrace

}

$ns run 


In this
 script each node (n0,n1,n2)generate the traffic, just i need in which, 
what ever the data generated by node 0 that need to be sent via node n1 
and n2 to n3... can u pls help me to fix the problem...





Regards,
T.Gopi


[ns] Negative data received in trace

2013-01-22 Thread Fazlullah Khan

Hi everybody!
In mu trace follow negative data receive as shown below, what could be
the reason.
s 0.0 _1_ AGT  --- 0 cbr 1000 [0 0 0 0] [energy 100.00 ei
0.000 es 0.000 et 0.000 er 0.000] --- [1:0 0:0 32 0] [0] 0 0
s 0.0 _1_ AGT  --- 1 cbr 24 [0 0 0 0] [energy 100.00 ei
0.000 es 0.000 et 0.000 er 0.000] --- [1:0 0:0 32 0] [1] 0 0
N -t 0.001625 -n 0 -e 99.30
N -t 0.006807 -n 1 -e 99.998651
s 0.008192000 _1_ AGT  --- 2 cbr 1000 [0 0 0 0] [energy 99.998651 ei
0.000 es 0.000 et 0.001 er 0.000] --- [1:0 0:0 32 0] [2] 0 0
s 0.008192000 _1_ AGT  --- 3 cbr 24 [0 0 0 0] [energy 99.998651 ei
0.000 es 0.000 et 0.001 er 0.000] --- [1:0 0:0 32 0] [3] 0 0
N -t 0.009404 -n 0 -e 99.999003
N -t 0.010908 -n 1 -e 99.997760
N -t 0.012545 -n 1 -e 99.997695
N -t 0.014561 -n 0 -e 99.997543
N -t 0.015923 -n 0 -e 99.997532
s 0.016384000 _1_ AGT  --- 4 cbr 1000 [0 0 0 0] [energy 99.997261 ei
0.000 es 0.000 et 0.003 er 0.000] --- [1:0 0:0 32 0] [4] 0 0
s 0.016384000 _1_ AGT  --- 5 cbr 24 [0 0 0 0] [energy 99.997261 ei
0.000 es 0.000 et 0.003 er 0.000] --- [1:0 0:0 32 0] [5] 0 0
N -t 0.016403 -n 1 -e 99.997248
r 0.016972313 _0_ AGT  --- 0 cbr -4 [0 0 1 800] [energy 99.997299 ei
0.000 es 0.000 et 0.003 er 0.000] --- [1:0 0:0 30 0] [0] 1 0
N -t 0.017075 -n 0 -e 99.997289
N -t 0.017556 -n 1 -e 99.997023
r 0.018124439 _0_ AGT  --- 4 cbr -4 [0 0 1 800] [energy 99.997056 ei
0.000 es 0.000 et 0.003 er 0.000] --- [1:0 0:0 30 0] [4] 1 0
N -t 0.018228 -n 0 -e 99.996992
N -t 0.020244 -n 1 -e 99.995784
r 0.021260564 _0_ AGT  --- 5 cbr 44 [0 0 1 800] [energy 99.996759 ei
0.000 es 0.000 et 0.003 er 0.000] --- [1:0 0:0 30 0] [5] 1 0
s 0.024576000 _1_ AGT  --- 6 cbr 1000 [0 0 0 0] [energy 99.995784 ei
0.000 es 0.000 et 0.004 er 0.000] --- [1:0 0:0 32 0] [6] 0 0
s 0.024576000 _1_ AGT  --- 7 cbr 24 [0 0 0 0] [energy 99.995784 ei
0.000 es 0.000 et 0.004 er 0.000] --- [1:0 0:0 32 0] [7] 0 0
N -t 0.024921 -n 0 -e 99.996746
N -t 0.025401 -n 1 -e 99.995567
r 0.025970063 _0_ AGT  --- 6 cbr -4 [0 0 1 800] [energy 99.996514 ei
0.000 es 0.000 et 0.003 er 0.000] --- [1:0 0:0 30 0] [6] 1 0
N -t 0.026393 -n 0 -e 99.996449
N -t 0.028409 -n 1 -e 99.994340

-- 
Regards
Fazlullah Khan
Department of Electrical Electronics and Information Engineering,
Nagaoka University of Technology, Nagaoka-shi, Niigata-ken, Japan
Cell # +8180 3474 4286