Skip to content

Automatically disable Wifi when an Ethernet connection (cable) is plugged in on a Mac

License

Notifications You must be signed in to change notification settings

honwen/mac-auto-xlan-switch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Thanks (embeds)

Function

- When Ethernet connected, WiFi will be closed automatically.
- When Ethernet disconnected, WiFi will be open automatically.

Install

go install github.com/honwen/mac-auto-xlan-switch@latest

Use

sudo mac-auto-xlan-switch start
sudo mac-auto-xlan-switch stop

Help

$ mac-auto-xlan-switch -h
NNAME:
   switcher - mac-auto-xlan-switch

USAGE:
   mac-auto-xlan-switch [global options] command [command options] [arguments...]

VERSION:
   Git:[MISSING BUILD VERSION [GIT HASH]] (go1.20.4)

COMMANDS:
   start    Start Auto xLan Switcher
   stop     Stop Auto xLan Switcher
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h     show help
   --version, -v  print the version

About

Automatically disable Wifi when an Ethernet connection (cable) is plugged in on a Mac

Resources

License

Stars

Watchers

Forks

Packages

No packages published