Displaying 12 results from an estimated 12 matches for "parse_dhcp_options".
2015 Sep 12
2
pxelinux tries to load ldlinux.c32 from DHCP server, instead of next-server
...t;> {52, option_overload},
>> - {54, server},
>> {61, client_identifier},
>> + {66, tftpserver_name},
>> {67, bootfile_name},
>> {97, uuid_client_identifier},
>> {209, pxelinux_configfile},
>> @@ -215,7 +215,7 @@ void parse_dhcp_options(const void *option, int size, uint8_t opt_filter)
>> * information is present:
>> *
>> * MyIP - client IP address
>> - * server_ip - boot server IP address
>> + * server_ip - boot server IP address, REVIEW ME FIXME
>> * net_mask -...
2015 Sep 12
2
pxelinux tries to load ldlinux.c32 from DHCP server, instead of next-server
...dhcp_opts[] = {
{15, local_domain},
{43, vendor_encaps},
{52, option_overload},
- {54, server},
{61, client_identifier},
+ {66, tftpserver_name},
{67, bootfile_name},
{97, uuid_client_identifier},
{209, pxelinux_configfile},
@@ -215,7 +215,7 @@ void parse_dhcp_options(const void *option, int size, uint8_t opt_filter)
* information is present:
*
* MyIP - client IP address
- * server_ip - boot server IP address
+ * server_ip - boot server IP address, REVIEW ME FIXME
* net_mask - network mask
* gate_way - default gateway router IP
* boot_file - boot...
2015 Jun 22
1
[syslinux:master] core/pxe: extend parse_dhcp() for packet type
On 06/21/2015 11:12 AM, syslinux-bot for Gene Cumm wrote:
> Commit-ID: 38e861ebf45a804bc5fbd74d9c19292822c84487
> Gitweb: http://www.syslinux.org/commit/38e861ebf45a804bc5fbd74d9c19292822c84487
> Author: Gene Cumm <gene.cumm at gmail.com>
> AuthorDate: Sat, 20 Jun 2015 21:17:18 -0400
> Committer: Gene Cumm <gene.cumm at gmail.com>
> CommitDate: Sat, 20 Jun
2015 Sep 12
0
pxelinux tries to load ldlinux.c32 from DHCP server, instead of next-server
...t; {43, vendor_encaps},
> {52, option_overload},
> - {54, server},
> {61, client_identifier},
> + {66, tftpserver_name},
> {67, bootfile_name},
> {97, uuid_client_identifier},
> {209, pxelinux_configfile},
> @@ -215,7 +215,7 @@ void parse_dhcp_options(const void *option, int size, uint8_t opt_filter)
> * information is present:
> *
> * MyIP - client IP address
> - * server_ip - boot server IP address
> + * server_ip - boot server IP address, REVIEW ME FIXME
> * net_mask - network mask
> * g...
2015 Sep 12
2
pxelinux tries to load ldlinux.c32 from DHCP server, instead of next-server
On Sat, Sep 12, 2015 at 7:08 AM, Gene Cumm <gene.cumm at gmail.com> wrote:
> On Sat, Sep 12, 2015 at 5:54 AM, Teun Docter
> <teun.docter at brightcomputing.com> wrote:
>> On 2015-09-12 04:58, Gene Cumm wrote:
>>>>
>>>> I've captured the following DHCP ACK:
>>>>
>>>> 10.141.20.1.bootps > 10.141.20.2.bootpc: [udp sum ok]
2015 Sep 13
0
pxelinux tries to load ldlinux.c32 from DHCP server, instead of next-server
...; index 8d93a6a..b82e944 100644
> >> --- a/core/fs/pxe/dhcp_option.c
> >> +++ b/core/fs/pxe/dhcp_option.c
> >> @@ -252,4 +252,6 @@ void parse_dhcp(const void *pkt, size_t pkt_len, int pkt_type)
> >>
> >> if (over_load & 2)
> >> parse_dhcp_options(dhcp->sname, 64, 0);
> >> +
> >> + /* What about option 66, tftserver_name ? FIXME */
> >> }
> >
> > Something like this would be preferable except it's not quite so
> > simple. We'd need to not store BOOTP siaddr before parsing. Store...
2016 Jan 07
2
Domain name search path use during PXE booting
...50,6 +284,7 @@ static const struct dhcp_options dhcp_op
{61, client_identifier},
{67, bootfile_name},
{97, uuid_client_identifier},
+ {119, domain_search},
{209, pxelinux_configfile},
{210, pxelinux_pathprefix},
{211, pxelinux_reboottime}
@@ -222,6 +357,7 @@ void parse_dhcp_options(const void *opti
* boot_file - boot file name
* DNSServers - DNS server IPs
* LocalDomain - Local domain name
+ * DomainSearch - Domain search path
* MAC_len, MAC - Client identifier, if MAC_len == 0
*
*/
diff -upr syslinux-6.03.orig/core/fs/pxe/dnsresolv.c syslinux-6.03/core/fs/pxe/dns...
2015 Sep 13
3
pxelinux tries to load ldlinux.c32 from DHCP server, instead of next-server
...100644
>> >> --- a/core/fs/pxe/dhcp_option.c
>> >> +++ b/core/fs/pxe/dhcp_option.c
>> >> @@ -252,4 +252,6 @@ void parse_dhcp(const void *pkt, size_t pkt_len, int pkt_type)
>> >>
>> >> if (over_load & 2)
>> >> parse_dhcp_options(dhcp->sname, 64, 0);
>> >> +
>> >> + /* What about option 66, tftserver_name ? FIXME */
>> >> }
>> >
>> > Something like this would be preferable except it's not quite so
>> > simple. We'd need to not store BOOTP siadd...
2007 Jun 28
4
Support DHCP sname field in PXELINUX
...name. 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 myse...
2016 Jan 07
0
Domain name search path use during PXE booting
...options dhcp_op
> {61, client_identifier},
> {67, bootfile_name},
> {97, uuid_client_identifier},
> + {119, domain_search},
> {209, pxelinux_configfile},
> {210, pxelinux_pathprefix},
> {211, pxelinux_reboottime}
> @@ -222,6 +357,7 @@ void parse_dhcp_options(const void *opti
> * boot_file - boot file name
> * DNSServers - DNS server IPs
> * LocalDomain - Local domain name
> + * DomainSearch - Domain search path
> * MAC_len, MAC - Client identifier, if MAC_len == 0
> *
> */
> diff -upr syslinux-6.03.orig/core/fs/pxe/d...
2015 Jun 03
5
[PATCH 0/1] EFI PXE DHCP/proxyDHCP issues fix
...BS->HandleProtocol, 3, handles[0],
&PxeBaseCodeProtocol, (void **)&bc);
if (status != EFI_SUCCESS) {
Print(L"Failed to lookup PxeBaseCodeProtocol\n");
}
mode = bc->Mode;
/*
* Parse any "before" hardcoded options
*/
parse_dhcp_options(embedded_dhcp_options.dhcp_data,
embedded_dhcp_options.bdhcp_len, 0);
/*
* Get the DHCP client identifiers (query info 1)
*/
Print(L"Getting cached packet ");
parse_dhcp(&mode->DhcpAck.Dhcpv4, pkt_len);
Print(L"\n");
/*
*...
2016 Jan 08
1
Domain name search path use during PXE booting
...1, client_identifier},
>> {67, bootfile_name},
>> {97, uuid_client_identifier},
>> + {119, domain_search},
>> {209, pxelinux_configfile},
>> {210, pxelinux_pathprefix},
>> {211, pxelinux_reboottime}
>> @@ -222,6 +357,7 @@ void parse_dhcp_options(const void *opti
>> * boot_file - boot file name
>> * DNSServers - DNS server IPs
>> * LocalDomain - Local domain name
>> + * DomainSearch - Domain search path
>> * MAC_len, MAC - Client identifier, if MAC_len == 0
>> *
>>...