LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 06-24-2012, 11:43 PM   #1
dehaan21
LQ Newbie
 
Registered: Jun 2012
Posts: 4

Rep: Reputation: Disabled
error runing TORA zigbee ns2.35


I am patching TORA protocol module in NS-2.35 and i got :

dehaan@dehaan:~$ cd scrypt/
dehaan@dehaan:~/scrypt$ ns tora.tcl
num_nodes is set 10
INITIALIZE THE LIST xListHead
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 550.0
SORTING LISTS ...DONE!
[wpan/p802_15_4phy.cc::PD_DATA_request][11.065676](node 1) Invalid PSDU/MPDU length: type = IMEP, src = 1, dst = -1, uid = 2090, mac_uid = 1965, size = 181
[wpan/p802_15_4phy.cc::PD_DATA_request][11.070518](node 2) Invalid PSDU/MPDU length: type = IMEP, src = 2, dst = -1, uid = 2095, mac_uid = 1966, size = 157

That is a failure to follow it when I run the simulation Zigbee , patch module for ns2.35 TORA routing protocols.

what should i do?
 
Old 06-25-2012, 04:49 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ.
Quote:
I am patching TORA protocol module in NS-2.35
Please show a link to the patch you are using.


Example "TORA" for ns-2.34 :
http://erl1.wordpress.com/2010/08/10...-ubuntu-10-04/

https://www.linuxquestions.org/quest...2-34-a-795189/

.
 
Old 06-25-2012, 10:51 AM   #3
dehaan21
LQ Newbie
 
Registered: Jun 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
I used patch from this link:

http://khaledcse06.wordpress.com/201...-ubuntu-10-04/
http://wpage.unina.it/marcello.caleffi/ns2/tora.html


What should I do to solve this problem?
 
Old 06-25-2012, 10:58 AM   #4
dehaan21
LQ Newbie
 
Registered: Jun 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
I used patch from this link:

http://wpage.unina.it/marcello.caleffi/ns2/tora.html

http://khaledcse06.wordpress.com/201...-ubuntu-10-04/


what should I do to solve this problem?
 
Old 06-26-2012, 05:07 AM   #5
dehaan21
LQ Newbie
 
Registered: Jun 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
And I used same patch in your link, but it wasn't solve my TORA....
 
Old 07-10-2012, 06:19 PM   #6
fralan123
LQ Newbie
 
Registered: Jul 2012
Distribution: Ubuntu 11.10
Posts: 2

Rep: Reputation: Disabled
Invalid PSDU/MPDU length

Hi, i dont think that your problem is the patch. I have the same error using DSR, i've been searching and it seem to be because the length of the packets is too long, de max is 127. You can see the definition at line 197 of file p802_15_4phy.cc.
But i still doesnt know how to fix the problem. Let me know if you found anything.
 
  


Reply



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
tora simulation does not come to an end in ns2.34 mq15 Linux - Software 3 10-01-2012 12:19 PM
is any here uses NS2 in Ubuntu, I am trying to run mpls but is not runing egashi Linux - Newbie 2 04-02-2012 03:52 AM
How to calculate the address of child node in zigbee network. in NS2 simulate aicaicai Linux - Newbie 1 03-14-2012 06:46 PM
Tora simulation hangs in ns2.34 mauliktrivedi.ce Linux - Software 0 02-06-2012 03:23 AM
Error while runing pppd csravi88 Red Hat 1 12-05-2010 11:17 AM

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

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