Update docs/tech_docs/OpenWrt.md
This commit is contained in:
@@ -135,4 +135,28 @@ passwd
|
|||||||
pct console 300
|
pct console 300
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```bash
|
||||||
|
apk update
|
||||||
|
```
|
||||||
|
|
||||||
|
```bash
|
||||||
|
apk upgrade
|
||||||
|
```
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sed -i '/^#.*community/s/^#//' /etc/apk/repositories
|
||||||
|
```
|
||||||
|
|
||||||
|
```bash
|
||||||
|
setup-interfaces
|
||||||
|
```
|
||||||
|
Choose the appropriate network interface and configure it with DHCP or a static IP as required. Then:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
service networking restart
|
||||||
|
```
|
||||||
|
|
||||||
|
```bash
|
||||||
|
apk add bash curl wget nano vim
|
||||||
|
```
|
||||||
## Notes
|
## Notes
|
||||||
Reference in New Issue
Block a user