init-ifupdown: pass udhcpc_opts to eth0 for easy configuration
PATCH 2/2 busybox: stop hardcoding default udhcpc parameters, now in interfaces file
In reply to Denys DmytriyenkoFrom: Denys Dmytriyenko <[email protected]>
Signed-off-by Denys Dmytriyenko <[email protected]>
--- meta-arago-distro/recipes-core/busybox/busybox/defconfig | 2 +- meta-arago-distro/recipes-core/busybox/busybox_%.bbappend | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
meta-arago-distro/recipes-core/busybox/busybox/defconfig +1 -1
@@ -845,7 +845,7 @@ CONFIG_UDHCP_DEBUG=0 # CONFIG_FEATURE_UDHCP_8021Q is not set CONFIG_UDHCPC_DEFAULT_SCRIPT="/usr/share/udhcpc/default.script" CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS=80 -CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -b" +CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="" CONFIG_UDPSVD=y CONFIG_VCONFIG=y CONFIG_WGET=y
meta-arago-distro/recipes-core/busybox/busybox_%.bbappend +1 -1
@@ -1,7 +1,7 @@ # look for files in this layer first FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" -PR_append = "-arago18" +PR_append = "-arago19" SRC_URI += " \ file://inetd \
Signature · 1 line
2.2.0
PATCH 1/2 init-ifupdown: pass udhcpc_opts to eth0 for easy configuration
From: Denys Dmytriyenko <[email protected]>
Also pre-configure few more dynamic ethX interfaces for testing.
Signed-off-by Denys Dmytriyenko <[email protected]>
--- .../recipes-core/init-ifupdown/init-ifupdown/interfaces | 5 ++++- .../recipes-core/init-ifupdown/init-ifupdown_%.bbappend | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-)
meta-arago-distro/recipes-core/init-ifupdown/init-ifupdown/interfaces +4 -1
@@ -21,8 +21,12 @@ iface atml0 inet dhcp auto eth0 iface eth0 inet dhcp pre-up /bin/grep -v -e "ip=[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+" /proc/cmdline > /dev/null + udhcpc_opts -R -b iface eth1 inet dhcp +iface eth2 inet dhcp +iface eth3 inet dhcp +iface eth4 inet dhcp # Ethernet/RNDIS gadget (g_ether) # ... or on host side, usbnet and random hwaddr
@@ -30,4 +34,3 @@ iface usb0 inet dhcp # Bluetooth networking iface bnep0 inet dhcp -
meta-arago-distro/recipes-core/init-ifupdown/init-ifupdown_%.bbappend +1 -1
@@ -1,4 +1,4 @@ # look for files in this layer first FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" -PR_append = "-arago0" +PR_append = "-arago1"
Signature · 1 line
2.2.0