summaryrefslogtreecommitdiff
path: root/recipes-core/multitech/config/config-mths/network/interfaces.mths
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/multitech/config/config-mths/network/interfaces.mths')
-rw-r--r--recipes-core/multitech/config/config-mths/network/interfaces.mths12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes-core/multitech/config/config-mths/network/interfaces.mths b/recipes-core/multitech/config/config-mths/network/interfaces.mths
new file mode 100644
index 0000000..2463e0a
--- /dev/null
+++ b/recipes-core/multitech/config/config-mths/network/interfaces.mths
@@ -0,0 +1,12 @@
+auto wifi1
+iface wifi1 inet static
+address 10.0.0.1
+netmask 255.0.0.0
+pre-up bash -c '([[ -d /sys/class/net/wifi1 ]] || /opt/rs9113/onebox_util rpine0 create_vap wifi1 ap)'
+
+# Gadget USB
+auto usb0
+iface usb0 inet static
+address 192.168.3.1
+netmask 255.255.255.0
+