WifiGuard

連上 WiFi 之後,
打開 192.168.1.1 看看
On someone's Wi-Fi?
Try opening 192.168.1.1

很多路由器裝好之後,出廠密碼就沒人改過,同一個 WiFi 上的任何人都可能打開它的設定頁。這個頁面帶你花五分鐘自己確認。

A lot of routers still have the password they came with, and anyone on the same Wi-Fi can open their settings page. This page walks you through checking in about five minutes.

這個專案是這樣開始的:有次上課,我連上老師的 WiFi,順手打開 192.168.1.1,發現路由器還在用出廠密碼,誰都能登進去改設定。我什麼都沒動,下課就跟老師說了。

How this started: in class I joined my teacher's Wi-Fi, opened 192.168.1.1 out of curiosity, and found the router still accepted its factory password. Anyone could have logged in and changed things. I didn't touch anything and told my teacher after class.

01

自我檢查Self-check

全部在你的瀏覽器裡完成,這個網站不會收集或傳送任何資料。Everything happens in your browser. This site doesn't collect or send anything.

1這是誰的 WiFi?Whose Wi-Fi is this?

02

路由器被接管會怎樣What happens if someone takes over the router

家裡或教室的每一條連線都經過路由器。拿到它管理權限的人可以:

Every connection in the house or classroom goes through the router. Whoever controls it can:

03

常見的出廠管理密碼Common factory admin passwords

以下是常見的出廠值,實際要看機型和韌體版本。很多新機種出廠沒有預設密碼,第一次打開會要你自己設;如果你看到這個畫面,代表還沒人設過。

These are common defaults; the real ones depend on model and firmware. Many newer models have no default password and ask you to create one the first time. If you see that screen, nobody has set it up yet.

品牌Brand常見位址Address出廠帳號 / 密碼Factory login
TP-Link192.168.0.1
tplinkwifi.net
舊機種 admin / admin;新機種第一次要自己設Older: admin / admin. Newer: you create one
ASUS192.168.50.1
router.asus.com
舊機種 admin / admin;新機種第一次要自己設Older: admin / admin. Newer: you create one
D-Link192.168.0.1admin /(空白)admin / (blank)
Netgear192.168.1.1
routerlogin.net
admin / password
ZyXEL192.168.1.1admin / 1234(或貼紙上的密碼)admin / 1234 (or the one on the sticker)
Tenda192.168.0.1
tendawifi.com
admin / admin 或空白admin / admin or blank
小米Xiaomi192.168.31.1
miwifi.com
第一次要自己設You create one
中華電信數據機Chunghwa Telecom modem192.168.1.1看機型,通常印在機身貼紙Depends on model; usually on the sticker

04

怎麼處理What to do

你自己的路由器Your own router

  1. 換掉管理密碼:12 字以上、別的地方沒用過。它和 WiFi 密碼是兩回事,兩個都要設。
  2. 更新韌體,通常在「系統工具」或「韌體升級」。
  3. 關掉遠端管理,除非你真的需要從外面連回來。
  4. 關掉 WPS。按鈕配對很方便,但有已知的弱點。
  5. 客人用訪客網路:上得了網,但碰不到你的路由器和家裡其他裝置。
  1. Change the admin password: 12+ characters, not used anywhere else. It's separate from the Wi-Fi password; set both.
  2. Update the firmware, usually under "System Tools" or "Firmware Upgrade".
  3. Turn off remote management unless you really need to get in from outside.
  4. Turn off WPS. Push-button pairing is handy but has known weaknesses.
  5. Give guests a guest network: they get internet but can't reach your router or your other devices.

學校、公司、店家的網路School, work or shop networks

  1. 不要自己登入或修改,就算你知道密碼。
  2. 用上面產生的訊息告訴管理者(老師、網管、店長)。
  3. 建議他們改成強密碼,並開「AP 隔離」或訪客網路。
  1. Don't log in or change anything yourself, even if you know the password.
  2. Send the admin (teacher, IT, shop owner) the message generated above.
  3. Suggest a strong password plus client (AP) isolation or a guest network.

05

法律上要注意The legal side

在台灣,沒有授權就輸入別人的帳號密碼登入電腦或相關設備,可能觸犯《刑法》第 358 條,出於好意也一樣。

In Taiwan, logging in to someone else's computer or device with their credentials without permission can violate Article 358 of the Criminal Code, even with good intentions. Most countries have similar laws.

  • 別人的網路:只打開頁面看,不試密碼、不按設定。
  • 發現問題:告訴管理者,不要自己動手修。
  • 只在你自己的、或明確同意你測試的網路上試密碼。
  • Someone else's network: open the page and look. Don't try passwords or click settings.
  • Found a problem: tell the admin instead of fixing it yourself.
  • Only try passwords on your own network, or one you've clearly been allowed to test.

06

讓電腦每次連網都自動檢查Check automatically every time you connect

WifiGuard 是一支小程式,Windows、macOS、Linux 都能用。每次換網路,它就看一次路由器,有問題會跳通知。

WifiGuard is a small program for Windows, macOS and Linux. Each time you switch networks it looks at the router and notifies you if something's off.

安裝Setup

  1. 先裝 Python 3。Windows 安裝時記得勾「Add python.exe to PATH」;macOS 和 Linux 通常已經有了。
  2. 解壓縮 ZIP,在資料夾裡開終端機。
  3. 先試一次:Windows 輸入 python wifiguard.py --web,macOS / Linux 輸入 python3 wifiguard.py --web,瀏覽器會打開檢查頁。
  4. 要每次連網都自動檢查:Windows 輸入 powershell -ExecutionPolicy Bypass -File .\install.ps1,macOS / Linux 輸入 sh install.sh。
  1. Install Python 3. On Windows, tick "Add python.exe to PATH"; macOS and Linux usually have it already.
  2. Unzip the download and open a terminal in that folder.
  3. Try it once: python wifiguard.py --web on Windows, python3 wifiguard.py --web on macOS / Linux. A check page opens in your browser.
  4. To check on every connection: powershell -ExecutionPolicy Bypass -File .\install.ps1 on Windows, sh install.sh on macOS / Linux.

授權網路的設定、移除方式等細節,請看 GitHub 上的 README。For authorized networks, uninstalling and other details, see the README on GitHub.