Pipe "01-<MAC>" wird in /pxelinux.cfg nicht erzeugt

Antworten
friday82@gmx.de
Beiträge: 5
Registriert: 09 Sep 2020, 12:50

Pipe "01-<MAC>" wird in /pxelinux.cfg nicht erzeugt

Beitrag von friday82@gmx.de »

Hallo zusammen,
im forum.opsi.org habe ich folgenden Beitrag aus 2011 gefunden--> [viewtopic.php?t=3058]
--> PXE Installation - keine Pipes unter pxelinux.cfg - allerdings helfen mir die dort empfohlenen Schritte nicht weiter.

Der Client wird über opsi-configed angelegt, in der Datei /etc/dhcp/dhcpd.conf wird ein entsprechenden Eintrag mit IP und MAC Adresse erzeugt. Anschließend setze ich im Bereich Netboot-Produkte das Produkt win10-x64 auf setup. Nun sollte eine Pipe-Datei "01+<MAC>" im Verzeichnis /tftpboot/linux/pxelinux.cfg erzeugt werden. Dies ist nicht der Fall.

Anbei der Auszug aus der opsipxeconfd.log:

[5] [Sep 09 11:13:16] Finished setting initial boot configurations (opsipxeconfd|673)
[5] [Sep 09 11:14:43] Got connection from client (opsipxeconfd|178)
[5] [Sep 09 11:14:48] Got connection from client (opsipxeconfd|178)
[5] [Sep 09 11:14:48] Ignoring given pxeConfigTemplate because uefi detected for the client. (opsipxeconfd|563)
[5] [Sep 09 11:14:48] elilo configuration detected for client03.friday.local (opsipxeconfd|778)
[3] [Sep 09 11:14:48] Failed to create pxe config writer: You have not licensed uefi module, please check your modules or contact info@uib.de (opsipxeconfd|453)
[2] [Sep 09 11:14:48] Traceback: (Logger.py|798)
[2] [Sep 09 11:14:48] File "/usr/bin/opsipxeconfd", line 457, in updateBootConfiguration self._pxeConfigWriters.remove(pcw)(Logger.py|798)
[2] [Sep 09 11:14:48] ==>>> list.remove(x): x not in list (opsipxeconfd|463)
[3] [Sep 09 11:14:48] Processing command u'update client03.friday.local /var/run/opsipxeconfd/client03.friday.local.json' failed: list.remove(x): x not in list (opsipxeconfd|913)
[5] [Sep 09 11:27:15] Got connection from client (opsipxeconfd|178)
[5] [Sep 09 11:27:19] Got connection from client (opsipxeconfd|178)
[5] [Sep 09 11:27:19] Ignoring given pxeConfigTemplate because uefi detected for the client. (opsipxeconfd|563)
[5] [Sep 09 11:27:19] elilo configuration detected for client03.friday.local (opsipxeconfd|778)
[3] [Sep 09 11:27:19] Failed to create pxe config writer: You have not licensed uefi module, please check your modules or contact info@uib.de (opsipxeconfd|453)
[2] [Sep 09 11:27:19] Traceback: (Logger.py|798)
[2] [Sep 09 11:27:19] File "/usr/bin/opsipxeconfd", line 457, in updateBootConfiguration self._pxeConfigWriters.remove(pcw) (Logger.py|798)
[2] [Sep 09 11:27:19] ==>>> list.remove(x): x not in list (opsipxeconfd|463)
[3] [Sep 09 11:27:19] Processing command u'update client03.friday.local /var/run/opsipxeconfd/client03.friday.local.json' failed: list.remove(x): x not in list (opsipxeconfd|913)
adminuser@opsiserver:~$

Muss das licensed uefi module geordert werden damit die pipefile erzeugt wird?
Oder gibt es einen anderen Grund für die Nichtanlage der pipe?
Für eine kleine Hilfestellung bedanke ich mich im voraus.

Viele Grüße
Bernd Freitag
Benutzeravatar
m.radtke
uib-Team
Beiträge: 1534
Registriert: 10 Jun 2015, 12:19

Re: Pipe "01-<MAC>" wird in /pxelinux.cfg nicht erzeugt

Beitrag von m.radtke »

Hi

hast du den UEFI Haken gesetzt?
Habt ihr die UEFI Erweiterung gekauft?
Ist dies auch so korrekt im Backend angekommen?

Code: Alles auswählen

opsi-admin -d method backend_info
Gruß
Mathias
Kein Support per DM!
_________________________
opsi support - http://www.uib.de/
For productive opsi installations we recommend support contracts.
friday82@gmx.de
Beiträge: 5
Registriert: 09 Sep 2020, 12:50

Re: Pipe "01-<MAC>" wird in /pxelinux.cfg nicht erzeugt

Beitrag von friday82@gmx.de »

Hallo Mathias,
danke für die schnelle Rückmeldung. Habe deinen Befehl mal eingegeben - "uefi": false.
Also ist das Modul "uefi" zwingend erforderlich, damit die Pipefile erzeugt wird?
Dann muss ich mal an den uib support herantreten, ob eine Testversion ausgegeben wird. Korrekt?
Viele Grüße
Bernd
Benutzeravatar
m.radtke
uib-Team
Beiträge: 1534
Registriert: 10 Jun 2015, 12:19

Re: Pipe "01-<MAC>" wird in /pxelinux.cfg nicht erzeugt

Beitrag von m.radtke »

Hi Bernd,

wenn es ein UEFI Rechner ist der kein Legacy Boot mehr kann, dann ja.

einfach ne mail an info@uib.de mit der Bitte um eine Testfreischaltung..

Gruß
Mathias
Kein Support per DM!
_________________________
opsi support - http://www.uib.de/
For productive opsi installations we recommend support contracts.
friday82@gmx.de
Beiträge: 5
Registriert: 09 Sep 2020, 12:50

Re: Pipe "01-<MAC>" wird in /pxelinux.cfg nicht erzeugt

Beitrag von friday82@gmx.de »

Hallo zusammen,
habe nun die modules Datei erfolgreich auf dem opsi-Server eingebunden.
Sobald ich das Netboot-Produkt auf "setup" setze, wird jetzt auch eine pipfile unter /tftpboot/linux/pxelinux.cfg erzeugt.

Anscheinend werden in der pipefile die falschen Informationen mitgegeben, Info vom Client:
TFTP prefix: linux/
Trying to load: pxelinux.cfg/01-00-19-d1-84-14-cd
Missing parameter in configuration file.
Missing parameter in configuration file.
Missing parameter in configuration file.
Missing parameter in configuration file.
Unknown keyword in configuration file: append="initrd=/linux/miniroot-x64.bz2"
Could not find kernel image: linux
boot:

Auszug aus der pipefile:

default=opsi
timeout=0

image=/linux/install-x64
label=opsi
append="initrd=/linux/miniroot-x64.bz2 debug video=vesa:ywrap,mtrr vga=normal --no-log console=tty1 console=ttyS0 dn=friday.local product=win10-x64 pckey=ee10bcae5b21a141b1769a106c3f4cf1 service=https://192.168.1.3:4447/rpc vga=normal hn=client03"
initrd=/linux/miniroot-x64.bz2

Was kann ich tun, damit die Installation von win10-x64 nun startet??

Besten Dank
Bernd Freitag
Benutzeravatar
m.radtke
uib-Team
Beiträge: 1534
Registriert: 10 Jun 2015, 12:19

Re: Pipe "01-<MAC>" wird in /pxelinux.cfg nicht erzeugt

Beitrag von m.radtke »

Hi

auf welches File verweist dein DHCP bei einem UEFI Netboot?

Steht dein Client auf UEFI Netboot im UEFI/BIOS?

Gruß
Mathias
Kein Support per DM!
_________________________
opsi support - http://www.uib.de/
For productive opsi installations we recommend support contracts.
friday82@gmx.de
Beiträge: 5
Registriert: 09 Sep 2020, 12:50

Re: Pipe "01-<MAC>" wird in /pxelinux.cfg nicht erzeugt

Beitrag von friday82@gmx.de »

Hallo Matthias,
der Client erhält seine Informationen aus dem Netboot - Text:

My IP address seems to be C0A8010C 192.168.1.12
ip=192.168.1.12:192.168.1.3:192.168.1.1:255.255.255.0
TFTP prefix: linux/
Trying to load: pxelinux.cfg/bf247612-2919-11dc-656b-0011110f083f
Trying to load: pxelinux.cfg/01-00-19-d1-84-14-cd
Missing parameter in configuration file.
Missing parameter in configuration file.
Missing parameter in configuration file.
Missing parameter in configuration file.
Unknown keyword in configuration file: append="initrd=/linux/miniroot-x64.bz2"
Could not find kernel image: linux
boot:

--> ich würde den Fehlertext nun so verstehen, dass eine Verbindung aufgebaut wird, ein Linux kernel geladen werden soll, und diese wohl fehlt.

folgende Dateien befinden sich im Verzeichnis /linux = chain.c32 / @instal/ @install / @install64 / memtest86+-5.01 / menu.c32 / miniroot-20200506.bz2 / miniroot-x64-20200506.bz2 / @miniroot-x64.bz2 / @miniroot.bz2 / pxelinux.0 / vmlinuz-5.6.4 / vmlinuz-x64-5.6.4 / vmlinuz-x64-5.6.4.signed und das Verzeichnis /pxelinux.cfg

--> kann das Problem bei der Namensabweichung der miniroot liegen??

--> in der dhcpd.conf ist der filename im PXE Bereich: "linux/pxelinux.0" hinterlegt
--> der Client hat im BIOS PXE aktiviert und im opsi config editor ist das Häkchen bei UEFI gesetzt

Es bleibt spannend :-)
Viele Grüße
Bernd Freitag
Benutzeravatar
SisterOfMercy
Beiträge: 1524
Registriert: 22 Jun 2012, 19:18

Re: Pipe "01-<MAC>" wird in /pxelinux.cfg nicht erzeugt

Beitrag von SisterOfMercy »

friday82@gmx.de hat geschrieben:--> in der dhcpd.conf ist der filename im PXE Bereich: "linux/pxelinux.0" hinterlegt
Well, this will not work with an UEFI client.

See here for how the isc dhcpd config file should look (in part of course): viewtopic.php?p=52008#p52008
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
friday82@gmx.de
Beiträge: 5
Registriert: 09 Sep 2020, 12:50

Re: Pipe "01-<MAC>" wird in /pxelinux.cfg nicht erzeugt

Beitrag von friday82@gmx.de »

Hello SisterOfMercy,
I modified the dhcpd.conf as shown in topic: viewtopic.php?p=52008#p52008.
After this, no connection to dhcp can be established. So I use my old dhcpd.conf - where connection is established.
I don't have a problem with dhcp because I'm using the opsi-test-VM (there is a dhcp installed with no free address leases;
when a new client will be created in opsi configuration tool, MAC and IP-address will be written in the file dhcpd.conf).

The client will be found and the following text is shown by client startup:
My IP address seems to be C0A8010C 192.168.1.12
ip=192.168.1.12:192.168.1.3:192.168.1.1:255.255.255.0 (ip : opsiserver : gateway : netmask) values are correct!

In my previous topic you can see the client information or errortext.

unknown keyword in configuration file: which keyword is required??
Could not find kernel image: which directory / which filename??
Missing parameter in configaration file: which parameter is missing??

This is my pipefile:

default=opsi
timeout=0

image=/linux/install-x64
label=opsi
append="initrd=/linux/miniroot-x64.bz2 debug video=vesa:ywrap,mtrr vga=normal --no-log console=tty1 console=ttyS0 dn=friday.local product=win10-x64 pckey=ee10bcae5b21a141b1769a106c3f4cf1 service=https://192.168.1.3:4447/rpc vga=normal hn=client03"
initrd=/linux/miniroot-x64.bz2

Thank you
friday82
Antworten