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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mac_internet_sharing-0.0.2.tar.gz.
File metadata
- Download URL: mac_internet_sharing-0.0.2.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2566872ad47a9ff7469e3512bf6f8c6122048e971882aa7359daa2094780c346
|
|
| MD5 |
5f013ad3997da24e613835a17cf55c19
|
|
| BLAKE2b-256 |
9b08d52d51e8f7cc5cc3dd7b0d83f7388d0bd709fc86156a9874e381c81c816b
|
File details
Details for the file mac_internet_sharing-0.0.2-py3-none-any.whl.
File metadata
- Download URL: mac_internet_sharing-0.0.2-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e8e94df8862fed288b0546f600bab056b193e3c75d0c0c3600d1c862b472946a
|
|
| MD5 |
d628eb33380df42e1c81deb9a5d85e2b
|
|
| BLAKE2b-256 |
e2f3df61ca325460ab38c8da81f8263e302749e1e11dcb19fec6fd436bfe48e5
|