Freenas as PXE Server help

alazium

Cadet
Joined
Sep 19, 2019
Messages
9
Hello guys. Can you help me with my problem. Sorry for my English. I have no experience in network technologies, just learning. I need to run NAS with PXE server on it. I know FreeNAS can do it, i i can't figure out what i do wrong.
I installed FreeNAS, created a pool (wd) and added datasheet (pxe), next i added NFS share, started TFTP Service and point it's location to this share (pxe). Added ip 192.168.1.200.
As DHCP Server i used OpenWRT installed on Raspberry Pi 2B+. I configured advanced settings in DHCP for network boot, added two lines:
66,192.168.1.200
67,pxelinux.0
When i start my client machine i see error: pxe-e32 tftp open timeout
I dont understand what i do wrong.
 

Attachments

  • Снимок экрана (38).png
    Снимок экрана (38).png
    40.9 KB · Views: 13
  • Снимок экрана (39).png
    Снимок экрана (39).png
    36.2 KB · Views: 13
  • Снимок экрана (40).png
    Снимок экрана (40).png
    361.9 KB · Views: 10
  • Снимок экрана (41).png
    Снимок экрана (41).png
    44.1 KB · Views: 10

alazium

Cadet
Joined
Sep 19, 2019
Messages
9
Hello, thanks for the reply. I tried different adresses. Current adress 192.168.1.200 IS my FreeNAS ip. I tried to assign different ip, but no luck. Maybe there is some issue with permissions?
 

alazium

Cadet
Joined
Sep 19, 2019
Messages
9
Since there is no any answers, I'll do it by myself. I found my mistake. There is no need to add DHCP advanced settings. All you need is to go to: Network -> DHCP and DNS -> open TFTP Settings. Check Enable TFTP server, first option (TFTP server root) leave blank. Second (Network boot image) must look like this "pxelinux.0,,192.168.1.112", there is two comas between "pxelinux.0" and "192.168.1.200". As I suppose between these two comas must be your server name, but it's not necessery.
Sorry for my English, it's not my primary language.
 

Attachments

  • scr.png
    scr.png
    19.8 KB · Views: 684

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
Looks like this forum is dead.

The forum isn't dead, but almost no one here uses PXE besides probably me, and I didn't see your message - and I don't use FreeNAS for DHCP services anyways. There have been several recent PXE discussions so it isn't like there's nothing to refer to...
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
The more I read of this thread, the more confused I get. This might be at least partially because I've never used PXE, but @alazium is saying that enabling a TFTP server on his router makes it work (which seems very strange, as you'd be using the TFTP server on the FreeNAS box, not on the router), while @jgreco's talking about using the FreeNAS box as a DHCP server, which I don't see mentioned anywhere.
There have been several recent PXE discussions so it isn't like there's nothing to refer to..
I've seen questions come up a few times, but have they actually been answered? My memory is that the threads started with a question very much like the OP, but never really got a direct answer. Though, again, since I don't use PXE, I may have missed it...
 

alazium

Cadet
Joined
Sep 19, 2019
Messages
9
FreeNAS does not has a DHCP service, it can be installed in Jail. The TFTP Activation on OpenWRT may be just some kind of kickstart. I dont know because i novice in NAS technologies.
 
Top