abandonware/wireless-tools

iwlist scan issue

guybridge opened this issue · 0 comments

Running on a pi with Electron UI

Getting the following error;

Error { killed: false, code: 127, signal: null, cmd: 'iwlist wlan0 scan' }

running like

scanSSIDS() { return new Promise((resolve, reject) => { iwlist.scan('wlan0', function(error, networks){ if(!error) return resolve(networks) return reject(error) }) }) }

Does this still work if we're not root?