node-createap
Node wrapper for create_ap
Note : sudo create_ap
needs to run passwordless !
Note for Raspbian-RPI3 users:
--no-virt
option required- running fine with hostapd v2.5
- dnsmasq & hostapd daemons disabled (
sudo systemctl disable hostapd // dnsmasq
) - disabled all wireless settings in
/etc/network/interfaces
, so it's onlyallow-hotplug wlan1
andallow-hotplug wlan0
Usage :
npm install --save node-createap
then...
var CAP = var createap = path: '/home/pi/create_ap/create_ap' options: '--daemon -n --isolate-clients -m nat --no-virt --hostapd-debug 2 --no-haveged -g 192.168.11.1 -c 1 --country US' // --hidden silent: true wirelessInterface: 'wlan0' wiredInterface: 'eth0' wifiApName: 'MyNetwork' wifiWPA: 'aaaaaaaa' createapstart{ console} process;