dersimn / owrtwifi2mqtt

Using your OpenWRT Router's Wifi to detect if a person's smartphone is still in/near the apartment and publish via MQTT
74 stars 24 forks source link

iw not found #8

Open kevinshane opened 6 years ago

kevinshane commented 6 years ago

Hi, I try to run the script but I always get this: line 16: iw: not found where can I find this iw or maybe switch iw command to something else?? like arp?? Thanks

gsantner commented 5 years ago

are you sure that you put the script on your openwrt router? it should always come with that package. If not you should be able to install it with opkg install iw.

Looks very much to me like you executed the script on your openhab box, not at openwrt router.