[ns] Which version?

2013-08-20 Thread Manjula Raja

Hello frineds

Can any one kindly tell me which version of ubuntu, which version of ns2
and which version of gcc compiler are the correct and best ones to install
leach.

Right now i am having ubuntu 12.04, ns-23.4 and gcc version when i type gcc
-v is  4.4.7

and when i run ./test file i am getting the following errors in leach.err
file


invalid command name "Resource/Energy"
while executing
"Resource/Energy instproc setParams {args} {
$self instvar energyLevel_ alarmLevel_
set energyLevel_ [lindex $args 0]
set alarmLevel_ [lind..."
(file
"/home/manjula/ns-allinone-2.34/ns-2.34/mit/rca/resources/ns-energy-resource.tcl"
line 11)
invoked from within
"source.orig
/home/manjula/ns-allinone-2.34/ns-2.34/mit/rca/resources/ns-energy-resource.tcl"
("uplevel" body line 1)
invoked from within
"uplevel source.orig [list $fileName]"
invoked from within
"if [$instance_ is_http_url $fileName] {
set buffer [$instance_ read_url $fileName]
uplevel eval $buffer
} else {
uplevel source.orig [list $fileName]
..."
(procedure "source" line 8)
invoked from within
"source
/home/manjula/ns-allinone-2.34/ns-2.34/mit/rca/resources/ns-energy-resource.tcl"
(file "/home/manjula/ns-allinone-2.34/ns-2.34/mit/uAMPS/sims/uamps.tcl"
line 30)
invoked from within
"source.orig
/home/manjula/ns-allinone-2.34/ns-2.34/mit/uAMPS/sims/uamps.tcl"
("uplevel" body line 1)
invoked from within
"uplevel source.orig [list $fileName]"
invoked from within
"if [$instance_ is_http_url $fileName] {
set buffer [$instance_ read_url $fileName]
uplevel eval $buffer
} else {
uplevel source.orig [list $fileName]
..."
(procedure "source" line 8)
invoked from within
"source /home/manjula/ns-allinone-2.34/ns-2.34/mit/uAMPS/sims/uamps.tcl"
(file "/home/manjula/ns-allinone-2.34/ns-2.34/tcl/mobility/leach.tcl"
line 18)
invoked from within
"source.orig /home/manjula/ns-allinone-2.34/ns-2.34/tcl/mobility/leach.tcl"
("uplevel" body line 1)
invoked from within
"uplevel source.orig [list $fileName]"
invoked from within
"if [$instance_ is_http_url $fileName] {
set buffer [$instance_ read_url $fileName]
uplevel eval $buffer
} else {
uplevel source.orig [list $fileName]
..."
(procedure "source" line 8)
invoked from within
"source /home/manjula/ns-allinone-2.34/ns-2.34/tcl/mobility/$opt(rp).tcl"
(file "tcl/ex/wireless.tcl" line 187)


So the problem is with gcc version, then which version must i use? and how
to install this on ubuntu 12.04  and remove the existing gcc compiler

Awaiting for reply

Regards
Manjula

**R.Manjula
Faculty, Dept of ECE
BITM, Bellary
Karnataka.

Current Status:

Research Scholar
Dept of E&ECE
IIT Kharagpur
West Bengal
**


[ns] Problem with RTP in NS2

2013-08-20 Thread tinh May

HI NS2 user, I'm facing 2 problems when I try to simulate RTP in NS2.
- The first, I don't known exactly what is the port of RTP, RTCP protocol
in NS2. I must write the new code in C++, so I need to know this
information. Can you tell me?
- The second, I simulate success the RTP in NS2 and create tracefile with
this example code:

> #End simulation time ($end_sim_time)
> # this file contain the variable end_sim_time
> #source last_time.tcl
>
> set ns [new Simulator]
> set end_sim_time 10.0
>
> #Open the nam trace file
> set nf [open final.nam w]
> set tf [open final.tr w]
>
> $ns namtrace-all $nf
> $ns trace-all $tf
>
> #Define a 'finish' procedure
> proc finish {} {
> global ns nf tf
> $ns flush-trace
> #Close the trace file
> close $nf
> close $tf
> #Execute nam on the trace file
> exec nam final.nam &
> exit 0
> }
>
> set node_(s1) [$ns node]
> set node_(s2) [$ns node]
> set node_(r1) [$ns node]
>
> $ns duplex-link $node_(s1) $node_(r1) 10Mb 5ms DropTail
> $ns duplex-link $node_(s2) $node_(r1) 10Mb 5ms DropTail
>
> set trace_file [new Tracefile]
> $trace_file filename starwars.nsformat
>
> set RTP_s [new Agent/RTP]
> set RTCP_r [new Agent/RTCP]
>
> set self [new Session/RTP]
>
> $ns attach-agent $node_(s1) $RTP_s
> $ns attach-agent $node_(s2) $RTCP_r
> $ns connect $RTP_s $RTCP_r
>
> set video [new Application/Traffic/Trace]
> $video attach-tracefile $trace_file
> $video attach-agent $RTP_s
>
> $RTCP_r session $self
> $RTP_s session $self
>
> $RTCP_r set interval_ 100ms
>
> $RTP_s set packetSize_ 1064
>
> $ns at 0.0 "$video start"
> $ns at 0.0 "$RTCP_r start"
> $ns at $end_sim_time{
> $video stop
> $RTCP_r stop
> #$RTP_s stop
> finish
> }
>
> $ns run
>
> In this Tracefile I saw the protocol rtp. But when I try to add one node to 
> change the topology like this:

set node_(s1) [$ns node]

set node_(s2) [$ns node]
>
set node_(r1) [$ns node]
> set node_(r2) [$ns node]
> $ns duplex-link $node_(s1) $node_(r1) 10Mb 5ms DropTail

$ns duplex-link $node_(s2) $node_(r2) 10Mb 5ms DropTail
> $ns duplex-link $node_(r1) $node_(r2) 10Mb 5ms DropTail
>

In new tracefile after add the r2 node, I can't see the RTP protocol,
It just have RTCP protocol. What's the reason of this Problem?

Thanks and Best regard!


[ns] Traffic flow for mobiles nodes is it supported in nam by now ?

2013-08-20 Thread Jean Aimé MAXA

Hello,
I checked the Marc Greis tutorial on ns2, and he said that the "traffic flow 
for mobilenodes is
not as yet supported in nam", so right now, is it still the case ?. 

Actually, I did run his tcl file and it appers that it's still the case, the 
flow over wireless nodes doesn't show up. Does that means that anything were 
not involved yet.
Actually, i'm working on a project wchich i need to see and demonstrate the 
flow between wireless nodes. Is anyone have any idea on how to succeed it ?.

Have a good one !

 
MAXA
Tel:+(262)693915938


[ns] [ICC'14 CRN] Call for Papers Cognitive Radio and Networks Symposium

2013-08-20 Thread Jaime Lloret Mauri


IEEE International Conference on Communications (IEEE ICC 2014)
The Centrepoint of Digital Economy

16 - 20 June 2014, Sydney, Australia
 
Cognitive Radio and Networks Symposium (CRN)
 
The 2014 IEEE International Conference on Communications (ICC) will be held in 
the beautiful city of Sydney, Australia between 16 and 20 June 2014. The theme 
of this flagship conference of IEEE Communications Society for 2014 is 
“Communications: The Centrepoint of Digital Economy.” The conference will 
feature a comprehensive technical program including twelve Symposia and a 
number of Tutorials and Workshops. IEEE ICC 2014 will also include an 
attractive expo program including keynote speakers, and Industry Forum & 
Exhibitions (IF&E). We invite you to submit your original technical papers, 
industry forum, workshop, and tutorial proposals to this event. Accepted and 
presented papers will be published in the IEEE ICC 2014 Conference Proceedings 
and in IEEE Xplore®. Full details of submission procedures are available at 
http://www.ieee-icc.org/2014.
 
Scope and Topics of Interest:

The Cognitive Radio and Networks (CRN) Symposium will focus on the emerging 
cognitive radio communications and networking technologies, which aim at 
mitigating the spectrum underutilization problem in wireless accessing 
networks, improving the interoperability and coexistence among different 
wireless/wired & mobile communications systems, and making the future 
generation radio devices/systems autonomous and self-reconfigurable. The goal 
of this symposium is to bring together and disseminate the state-of-the-art 
research contributions that address the various aspects of analysis, 
optimization, design, implementation, and application of cognitive radio 
communications and networking technologies.

To ensure complete coverage of the advances in this field, the Cognitive Radio 
and Networks Symposium solicits original contributions in, but not limited to, 
the following topical areas:

- Spectrum sensing, measurements and statistical modeling of spectrum usage
- Distributed cooperative spectrum sensing and multiuser access
- Dynamic spectrum accessing and sharing in unlicensed bands
- Waveform design, modulation, interference aggregation and mitigation for 
cognitive radio networks
- Cognitive medium access control (MAC), interference management, handoff and 
routing protocols
- Resource allocation for multiple-input multiple-output (MIMO)-based cognitive 
radio communications
- Distributed adaptation and optimization methods for cognitive radio networks
- Cross-layer optimization of cognitive radio networks
- Ranging and localization in cognitive radio networks
- Radio environment mapping for cognitive radio networks
- Architectures and building blocks of cognitive radio networks
- Energy-efficient environment-friendly cognitive radio communications and 
networking (green cognitive radio)
- Cognitive intelligent techniques (e.g., machine learning, transfer learning, 
information-theoretic learning, bio-inspired intelligence)
- Self-configuration, interoperability and co-existence issues
- Security and robustness of cognitive spectrum-agile networks
- Applications and services based on cognitive radio networks (e.g., cognitive 
networking in TV whitespace, cognitive femtocell & small cell networks, public 
safety networks, and vehicular networks)
- Cognitive radio standards, test-beds, simulation tools, hardware prototypes 
and implementation
- Regulatory policies and their interactions with communications and networking
- Economic aspects of spectrum sharing (e.g., pricing, auction) in cognitive 
radio networks
- Other challenges and issues in designing cognitive radios and networks
 
Submission Guidelines:
 Prospective authors are invited to submit original technical papers by the 
deadline 15 September 2013 for publication in the IEEE ICC 2014 Conference 
Proceedings and for oral or poster presentation(s). All submissions should be 
written in English with a maximum paper length of six (6) printed pages 
(10-point font) including figures without incurring additional page charges (a 
maximum of one additional page will be accepted, subject to over-length charge).
 
Standard IEEE Transactions templates for Microsoft Word or LaTeX formats found 
at
 http://www.ieee.org/portal/pages/pubs/transactions/stylesheets.html
 Alternatively you can follow the sample instructions in template.pdf at
 http://www.comsoc.org/confs/globecom/2008/downloads/template.pdf
 Only PDF files will be accepted for the review process and all submissions 
must be done through EDAS at
 https://edas.info/newPaper.php?c=15403
 
Important dates:
 Paper Submission:15 September 2013
 Acceptance Notification: 12 January 2014
 Camera-Ready:13 February 2014
 
Symposium Co-Chairs:
 Jacques Palicot, SUPELEC/IETR, France
 Email: jacques.palicot [at] supelec.fr
 Jaime Lloret, Polytechnic University of Valencia, Spain
 Email: jlloret [at] dcom.upv.es
 Lin

[ns] About wireless node range

2013-08-20 Thread Flavio Arieta

How can I increase the transmission/reception of wireless nodes on a
simulation?
I tried using the tool from ns-2.34/indep-utils/propagation/threshold.cc

Nodes within 230 meters can communicate, but even modifying
the Phy/WirelessPhy  RXThresh_ to very big values nodes can find
themselves, but can't transmit packets to them, they just send routing
messages from time to time to get information about the network. (routes
can be found, messages aren't sent)

What can I be doing wrong?


-- 
Flávio Arieta Netto.


[ns] Route trafic using static routes in MIH IEEE802.21

2013-08-20 Thread El Hadi Cherkaoui

Dear all,

I am doing simulations on the NS-mih-NIST patch for the handover
betzeen UMTS and WIFI.

My problem is that in a give time of the simulation i want explicitly
change the route of the traffic.

The mobile terminal is completly coverred by the two techonolgies
(UMTS, WIFI) and its mobility is null.

I have tried to use this tcl code line:

set link [$node nexthoplink [$via id]]
$src add-route [$dst node-addr] [$link head]

where src: is the source node
   dst: is the destination
   via: is the intermediaire node
   link: is the link where the trafic is routed.

But the MT maintains its connectivity with the previous access point (PoA).

Anyone can help ?

Best

H.



[ns] Runtime Bandwidth

2013-08-20 Thread Shahid Hussain Abbassi


Dear NS Users

I am facing problem in checking Runtime Bandwidth available on any Link in 
Wired cum wireless scenarios. Kindly help

Best Regards

Shahid H Abbassi