summaryrefslogtreecommitdiff
path: root/recipes-core/multitech/config
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2019-06-10 10:57:46 -0500
committerJohn Klug <john.klug@multitech.com>2019-06-10 10:57:46 -0500
commit99f29054bd72b3f57bf5745ad4b9f8f990369f71 (patch)
tree1720e048a208ad4f554586502deca61e1087d3fe /recipes-core/multitech/config
parente3cbbc95e3a923a90c911137dcf7e2aff9688bc0 (diff)
downloadmeta-mlinux-99f29054bd72b3f57bf5745ad4b9f8f990369f71.tar.gz
meta-mlinux-99f29054bd72b3f57bf5745ad4b9f8f990369f71.tar.bz2
meta-mlinux-99f29054bd72b3f57bf5745ad4b9f8f990369f71.zip
Add usb0 to DHCP for MTHS, use address 192.168.3.1 to reduce conflict.
Diffstat (limited to 'recipes-core/multitech/config')
-rw-r--r--recipes-core/multitech/config/config-mths/dnsmasq.d/dhcp.conf4
-rw-r--r--recipes-core/multitech/config/config-mths/network/interfaces.mths2
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