Comments (4)
In fact this library is made to manage wifi connections without human interaction. And it is better to do it in manual mode. It could be a improvement to do.
from node-wifi.
It could be something useful to add into the options in the connect function like this:
wifi.connect({
ssid: 'ssid',
password: 'password',
auto: true|false,
})
However, I think that could be useful to find how to manage this auto connection behavior for all OS before integrating it in node-wifi
.
If you are interested in this feature, do not hesitate to propose a PR. But remember to implement the feature of all os.
from node-wifi.
It would be a huge confidentiality and availability problem.
Availability wise, it's quite possible you'll hit a network with a captive portal and not be able to access the web. How can you tell if you've connected to a useful network?
From a security perspective it's a nightmare. You can fingerprint the device, MITM your device, and more. Mitigating this is way outside the scope of this library.
If you want to do this you totally can, but beware of the above.
from node-wifi.
Totally right! But since it is available with user interface, I don't think it is really a problem. Moreover this option should be set to false by default.
Whatever, I am waiting to have this feature on all OS before releasing it.
from node-wifi.
Related Issues (20)
- Error: spawn nmcli ENOENT (Linux/Raspberry Pi) HOT 15
- How to fix ssid name like �? HOT 2
- No Error Thrown at Wrong Password HOT 1
- [Bug]: Returning [] empty array on macOS Monterey HOT 21
- Send fake Mac address when connecting to a network HOT 1
- [Bug]: Linux Disconnect Not Working HOT 4
- [Feat]: More information about `.init()` HOT 2
- [Bug]: not support security WPA3 on Windows 10 HOT 1
- [Bug]: Win 10 and 11 differences in `getCurrentConnections`
- [Feat]: Get empty BSSID string in macOS Monterey (> 12.1) HOT 2
- [Feat]: Add language support HOT 1
- [Bug]: In ubuntu22.04, the return value is an empty array when i use getCurrentConnections method
- [Bug]: Wrong data returns for getCurrentConnections on windows 11 HOT 3
- [Bug]: Running in ESM (*.mjs) returns "ERROR : use init before" HOT 1
- Still maintained? HOT 1
- I can't get wifi list when I use wifi.scan().
- [Bug]: Unable to disconnect device in Ubuntu 20.04.3 LTS
- [Bug]: encoding error of network['security'] in scan result.
- It fails to differentiate SSIDs with Unicode and ones without.
- Unable to detect SSID after update to MacOS Sonoma 14.4 (23E214) HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-wifi.