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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-19-2013, 10:15 AM
|
#1
|
LQ Newbie
Registered: Nov 2013
Posts: 16
Rep:
|
Create a new protocol in ns2.31
Hi, i am trying to implement a new routing and mac protocol for CRCN, but i don't know how to start or if there any basic model i can start by it or modify it.
I really need your help.
Retta
|
|
|
11-20-2013, 08:40 AM
|
#3
|
LQ Newbie
Registered: Nov 2013
Posts: 16
Original Poster
Rep:
|
Thank you knudfl.
sorry i am new to ns! and i need some extra help!.
If i want to use this protocol how to use it? where i have to put these files? and what name of mac i should set in my tcl file to invoke this protocol? Does the protocol tested?
waiting for your help
Retta
|
|
|
11-23-2013, 09:14 AM
|
#4
|
LQ Newbie
Registered: Nov 2013
Posts: 3
Rep:
|
Hi knudfl,
This is my first post in this forum. I have a school project with CRCN topic. I am still building my knowledge of this topic. I have downloaded your CRCN-modified-MAC. Now, I have 2 questions after investigate the files.
1. I only see .cc modified files, without .tcl. Is there any .tcl file that should be modified ?
2. In mac-simple.cc (modified), at line 135 : int isprimaryuser = ((MobileNode*)(netif_-> node()))-> IsPrimaryUser;
Would you like to explain this line ? I have tried to understand it, especially with 'netif_'. I could not found this meaning. So far, I don't see netif_ in the modified files.
Thank you in advance.
|
|
|
11-24-2013, 10:19 AM
|
#5
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
Post # 4, @Retta : Welcome to LQ.
CRCN-modified-MAC : Not my code. Something I once downloaded.
Sometimes one or more files in tcl/lib/, like `ns-default.tcl'
are to be edited. None in this case.
Quote:
In mac-simple.cc (modified), at line 135 :
int isprimaryuser = ((MobileNode*)(netif_-> node()))-> IsPrimaryUser;
|
Sorry, I have no idea.
And, by the way, I never tested the code. Don't know if it works.
-
|
|
|
01-29-2014, 05:06 AM
|
#6
|
LQ Newbie
Registered: Nov 2013
Posts: 3
Rep:
|
Hi knudfl and everybody else,
I would like to ask you about channel in CRCN simulator. I read part of 'Test multi-radio, multi-channel', there are written sentences : 'Routing protocol is WCETT. 802_11 is used as the MAC protocol. Each node has 2 radios and 3 channels per radios. Since 802_11 is default to channel 0, thus only channel will be used in this case.'
My question is : can we use other channels in 802_11 as default for CRCN case ? If yes, which part I should change ? I have tried for several weeks to do this, any help is much appreciated.
Thank you.
|
|
|
01-31-2014, 08:08 AM
|
#7
|
LQ Newbie
Registered: Nov 2013
Posts: 16
Original Poster
Rep:
|
How to monitor multi-channels, multi-interfaces in trace file, i.e. which ifce, ch has been used in the communication?
cheers,
|
|
|
01-31-2014, 08:10 AM
|
#8
|
LQ Newbie
Registered: Nov 2013
Posts: 16
Original Poster
Rep:
|
Multi-channels
[QUOTE=Retta;5108648]How to monitor multi-channels, multi-interfaces in trace file, i.e. which ifce, ch has been used in the communication?
cheers,
|
|
|
02-03-2014, 06:40 AM
|
#9
|
LQ Newbie
Registered: Nov 2013
Posts: 16
Original Poster
Rep:
|
SOS!..............Please any suggestions????
|
|
|
All times are GMT -5. The time now is 06:34 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|