LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-18-2013, 07:33 AM   #1
Ndia
LQ Newbie
 
Registered: May 2013
Posts: 23

Rep: Reputation: Disabled
Post Wireless Sensor Networks protocols


I'm supposed to simulate WSN security protocols for performance and security.
Protocols like ZigBEE, SPINS,Tinysec, LEDS, LiSP(light weight security protocol) and LLSP(Link Layer Security Protocol).
The simulation is to be done in ns2.34,for simulation I need to implement them.Are there working codes for the protocols,where do i access them if available online.
Thanks

Ndia G.John
 
Old 05-20-2013, 09:30 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 21,960

Rep: Reputation: 5827Reputation: 5827Reputation: 5827Reputation: 5827Reputation: 5827Reputation: 5827Reputation: 5827Reputation: 5827Reputation: 5827Reputation: 5827Reputation: 5827
Quote:
Originally Posted by Ndia View Post
I'm supposed to simulate WSN security protocols for performance and security.
Protocols like ZigBEE, SPINS,Tinysec, LEDS, LiSP(light weight security protocol) and LLSP(Link Layer Security Protocol).
The simulation is to be done in ns2.34,for simulation I need to implement them.Are there working codes for the protocols,where do i access them if available online.
Start at http://www.google.com, and look up what you need. There are links to the programs, sample code, and documentation.
 
1 members found this post helpful.
Old 05-20-2013, 10:44 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2019 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,269

Rep: Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568
Zigbee : ns-2.34/wpan/README
cd ns-2.34/ && grep -Ri zigbee *
cd ns-2.34/tcl/ex/wpan/ : The file 'wpan_demo5.tcl' works : $ ns wpan_demo5.tcl

zigbee.tcl http://read.pudn.com/downloads132/so...gbee.tcl__.htm
FSR Zigbee http://www.linuxquestions.org/questi...er-4175412391/

SPIN : The available code is dated 2001 : Not usable with any ns version 2.26 ... 2.34.

-

Last edited by knudfl; 05-20-2013 at 11:05 AM.
 
Old 08-17-2019, 12:11 PM   #4
en.khalid82
Member
 
Registered: Apr 2013
Posts: 61

Rep: Reputation: Disabled
ZigBee

Hi everyone,

Please, I need a tcl code for ZigBee thet requires two input files: traffic and scenario files.

Thanks
 
Old 08-17-2019, 01:36 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2019 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,269

Rep: Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568
Re #4, @en.khalid82

Default examples are at ns-2.35/tcl/ex/wpan/.
... There is no movement by default. One of the "other 802.15.4-ex" may do ...
See `802.15.4-ex-06.19.tar.gz“
https://drive.google.com/file/d/1d1n...ew?usp=sharing
→ The simulation zigbee-1.tcl was modified to two new simulations, with movement:
mov_G45_zigbee-1.tcl, mov_M40_zigbee-1.tcl


Adding UDP traffic, and more CBR traffic with "flowmod traffic" files:
Another two ex : F-mov_G45_zigbee-1.tcl, F-mov_M40_zigbee-1.tcl
→ 802.15.4-ex-07.19.tar.gz
https://drive.google.com/file/d/1Kbv...ew?usp=sharing

-

Last edited by knudfl; 08-17-2019 at 02:02 PM.
 
Old 08-17-2019, 02:33 PM   #6
en.khalid82
Member
 
Registered: Apr 2013
Posts: 61

Rep: Reputation: Disabled
Dear Knudfl,

Thank you for your interest. How can I implement ZigBee in ns2.
 
Old 08-17-2019, 03:27 PM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2019 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,269

Rep: Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568
Re #6.

The Zigbee / IEEE 802.15.4 protocol is default in ns2 since ns-2.29 .
The C++ code is ns-2.35/wpan/*
Repeat : The default 802.15.4 ex are ns-2.35/tcl/ex/wpan/.

Zigbee https://en.wikipedia.org/wiki/Zigbee
https://www.google.com/webhp?hl=all&...igbee+protocol
The ZigBee or ZigBee/IEEE 802.15.4 protocol is a specification created for wireless networking.

ns2 doc https://github.com/paultsr/ns-allino...AN_ZBR_pub.pdf

-

Last edited by knudfl; 08-18-2019 at 04:21 AM.
 
Old 08-18-2019, 11:03 AM   #8
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 21,960

Rep: Reputation: 5827Reputation: 5827Reputation: 5827Reputation: 5827Reputation: 5827Reputation: 5827Reputation: 5827Reputation: 5827Reputation: 5827Reputation: 5827Reputation: 5827
Quote:
Originally Posted by en.khalid82 View Post
Hi everyone,
Please, I need a tcl code for ZigBee thet requires two input files: traffic and scenario files.
Sorry, but everything you've post since joining here has been nothing but asking people to hand you files or look things up for you:

https://www.linuxquestions.org/quest...ml#post5071175
https://www.linuxquestions.org/quest...ml#post5064797
https://www.linuxquestions.org/quest...ns2-4175584844
https://www.linuxquestions.org/quest...-a-4175446277/

We are happy to help people, but at some point YOU are going to have to actually show some effort of your own. Read the "Question Guidelines"...you have been doing this for many years now.
 
  


Reply

Tags
fsr, ns2, wsn, zigbee


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
HWMP ,802.11s and Wireless sensor networks shanky Linux - Networking 8 05-06-2015 05:24 AM
SPEED protocol for wireless sensor networks in NS2.34 ubuntu salutrcmoi Linux - Wireless Networking 15 02-07-2013 06:26 PM
wireless sensor networks Sarita_123 Linux - Newbie 1 10-13-2012 02:37 AM
NRLSensorsim patch for wireless sensor networks Tellajeera Sushma Linux - Networking 0 02-22-2012 01:30 AM
Topology Generator of Wireless Sensor networks . SangeethaGanesan Linux - Wireless Networking 1 01-22-2010 06:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:39 PM.

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