Jump to content

tftpd in 5.0-rc


Recommended Posts

Hi,

i want to use my Unraid Server also as PXE Server, therefor i would need a tftpd server.

In older Versions of Unraid it seemed to be included althought not activated.

 

In the 5.0-rc it seemed to be vanished for me. Do i simply search at the wrong place or is it not included in the latest 5.0 Versions?

 

By the way, i am using 5.0-rc5-r8168

Link to comment

Thats a way to do it, but it is more complicated.

When i got time i will write a small How-To. In my case i didnt need an additional TFTP Server because DNSmasq already included it. Also DNS masq works only als DHCP Proxy in my case, so the DHCP Server in your Router can stay activated.

 

Also in my case you dont need a router running DD-WRT or something similiar.

Link to comment

As a newb, I see that a plg is a plugin and a tzg is a package.  in either case it was pretty straight forward.  I have simple features install vs unmenu and thus not sure on the how to as darkside40 recomendation .  That would be great if darkside40 wrote a how to and have it as a plugin or work with simplefeatures.  I do not wish to have my unraid server issue out ip address since I do not have it running 100% of the time.

Link to comment

@dcoens: Unfortunately i am not the author of the unmenu package script which i have used, for me it was simply the easiest way to install DNSmasq.

 

I really would like to make more of my unRaid Server, but to be honest, with my limited Slackware knowledge there is simply no easy way to build up a unRaid developement system. There is no simple guide to do this or a preconfigured VM that i could use.

Also i didnt find any documentation of the new plugin system. Maybe someone could point me there.

 

By the way, the unmenu way has one big advantage, it will alos work on unRaid 4.7 and not only on the 5.0 branch.

Link to comment

Thats a way to do it, but it is more complicated.

When i got time i will write a small How-To. In my case i didnt need an additional TFTP Server because DNSmasq already included it. Also DNS masq works only als DHCP Proxy in my case, so the DHCP Server in your Router can stay activated.

 

Also in my case you dont need a router running DD-WRT or something similiar.

 

I have just set up dnsmasq on my unRAID server in order to netboot my OpenELEC box(es).

 

Likewise, I have my router providing the dhcp service and it can't run DD-WRT., so I eventually discovered how to configure dnsmasq for dhcp proxy with netboot/tftp on the unRAID server.

 

All working well now, and no storage device connected directly to the OpenELEC box.

Link to comment

I will write a howto when i figured out how to get the newest DNSmasq Version running on my unraid.

 

For everybody who cant wait, here you can see what is in my DNSmasq Config, to be honest i dont figured it out myself but it was part of a Article in a German Computer Magazine:

port=0
log-dhcp
enable-tftp
tftp-root=/mnt/user/tftp
dhcp-range=192.168.2.0,proxy
pxe-prompt="Press F8 for Menu",5
pxe-service=X86PC,"Start from HDD",0
pxe-service=X86PC,"Start desinfect",ct/pxelinux

 

It enables TFTP and sets it root directory to the user share i have created for it (in my case a cache only share).

The DHCP Range needs to be adjusted to your need, also DNSmasq runs in proxy mode.

Hope that helps anybody.

Link to comment
pxe-prompt="Press F8 for Menu",5
pxe-service=X86PC,"Start from HDD",0
pxe-service=X86PC,"Start desinfect",ct/pxelinux

 

This is the bit which caught me out for a while!  The dhcp proxy setting only works if you have pxe-prompt and a pxe-service specified.

 

I was using

dhcp-boot=pxelinux.0

initially, but that wouldn't allow the proxy to be enabled.  However, the pxe-prompt with a zero timeout does work okay.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...