7
www.ubisys.de
5.
Installation Linux
Download and install the latest Wireshark software source code from
http://www.wireshark.org
and
compile it on your system, or simply use a pre-compiled package for your Linux distribution. A
variety of Linux distributions and package managers is available, and we cannot provide
information for all of them. But the general steps are the same or at least very similar.
If you use
debian or ubuntu Linux, you can download and install the pre-compiled package using the Advanced
Packaging Tool. You need administrator privileges for installation.
# sudo apt-get install wireshark
Next, you need to add a suitable driver for the ubisys IEEE 802.15.4 Wireshark USB stick. Prepare
your system for building kernel modules by downloading and installing the kernel headers that have
been used to build your kernel, compiler tool-chains etc.
# sudo apt-get install linux-headers-$(uname –r) linux-libc-dev kernel-package
You are also going to need the kernel sources, since ubisys provides a patch to the rndis_host.c driver
module. The community patch and accompanying shell script have both been provided by Marcus
Ihde-Meister and have been tested by ubisys on different hardware platforms.
First, determine your kernel version using:
# uname –r
2.6.32-5-powerpc64
In this example, this is a 2.6 kernel. Substitute 2.6 with whatever is returned by uname r up to the
major release number.
# cd /usr/src
# sudo apt-get source linux-source-2.6
This will create a linux-xxx subdirectory with the complete, patched kernel sources under /usr/src.
Download and extract the ubisys IEEE 802.15.4 Wireshark USB stick driver package for Linux, which
is provided as a gzip-compressed tar-ball.
# cd
# wget http://www.ubisys.de/downloads/ubisys-m7b-rndis.tgz
# tar –xzf ubisys-m7b-rndis.tgz
This creates a directory called ubisys-m7b-rndis under your home directory. Now, copy the original
rndis_host.c file from your Linux source directory to this directory:
# cd ubisys-m7b-rndis
# cp /usr/src/linux-2.6_2.6.32/drivers/net/usb/rndis_host.c .
And apply the community patch:
Summary of Contents for IEEE 802.15.4 usb stic with wireshark...
Page 1: ...REFERENCE MANUAL...
Page 12: ...12 www ubisys de...
Page 17: ...17 www ubisys de Figure 10 Example of a ZigBee PRO Link Status Frame...
Page 21: ...21 www ubisys de Figure 15 Wireshark ZigBee pre configured keys...
Page 26: ...26 www ubisys de 12 Physical Dimensions Figure 20 USB Stick with on board PCB antenna...