Größe: 1113
Kommentar:
|
Größe: 1860
Kommentar:
|
Gelöschter Text ist auf diese Art markiert. | Hinzugefügter Text ist auf diese Art markiert. |
Zeile 4: | Zeile 4: |
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) # Zeile (nach verifiziertem Erfolg) wieder entfernen: sed -i 's/program_usb_boot_mode=1//g' /boot/config.txt }}} Im OpenWRT-Router: Statische IP-Adresse vergeben (über Network --> DHCP and DNS --> Static Leases) |
|
Zeile 43: | Zeile 73: |
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' }}} |
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) # Zeile (nach verifiziertem Erfolg) wieder entfernen: sed -i 's/program_usb_boot_mode=1//g' /boot/config.txt
Im OpenWRT-Router:
Statische IP-Adresse vergeben (über Network --> DHCP and DNS --> Static Leases)
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'