I think I have found the place that limits the DHCP replies to a low 576 bytes when it could be higher. Could people having problems with low limits on the size of menus try this patch and let me know how it goes? I have checked it into CVS so it's available from the Etherboot web site also. *** main.c.old Tue May 16 11:36:34 2000 --- main.c Wed May 17 21:20:17 2000 *************** *** 64,70 **** char rfc1533_end[]={RFC1533_END }; static const char dhcpdiscover[]={ RFC2132_MSG_TYPE,1,DHCPDISCOVER, ! RFC2132_MAX_SIZE,2,2,64, RFC2132_PARAM_LIST,4,RFC1533_NETMASK,RFC1533_GATEWAY, RFC1533_HOSTNAME,RFC1533_EXTENSIONPATH }; --- 64,71 ---- char rfc1533_end[]={RFC1533_END }; static const char dhcpdiscover[]={ RFC2132_MSG_TYPE,1,DHCPDISCOVER, ! RFC2132_MAX_SIZE,2, /* request as much as we can */ ! sizeof(struct bootpd_t) / 256, sizeof(struct bootpd_t) % 256, RFC2132_PARAM_LIST,4,RFC1533_NETMASK,RFC1533_GATEWAY, RFC1533_HOSTNAME,RFC1533_EXTENSIONPATH }; *************** *** 72,78 **** RFC2132_MSG_TYPE,1,DHCPREQUEST, RFC2132_SRV_ID,4,0,0,0,0, RFC2132_REQ_ADDR,4,0,0,0,0, ! RFC2132_MAX_SIZE,2,2,64, /* request parameters */ RFC2132_PARAM_LIST, #ifdef IMAGE_FREEBSD --- 73,80 ---- RFC2132_MSG_TYPE,1,DHCPREQUEST, RFC2132_SRV_ID,4,0,0,0,0, RFC2132_REQ_ADDR,4,0,0,0,0, ! RFC2132_MAX_SIZE,2, /* request as much as we can */ ! sizeof(struct bootpd_t) / 256, sizeof(struct bootpd_t) % 256, /* request parameters */ RFC2132_PARAM_LIST, #ifdef IMAGE_FREEBSD =========================================================================== This Mail was sent to netboot mailing list by: Ken Yap <ken@nlc.net.au> To get help about this list, send a mail with 'help' as the only string in it's body to majordomo@baghira.han.de. If you have problems with this list, send a mail to netboot-owner@baghira.han.de.
For requests or suggestions regarding this mailing list archive please write to netboot@gkminix.han.de.