Jump to content











Photo
- - - - -

iPxe and Synology


  • Please log in to reply
7 replies to this topic

#1 neps4u

neps4u
  • Members
  • 5 posts
  •  
    Nepal

Posted 01 November 2017 - 10:34 AM

hy erwan. please can you tell me how can i use ipxe on Synology ?? no external DHCP Server.

 

Thanks


Edited by neps4u, 01 November 2017 - 10:34 AM.


#2 erwan.l

erwan.l

    Platinum Member

  • Developer
  • 3041 posts
  • Location:Nantes - France
  •  
    France

Posted 01 November 2017 - 10:59 AM

hy erwan. please can you tell me how can i use ipxe on Synology ?? no external DHCP Server.

 

Thanks

 

Hi neps4u,

 

This is a bit ouf topic (create a new one eventually) but you will find instructions from synology here .

 

Regards,

Erwan


  • neps4u likes this

#3 neps4u

neps4u
  • Members
  • 5 posts
  •  
    Nepal

Posted 01 November 2017 - 12:30 PM

Hi neps4u,

 

This is a bit ouf topic (create a new one eventually) but you will find instructions from synology here .

 

Regards,

Erwan

Thanks Erwan for quick reaply.. the link only gives pxe boot configuration not the ipxe.

 

any way thanks.



#4 erwan.l

erwan.l

    Platinum Member

  • Developer
  • 3041 posts
  • Location:Nantes - France
  •  
    France

Posted 01 November 2017 - 01:40 PM

Thanks Erwan for quick reaply.. the link only gives pxe boot configuration not the ipxe.

 

any way thanks.

 

In the link I provided, provide ipxe as boot loader.

Because the synology dhcp server can only provide one boot loader at the time, you need to embed your ipxe script in the ipxe boot loader (use rom o matic for this).

 

Best is to create a new topic for this.

 

Regards,

Erwan



#5 erwan.l

erwan.l

    Platinum Member

  • Developer
  • 3041 posts
  • Location:Nantes - France
  •  
    France

Posted 01 November 2017 - 02:24 PM

new topic created (splitted from here).


  • neps4u likes this

#6 neps4u

neps4u
  • Members
  • 5 posts
  •  
    Nepal

Posted 02 November 2017 - 10:32 AM

In the link I provided, provide ipxe as boot loader.

Because the synology dhcp server can only provide one boot loader at the time, you need to embed your ipxe script in the ipxe boot loader (use rom o matic for this).

 

Best is to create a new topic for this.

 

Regards,

Erwan

 

Thanks Erwan for creating a new thread  :)  :)  i already used ipxe on Synology. Yes you are right Synology use one Boot loader at a  time- mean if you need a BIOS based pxe server then you have to choose undionly.kpxe and for UEFI Based devices you have to choose ipxe.efi.

Yes i also know their is script for detect and load the correct boot loader for both architecture-

 

 

 

option client-arch code 93 = unsigned integer 16;
if option client-arch != 0 {
filename "ipxe.efi";
} else {
filename "undionly.kpxe";
}
next-server X.X.X.X;

  

But i cant find /etc/dhcpd.conf in Synology thats why i need your help.



#7 erwan.l

erwan.l

    Platinum Member

  • Developer
  • 3041 posts
  • Location:Nantes - France
  •  
    France

Posted 02 November 2017 - 12:03 PM

Thanks Erwan for creating a new thread  :)  :)  i already used ipxe on Synology. Yes you are right Synology use one Boot loader at a  time- mean if you need a BIOS based pxe server then you have to choose undionly.kpxe and for UEFI Based devices you have to choose ipxe.efi.

Yes i also know their is script for detect and load the correct boot loader for both architecture-

 

  

But i cant find /etc/dhcpd.conf in Synology thats why i need your help.

 

beware that synology has a very light dhcp daemon (i.e this is NOT a full blown dhcpd like ISC, etc).

you will probably not be able to implement any logic there.

 

see below my current dhcpd conf on my home synology (before enabling pxe).

 

G8Np6ZP.png



#8 erwan.l

erwan.l

    Platinum Member

  • Developer
  • 3041 posts
  • Location:Nantes - France
  •  
    France

Posted 02 November 2017 - 12:18 PM

This is how it looks like once configured.

 

As I said, I believe you will only be able to server pcbios OR EFI but NOT both at the same time.

 

As for the scripting, you can either embed your script in the iPXE bootloader or use pxelinux as the initial bootloader (with a conf file next to it which will be loaded by pxelinux) and then chainload other bootloader from there.

 

hdeATL0.png

 

xwcKQ2s.png






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users