Skip to content

Instantly share code, notes, and snippets.

View zhuhuilin's full-sized avatar

William Zhu zhuhuilin

View GitHub Profile
@zhuhuilin
zhuhuilin / README.md
Created November 25, 2025 14:15
Enable macOS Internet Sharing without an actual internet connection. Three bash scripts using only native macOS commands - no installations required. Perfect for creating local WiFi networks for development, testing, and device-to-device communication.

macOS Internet Sharing Without Internet Connection

Three bash scripts to enable macOS Internet Sharing (Personal Hotspot) without requiring an actual internet connection. Perfect for creating local WiFi networks for development, testing, or device-to-device communication.

✨ Features

  • Zero dependencies - Uses only native macOS commands
  • Smart & safe - Preserves existing configurations
  • Reversible - Easy setup and teardown
  • State tracking - Remembers what was changed