@tgl said in Netgate 4200: PXE Boot Enabled Out of Box?:
@wgstarks said in Netgate 4200: PXE Boot Enabled Out of Box?:
It’s unclear to me after reading through this thread, is it possible to permanently disable pxe boot? How?
Yup, I did it successfully. From memory:
Attach the supplied cable to the console port. On the other end I used a Linux box running recent Fedora, which seemed to have the required kernel driver already present; I didn't need to do anything except run screen per the manual's directions. Confirm that it works: you should get the same numeric menu as you see when ssh'ing into the box.
Reboot, wait ~30sec until you see the BIOS prompt to press ESC, and quickly do that. Press it only once, and expect to wait a few seconds for the BIOS menus to appear.
Find the BIOS menu subheading that's labeled UEFI Network Stack or PXE Network Stack (I forget which); it's in one of the first menu tabs, fairly far down. Within that, toggle the first item which will disable the network stack entirely. (There is an item under the Boot menu that looks like it will disable PXE sources individually, but that setting did not "stick" for me.)
Press F4 to save and exit.
And voila. To confirm, check efibootmgr in the FreeBSD shell; it should not show any of the PXE boot items. I also noted something like a 15sec decrease in the BIOS startup time.
It was Advanced tab>Network stack configuration>disable network stack just in case anyone else goes looking for it.