Author: richard
Date: Mon Apr 20 12:18:21 2009
New Revision: 5376
URL: http://svn.slimdevices.com/jive?rev=5376&view=rev
Log:
Bug: 8984
Description:
Fix dhcp problem with Microsoft router.
Added:
7.3/trunk/squeezeos/poky/meta-squeezeos/packages/busybox/busybox-1.13.3/busybox_udhcpd_hostname_nak.patch
Modified:
7.3/trunk/squeezeos/poky/meta-squeezeos/packages/busybox/busybox_1.13.3.bb
Added:
7.3/trunk/squeezeos/poky/meta-squeezeos/packages/busybox/busybox-1.13.3/busybox_udhcpd_hostname_nak.patch
URL:
http://svn.slimdevices.com/jive/7.3/trunk/squeezeos/poky/meta-squeezeos/packages/busybox/busybox-1.13.3/busybox_udhcpd_hostname_nak.patch?rev=5376&view=auto
==============================================================================
---
7.3/trunk/squeezeos/poky/meta-squeezeos/packages/busybox/busybox-1.13.3/busybox_udhcpd_hostname_nak.patch
(added)
+++
7.3/trunk/squeezeos/poky/meta-squeezeos/packages/busybox/busybox-1.13.3/busybox_udhcpd_hostname_nak.patch
Mon Apr 20 12:18:21 2009
@@ -1,0 +1,19 @@
+Index: busybox-1.13.3/networking/udhcp/dhcpc.c
+===================================================================
+--- busybox-1.13.3.orig/networking/udhcp/dhcpc.c 2009-04-08
12:35:02.000000000 +0100
++++ busybox-1.13.3/networking/udhcp/dhcpc.c 2009-04-08 12:35:08.000000000
+0100
+@@ -605,6 +605,14 @@
+ timeout = 0;
+ packet_num = 0;
+ already_waited_sec = 0;
++
++/* The Microsoft MN-700 router appears to have a problem with hostnames
++ * larger than 16 characters, and responds with a DHCP NAK. To workaround
++ * this, on a NAK we trucate the hostname is applicable.
++ */
++ if (client_config.hostname &&
client_config.hostname[OPT_LEN] > 16) {
++ client_config.hostname[OPT_LEN]
= 16;
++ }
+ }
+ continue;
+ /* case BOUND, RELEASED: - ignore all packets */
Modified:
7.3/trunk/squeezeos/poky/meta-squeezeos/packages/busybox/busybox_1.13.3.bb
URL:
http://svn.slimdevices.com/jive/7.3/trunk/squeezeos/poky/meta-squeezeos/packages/busybox/busybox_1.13.3.bb?rev=5376&r1=5375&r2=5376&view=diff
==============================================================================
--- 7.3/trunk/squeezeos/poky/meta-squeezeos/packages/busybox/busybox_1.13.3.bb
(original)
+++ 7.3/trunk/squeezeos/poky/meta-squeezeos/packages/busybox/busybox_1.13.3.bb
Mon Apr 20 12:18:21 2009
@@ -1,10 +1,11 @@
require busybox.inc
-PR = "r0"
+PR = "r1"
SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.gz \
file://busybox_mdev_subdir.patch;patch=1 \
file://busybox_udhcpd_syslog.patch;patch=1 \
file://busybox_ifupdown_hostname.patch;patch=1 \
+ file://busybox_udhcpd_hostname_nak.patch;patch=1 \
file://defconfig"
S = "${WORKDIR}/busybox-${PV}"
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/jive-checkins