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
|
|
Disable USB RNDIS systemd service for now due to possible race upon
first boot:
[ OK ] Started Load/Configure the kernel driver providing the RNDIS
gadget.
=> system hang
|
|
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.
|
|
|
|
with the move from meta-openembedded to oe-core some things have
changed, e.g. the config files have to explicitly installed
|
|
|
|
|
|
- add recipe which configures RNDIS and dhcp on the new NIC
requires kernel commit b7e977a36ee2b1ab1a55238761fe8d63df9bc638
see also http://permalink.gmane.org/gmane.linux.usb.general/56244
|