diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2012-12-17 23:02:58 +0100 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2012-12-17 23:02:58 +0100 |
commit | 7dc16a107474ac65a799992408ce2c4b53bb52d5 (patch) | |
tree | 3f6d37bbd50b6c4ae10ccf84b7686da541728b1d /recipes-core | |
parent | 3a5ab3fa02ec1dd4b96803a1c7b595e6decc3ccf (diff) |
rndis: set a revision in recipe, limit leases to 1
Diffstat (limited to 'recipes-core')
-rw-r--r-- | recipes-core/usb-rndis/files/udhcpd-usb-rndis.conf | 2 | ||||
-rw-r--r-- | recipes-core/usb-rndis/usb-rndis-systemd.bb | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/recipes-core/usb-rndis/files/udhcpd-usb-rndis.conf b/recipes-core/usb-rndis/files/udhcpd-usb-rndis.conf index 62a016a..117b940 100644 --- a/recipes-core/usb-rndis/files/udhcpd-usb-rndis.conf +++ b/recipes-core/usb-rndis/files/udhcpd-usb-rndis.conf @@ -12,7 +12,7 @@ interface rndis0 # by OFFER's, DECLINE's, and ARP conflicts). Will be corrected # if it's bigger than IP lease block, but it ok to make it # smaller than lease block. -#max_leases 254 +max_leases 1 # The amount of time that an IP will be reserved (leased to nobody) # if a DHCP decline message is received (seconds) diff --git a/recipes-core/usb-rndis/usb-rndis-systemd.bb b/recipes-core/usb-rndis/usb-rndis-systemd.bb index b2cc2ce..5d18b7a 100644 --- a/recipes-core/usb-rndis/usb-rndis-systemd.bb +++ b/recipes-core/usb-rndis/usb-rndis-systemd.bb @@ -6,6 +6,8 @@ RDEPENDS_${PN} = "" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" +PR = "r1" + # The kernel provides with CONFIG_USB_G_ANDROID a composite gadget driver among other with RNDIS functionality. # This package contains systemd files to configure RNDIS at startup, configures a fix IP localy and provides a dhcp server on the new interface. # Local IP is 192.168.11.2, remote IP is 192.168.11.1 |