8
www.ubisys.de
# patch rndis_host.c rndis_host.c.patch
Notice: If certain hunks could not be applied, you should nevertheless continue to build.
Now, build the patched kernel module:
# make
This results in an output like this:
make -C /lib/modules/2.6.32-5-powerpc64/build/ M=/root/ubisys-m7b-rndis modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-5-powerpc64'
CC [M] /root/ubisys-m7b-rndis/rndis_host.o
Building modules, stage 2.
MODPOST 1 modules
CC /root/ubisys-m7b-rndis/rndis_host.mod.o
LD [M] /root/ubisys-m7b-rndis/rndis_host.ko
Finally, install the modified kernel module:
# sudo make install
In case the module has been loaded previously, you must unload it first. You can use the tool lsmod to
check if the module is active and rmmod to remove active modules. If rndis_wlan is also loaded, you
have to unload it first, since it depends on rndis_host.
# lsmod
# sudo rmmod rndis_host
It is strongly recommended that you disable Internet Protocol version 4 and 6 bindings to that interface
to prevent any traffic being generated on the sniffer interface.
Read the section on how to configure the capture channel to make the device operational, here we
want to capture on channel 26:
# sudo ./ieee802154_options.sh –c 26
Now we need to check the interface that has been created for the capture device. Print the recent
kernel messages to identify the interface:
# dmesg
Creates an output like this:
...
[2446022.499686] rndis_host ieee802154 channel is 26
[2446022.502352] rndis_host 1-1.4:1.0: eth3: register 'rndis_host' at usb-0000:00:1d.7-
1.4, RNDIS device, 00:1f:ee:00:01:84
...
Now, bring the interface up, such that it can be used by Wireshark:
# sudo ifconfig eth3 up
Summary of Contents for IEEE 802.15.4 usb stic with wireshark firmware
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...