Update usb_ethernet.md (#918)

* Update usb_ethernet.md

Adds more details about the "iface" configuration and how to configure it properly.

* Update usb_ethernet.md

Removes parameter which has already the same value by default from the iface config.
This commit is contained in:
Stitch10925 2023-01-19 13:48:49 +01:00 committed by GitHub
parent 2bb54472de
commit 085469914c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 3 deletions

View File

@ -79,13 +79,21 @@ By default, `kvmd-otgnet` will configure network connection between PiKVM and th
post_start_cmd_append:
- "--dhcp-option=6,8.8.8.8"
```
5. Don't forget to `reboot`.
5. To enable internet access for the server host, add the following to the otgnet configuration::
```yaml
otgnet:
iface:
net: 10.65.0.0/28
```
The 'net' parameter defines the network address range of the usb0 network. The server host will automatically receive an IP address within this network including the DNS servers defined under 'post_start_cmd_append'. Note: This network should *not* be same as the network PiKVM is connected to.
6. Don't forget to `reboot`.
=======
??? example "An example of what the config would look like if you wanted the target to have inet access (Please edit to suit your needs):"
??? example "An example of what the config would look like for a server host that can access PiKVM and has internet access (Please edit to suit your needs):"
```
otgnet:
firewall: