MoinMoin Logo
  • Kommentare
  • Geschützte Seite
  • Menu
    • Navigation
    • AktuelleÄnderungen
    • SeiteFinden
    • ÜbersichtsKarte
    • Help
    • HilfeInhalt
    • HilfeZurMoinWikiSyntax
    • Anzeige
    • Dateianhänge
    • Info
    • Rohform
    • Druckansicht
    • Editieren
    • Laden
    • Speichern
  • Anmelden

Navigation

  • AktuelleÄnderungen
  • SeiteFinden
  • HilfeInhalt
Revision 5 vom 2021-11-21 12:58:54
  • Raspberry Pi mit PXE booten (Network Boot)

Raspberry Pi mit PXE booten (Network Boot)

Im OpenWRT-Router:

Network --> Interfaces --> LAN --> Edit --> DHCP-Server --> Advanced Settings:

TFTP Boot Server hinzufügen:
66,192.168.X.Y

Im Raspberry Pi:

cat >> /boot/config.txt << "EOFCONFIG"
program_usb_boot_mode=1
EOFCONFIG

reboot

(Erfolg testen mit:
$ vcgencmd otp_dump | grep 17
17:3020000a)

config vendorclass
        option networkid 'pxebios'
        option vendorclass 'PXEClient:Arch:00000'

config vendorclass
        option networkid 'pxeefi'
        option vendorclass 'PXEClient:Arch:00006'

config vendorclass
        option networkid 'pxeefi'
        option vendorclass 'PXEClient:Arch:00007'

config vendorclass
        option networkid 'pxeefi'
        option vendorclass 'PXEClient:Arch:00009'

config userclass
        option networkid 'ipxe'
        option userclass 'iPXE'

config boot
        option networkid 'pxebios'
        option filename 'ipxe/ipxe.pxe'
        option serveraddress '192.168.3.1'
        option servername 'router.lan3'

config boot
        option networkid 'pxeefi'
        option filename 'ipxe/ipxe.efi'
        option serveraddress '192.168.3.1'
        option servername 'router.lan3'

config boot
        option networkid 'ipxe'
        option filename 'http://router.lan3/tftpboot/ipxe/ipxe.cfg/init.ipxe'

Andere Lösung:

config mac                                       
        option mac 'ac:a0:16:xx:xx:xx'
        option networkid 'cisco-sip'
        list dhcp_option '66,192.168.x.x'


KategorieRaspberry

  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01