Delete page "OpenWRT"
47
OpenWRT.md
47
OpenWRT.md
@@ -1,47 +0,0 @@
|
|||||||
# 安裝
|
|
||||||
|
|
||||||
## 1. 下載映像檔壓縮檔
|
|
||||||
|
|
||||||
```console
|
|
||||||
wget https://downloads.openwrt.org/releases/23.05.3/targets/x86/64/openwrt-23.05.3-x86-64-generic-ext4-combined.img.gz
|
|
||||||
```
|
|
||||||
|
|
||||||
## 2. 解壓縮映像檔
|
|
||||||
|
|
||||||
```console
|
|
||||||
gzip -d openwrt-23.05.3-x86-64-generic-ext4-combined.img.gz
|
|
||||||
```
|
|
||||||
|
|
||||||
## 3. 將映像檔移到 ISO
|
|
||||||
|
|
||||||
```console
|
|
||||||
cp openwrt-23.05.3-x86-64-generic-ext4-combined.img /var/lib/vz/template/iso
|
|
||||||
```
|
|
||||||
|
|
||||||
## 4. 建立無硬碟的虛擬機,紀錄虛擬機編號
|
|
||||||
## 5. 將映像檔指派到虛擬機
|
|
||||||
|
|
||||||
```console
|
|
||||||
qm disk import 201 /var/lib/vz/template/iso/openwrt-23.05.3-x86-64-generic-ext4-combined.img local-lvm
|
|
||||||
```
|
|
||||||
|
|
||||||
## 6. 虛擬機選項: 開機順序全部取消
|
|
||||||
## 7. 進入虛擬機,修改網路
|
|
||||||
|
|
||||||
```console
|
|
||||||
vi /etc/config/network
|
|
||||||
```
|
|
||||||
|
|
||||||
```console
|
|
||||||
service network restart
|
|
||||||
```
|
|
||||||
|
|
||||||
## 8. 嘗試連線OpenWRT
|
|
||||||
|
|
||||||
Username: root
|
|
||||||
|
|
||||||
Password:
|
|
||||||
|
|
||||||
# 參考資料
|
|
||||||
|
|
||||||
- [Proxmox PVE上安裝Openwrt的幾個重點:VM or LXC?哪個鏡像?網卡直通?一鍵安裝?](https://upsangel.com/openwrt/how-to-install-openwrt-on-proxmox/)
|
|
||||||
Reference in New Issue
Block a user