diff options
author | John Klug <john.klug@multitech.com> | 2019-06-10 10:57:46 -0500 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2019-07-05 11:09:37 -0500 |
commit | ca56277141cca9ce1f9d059594a0d767f37d142c (patch) | |
tree | 00eade45b70ba0f9be2108d03c22ae68360cb757 | |
parent | c578975c987dde28b3a119047a381a56bce1646d (diff) | |
download | meta-mlinux-ca56277141cca9ce1f9d059594a0d767f37d142c.tar.gz meta-mlinux-ca56277141cca9ce1f9d059594a0d767f37d142c.tar.bz2 meta-mlinux-ca56277141cca9ce1f9d059594a0d767f37d142c.zip |
Add usb0 to DHCP for MTHS, use address 192.168.3.1 to reduce conflict.
-rw-r--r-- | recipes-core/multitech/config/config-mths/dnsmasq.d/dhcp.conf | 4 | ||||
-rw-r--r-- | recipes-core/multitech/config/config-mths/network/interfaces.mths | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/recipes-core/multitech/config/config-mths/dnsmasq.d/dhcp.conf b/recipes-core/multitech/config/config-mths/dnsmasq.d/dhcp.conf index 837d0e2..47eb1c0 100644 --- a/recipes-core/multitech/config/config-mths/dnsmasq.d/dhcp.conf +++ b/recipes-core/multitech/config/config-mths/dnsmasq.d/dhcp.conf @@ -6,3 +6,7 @@ dhcp-option=option:netmask,255.255.255.0 dhcp-option=option:router,10.0.0.1 dhcp-option=option:dns-server,10.0.0.1 dhcp-authoritative +interface=usb0 +dhcp-range=192.168.3.100,192.168.3.250,12h +dhcp-option=option:router,192.168.3.1 +dhcp-option=option:dns-server,192.168.3.1 diff --git a/recipes-core/multitech/config/config-mths/network/interfaces.mths b/recipes-core/multitech/config/config-mths/network/interfaces.mths index 689ce0b..2463e0a 100644 --- a/recipes-core/multitech/config/config-mths/network/interfaces.mths +++ b/recipes-core/multitech/config/config-mths/network/interfaces.mths @@ -7,6 +7,6 @@ pre-up bash -c '([[ -d /sys/class/net/wifi1 ]] || /opt/rs9113/onebox_util rpine0 # Gadget USB auto usb0 iface usb0 inet static -address 192.168.2.1 +address 192.168.3.1 netmask 255.255.255.0 |