summaryrefslogtreecommitdiff
path: root/recipes-core/systemd/systemd
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2015-04-29 18:41:01 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2015-05-12 10:06:07 +0200
commit18df6079ce7362b95b7c6ad68a0c30777aa521b4 (patch)
tree102837203809b92a710d4cdc40509d952da4e723 /recipes-core/systemd/systemd
parente8ef5655f4854cb08d26330e5f87738255261234 (diff)
systemd: add networkd for RNDIS configuration
Since Connman is better suited for more advanced Wireless solutions, we keep Connman for the main network configuration manager. However, for the simple RNDIS debug/test configuration, Connman is not well suited since Connman tries to maintain one connection only at any given time. This change enables networkd and adds a simple standard configuration for USB/RNDIS network devices.
Diffstat (limited to 'recipes-core/systemd/systemd')
-rw-r--r--recipes-core/systemd/systemd/rndis.network8
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes-core/systemd/systemd/rndis.network b/recipes-core/systemd/systemd/rndis.network
new file mode 100644
index 0000000..e4ecbab
--- /dev/null
+++ b/recipes-core/systemd/systemd/rndis.network
@@ -0,0 +1,8 @@
+[Match]
+# We use type since device name depends on Kernel version
+# udevadm info --query=property /sys/class/net/usb0
+Type=gadget
+
+[Network]
+Address=192.168.11.1/24
+DHCPServer=yes