I have discovered that the JUNOS DHCP server in Juniper J-series routers doesn't support setting the next-server IP address field (I have filed a bug report with Juniper and they are working on it). Instead, it puts the "boot server" in the sname field, which PXELINUX currently ignores. Here's a simple patch (vs. 3.36) that will take an IP string in the field. My assembly is pretty rusty, and I couldn't quite figure out how to use the DNS resolver, so it doesn't handle a hostname. This does work for me with an IP string. diff -u syslinux-3.36-dist/pxelinux.asm syslinux-3.36/pxelinux.asm --- syslinux-3.36-dist/pxelinux.asm 2007-02-10 14:47:08.000000000 -0600 +++ syslinux-3.36/pxelinux.asm 2007-06-28 13:54:15.000000000 -0500 @@ -2056,6 +2056,12 @@ mov cx,64 call parse_dhcp_options .nosnameoverload: + cmp byte [si], 0 + jz .parsed_sname + call parse_dotquad + jc .parsed_sname + mov [ServerIP], eax +.parsed_sname: ret ; -- Chris Adams <cmadams at hiwaay.net> Systems and Network Administrator - HiWAAY Internet Services I don't speak for anybody but myself - that's enough trouble.
Chris Adams wrote:> I have discovered that the JUNOS DHCP server in Juniper J-series routers > doesn't support setting the next-server IP address field (I have filed a > bug report with Juniper and they are working on it). Instead, it puts > the "boot server" in the sname field, which PXELINUX currently ignores. > > Here's a simple patch (vs. 3.36) that will take an IP string in the > field. My assembly is pretty rusty, and I couldn't quite figure out how > to use the DNS resolver, so it doesn't handle a hostname. This does > work for me with an IP string.You have no guarantee that sname is an IP string; in fact, in the typical case it will not be. I don't think this patch is safe. -hpa
Geert Stappers
2007-Jun-29 15:41 UTC
[syslinux] syslinux-3.36 Physical Floppy Disk Access Problem
Op 29-06-2007 om 15:11 schreef Desmond Boyd:> Hi, > > Any luck on fixing the floppy disk access problem > or is it only affecting me?Test reports of newer versions then 3.36, such as the recent released 3.50, are welcome. Geert Stappers Annoyed about a thread posting not belonging in the thread.
Desmond Boyd
2007-Jun-29 17:29 UTC
[syslinux] syslinux-3.36 Physical Floppy Disk Access Problem
I did all the tests as far as im aware, there listed in the previous posts, if theres anything else i need to do please let me know.>From: stappers at stappers.nl (Geert Stappers) >Reply-To: For discussion of SYSLINUX and tftp-hpa <syslinux at zytor.com> >To: syslinux at zytor.com >Subject: Re: [syslinux] syslinux-3.36 Physical Floppy Disk Access Problem >Date: Fri, 29 Jun 2007 17:41:31 +0200 > >Op 29-06-2007 om 15:11 schreef Desmond Boyd: > > Hi, > > > > Any luck on fixing the floppy disk access problem > > or is it only affecting me? > >Test reports of newer versions then 3.36, >such as the recent released 3.50, are welcome. > > >Geert Stappers >Annoyed about a thread posting not belonging in the thread. > >_______________________________________________ >SYSLINUX mailing list >Submissions to SYSLINUX at zytor.com >Unsubscribe or set options at: >http://www.zytor.com/mailman/listinfo/syslinux >Please do not send private replies to mailing list traffic. >_________________________________________________________________ Tell MSN about your most memorable emails! http://www.emailbritain.co.uk/
Op 29-06-2007 om 18:29 schreef Desmond Boyd:> >From: stappers at stappers.nl (Geert Stappers) > >Date: Fri, 29 Jun 2007 17:41:31 +0200 > >Op 29-06-2007 om 15:11 schreef Desmond Boyd: > > > Hi, > > > > > > Any luck on fixing the floppy disk access problem > > > or is it only affecting me? > > > >Test reports of newer versions then 3.36, > >such as the recent released 3.50, are welcome. > > I did all the tests as far as im aware, there listed in the previous > posts, if theres anything else i need to do please let me know.:-) Things to do: - Be aware that you are addressing a community. - Find common interrests in that community. - Convert a personal/private problem in a community challenge. - Be carefull with other peoples time. - Make good (as is usefull) references to previous postings. - Reply below the text. - Keep smiling! Cheers Geert Stappers
Possibly Parallel Threads
- syslinux-3.36 Physical Floppy Disk Access Problem
- dovecot-lda can't create /var/mail dotlocks on debian
- dovecot-lda can't create /var/mail dotlocks on debian
- dovecot-lda can't create /var/mail dotlocks on debian
- dovecot-lda can't create /var/mail dotlocks on debian