RPI4B PXE - jhu-information-security-institute/NwSec GitHub Wiki

Setup RPI4B to PXE boot on startup

  1. Use a clean raspbian sd card to boot the devices that will be pxe booted
  2. View the eeprom config: $ rpi-eeprom-config
  3. Edit the eeprom config: $ sudo -E rpi-eeprom-config --edit
    • E.g., use below for kali2-rpi with repeating boot order sequence: 1. SD, 2. NETWORK
      BOOT_ORDER=0xf21
      TFTP_PREFIX=1
      TFTP_PREFIX_STR=kali2-rpi-2021.1/boot/
      
  4. Reboot to apply the eeprom update!

There was an old note to set GATEWAY=172.16.0.1 in the above but I do not believe it is needed