Skip to content

em(Enable Monitor mode) command

Naoki Aizu edited this page Apr 17, 2014 · 1 revision
#!/system/bin/sh

svc wifi disable

echo -n /system/vendor/firmware/fw_bcm4329.bcmon.bin > /sys/module/bcmdhd/parameters/firmware_path
ip link set wlan0 up

iw dev wlan0 interface add mon.wlan0 type monitor flags none
ip link set mon.wlan0 up

iw dev wlan0 set channel 1
Clone this wiki locally