LinuxQuestions.org
Help answer threads with 0 replies.
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 10-21-2015, 05:52 AM   #1
najat
Member
 
Registered: Apr 2015
Posts: 58
Blog Entries: 1

Rep: Reputation: Disabled
MultiFace node in nist


Hello,
I'm trying to make the movement of multiface node random in nist package.
But it's always straight.
Kindly find attached the code.
Please help me.
Attached Files
File Type: txt wifiwimax.txt (12.4 KB, 5 views)
 
Old 10-22-2015, 01:33 AM   #2
najat
Member
 
Registered: Apr 2015
Posts: 58
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
Can you help me?
 
Old 10-22-2015, 07:36 AM   #3
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
I guess you mean wifiwimax.tcl :
You are supposed to attach files as name.tcl.txt


? What's your command to run the example ?


-
 
Old 11-05-2015, 04:21 PM   #4
najat
Member
 
Registered: Apr 2015
Posts: 58
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
Hello,
I make the nodes move randomly but it didn't reach the destination that i set.
Code:
set iface2 [$ns node 3.0.1] 	                                   ;# node id is 8.	
$iface2  random-motion 1	
 $iface2  start 
  		                           ;# disable random motion
$iface2 base-station [AddrParams addr2id [$bstation802_16 node-addr]] ;#attach mn to basestation
$iface2 set X_ 250
$iface2 set Y_ 500
$iface2 set Z_ 0.0
s
# define node movement. We start from outside the coverage, cross it and leave.
$ns at 5 "$iface2  setdest $X_dst $Y_dst $speed"
.
Could you help to fix it
 
  


Reply

Tags
nist-mob, ns2


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
rhel 2 node cluster: resources do not move to second node when node halted tapuhi Linux - Software 1 03-01-2015 11:41 AM
node recovery when the node becomes fault by using another node to replace it jerinc Linux - Wireless Networking 0 02-21-2014 06:44 PM
How to transfer the services from node 1 to node 2 ,if node 1 is directly turned off sankarg304 Linux - Server 1 12-12-2012 11:06 AM


All times are GMT -5. The time now is 12:54 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