Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


raspberry_pi_openlabs_6lowpan

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
raspberry_pi_openlabs_6lowpan [2017/06/28 21:55] – [Preparation] adminraspberry_pi_openlabs_6lowpan [2017/06/29 11:50] – [Monitor mode, packet capture] admin
Line 6: Line 6:
   * {{ ::atmel-8351-mcu_wireless-at86rf233_datasheet.pdf |AT86RF233 Datasheet - Atmel Corporation}}   * {{ ::atmel-8351-mcu_wireless-at86rf233_datasheet.pdf |AT86RF233 Datasheet - Atmel Corporation}}
   * Documentation, mailinglist [[http://wpan.cakelab.org/]]   * Documentation, mailinglist [[http://wpan.cakelab.org/]]
 +  * [[http://openlabs.co/OSHW/Raspberry-Pi-802.15.4-radio|openlabs 802.15.4 radio]]
  
 {{::openlabs.jpg?nolink&600|}} {{::openlabs.jpg?nolink&600|}}
Line 44: Line 45:
  
 ====WPAN ping==== ====WPAN ping====
 +Ping at IEEE 802.15.4 level. 
 +
   * Set-up server:<code>ip link set wpan0 down   * Set-up server:<code>ip link set wpan0 down
 iwpan phy0 set channel 0 15 iwpan phy0 set channel 0 15
Line 152: Line 155:
   * Remote monitoring with Wireshark over SSH:<code>ssh <ip> 'dumpcap -P -i monitor0 -w -' | wireshark -k -i -   * Remote monitoring with Wireshark over SSH:<code>ssh <ip> 'dumpcap -P -i monitor0 -w -' | wireshark -k -i -
 </code>{{::screenshot_from_2017-06-28_23-29-23.png?direct&600|}} </code>{{::screenshot_from_2017-06-28_23-29-23.png?direct&600|}}
 +  * Examples:<code>
 +# Filter packets from specific source
 +tshark -i monitor0 -V -Y "wpan.src16==0x0100"
  
 +# Filter packets from specific source PAN
 +tshark -i monitor0 -V -Y "wpan.src_pan==0xfcff"
 +
 +# CSV example
 +tshark -i monitor0 -Y "wpan.src_pan==0x00b1" -Tfields -E separator=, -E quote=d -e wpan.src_pan -e wpan.src16 -e data
 +
 +</code>
  
raspberry_pi_openlabs_6lowpan.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1