Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
OPN as a PXE boot server
« previous
next »
Print
Pages: [
1
]
Author
Topic: OPN as a PXE boot server (Read 10702 times)
cookiemonster
Hero Member
Posts: 1823
Karma: 95
OPN as a PXE boot server
«
on:
September 17, 2021, 12:17:37 am »
Hi.
I'm trying to setup OPN to serve PXE booting options to install OSs from the network.
Same question as
https://forum.opnsense.org/index.php?topic=23128.0
but it's an old post.
Once working I shall create the relevant documentation.
I've installed the os-tftp plugin and created the directory /usr/local/tftp and put in there my pxe files extracted from the syslinux-6.03.pkg i.e. pxelinux.0 and .c32 files
I've created my /usr/local/tftp/pxelinux.cfg/default file with my entries there pointing to a webserver I have in my LAN and started testing.
My tests are failing with:
"PXE-T01:File not found"
What I've found is that the plugin starts the tftp server and I can get the files with a tftp client and a "get" verb.
Also that it doesn't seem to use inetd as the service control mechanism and rc.d instead. All good.
I've also as a test included the OPN LAN address in the Services > DHCP4 > TFTP and the absolute path & NBP file.
Is the plugin still in development and not finished? I'd like some pointers to troubleshoot.
Logged
cookiemonster
Hero Member
Posts: 1823
Karma: 95
Re: OPN as a PXE boot server
«
Reply #1 on:
September 21, 2021, 08:04:09 pm »
Anyone with pointers?
Logged
nykaer
Newbie
Posts: 11
Karma: 0
Re: OPN as a PXE boot server
«
Reply #2 on:
September 24, 2021, 10:53:16 am »
Following. Been meaning to get something like this running at home.
I'll start and report back any findings.
/Nykaer
Logged
cookiemonster
Hero Member
Posts: 1823
Karma: 95
Re: OPN as a PXE boot server
«
Reply #3 on:
September 25, 2021, 12:44:18 am »
I just got back from a few days away. I'll resume this.
I can't figure out what the plugin is meant to do/not do and how so I can plug the gaps. That's all I need at the moment.
Logged
cookiemonster
Hero Member
Posts: 1823
Karma: 95
Re: OPN as a PXE boot server
«
Reply #4 on:
September 25, 2021, 09:54:56 pm »
Well this is interesting. tftpd seems to be working. I went to basics and simply connected with a machine in the LAN via tftp. I was able to download the files requested without problem.
So that part seems fine at the moment. Now I need to figure out why clients seem to be unable to get the pxe booting options offered by tftpd on OPN. I suspect I need to read some RFCs.
I shall post when I know more.
Logged
fabian
Hero Member
Posts: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
Re: OPN as a PXE boot server
«
Reply #5 on:
September 25, 2021, 10:08:12 pm »
I would suggest to check the DHCP settings. If there is a Problem with the loader, you can use ipxe as a chain loader to load the actual loader.
Logged
cookiemonster
Hero Member
Posts: 1823
Karma: 95
Re: OPN as a PXE boot server
«
Reply #6 on:
September 26, 2021, 02:21:57 am »
thanks for the pointer Fabian.
I'm happy to report I had success. I had to read documentation from syslinux, the other sense firewall distribution and digging around opn system files, plus a packet capture.
I'll write it up sometime for anyone trying to do this.
Logged
cookiemonster
Hero Member
Posts: 1823
Karma: 95
Re: OPN as a PXE boot server
«
Reply #7 on:
October 02, 2021, 05:04:38 pm »
I've finally got a few minutes to post the Tutorial.
https://forum.opnsense.org/index.php?topic=25003.0
Apologies it has taken longer than expected, we're dealing with a family situation.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
OPN as a PXE boot server