Skip to main content

Mac Internet Sharing Helper

Project description

Mac Internet Sharing

A Python CLI tool to manage internet sharing on macOS.

Installation

pipx install mac-internet-sharing

Usage

The tool provides several commands to manage internet sharing. Here are some common use cases:

Starting Internet Sharing

To share your internet connection on a specified primary interface, use:

sudo misha configure -n <primary_interface> -u <udid> -u <udid> -s
  • <primary_interface>: Replace with your network interface name (e.g., "Ethernet Adapter (en6)").
  • -u <udid>: Optionally specify one or more device UDIDs.
  • -s: Automatically start sharing after configuration.

Note: Newly connected devices after the initial setup are not added automatically you will need to reconfigure.

Toggling Internet Sharing

Manage the sharing state with the following commands:

  • Turn Sharing Off:

    sudo misha off
    
  • Turn Sharing On:

    sudo misha on
    

Contributing

Contributions, bug reports, and feature requests are welcome! Feel free to open issues or submit pull requests.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mac_internet_sharing-0.0.3.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mac_internet_sharing-0.0.3-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file mac_internet_sharing-0.0.3.tar.gz.

File metadata

  • Download URL: mac_internet_sharing-0.0.3.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for mac_internet_sharing-0.0.3.tar.gz
Algorithm Hash digest
SHA256 71e3a827bd46e33fc9d4f7401bdb54202a4e35fa38da95256610be45dcfb5afb
MD5 2e9794f871d760153a512e7bfd74be6e
BLAKE2b-256 39bff12e14f11083e81ef9592e7a4d25e8eef47004e0ac38ed0b34f9cda59404

See more details on using hashes here.

File details

Details for the file mac_internet_sharing-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for mac_internet_sharing-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 381efdee467cbe0a0e3a225d23267aa0ee77359978eafbcac75177670fd7a09f
MD5 fceb467c044c14ad16549060277ad72b
BLAKE2b-256 45bac133fcee1d4b52daa77d47be7454a697e0127f724ac43c9094de39d5df56

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page