MacBook 上不了飛機 Wi-Fi,但手機可以
Plane Wi-Fi holds all traffic until you sign in on the airline's page. The phone often works because nothing on it hides that page.
症狀
- The Mac joins the plane's network, but no sign-in page opens.
- Safari shows a security warning or a blank page. The phone signed in with no problems.
- The Mac was online, then the airline's page asks you to sign in or pay again.
- The airline's page says that your pass is in use on another device.
可能原因
- A VPN or iCloud Private Relay. A VPN or Private Relay can stop the plane network from sending you to its sign-in page.
- Custom or encrypted DNS. A custom DNS server or a DNS profile does not use the plane's DNS. The network then cannot redirect you to its sign-in page.
- A new private Wi-Fi address. The plane network can link a pass to the Wi-Fi address of a device. A new private address makes the Mac look like a new device.
- The phone signed in another way. The phone can have signed in through the airline's app, or before the Mac joined. It often has no VPN or DNS profile either.
- The airline's own setup. Airlines and their Wi-Fi providers use different sign-in pages and rules. Some show the page only after take-off. Some ask you to use their app.
如何檢查
Hold the Option key and click the Wi-Fi icon. Make sure that you are on the airline's network.
顯示 Wi-Fi 服務的 DNS 伺服器。自訂的伺服器會顯示在這裡。
networksetup -getdnsservers Wi-FiOutput
There aren't any DNS Servers set on Wi-Fi.means that the Mac uses the plane's DNS.查看服務順序最上方是否有 VPN。
networksetup -listnetworkserviceorder查看是否有 DNS 描述檔。在 macOS 15 以上版本,選擇「蘋果」選單 >「系統設定」>「一般」>「裝置管理」。
在 macOS 13 和 14,選擇「蘋果」選單 >「系統設定」>「隱私權與安全性」>「描述檔」。
Choose Apple menu > System Settings > Wi-Fi. Click Details next to the plane's network.
Read the values of Private Wi-Fi address and Limit IP address tracking.
如何修正
Turn off the VPN until you are signed in. Also pause its kill switch, if it has one.
If the sign-in page does not appear, forget the network first. Then join it again from the Wi-Fi menu.
Forgetting the network removes its settings. Do it before the next steps, not after.
In the network's Details, turn off Limit IP address tracking. This also turns off Private Relay for that network.
Set Private Wi-Fi address to Fixed before you buy or redeem a pass. Do not change it after that.
If you use custom DNS, remove it for a short time.
sudo networksetup -setdnsservers Wi-Fi empty需要管理者密碼。
If a DNS profile is installed, remove it for the flight. Install it again after you land.
在瀏覽器中打開使用 http 而不是 https 的網頁,例如 http://captive.apple.com。
Sign in, or buy or redeem the pass, on the airline's page. Use the address only if the airline gives it.
If the pass is in use on the phone, log out there first, if the airline's page allows it.
After you sign in, turn on the VPN, Private Relay and your DNS again.
使用 Kilobat
Check for a sign-in page with Kilobat's diagnosis.
kilobat diagnose --json輸出網路需要登入時,
measurements.captivePortal為true。Show the address of the sign-in page that the network sent Kilobat's check to.
kilobat portalOutput When a sign-in page is in the way, it prints its address.
kilobat portal openopens it in your browser.如果你用 Kilobat 設定了 DNS,請先切回網路提供的 DNS 再登入。
kilobat dns automatic更改 DNS 需要管理者密碼。
For the provider, the price and how to connect on your airline, see In-flight Wi-Fi by airline.
常見問題
Why does my phone work when the Mac does not?
The phone often signed in first, or through the airline's app. It also often has no VPN, custom DNS or DNS profile.
What is the address of my airline's sign-in page?
It differs by airline and Wi-Fi provider. Use the address only when the airline publishes it. Otherwise open http://captive.apple.com.
可以在飛機 Wi-Fi 使用 VPN 嗎?
Turn it on only after you sign in. Airline rules for VPNs differ, and many airlines do not publish one.
Why do I have to pay again after I changed a setting?
The network can link the pass to the Wi-Fi address. A new private address or a forgotten network can look like a new device.
資料來源
- Apple Developer 新聞:How to modernize your captive network(2020年6月22日)
- Apple 支援:在 Apple 裝置上使用私密 Wi-Fi 位址
- Apple 支援:針對特定網站、網路或系統設定管理 iCloud 私密轉送
- Apple 支援:在 Mac 上更改 DNS 設定
- Apple 支援:如果 Mac 無法透過 Wi-Fi 連上網際網路
- networksetup(8),macOS 27.2 內建的 man 頁面
查核日期:2026 年 10 月 29 日。