llsec: command failed: Operation not supported (-95)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Running 802.15.4 and 6LoWPAN successfully on RPi using the OpenLabs
module. Can ping, run UDP, TCP programs etc okay to another RPi. Tried
to add llsec using wpan-tools from https://github.com/linux-wpan/wpan-t
ools/tree/nl802154_llsec, with instructions given by Stefan Schmidt at
http://events.linuxfoundation.org/sites/events/files/slides/openiot-201
6-linux-wpan_0.pdf

On running
   ./iwpan dev wpan0 set security 1
I get
   command failed: Operation not supported (-95)
after executing
   nl_recvmsgs(state->nl_sock, cb);
line 445, iwpan.c

I guess I'm missing something, not sure what.

$ ./iwpan wpan0 info
Interface wpan0
        ifindex 3
        wpan_dev 0x1
        extended_addr 0x0200000000000001
        short_addr 0xffff
        pan_id 0xbeef
        type node
        max_frame_retries 3
        min_be 3
        max_be 5
        max_csma_backoffs 4
        lbt 0
        ackreq_default 0

$ uname -a
Linux raspberrypi 4.7.2-v7+ #1 SMP Fri Aug 26 15:45:29 UTC 2016 armv7l
GNU/Linux

$ lsmod
Module                  Size  Used by
nhc_mobility             932  0
nhc_udp                 2722  0
nhc_routing              930  0
nhc_fragment             932  0
ieee802154_6lowpan     19335  0
nhc_ipv6                 924  0
nhc_hop                  922  0
nhc_dest                 924  0
6lowpan                13191  8
nhc_fragment,ieee802154_6lowpan,nhc_hop,nhc_udp,nhc_dest,nhc_ipv6,nhc_m
obility,nhc_routing
cfg80211              434103  0
rfkill                 15784  1 cfg80211
at86rf230              22211  0
mac802154              49035  1 at86rf230
ieee802154             55698  2 ieee802154_6lowpan,mac802154
crc_ccitt               1278  1 mac802154

Thanks

Jan
--
Dr Jan Newmarch,
Director of Higher Education (Business & ICT) @ Box Hill,
Adjunct Professor @ University of Canberra

 [Mid Year 2017] <http://www.boxhill.edu.au/>

[Box Hill Institute]<http://www.boxhill.edu.au>

RTO No.4687
CRICOS Provider No. 02411J
Box Hill Institute

[Questions? Feedback? Ask Annie!]<http://www.boxhill.edu.au/contact-us/>        [Connect with us on LinkedIn] <http://www.linkedin.com/edu/school?id=41868>     [Watch our videos on YouTube] <http://www.youtube.com/user/BoxHillInstitute>    [Follow us on Twitter] <https://twitter.com/BoxHillTAFE>        [Become a fan on Facebook] <https://www.facebook.com/boxhilltafe>       [View us on Instagram] <http://instagram.com/boxhillinstitute#>         [Google+] <https://plus.google.com/106672838723135401391/posts>

Confidentiality and Privacy
This message is intended only for the use of the individual or entity named above and may contain information that is confidential and privileged. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by telephone and destroy the original message. Box Hill Institute is committed to protecting your privacy and the confidentiality and security of personal information provided by you to us. For further information visit www.boxhill.edu.au<http://www.boxhill.edu.au> or email privacy@xxxxxxxxxxxxxx<mailto:privacy@xxxxxxxxxxxxxx>.
��.n��������+%������w��{.n�����{��
Z���ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f




[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux