Alfred workflow that can show and change your network settings; WiFi, Ethernet, VPN, DNS, etc.
This is a collection of the functionality of already existing network-oriented workflows that I found half-baked or stalled. Improved on performance, usability and details.
Recommended to install via Packal for auto update support.
- Type
wifi
to show Wi-Fi info and enable/disable. - Type
eth
to show ethernet info (if connected). - Type
wifilist
to scan for Wi-Fi hotspots. - Type
vpn
to list configured VPNs and connect. - Type
dns
to list and change DNS settings.
Requires Alfred 2 and Power Pack for installing this extension. Might behave differently on Mac OSX versions older than 10.7 Lion. This workflow is primarily implemented in bash with a little help from AppleScript.
bats is used for automatic testing of bash functionality. Install with brew install bats
using brew.
Run tests: bats tests
- Basic functionality
- Unit tests
- Mark saved networks with a star
- Adjust wifi icon according to strength
- Ethernet support
- VPN list
- Travis CI build
- Connect WiFi AP using Applescript
- Sort APs (improve!)
- Filter APs on-the-fly, but only scan once
- Use optional parameters for unit tests
- Bluetooth list
- DNS switcher using
networksetup -setdnsservers
Contributions, bug reports and feature requests are very welcome.
- Martin