Socket
Socket
Sign inDemoInstall

osx-wifi-cli

Package Overview
Dependencies
3
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    osx-wifi-cli

A command line tool for managing wifi connection in osx


Version published
Weekly downloads
2
Maintainers
1
Install size
1.00 MB
Created
Weekly downloads
 

Readme

Source

osx-wifi-cli

A command line tool for managing wifi connections on OSX


Installation
$ npm install -g osx-wifi-cli

Usage

osx-wifi-cli shows you which network you are connected to, if you are.

osx-wifi-cli scan shows available networks.

osx-wifi-cli on, osx-wifi-cli off, and osx-wifi-cli restart control the wifi device state.

osx-wifi-cli NETWORK PASSWORD tries to connects to NETWORK with PASSWORD.


Notes
  • This has been so far developed to "Work on my machine". If it's not working on yours, please tell me what's up, and I'll try to fix it. (For instance, wifi device is assumed to be en0).
  • For easier execution, add to your .bashrc file: alias wifi='osx-wifi-cli'
  • This was developed in a way that should make implementing this for other operating systems easy. If you want to give it a shot, check out the code or send me a message.

TODOs
  • Enable connection to a network without a password. (Should currently be possible with " ")
  • Enable picking a network by a numeric id

Feedback
  • If you enjoyed this tool, please star it on Github!
  • I'd love to get any feedback you might have! Mail me at danyshaanan@gmail.com, or open an issue.
  • More material appreciation is welcome in the form of bitcoins. My address can be found on this page.

Keywords

FAQs

Last updated on 22 Mar 2014

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc