|
人流センシング
Wi-Fi ProbeRequest Sensor Recipe 
Ingredients 
- 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 
- /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
- raspi-config -- locale, keymap -> US
- apt-get install tcpdump
- apt-get install i2c-tools
- rtcの設定
- rc.local
tcpdump -I -i wlan0 -e -w logfile.`date +%m%d-%H%M%S`.pcap subtype probereq &
tcpdump -r -e logfile
|
|