Hi all, Apologize about having post, because now things work correctly for me so the subject can be closed. The only thing missing in my former serial-linux-zigbee interface (1 year old ;O) was the ability to give the Long Mac Address (zb command 0x0d). Without the interface can't any-more be set UP.
I can now "sniff" some 6LowPan/IPV6 frames over my Media (WPC) with a compilation of Wireshark 1.4.1. I have now to focus on the work initiated by Jon. On our side we are already early Contiki users of 6LowPan/IPV6/RPL so maybe i can understand what have been initiated by Jon, try it and maybe work on it. Many Thanks Le 25/10/2010 12:21, Pierre-emmanuel Goudet a écrit : > Hi all, > > I'll answer my own question, i just had to read a bit to go further ... > appologize ;O) > > So once my serial-linux-zigbee dongle enabled is connected i had to: > > - Find the newly created serial/USB port (ie /dev/ttyUSB0) > - Attach it: # izattach /dev/ttyUSB0 > - Find the corresponing wpan-phyX interface created with : # iz listphy > ==> wpan-phy9 in my case > - Add the corresponding interface : # iz add wpan-phy9 > - Start the new ly created interface "wpan1": # ifconfig wpan1 up > > Important remark: i've got an error message when trying to get the > interface UP: > "SIOCSIFFLAGS: Connexion terminée par expiration du délai d'attente" > I would translate it by : > "SIOCSIFFLAGS: Connexion closed after delay as expired" > > Notice that as an other device is sending on my media i could received > frame on the interface in the syslog. See at the end of the mail. > > So it seems ok and i just wanted to sniff the interface with wireshark a > recent one (1.4.1) as my aim is to sniff 6LowPan. > > But my last isue is that the wiershark (launched as root : # wireshark > -i wpan1 -k) does not see the wpan1 interface. > Surely because i could npt get it UP ;O) see below the last SYSLOG. > > Any idea to solve this issue ? > > Thanks. > > SYSLOG with working 15.4 kernel: > ============================ > ... > [243581.441049] ieee802154_tty_receive, received 4 bytes > [243581.441054] ieee802154_tty_receive 7a 62 8b > ff zb.. > [243581.445049] ieee802154_tty_receive, received 15 bytes > [243581.445053] ieee802154_tty_receive 39 61 88 f8 cd ab 00 04 01 00 45 > 00 00 30 00 9a........E..0. > [243581.449056] ieee802154_tty_receive, received 8 bytes > [243581.449060] ieee802154_tty_receive 16 00 00 40 01 62 53 > 0a ....@.bs. > [243581.449064] ieee802154_tty_receive, received 7 bytes > [243581.449067] ieee802154_tty_receive 32 00 01 0a 32 04 > 00 2...2.. > [243581.453057] ieee802154_tty_receive, received 15 bytes > [243581.453060] ieee802154_tty_receive 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 00 ............... > [243581.457059] ieee802154_tty_receive, received 13 bytes > [243581.457063] ieee802154_tty_receive 00 00 00 00 00 08 00 23 45 be ba > 16 00 .......#E.... > [243581.457070] Received block, lqi ff, len 39 > [243581.457244] mac802154_subif_rx() > [243581.457254] parse_frame_start: 8861 dsnf8 > [243581.457257] parse_frame_start(): ACKNOWLEDGE required > [243581.457259] parse_frame_start(): src IEEE802154_FC_INTRA_PAN > [243581.457262] parse_frame_start(): src PAN address abcd > [243581.457265] parse_frame_start(): dst PAN address abcd > [243581.457268] parse_frame_start(): dst SHORT address 0400 > [243581.457270] parse_frame_start(): got src non-NONE address > [243581.457272] parse_frame_start(): src IEEE802154_ADDR_SHORT > [243581.457275] mac802154_wpans_rx() frame 1 > [243581.457280] mac802154_subif_frame Getting packet via slave interface > wpan1 > ... > > SYSLOG when i try a ifconfig wpan1 up > ================================= > > [244330.165246] ieee802154_serial_start end > [244330.165253] ieee802154_serial_address > [244330.165256] send_cmd(): id = 13 > [244330.165259] _send_pending_data, 3 bytes > [244330.165262] send_pending_data 7a 62 > 0d zb. > [244331.164801] ieee802154_serial_address end > [244331.164810] ------------[ cut here ]------------ > [244331.164822] WARNING: at net/mac802154/main.c:45 > mac802154_slave_open+0x5b/0x84() > [244331.164825] Hardware name: VMware Virtual Platform > [244331.164828] Modules linked in: appletalk ax25 ipx p8023 ipv6 acpiphp > loop snd_ens1371 gameport snd_ac97_codec ac97_bus snd_pcm_oss > snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi > snd_seq_midi_event snd_seq snd_timer snd_seq_device serio_raw ftdi_sio > parport_pc snd parport psmouse processor tpm_tis tpm tpm_bios container > usbserial ac soundcore snd_page_alloc pcspkr button i2c_piix4 intel_agp > agpgart shpchp pci_hotplug i2c_core evdev ext3 jbd mbcache ide_cd_mod > sd_mod cdrom ata_generic ata_piix libata floppy mptspi pcnet32 mptscsih > uhci_hcd ehci_hcd mptbase scsi_transport_spi usbcore mii nls_base piix > ide_pci_generic ide_core scsi_mod thermal fan thermal_sys [last > unloaded: scsi_wait_scan] > [244331.164911] Pid: 23583, comm: ifconfig Tainted: G W 2.6.35+ #1 > [244331.164916] Call Trace: > [244331.164924] [<c1030aed>] ? warn_slowpath_common+0x68/0x93 > [244331.164929] [<c1030b24>] ? warn_slowpath_null+0xc/0xf > [244331.164933] [<c122df4b>] ? mac802154_slave_open+0x5b/0x84 > [244331.164939] [<c11cc6a8>] ? __dev_open+0x7c/0xa7 > [244331.164943] [<c11caab7>] ? __dev_change_flags+0x9f/0x111 > [244331.164947] [<c11cc601>] ? dev_change_flags+0x10/0x3b > [244331.164951] [<c120d951>] ? devinet_ioctl+0x235/0x530 > [244331.164955] [<c11cd810>] ? dev_ioctl+0x42c/0x592 > [244331.164960] [<c11bed13>] ? sock_ioctl+0x1b6/0x1da > [244331.164964] [<c11beb5d>] ? sock_ioctl+0x0/0x1da > [244331.164968] [<c10bc775>] ? vfs_ioctl+0x1c/0x7d > [244331.164972] [<c10bccd9>] ? do_vfs_ioctl+0x44e/0x47c > [244331.164976] [<c10bcd48>] ? sys_ioctl+0x41/0x58 > [244331.164981] [<c1002eb8>] ? sysenter_do_call+0x12/0x28 > [244331.164984] ---[ end trace 20d101ec3578eee5 ]--- > > > > Le 22/10/2010 16:43, Pierre-emmanuel Goudet a écrit : >> Hi all, >> >> 10 month ago, I've compile the linux-zigbee kernel, it was 2.6.30. >> And i could see and use "mwpanx" interfaces. >> It was visible with "ifconfig -a" after booting my new kernel. >> >> Yesterday, i've downloaded the last devel branch of the git. After being >> recompiled, it gave me a 2.6.35+ kernel. >> >> But I've not anymore "mwpan" interface ! The only present is "hardwpan0" . >> Notice that i've activated IEEEI802.15.4 Network otion and the simple >> LRWPAN device driver in . >> >> Any idea ? >> >> Pierre-emmanuel >> >> >> ------------------------------------------------------------------------------ >> Nokia and AT&T present the 2010 Calling All Innovators-North America contest >> Create new apps& games for the Nokia N8 for consumers in U.S. and Canada >> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing >> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store >> http://p.sf.net/sfu/nokia-dev2dev >> _______________________________________________ >> Linux-zigbee-devel mailing list >> Linux-zigbee-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel >> > ------------------------------------------------------------------------------ > Nokia and AT&T present the 2010 Calling All Innovators-North America contest > Create new apps& games for the Nokia N8 for consumers in U.S. and Canada > $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing > Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store > http://p.sf.net/sfu/nokia-dev2dev > _______________________________________________ > Linux-zigbee-devel mailing list > Linux-zigbee-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ Linux-zigbee-devel mailing list Linux-zigbee-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel