#Linux小撇步 當你連上需要登入或是需要同意服務條款的 Wi-Fi 網路時 Captive Portal 的頁面一直轉址不了可以打開文字終端機應用執行下列命令:
curl --head http://1.1.1.1
即可快速查詢正確的 Captive Portal 頁面網址
```
$ curl --head http://1.1.1.1 HTTP/1.1 302 Moved temporarilyLocation: https://wlangw.hinet.net/ng_wlanac/auth_portal.php?client_ip=1.2.3.4&gwip=168.95.123.254&umac=12:34:5
6:78:9a
:bc&vlanid=9/1/nat-out-ip:1234.56&nasid=TPDB-GW-1234&gwmac=12:34:56:78:9a
:bc&cid=e3b0c44298fc1c149afbf4c8996fb
92427ae41e4649b934ca495991b7852b855&SubID=12-34-56-78-9a-bc|123
Connection
: close
```