Just to add a little...

The kernel I am using is 2.6.32.9, and I just found this message on the
mailing list:
http://devl.org/pipermail/mc1322x/2010-August/000509.html

It appears that some of the linux-zigbee kernel did not start making its way
in to mainstream until 2.6.33-35.  So, using the 802.15.4 modules from my
2.6.32.9 kernel may not be recent enough.  This may be why I am not getting
the full, expected, interface.

Unfortunately, it's a little tough to upgrade the kernel on my embedded
device.  I've tried, and failed several times.

All I need out of the device is pretty basic:
  * sniff ZigBee packets in pcap format (monitor mode)
  * switch channels
  * inject ZigBee packets to transmit to other ZigBee devices (basically,
raw)

If the kernel is truly the issue (somebody could confirm for me?), and the
kernel is challenging to update, then maybe it is best for me write
something custom to talk to the serial device (e.g., expanding on
rftestrx2pcap.pl).


On Sat, Jul 30, 2011 at 7:31 AM, George Nychis <gnyc...@gmail.com> wrote:

> Hi all,
>
> I am trying to follow the list of guides on the linux-zigbee wiki for
> setting up a ZigBee device which I can capture packets using libpcap and
> parse them with Wireshark.  I have the Econotag USB device.
>
> I am attempting to get it to work on an embedded device, which runs the
> Linux kernel version 2.6.32.9.  I am following the following guide:
> http://sourceforge.net/apps/trac/linux-zigbee/wiki/GettingStarted-0.2
>
> I have rebuilt my kernel with IEEE802154 support built as modules:
> $ grep 80215 .config
> CONFIG_IEEE802154=m
> CONFIG_IEEE802154_DRIVERS=m
> CONFIG_IEEE802154_FAKEHARD=m
>
> I can insert my modules and the hardware successfully:
> <6>[  681.209869] ieee802154hardmac ieee802154hardmac: Added ieee802154
> HardMAC hardware
> <7>[  690.872894] ieee802154_dump_iface
> <7>[  690.883392] ieee802154_nl_fill_iface
> <7>[  690.887512] ieee802154_dump_iface
> <7>[  888.239135] ieee802154_dump_iface
> <7>[  888.328308] ieee802154_nl_fill_iface
> <7>[  888.344390] ieee802154_dump_iface
>
> Following the guide, I expected to do 'iz listphy' and get the same output
> as shown in the guide, with a wpan-phy0 interface.  Instead, I get no
> output.  Instead, I get output when I do 'iz list' ...
> # ./iz listphy
> # ./iz list
> hardwpan0
>     link: IEEE 802.15.4 MAC interface
>     hw ba:be:ca:fe:de:ad:be:ef pan 0xeba1 short 0x0001
>
> It seems as though I have a MAC interface to my ZigBee device, but not the
> PHY interface as I expected.
>
> Is it the driver provided with my kernel version?  On the guide, it says to
> get "zigbee-kernel-0.2.tar.gz" - however I did not see this provided
> anywhere on the download page, so I assumed this was merged in to the kernel
> releases.
>
> Thanks for any help!
>
> - George
>
------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Linux-zigbee-devel mailing list
Linux-zigbee-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel

Reply via email to