geb Bitte mal folgendes ein
Code: Alles auswählen
set debug=all
regexp --set=1:bootsrc '^\((.*)\)' ${cmdpath}
configfile ($bootsrc)/grub/grub.cfg
Auf wechler Hardware willst du den Netboot machen?
Code: Alles auswählen
set debug=all
regexp --set=1:bootsrc '^\((.*)\)' ${cmdpath}
configfile ($bootsrc)/grub/grub.cfg
Grüßekern/verifiers.c212: string: configfile (tftp, IPADRESSE opsiserverC#linux/pxelinux.cfg/opsi-netboot.efi) /grub/grub.cfg, type: 2
error: commands/configfile.c:35:filename expected.
Code: Alles auswählen
configfile (tftp,IPADRESSE)/grub/grub.cfg
Code: Alles auswählen
regexp --set=1:bootsrc '^\((.*)\)' ${cmdpath}
Grüßecommands/wildcard.c:535: no expansion needed
commands/wildcard.c:594: paths[0] = `(tftp,IPADRESSEC#linux/pxelinux.cfg/opsi-netboot.efi)linux/pxelinux.cfg´
kern/verifiers.c:212: sting: regexp --set=^:bootsrc ^\((.*)\) ((tftp,IPADRESSEC#linux/pxelinux.cfg/opsi-netboot.efi)linux/pxelinux.cfg, type 2
Der Rest ist gleich.net/ip.c:341:net: invalid vlantag! 0 !=6
Code: Alles auswählen
regexp --set=1:bootsrc '^\((.*)\)' ${cmdpath}
regexp --set=1:bootproto '^([^,]+)' ${bootsrc}
regexp --set=1:bootip '([0-9]{1,3}[\.][0-9]{1,3}[\.][0-9]{1,3}[\.][0-9]{1,3})' ${bootsrc}
echo $cmdpath
echo $bootsrc
echo $bootproto
echo $bootip
echo $bootsrc:(tftp,"IPADRESSE opsiserver"C#linux/pxelinux.cfg/opsi-netboot.efi)linux/pxelinux.cfg
echo $bootproto:tftp,"IPADRESSE opsiserver"C#linux/pxelinux.cfg/opsi-netboot.efi
echo $bootiptftp
Grüße"IPADRESSE opsiserver"
Code: Alles auswählen
in.tftpd[35084]: RRQ from 192.168.3.225 filename /linux/pxelinux.cfg/opsi-netboot.efi
Code: Alles auswählen
[2024-03-18 16:38:39.099] [Opsipxeconfd ] Got connection from client (opsipxeconfd.py:230)