Top > Project_Probe

人流センシング

Wi-Fi ProbeRequest Sensor Recipe Edit

Ingredients Edit

  • NUC, Raspberry Pi (B+), MACmini, MacBookAir,...
  • WLAN Adapter (monitor mode available)
    • Intel Centrino Advanced-N 6235
    • IO-DATA: WN-G300UA (Ubuntu 1404LTS) NG for Raspbian 14-12-24 Debian Wheezy
               Product ID: 0x8178
               Vendor ID: 0x0bda  (Realtek Semiconductor Corp.)
               Version: 2.00
               Serial Number: 00e04c000001
               Speed: Up to 480 Mb/sec
               Manufacturer: I-O DATA DEVICE, INC.
               Location ID: 0x14200000 / 12
               Current Available (mA): 500
               Current Required (mA): 500
    • IO-DATA: WN-G300U(K)
    • LOGITEC: LAN-W150NU2A
    • WLI-UC-AG300N
               Product ID: 0x012e
               Vendor ID: 0x0411  (Melco, Inc.)
               Version: 1.01
               Serial Number: 1.0
               Speed: Up to 480 Mb/sec
               Manufacturer: 敇瑭步挮浯䩟
               Location ID: 0x14200000 / 14
               Current Available (mA): 500
               Current Required (mA): 450
    • WI-U2-300D(802.11 n WLAN: successor of WLI-UC-AG300N)
               Product ID: 0x0241
               Vendor ID: 0x0411  (Melco, Inc.)
               Version: 1.01
               Serial Number: 1.0
               Speed: Up to 480 Mb/sec
               Manufacturer: Ralink
               Location ID: 0x14200000 / 16
               Current Available (mA): 500
               Current Required (mA): 450

Directions Edit

  • /etc/network/intefaces
    allow-hotplug eth0
    iface eth0 inet dhcp
    allow-hotplug wlan0
    iface wlan0 inet dhcp
    wireless-power off
    wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
  • /etc/wpa_supplicant/wpa_supplicant.conf
  • wpa_passphrase SSID KEYString >> /etc/wpa_supplicant/wpa_supplicant.conf
    network={
        ssid="JozenLab"
        psk=.....
        psk=.....HEX.....
        scan_ssid=0  // (stelth mode:1)
        proto=WPA2
        key_mgmt=WPA-PSK
        pairwise=CCMP TKIP
        group=CCMP
        auth_alg=OPEN
    }
  • command line
    • ubuntu
      loadkeys us
      ifconfig wlan0 down
      iwconfig wlan0 mode Monitor
      ifconfig wlan0 up
    • raspberry pi
  • raspi-config -- locale, keymap -> US
  • apt-get install tcpdump
  • apt-get install i2c-tools
  • rtcの設定
    • Comment out a line by putting # in front of 'i2c-bcm2708'. /etc/modprobe.d/raspi-blacklist.conf
    • Add 'i2c-dev' to a new line to /etc/modules .
    • reboot
      # modprobe i2c-dev
      # i2cdetect -y 1
      60: -- -- -- -- -- -- -- -- 68 -- -- -- -- -- -- -- 
      # modprobe rtc-ds3232
      # echo ds3231 0x68 > /sys/class/i2c-adapter/i2c-1/new_device 
      # hwclock -r
      # hwclock -w --systohc
  • rc.local
    tcpdump -I -i wlan0 -e -w logfile.`date +%m%d-%H%M%S`.pcap subtype probereq &

tcpdump -r -e logfile


添付ファイル: file802.11Framing in Detail.pdf 37件 [詳細]

リロード   新規 下位ページ作成 編集 凍結 差分 添付 コピー 名前変更   ホーム 一覧 検索 最終更新 バックアップ リンク元   ヘルプ   最終更新のRSS
Last-modified: Sun, 01 Feb 2015 11:22:23 JST (1026d)