LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-30-2015, 05:52 AM   #31
Mralfouzan
LQ Newbie
 
Registered: Oct 2015
Posts: 15

Rep: Reputation: Disabled

Thank you very much knudfl for your help and concerned,

Finally yes it is work ...

but still T-MAC protocol doesn't work. is t-mac needs to do something to make it work.

Thanks
 
Old 10-30-2015, 06:51 AM   #32
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,425

Rep: Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622
Re #31. When "T-MAC protocol doesn't work" :

Like all other posts / questions, you will have to show the command.
Like $ ns-aqua tmac-example.tcl
... And then verify that the 'ns-aqua' is from "aquasim-ns_2.30-ubuntu10_i386.deb".

I.e. you can get no answer for $ ns-unknown <T-MAC protocol>.

And : You will have to respond to all posts :
I.e. i.e. confirm that `aquasim-ns_2.30-ubuntu10_i386.deb' is installed.
(ref. #30 and #28.)

-
 
Old 10-31-2015, 05:06 PM   #33
Mralfouzan
LQ Newbie
 
Registered: Oct 2015
Posts: 15

Rep: Reputation: Disabled
tmac protocol

T-MAC protocol in aquasim "aquasim-ns_2.30-ubuntu10_i386.deb", it doesnt work ...

command :

$ns tmac-example.tcl



Current Event:
t:17.198357 uid: 661 handler: 0xa254e24
Contents of scheduler queue (events) [cur time: 17.219690]---
t:17.348002 uid: 628 handler: 0xa188d58
t:17.348002 uid: 630 handler: 0xa1af0c8
t:17.348002 uid: 632 handler: 0xa1d07f8
t:17.348002 uid: 634 handler: 0xa1f1460
t:17.446023 uid: 657 handler: 0xa2336b0
t:17.450023 uid: 660 handler: 0xa212a28
t:17.470104 uid: 656 handler: 0xa2336c8
t:18.000000 uid: 627 handler: 0xa188d60
t:18.000000 uid: 629 handler: 0xa1af0d0
t:18.000000 uid: 631 handler: 0xa1d0800
t:18.000000 uid: 633 handler: 0xa1f1468
t:18.000000 uid: 635 handler: 0xa212a40
t:18.000000 uid: 637 handler: 0xa2336c0
t:18.000000 uid: 639 handler: 0xa254e48
t:18.000000 uid: 642 handler: 0xa1875d0
t:18.000000 uid: 643 handler: 0xa1add80
t:18.000000 uid: 644 handler: 0xa1cf260
t:18.000000 uid: 645 handler: 0xa1f00b8
t:18.000000 uid: 646 handler: 0xa211710
t:18.000000 uid: 647 handler: 0xa2321e0
t:18.000000 uid: 648 handler: 0xa252ff8
t:18.639162 uid: 625 handler: 0xa250504
t:100.001000 uid: 30 handler: 0x84e7464
t:100.002000 uid: 31 handler: 0x84e7464
t:100.002000 uid: 32 handler: 0x84e7464
t:100.002000 uid: 33 handler: 0x84e7464
t:100.002000 uid: 34 handler: 0x84e7464
t:100.002000 uid: 35 handler: 0x84e7464
t:100.002000 uid: 36 handler: 0x84e7464
t:100.003000 uid: 37 handler: 0x84e7464
t:100.004000 uid: 38 handler: 0x84e7464
t:100.005000 uid: 39 handler: 0x84e7464


how can I fix that ?
 
Old 10-31-2015, 09:53 PM   #34
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,425

Rep: Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622
Re #33.

* The newest install of Ubuntu 10.10 - 32, the one refereed in the above posts :
$ ns tmac-example.tcl ( Or $ ns-aqua-1010 tmac-example.tcl )
The result was uploaded as `tmac-result_Ubuntu1010-32.txt'
https://drive.google.com/file/d/0B7S...ew?usp=sharing
... No content in the nam file, tmac.nam .


* My old install of Ubuntu 10.10 - 32. 'ns-aqua' has a time stamp `29 Jan 2013'.
$ ns-aqua tmac-example.tcl
The result is different (OK?), and a small beginning of a tmac.nam appears, 5 lines, 124B.
The output result is uploaded as tmac-result_Ubuntu1010-32_2013.txt
https://drive.google.com/file/d/0B7S...ew?usp=sharing


Conclusion : An older OS will create a better result.
I.e. an OS that haven't received updates for say five years.
( Ubuntu 9.04 ? Ubuntu 7.04 ? ( No LTS version like 10.04 or 8.04 will do.))


-

Last edited by knudfl; 10-31-2015 at 10:01 PM.
 
Old 02-04-2017, 07:26 AM   #35
purobi
LQ Newbie
 
Registered: Jun 2016
Posts: 2

Rep: Reputation: Disabled
How to run a new protocol in Aquasim

Hello,

I am a Master's Student and recently working in Aquasim simulator based on NS2..I am trying to do my research work simulation with Aquasim as my research area is underwater sensor networks. To explore it to know how it works..I have modified some existing MAC protocols (ex: BroadcastMac) which is given in the ns-2.30 and tried to run. But I am facing some difficulties and that is while i put the command of run in the terminal then an error occurs like as attachment and fail to run the modified model. Moreover, I also facing the same problem while tried to run a new protocol. I have gone through the Aquasim tutorials and updated the related files at the time of running an updated / new protocols as mentioned in the tutorial but fail to run. Therefore, It will be a great help for me if someone share the steps to run a new protocol in Aquasim.


Thank You
Attached Thumbnails
Click image for larger version

Name:	Aquasim_Error.jpg
Views:	22
Size:	96.9 KB
ID:	24123  
 
Old 03-15-2017, 06:43 PM   #36
Mralfouzan
LQ Newbie
 
Registered: Oct 2015
Posts: 15

Rep: Reputation: Disabled
Hi all,

I would like to know how to add new Mac protocol in Aquasim. (step by step)? and which file need to modify to run the new Mac protocol ?

Thanks
 
  


Reply

Tags
aquasim, 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
NS2 and Aquasim Preeti1910 Linux - Software 48 10-15-2016 01:09 PM
wireless ns/aquasim varshitha Linux - Wireless Networking 163 02-14-2015 06:04 PM
aquasim question MonaJalili Linux - Wireless Networking 6 05-12-2013 06:59 AM
Details for setting up PC for using Aquasim exploreuwsn Linux - Newbie 15 02-14-2013 12:10 PM
aquasim varshitha Linux - Wireless Networking 0 01-29-2011 09:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:13 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
Open Source Consulting | Domain Registration