Package: klibc-utils
Version: 2.0.1-3.1
 
 
Attempting to PXE boot  
 IP-Config: fails to get DHCP configuration with "some" DHCP servers
 
 
 I think I have found/solved this bug;
 The problem is located at ipconfig (klibc-utils) not
 implementing the DHCP standard as it should at the file
 /klibc-xxx/usr/kinit/ipconfig/dhcp_proto.c
 
 old:
 static int dhcp_send(struct netdev *dev, struct iovec *vec)
 {
 ...
  bootp.yiaddr = dev->ip_addr; //this line must be replaced by the following 
two lines
 ...
 }
 
 new:
 static int dhcp_send(struct netdev *dev, struct iovec *vec)
 {
 ...
         bootp.yiaddr = INADDR_ANY;    //the DHCP protocol says yiaddr=0 for 
DICOVERY & REQUEST
         bootp.flags = htons(0x800);       //forgets to set broadcast answer; 
previously setting unicast.
 ...
 }
 
 This bug does not affect 100% of the DHCP servers as some of
 them are more forgiving than others with client protocol
 mistakes;
 for those needing a quick solution for PXE booting see/get
 Serva complementary INITRD_N10.GZ which includes the already
 patched ipconfig
 
 http://www.vercot.com/~serva/an/NonWindowsPXE3.html
 
 



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to