openwrt安裝自定義本地的ipk文件


 

美化 OpenWrt 的管理界面

默認的 OpenWrt 主題很是復古,這里我要介紹的是我很喜歡的一個主題,名字叫做 luci-theme-argon

操作實例

  1. 點擊此處跳轉到主題包release頁面,下載最新版本的 *.ipk 文件即可

  2. 將主題包文件復制到路由器,電腦上打開終端模擬器,執行以下命令:

[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
  1. 登錄到路由器:
[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:~# 
  1. 使用 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 ,就已經是應用了新主題啦。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM