node package manager
Stop writing boring code. Discover, share, and reuse within your team. Create a free org »

osx-wifi-cli

osx-wifi-cli

Build Status NPM Version License Dependency Status devDependency Status

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 pass shows you the password for your current network.

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

  • For easier use, add to your .bashrc file: alias wifi='osx-wifi-cli'
  • To connect to network without a password (bad idea!) use osx-wifi-cli networkname " "

Feedback