LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-25-2013, 06:23 AM   #1
surekhalanka
LQ Newbie
 
Registered: May 2013
Location: saudi
Distribution: ...
Posts: 3

Rep: Reputation: Disabled
Post DYMO patch installation in NS 2.34


Hello every one (please kindly help me where is the problem)
i install dymo 0.3 patch for ns2.35
but trace file the gent name is coming as undefinedthere
this is my trace file
s 0.000000000 _0_ RTR --- 0 undefined 24 [0 0 0 0] ------- [0:255 -1:255 1 0] [ HELLO 0 0 4 ]

s 0.000000000 _1_ RTR --- 1 undefined 24 [0 0 0 0] ------- [1:255 -1:255 1 0] [ HELLO 0 0 4 ]

s 0.000000000 _2_ RTR --- 2 undefined 24 [0 0 0 0] ------- [2:255 -1:255 1 0] [ HELLO 0 0 4 ]

s 0.000000000 _3_ RTR --- 3 undefined 24 [0 0 0 0] ------- [3:255 -1:255 1 0] [ HELLO 0 0 4 ]

s 0.000000000 _4_ RTR --- 4 undefined 24 [0 0 0 0] ------- [4:255 -1:255 1 0] [ HELLO 0 0 4 ]

s 0.000000000 _5_ RTR --- 5 undefined 24 [0 0 0 0] ------- [5:255 -1:255 1 0] [ HELLO 0 0 4 ]

s 0.000000000 _6_ RTR --- 6 undefined 24 [0 0 0 0] ------- [6:255 -1:255 1 0] [ HELLO 0 0 4 ]

s 0.000000000 _7_ RTR --- 7 undefined 24 [0 0 0 0] ------- [7:255 -1:255 1 0] [ HELLO 0 0 4 ]

s 0.000000000 _8_ RTR --- 8 undefined 24 [0 0 0 0] ------- [8:255 -1:255 1 0] [ HELLO 0 0 4 ]

s 0.000000000 _9_ RTR --- 9 undefined 24 [0 0 0 0] ------- [9:255 -1:255 1 0] [ HELLO 0 0 4 ]

r 0.000956529 _8_ RTR --- 1 undefined 24 [0 ffffffff 1 800] ------- [1:255 -1:255 1 0] [ HELLO 0 0 4 ]

r 0.001863059 _1_ RTR --- 8 undefined 24 [0 ffffffff 8 800] ------- [8:255 -1:255 1 0] [ HELLO 0 0 4 ]

r 0.003599110 _7_ RTR --- 0 undefined 24 [0 ffffffff 0 800] ------- [0:255 -1:255 1 0] [ HELLO 0 0 4 ]

r 0.004205888 _5_ RTR --- 2 undefined 24 [0 ffffffff 2 800] ------- [2:255 -1:255 1 0] [ HELLO 0 0 4 ]

r 0.005132058 _2_ RTR --- 5 undefined 24 [0ffffffff 5 800] ------- [5:255 -1:255 1 0] [ HELLO 0 0 4 ]

s 0.915000529 _8_ RTR --- 10 undefined 24 [0 0 0 0] ------- [8:255 -1:255 1 0] [ HELLO 0 0 4 ]
 
Old 05-26-2013, 04:09 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
Quote:
DYMO patch installation in NS 2.34
.
I install dymo 0.3 patch for ns2.35
ns-allinone-2.34, or ns-allinone-2.35 ? Which one is it ?

The new patches are for ns-2.33 / ns-2.34 :
dymoum-0.3_ported_to_ns-2.33.patch, dymoum_ns-2.34_v0.3.patch .
The original patches are :
dymoum_ns-2.27_v0.1.patch dymoum_ns-2.28_v0.1.patch dymoum_ns-2.29_v0.3.patch
(dymoum_ns-2.29_v0.2.patch)
** It is probably for very good reasons that you have a patch for each version.

DyMO : dymoum-0.3.tgz > dymoum-0.3 is for kernel 2.6.xx, AFAIK.
Which Linux OS are you using ? ?

The trace file you show in post #1 : How was it created ? $ ns test_3n.tcl ? Or ?

-
 
1 members found this post helpful.
Old 05-26-2013, 07:09 AM   #3
surekhalanka
LQ Newbie
 
Registered: May 2013
Location: saudi
Distribution: ...
Posts: 3

Original Poster
Rep: Reputation: Disabled
Post surekha

am using ubuntu
and i install ns 2.34
and dymo 0.3 patch ns 2.34
 
Old 05-26-2013, 10:33 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
*

The trace file you show in post #1 : How was it created ? $ ns <??>.tcl
 
1 members found this post helpful.
Old 05-28-2013, 02:07 AM   #5
surekhalanka
LQ Newbie
 
Registered: May 2013
Location: saudi
Distribution: ...
Posts: 3

Original Poster
Rep: Reputation: Disabled
This is my TCL file.

#==============================================================================
# Define Node Configuration paramaters
#==============================================================================

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) 30 ;# number of mobilenodes
set val(rp) DYMOUM ;# routing protocol
set val(x) 1000 ;# X dimension of the topography
set val(y) 1000 ;# Y dimension of the topography
#==============================================================================
# Initialize Simulator
#==============================================================================
set ns_ [new Simulator]
$ns_ use-newtrace
Agent/DYMOUM set debug_ true
Agent/DYMOUM set no_path_acc_ true
Agent/DYMOUM set reissue_rreq_ true
Agent/DYMOUM set s_bit_ false
Agent/DYMOUM set hello_ival_ 1
#==============================================================================
# Initialize Trace file
#==============================================================================
$ns_ use-newtrace
set tracefd [open Tcp30.tr w]
$ns_ trace-all $tracefd

#==============================================================================
# Initialize Network Animator
#==============================================================================
set namtrace [open NMp30.nam w]
$ns_ namtrace-all-wireless $namtrace $val(x) $val(y)
#==============================================================================
# set up topography object
#==============================================================================
set topo [new Topography]
$topo load_flatgrid 1000 1000
#==============================================================================
# set up God object
#==============================================================================
set god_ [new God]
create-god $val(nn)
#==============================================================================
# configure 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 OFF

#==============================================================================
# Create Nodes
#==============================================================================
for {set i 0} {$i < $val(nn) } {incr i} {
set node_($i) [$ns_ node]
}
#==============================================================================
#disable random motion
#==============================================================================
for {set i 0} {$i < $val(nn) } {incr i} {
$node_($i) random-motion 0 ;# disable random motion
}
#==============================================================================
# Create Random Mobility
#==============================================================================
source "scen-n30-r1"
#==============================================================================
# Create Random Traffic
#==============================================================================
source "cmu-cbr-n30-mc18"
#==============================================================================
# defines the node size in Network Animator
#==============================================================================
for {set i 0} {$i < $val(nn)} {incr i} {
$ns_ initial_node_pos $node_($i) 40
}
#==============================================================================
# Stop Simulation at Time 200 sec
#==============================================================================
$ns_ at 200.0 "stop"
#==============================================================================
# Reset Nodes at time 200 sec
#==============================================================================
for {set i 0} {$i < $val(nn) } {incr i} {
$ns_ at 200.0 "$node_($i) reset";
}
#==============================================================================
# Exit Simulatoion at Time 200.01 sec
#==============================================================================
$ns_ at 200.01 "puts \"NS EXITING...\" ; $ns_ halt"
#==============================================================================
# Procedure Stop
#==============================================================================
proc stop {} {
global ns_ tracefd
# Reset Trace File
$ns_ flush-trace
close $tracefd
exit 0
}
#==============================================================================
# Start Simulation
#==============================================================================
puts "Starting Simulation..."
$ns_ run
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dymo Label Software OldGoatDJ Linux - Software 1 01-12-2012 01:42 PM
Installing NIST-DYMO routing protocol tir Linux - Software 1 04-10-2009 10:03 AM
installing NIST-DYMO under Fedora 9 tir Linux - Networking 1 04-09-2009 07:56 PM
Looking for collaborator(s) to work on Dymo LW USB printer control interface? BobMCT Linux - Hardware 1 12-04-2006 06:13 AM


All times are GMT -5. The time now is 10:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration