校園資訊
| 公告主旨 | LINUX高雄市政府無線網路憑證安裝 |
|---|---|
| 發佈日期 | 2026 年 3 月 20 日 |
| 發佈單位 | 資訊組 |
| 公告類別 | 使用手冊 |
| 公告等級 | 無 |
| 點閱次數 | 25 |
| 公告內容 | 文件建立: 因Linux 802.1x 連線設定步驟 – 高雄市政府教育局學校無線網路服務
# KH-rwm `iwd` 快速設定 這份文件只保留可直接使用的步驟。 ## 要用的憑證 使用憑證: - `secure_sha2_2023G3.pem` 原始下載網址: - `http://sslserver.twca.com.tw/cacert/secure_sha2_2023G3.crt` 注意: - 上面網址下載的是 `.crt` - 實際給 `iwd` 使用前,請先轉成 `.pem` ## 1. 下載原始憑證 把這個檔案下載到本機: - `http://sslserver.twca.com.tw/cacert/secure_sha2_2023G3.crt` ## 2. 轉成 PEM ```bash openssl x509 -inform DER \ -in ~/Downloads/secure_sha2_2023G3.crt \ -out ~/Downloads/secure_sha2_2023G3.pem ``` ## 3. 建立 `iwd` 設定檔 建立 `~/Downloads/KH-rwm.8021x`,內容如下: ```ini [Security] EAP-Method=PEAP EAP-Identity=YOUR_USERNAME EAP-PEAP-CACert=/var/lib/iwd/secure_sha2_2023G3.pem EAP-PEAP-Phase2-Method=GTC EAP-PEAP-Phase2-Identity=YOUR_USERNAME EAP-PEAP-Phase2-Password=YOUR_PASSWORD ``` 把: - `YOUR_USERNAME` 改成自己的帳號 - `YOUR_PASSWORD` 改成自己的密碼 ## 4. 安裝到 `iwd` ```bash sudo install -d -m 700 /var/lib/iwd sudo install -m 600 ~/Downloads/secure_sha2_2023G3.pem /var/lib/iwd/secure_sha2_2023G3.pem sudo install -m 600 ~/Downloads/KH-rwm.8021x /var/lib/iwd/KH-rwm.8021x sudo systemctl restart iwd ``` ## 5. 連線 ```bash iwctl station wlan0 connect KH-rwm ``` 如果無線裝置不是 `wlan0`,先查: ```bash iwctl device list ``` |
| 相關附件 |