Socket
Socket
Sign inDemoInstall

osx-wifi-cli

Package Overview
Dependencies
2
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
9
increased by80%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

osx-wifi-cli

Build Status NPM Version License

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.
  • To connect to network without a password (bad idea!) use osx-wifi-cli networkname " "

Keywords

FAQs

Last updated on 25 Jan 2015

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