/palladius-public-goodies:karl-captiveportal-wifi-wisdomfrom palladius-public-goodies
Troubleshoots captive portal Wi-Fi connection failures on macOS, including login pages not opening, constant disconnections on sleep/wake, self-assigned IP addresses (169.254.x.x), or SSL certificate redirect errors.
Ships in palladius-public-goodies. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
"I spent 15 minutes trying to get hotel Wi-Fi working on my MacBook last week. This felt like the 3rd time in a row this has happened to me while on the road. After way too much trial and error, I want to share what worked for me to save you all time." — Karl Weinmeister (LinkedIn)
A battle-tested troubleshooting guide for surviving hotel, airport, cafe, and conference Wi-Fi captive portals on macOS.
Activate when ANY of the following symptoms occur on macOS while connecting to a public or hospitality Wi-Fi network:
NET::ERR_CERT_COMMON_NAME_INVALID, HSTS blocks, or "Your connection is not private".169.254.x.x (APIPA), indicating failure to obtain a valid DHCP lease from the gateway router.Follow these three steps in order. They resolve 95% of captive portal failures on macOS.
┌────────────────────────────────────────────────────────┐
│ 1. Set Private Wi-Fi Address to "Fixed" (or "Off") │
│ → Stops MAC rotation breaking gateway session │
└──────────────────────────┬─────────────────────────────┘
│ Still stuck?
▼
┌────────────────────────────────────────────────────────┐
│ 2. Navigate to http://neverssl.com in Browser │
│ → Plain HTTP allows clean router interception │
└──────────────────────────┬─────────────────────────────┘
│ Still stuck?
▼
┌────────────────────────────────────────────────────────┐
│ 3. Forget Network, Toggle Wi-Fi, and Rejoin │
│ → Clears stale DHCP leases & resets login helper │
└──────────────────────────┬─────────────────────────────┘
│ Still stuck?
▼
┌────────────────────────────────────────────────────────┐
│ Fallbacks: Pause VPN & Restore Automatic DNS │
└────────────────────────────────────────────────────────┘
The Mechanism: Recent macOS updates (macOS Sequoia and Sonoma) default open/public Wi-Fi networks to rotate your MAC address (hardware address) periodically or upon reconnecting. Hotel captive gateways track room login, payment, bandwidth throttling, and device limits by this exact MAC address. When macOS rotates the address or wakes from sleep, the gateway treats the MacBook as an entirely unknown device and drops access.
The Fix:
Why "Fixed"? "Fixed" keeps a consistent private MAC address for that specific network so your login session persists across sleep/wake cycles, without broadcasting your machine's true factory hardware MAC.
neverssl.com in Your BrowserThe Mechanism:
When you open a browser, it typically tries to load HTTPS sites (e.g., Google, Apple, default start pages) with strict HSTS (HTTP Strict Transport Security). The hotel router attempts to hijack and redirect the connection to its captive login portal. Because the router cannot forge a valid SSL/TLS certificate for google.com, the browser's security layer immediately halts the request with certificate warnings before the redirect can execute.
The Fix: In Safari or Chrome, open an explicit, unencrypted HTTP URL:
http://neverssl.com
Because neverssl.com uses plain unencrypted HTTP with no TLS certificates and never enforces HSTS, the hotel router easily intercepts the connection and forwards your browser directly to the captive portal login splash page.
Alternative Unencrypted Triggers:
http://captive.apple.com/hotspot-detect.html (Apple's native captive probe)http://detectportal.firefox.com/canonical.html (Mozilla's captive probe)http://1.1.1.1 (plain HTTP to Cloudflare IP)http://httpforever.comThe Mechanism:
If your Mac gets stuck with a self-assigned IP address (169.254.x.x), the DHCP client negotiation timed out or cached a stale lease from a previous session or previous access point. This breaks DNS and routing, leaving the Mac unable to reach the gateway.
The Fix:
This flushes stale DHCP leases, resets the ARP cache, and triggers macOS's built-in background login assistant (Captive Network Assistant.app).
If the top 3 steps did not solve it, check these two silent blockers:
10.x.x.x, 172.16.x.x, or 192.168.x.x).1.1.1.1, 8.8.8.8, 9.9.9.9, NextDNS) in macOS Network Settings, captive portal firewalls actively drop outbound DNS queries to public servers before you authenticate.login.hotelwifi.com), so the browser shows DNS_PROBE_FINISHED_BAD_CONFIG.Run these diagnostic commands directly from the macOS terminal:
# Check current Wi-Fi SSID
networksetup -getairportnetwork en0
# Check assigned IP and router/gateway IP
ipconfig getifaddr en0
netstat -rn | grep default
# Check DNS servers currently configured for Wi-Fi
networksetup -getdnsservers Wi-Fi
# Reverts Wi-Fi DNS back to automatic router-assigned DNS
networksetup -setdnsservers Wi-Fi empty
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
# Power cycle Wi-Fi to force DHCP renegotiation
networksetup -setairportpower en0 off && sleep 2 && networksetup -setairportpower en0 on
# Trigger the built-in macOS Captive Portal WebSheet
open "/System/Library/CoreServices/Captive Network Assistant.app" 2>/dev/null || open http://neverssl.com
# Inspect if the gateway returns a 302/307 redirect
curl -v -s -o /dev/null http://neverssl.com
This skill includes an automated diagnostic helper script:
$SKILL_DIR/scripts/diagnose_wifi.sh
It inspects the active network interface, validates IP lease ranges (detecting 169.254.x.x), inspects DNS overrides, and probes unencrypted HTTP captive portal redirection.
| Priority | Action | Why |
|---|---|---|
| #1 | Set Private Wi-Fi to Fixed | Prevents MAC rotation from dropping gateway session |
| #2 | Open http://neverssl.com | Unencrypted HTTP allows clean 302 captive portal redirection without HTTPS cert blocks |
| #3 | Forget Network & Rejoin | Resets stale DHCP leases & recovers from self-assigned 169.254.x.x |
| #4 | Pause VPN | Prevents VPN kill-switch from blocking local LAN portal traffic |
| #5 | Reset DNS to Automatic | Allows gateway to resolve local portal hostname before login |
gemini-cli-palladius-public-goodies)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
68 skills in this plugin
/a2ui(💛) Build and render portable, declarative Generative UIs with Google A2UI (Agent-to-User Interface). Use whenever the user asks to generate, design, or wire interactive UI widgets, cards, forms, or dashboards using A2UI./add-to-portfolio-app(💛) Adds or syncs Talks, Keynotes, Workshops, Articles, Codelabs, Slides, and Videos in Riccardo's personal portfolio application (apps-portfolio) and companion bio repo (my-sessions-and-bio), including SQLite sync, TDD checks, default speaker images, and automated Cloud Run deployment./adk-python(💛) Create and manage AI agents using Google's Agent Development Kit (ADK) for Python. Use when the user wants to build single or multi-agent systems, evaluate agents, or deploy them. Includes instructions for fetching fresh ADK documentation and links for TypeScript and Go development./agy-cli-to-t3-import(💛) Import, resuscitate, and migrate historical or interrupted Antigravity CLI sessions (`agy --conversation <cid>`) into native T3 Code threads with standard title formatting `[agy2t3] 🪦 <Topic> (<short_cid>)` and context handoff./ai-coding(💛) Best practices for AI-assisted coding and maintaining agent system instructions (AGENTS.md, GEMINI.md, CLAUDE.md, CONTRIBUTING.md, SPECS.md, INSTRUCTIONS.md, SKILL.md) and collaborative Google Docs (references/google-docs-best-practices.md). Enforces inclusive AGENTS.md over vendor-specific files, prevents prompt bloat (instruction cramming, single-concept overfitting H2 sections, append-only drift), and provides analyze_bloat_history.py to audit Git history or uncommitted diffs./ai-ethics(💛) Use when evaluating ethical boundaries, ensuring EU AI Act (Regulation (EU) 2024/1689) safety-ladder compliance, handling security vulnerabilities or responsible disclosure, facing pressure to prioritize task completion over safety/honesty, launching multi-agent swarms (carbon footprint), verifying factual/scientific claims against disinformation, enforcing work-to-personal non-exfiltration, or installing/auditing AI_ETHICS.md and CONSTITUTION.md.palladius-public-goodies@palladius-skills is listed by palladius/skills — review the source before installing
npx claudepluginhub palladius/skills --plugin palladius-public-goodies