This repository was archived by the owner on Oct 31, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
This repository was archived by the owner on Oct 31, 2024. It is now read-only.
[BUG] WiFi Changes do not work on Raspberry Pi #14
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
The following command used by DWE_OS for WiFi manager, fails in the Raspberry Pi OS.
nmcli --terse --fields active,ssid,bssid,mode,chan,freq,signal,security,wpa-flags,rsn-flags device wifi listNetwork Manager is not running on RPi since RPi uses the older dhcpcd by default.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
DWE_OS should run on the host IP on port 5000.
Screenshots
pi@raspberrypi:~/Documents/DWE_OS/ui $ sudo npm start
> @deepwaterexploration/[email protected] start
> node bin/index.js
Error: Command failed: nmcli --terse --fields active,ssid,bssid,mode,chan,freq,signal,security,wpa-flags,rsn-flags device wifi list
Error: NetworkManager is not running.
at ChildProcess.exithandler (child_process.js:383:12)
at ChildProcess.emit (events.js:400:28)
at maybeClose (internal/child_process.js:1088:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:296:5) {
killed: false,
code: 8,
signal: null,
cmd: 'nmcli --terse --fields active,ssid,bssid,mode,chan,freq,signal,security,wpa-flags,rsn-flags device wifi list'
}
index.js
default command
Commands:
index.js default command [default]
index.js start [port] [host] start the server
index.js reset reset the settings file
Options:
--version Show version number [boolean]
--help Show help [boolean]
Error: Command failed: nmcli --terse --fields active,ssid,bssid,mode,chan,freq,signal,security,wpa-flags,rsn-flags device wifi list
Error: NetworkManager is not running.
at ChildProcess.exithandler (child_process.js:383:12)
at ChildProcess.emit (events.js:400:28)
at maybeClose (internal/child_process.js:1088:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:296:5) {
killed: false,
code: 8,
signal: null,
cmd: 'nmcli --terse --fields active,ssid,bssid,mode,chan,freq,signal,security,wpa-flags,rsn-flags device wifi list'
}
^C^C^C^\QuitEnvironment (please complete the following information):
- OS: Raspberry Pi OS
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working