# Setup on Linux

(back)

1. download the µracoli source package and unpack it
2. change to the to top directory
   `cd ~/src/uracoli-ZZZ`
3. build the sniffer application
   `scons a[PLF]`
   ``[PLF] is the name of your target plattform (see `"scons help"`)
4. program your target plattform with the application `"sniffer_[PLF].hex"`
   `avrdude -P usb -pm1281 -c jtag2fast -U fl:w:install/bin/sniffer_stk541.hex`
5. verify, that the fuses of the MCU match the predfined values in grpBoard.
6. start wireshark
   `wireshark -i foo &`
7. start the application ieee802154.py
   `python Contrib/PacketCapture/ieee802154.py -p /dev/ttyUSB0 -i foo`
8. if erything worked well until here, you will see in the terminal:

       uracoli sniffer to wireshark bridge V0.1.0
        OPTS:   -v -p /dev/ttyUSB0 -i foo
        INPUT:  /dev/ttyUSB0, channel: 15
        OUTPUT: foo

       + waiting for somebody to open the pipe

9. in wireshark select "Capture -> Start" from the menu of The background of wireshark turns white.
10. in the ieee802154.py terminal type `"chan X"`, to select the channel you want to watch.
11. .... now start sending packages in your WSN

Screenshot wireshark life capture.