Age | Commit message (Collapse) | Author |
|
We noticed that our latest move to using systemd/networkd leaves the
rndis0 interface down. Manually bringing the link up solved the issue.
As a workaround add upping the link to our start-rndis.sh script.
|
|
Since we use networkd now for RNDIS network interface setup now,
we can remove the custom part which starts up the RNDIS device and
sets up a DHCP server.
|
|
- Make sure leases file is not persistent (in /var/run now)
This allows to serve the same IP to the generated (and hence
different IP addresses)
- Start RNDIS service after the network.target
- Tegra: Add extra service for udhcpd. When running dhcpd directly
from udev, the daemon will be killed after a while
|
|
ifconfig does no longer understand 192.168.11.2/24 and its
use is deprecated, so instead of changing to another way of
stating the subnetmask use /sbin/ip.
|
|
i.MX6 and Vybrid modules use the g_ether driver for RNDIS functionality.
This commit uses a systemd service to load the kernel module, configures the new
usb0 NIC and starts a dhcp server to serve an IP address to a USB host.
The Tegras use the android gadget driver. The configuration remains unchanged.
|