Update docs/tech_docs/OpenWrt.md
This commit is contained in:
@@ -39,8 +39,13 @@ vi /etc/config/network
|
||||
```
|
||||
|
||||
```bash
|
||||
config interface 'loopback'
|
||||
option proto 'static'
|
||||
option ipaddr '127.0.0.1'
|
||||
option netmask '255.0.0.0'
|
||||
option device 'lo'
|
||||
|
||||
config interface 'wan'
|
||||
option ifname 'wan'
|
||||
option proto 'dhcp'
|
||||
option device 'eth0'
|
||||
|
||||
@@ -49,7 +54,7 @@ config interface 'wan6'
|
||||
option device 'eth0'
|
||||
|
||||
config interface 'lan'
|
||||
option ifname 'lan'
|
||||
option ifname 'eth1'
|
||||
option proto 'static'
|
||||
option device 'eth1'
|
||||
option ipaddr '10.0.0.1'
|
||||
@@ -114,14 +119,6 @@ opkg install qemu-ga
|
||||
poweroff
|
||||
```
|
||||
|
||||
```bash
|
||||
pct start 101
|
||||
```
|
||||
|
||||
```bash
|
||||
pct console 101
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
OpenWRT Container (ID: 100):
|
||||
|
||||
Reference in New Issue
Block a user