Hello, 2014-12-11 17:31 GMT+01:00 Alexander Aring <alex.aring@xxxxxxxxx>: > No, please forget the complete tutorial with iz. > > You need to set a pan_id. "iwpan dev wpan0 set pan_id 0xbeef" or something else > Then create a lowpan interface with: > > ip link add link wpan0 name lowpan0 type lowpan > > lowpan0 is now your ipv6 interface which use 6LoWPAN. I tried to follow instructions above and I have trouble changing pan_id. When I execute command: sudo iwpan --debug dev wpan0 set pan_id 0xabcd I get following output: -- Debug: Sent Message: -------------------------- BEGIN NETLINK MESSAGE --------------------------- [NETLINK HEADER] 16 octets .nlmsg_len = 36 .type = 21 <0x15> .flags = 5 <REQUEST,ACK> .seq = 1420571541 .port = -1023407865 [GENERIC NETLINK HEADER] 4 octets .cmd = 10 .version = 0 .unused = 0 [PAYLOAD] 16 octets 08 00 03 00 02 00 00 00 06 00 09 00 cd ab 00 00 ................ --------------------------- END NETLINK MESSAGE --------------------------- -- Debug: Received Message: -------------------------- BEGIN NETLINK MESSAGE --------------------------- [NETLINK HEADER] 16 octets .nlmsg_len = 56 .type = 2 <ERROR> .flags = 0 <> .seq = 1420571541 .port = -1023407865 [ERRORMSG] 20 octets .error = -16 "Device or resource busy" [ORIGINAL MESSAGE] 16 octets .nlmsg_len = 16 .type = 21 <0x15> .flags = 5 <REQUEST,ACK> .seq = 1420571541 .port = -1023407865 --------------------------- END NETLINK MESSAGE --------------------------- command failed: Device or resource busy (-16) I am using Raspberry Pi with Raspbian, and bluetooth-next branch kernel (cloned today). I am using 802.15.4 hardware from openlabs. Physical interface is recognized correctly: pi@raspberrypi ~ $ iwpan phy wpan_phy wpan-phy0 supported channels: page 0: 11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26 current_page: 0 current_channel: 26 cca_mode: 1 tx_power: 0 Network wpan0 interface is created automatically on startup: pi@raspberrypi ~ $ iwpan dev phy#0 Interface wpan0 ifindex 2 wpan_dev 0x1 extended_addr 0xf9045327f9757da8 short_addr 0xffff pan_id 0xffff type node max_frame_retries -1 min_be 3 max_be 5 max_csma_backoffs 4 lbt 0 I can create lowpan interface without problems (sudo ip link add link wpan0 name lowpan0 type lowpan). It sends valid 6LoWPAN packets (I use external sniffer), but pan_id remains 0xffff. When I use old linux-wpan-next branch and old lowpan-tools, problem doesn't occur. I tried to bring wpan0 interface down (sudo ifconfig wpan0 down), but it doesn't help. Does anyone have the same problem? Best Regards Maciej Wasilak -- To unsubscribe from this list: send the line "unsubscribe linux-wpan" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html