Git Product home page Git Product logo

Comments (4)

friedrith avatar friedrith commented on June 12, 2024

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.

friedrith avatar friedrith commented on June 12, 2024

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.

stonegray avatar stonegray commented on June 12, 2024

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.

friedrith avatar friedrith commented on June 12, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.