darkside40 Posted August 4, 2012 Share Posted August 4, 2012 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
dgaschk Posted August 4, 2012 Share Posted August 4, 2012 See here: http://www.m0rd0r.eu/slackware-as-basic-tftp-server/ Some of the commands will need to go in the go file. Link to comment
darkside40 Posted August 5, 2012 Author Share Posted August 5, 2012 Thanks for the help. I also disovered a second method which i maybe try first. Seems that DNSmasq has in integrated tftp server, which could also do the job. Link to comment
darkside40 Posted August 5, 2012 Author Share Posted August 5, 2012 Okay the DNSmasq Package which was provided here http://lime-technology.com/forum/index.php?topic=17392 solved my problem. It has an tftp server integrated and PXE Serving works with it without any problems. Anyway the DNSmasq Version in it is a little bit outdated. Link to comment
dcoens Posted August 7, 2012 Share Posted August 7, 2012 I wanted to do the same thing and I ran across this on the internet. http://stuffbyjeroen.blogspot.com/2011/07/using-unraid-server-to-pxe-boot.html I do not know if jeroen is in this forum, but this is some nice work from him and he should be noticed. He had created a plugin - only not posted in the RC5 plug ins directory. Link to comment
darkside40 Posted August 7, 2012 Author Share Posted August 7, 2012 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
PeterB Posted August 7, 2012 Share Posted August 7, 2012 He had created a plugin - only not posted in the RC5 plug ins directory. Ah, where have you found a plugin? Link to comment
darkside40 Posted August 7, 2012 Author Share Posted August 7, 2012 I used that one here http://lime-technology.com/forum/index.php?topic=17392.msg194078 Only weak point, the DNSmasq Version is a little bit old, would be cool to have a recent one, but i dont know till today how to make packages for unRaid. Link to comment
PeterB Posted August 7, 2012 Share Posted August 7, 2012 I used that one here http://lime-technology.com/forum/index.php?topic=17392.msg194078 Errr... that's a package, not a plugin! Nice as the unMENU package system is, I'm trying to move over entirely to plugins. Link to comment
dcoens Posted August 8, 2012 Share Posted August 8, 2012 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
darkside40 Posted August 8, 2012 Author Share Posted August 8, 2012 @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
PeterB Posted August 11, 2012 Share Posted August 11, 2012 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
darkside40 Posted August 11, 2012 Author Share Posted August 11, 2012 Which DNSmasq Version are you using? Link to comment
darkside40 Posted August 11, 2012 Author Share Posted August 11, 2012 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
PeterB Posted August 11, 2012 Share Posted August 11, 2012 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.