美化 OpenWrt 的管理界面
默認的 OpenWrt 主題很是復古,這里我要介紹的是我很喜歡的一個主題,名字叫做 luci-theme-argon
操作實例
-
點擊此處跳轉到主題包release頁面,下載最新版本的
*.ipk
文件即可 -
將主題包文件復制到路由器,電腦上打開終端模擬器,執行以下命令:
[eric@arch ~]$ rm -rf ~/.ssh
[eric@arch ~]$ scp '/home/eric/Downloads/luci-theme-argon_1.3-01-20191111_all.ipk' root@192.168.1.1:/tmp
The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established. RSA key fingerprint is SHA256:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx. Are you sure you want to continue connecting (yes/no/[fingerprint])? yes Warning: Permanently added '192.168.1.1' (RSA) to the list of known hosts. root@192.168.1.1's password:
luci-theme-argon_1.3-01-20191111_all.ipk 100% 1138KB 2.9MB/s 00:00
- 登錄到路由器:
[eric@arch ~]$ ssh root@192.168.1.1
root@192.168.1.1's password:
BusyBox v1.30.0 () built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
OpenWrt SNAPSHOT, r1673-ea47656
-----------------------------------------------------
root@OpenWrt:~#
- 使用 opkg 安裝主題包 luci-theme-argon
root@OpenWrt:~# opkg install /tmp/luci-theme-argon_1.3-01-20191111_all.ipk
Installing luci-theme-argon (1.3-01-20191111) to root...
Configuring luci-theme-argon.
uci: Entry not found
uci: Entry not found
uci: Entry not found
root@OpenWrt:~#
這個時候再用瀏覽器訪問 192.168.1.1 ,就已經是應用了新主題啦。