# 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
8
www.ubisys.de
Need help?
Do you have a question about the IEEE 802.15.4 usb stick with wireshark firmware and is the answer not in the manual?
Questions and answers