PXE Boot
-
- Beiträge: 11
- Registriert: 12 Jul 2022, 07:24
PXE Boot
Hallo zusammen,
ich habe mir vor einigen Wochen OPSI genauer angeschaut und habe bereits einen Server installiert. Nun möchte ich mit dem Thema Client Installation fortfahren. Vorweg, was ich nutze:
1x VM wo OPSI drauf ist
1x Unifi als externer DHCP Dienst
1x DELL Notebook
Ich habe in Unifi folgende Einträge hinterlegt:
https://ibb.co/kgW4P3Z
Nun zu dem Problem, ich boote mit F12 beim Client ins Boot Menü, wähle dort die NIC zum booten. Es erscheint dann auch folgendes:
>>Start PXE over IPv4
nach paar Sekunden kommt folgende Meldung:
Station IP address is 172.16.0.134
Server ip address is 10.1.1.114
NBP filename is linux/pxelinux.0
NBP filesize is 15710 Bytes
Downloading NBP file ....
NBP file download successfully.
Leider bootet der Client dann nicht in die OPSI Konfiguration, sondern direkt wieder ins Windows. Entweder ich muss noch was bei configed setzen, oder ich habe eine Konfiguration übersehen.
Der Client ist im configed eingetragen mit Hostname und Mac Adresse. Kann mir hierbei jemand behilflich sein und sagen wo genau ich was vergessen habe
Danke für die Hilfe!
Liebe Grüße
Michael aus Österreich
ich habe mir vor einigen Wochen OPSI genauer angeschaut und habe bereits einen Server installiert. Nun möchte ich mit dem Thema Client Installation fortfahren. Vorweg, was ich nutze:
1x VM wo OPSI drauf ist
1x Unifi als externer DHCP Dienst
1x DELL Notebook
Ich habe in Unifi folgende Einträge hinterlegt:
https://ibb.co/kgW4P3Z
Nun zu dem Problem, ich boote mit F12 beim Client ins Boot Menü, wähle dort die NIC zum booten. Es erscheint dann auch folgendes:
>>Start PXE over IPv4
nach paar Sekunden kommt folgende Meldung:
Station IP address is 172.16.0.134
Server ip address is 10.1.1.114
NBP filename is linux/pxelinux.0
NBP filesize is 15710 Bytes
Downloading NBP file ....
NBP file download successfully.
Leider bootet der Client dann nicht in die OPSI Konfiguration, sondern direkt wieder ins Windows. Entweder ich muss noch was bei configed setzen, oder ich habe eine Konfiguration übersehen.
Der Client ist im configed eingetragen mit Hostname und Mac Adresse. Kann mir hierbei jemand behilflich sein und sagen wo genau ich was vergessen habe
Danke für die Hilfe!
Liebe Grüße
Michael aus Österreich
- SisterOfMercy
- Beiträge: 1524
- Registriert: 22 Jun 2012, 19:18
Re: PXE Boot
You are booting a UEFI client. The file that it gets from the dhcp server is for legacy clients.
Instead of linux/pxelinux.0 use this:
linux/pxelinux.cfg/shimx64.efi.signed
Ideally your external dhcp server should be able to do both. Maybe you can set extra dhcp options where you can do this, if it isn't in the GUI.
Instead of linux/pxelinux.0 use this:
linux/pxelinux.cfg/shimx64.efi.signed
Ideally your external dhcp server should be able to do both. Maybe you can set extra dhcp options where you can do this, if it isn't in the GUI.
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
-
- Beiträge: 11
- Registriert: 12 Jul 2022, 07:24
Re: PXE Boot
Hallo,
vielen Dank @SisterOfMercy . Ich habe das gemacht, jedoch erscheint nun folgendes Problem:
Station IP address is 172.16.0.134
Server ip address is 10.1.1.114
NBP filename is linux/pxelinux.0
NBP filesize is 15710 Bytes
Downloading NBP file ....
NBP file download successfully.
Fetching Netboot Image
Unable to fetch TFTP image: TFTP Error
start_image0 returned TFTP Error
Log:
/var/log/opsi/opsipxeconfd.log
[1] [2022-07-12 08:54:02.050] [Opsipxeconfd start] opsi pxe configuration service starting (opsipxeconfd.py:83)
[5] [2022-07-12 08:54:02.051] [Opsipxeconfd ] Starting opsipxeconfd main thread (opsipxeconfd.py:260)
[5] [2022-07-12 08:54:02.424] [Opsipxeconfd ] Ignoring module 'OpsiPXEConfd', backend 'opsipxeconfd' (Dispatcher.py:121)
[5] [2022-07-12 08:54:02.770] [ ] Start setting initial boot configurations (util.py:111)
[5] [2022-07-12 08:54:02.770] [Opsipxeconfd ] Creating unix socket /var/run/opsipxeconfd/opsipxeconfd.socket (opsipxeconfd.py:184)
[5] [2022-07-12 08:54:02.847] [ ] Finished setting initial boot configurations (util.py:140)
vielen Dank @SisterOfMercy . Ich habe das gemacht, jedoch erscheint nun folgendes Problem:
Station IP address is 172.16.0.134
Server ip address is 10.1.1.114
NBP filename is linux/pxelinux.0
NBP filesize is 15710 Bytes
Downloading NBP file ....
NBP file download successfully.
Fetching Netboot Image
Unable to fetch TFTP image: TFTP Error
start_image0 returned TFTP Error
Log:
/var/log/opsi/opsipxeconfd.log
[1] [2022-07-12 08:54:02.050] [Opsipxeconfd start] opsi pxe configuration service starting (opsipxeconfd.py:83)
[5] [2022-07-12 08:54:02.051] [Opsipxeconfd ] Starting opsipxeconfd main thread (opsipxeconfd.py:260)
[5] [2022-07-12 08:54:02.424] [Opsipxeconfd ] Ignoring module 'OpsiPXEConfd', backend 'opsipxeconfd' (Dispatcher.py:121)
[5] [2022-07-12 08:54:02.770] [ ] Start setting initial boot configurations (util.py:111)
[5] [2022-07-12 08:54:02.770] [Opsipxeconfd ] Creating unix socket /var/run/opsipxeconfd/opsipxeconfd.socket (opsipxeconfd.py:184)
[5] [2022-07-12 08:54:02.847] [ ] Finished setting initial boot configurations (util.py:140)
-
- Beiträge: 11
- Registriert: 12 Jul 2022, 07:24
Re: PXE Boot
Ein kleiner Nachtrag noch von mir: /var/log/syslog meldet folgendes:
Jul 12 09:05:14 opsi in.tftpd[12573]: RRQ from 172.16.0.134 filename linux/pxelinux.cfg/shimx64.efi.signed
Jul 12 09:05:14 opsi in.tftpd[12573]: tftp: client does not accept options
Jul 12 09:05:14 opsi in.tftpd[12575]: RRQ from 172.16.0.134 filename linux/pxelinux.cfg/shimx64.efi.signed
Jul 12 09:05:15 opsi in.tftpd[12576]: RRQ from 172.16.0.134 filename grubx64.efi
Jul 12 09:05:14 opsi in.tftpd[12573]: RRQ from 172.16.0.134 filename linux/pxelinux.cfg/shimx64.efi.signed
Jul 12 09:05:14 opsi in.tftpd[12573]: tftp: client does not accept options
Jul 12 09:05:14 opsi in.tftpd[12575]: RRQ from 172.16.0.134 filename linux/pxelinux.cfg/shimx64.efi.signed
Jul 12 09:05:15 opsi in.tftpd[12576]: RRQ from 172.16.0.134 filename grubx64.efi
- SisterOfMercy
- Beiträge: 1524
- Registriert: 22 Jun 2012, 19:18
Re: PXE Boot
Why is it still loading pxelinux.0?michaelortner hat geschrieben: ↑12 Jul 2022, 08:59 vielen Dank @SisterOfMercy . Ich habe das gemacht, jedoch erscheint nun folgendes Problem:
Station IP address is 172.16.0.134
Server ip address is 10.1.1.114
NBP filename is linux/pxelinux.0
I am not mistaken, you are on a UEFI client, right?
SELinux set to permissive (if available)?michaelortner hat geschrieben: ↑12 Jul 2022, 08:59 Unable to fetch TFTP image: TFTP Error
start_image0 returned TFTP Error
No firewall in the way?
It looks like no connections arrive at opsipxeconfd.
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
- SisterOfMercy
- Beiträge: 1524
- Registriert: 22 Jun 2012, 19:18
Re: PXE Boot
That looks how it should be.michaelortner hat geschrieben: ↑12 Jul 2022, 09:08 Ein kleiner Nachtrag noch von mir: /var/log/syslog meldet folgendes:
Jul 12 09:05:14 opsi in.tftpd[12573]: RRQ from 172.16.0.134 filename linux/pxelinux.cfg/shimx64.efi.signed
Jul 12 09:05:14 opsi in.tftpd[12573]: tftp: client does not accept options
Jul 12 09:05:14 opsi in.tftpd[12575]: RRQ from 172.16.0.134 filename linux/pxelinux.cfg/shimx64.efi.signed
Jul 12 09:05:15 opsi in.tftpd[12576]: RRQ from 172.16.0.134 filename grubx64.efi
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
-
- Beiträge: 11
- Registriert: 12 Jul 2022, 07:24
Re: PXE Boot
Entschuldige, ich habe die oben genannte Nachricht kopiert, ja die Ausgabe ist wie gefolgt:
Station IP address is 172.16.0.134
Server ip address is 10.1.1.114
NBP filename is linux/pxelinux.cfg/shimx64.efi.signed
NBP filesize is 1191448 Bytes
Downloading NBP file ....
NBP file download successfully.
Fetching Netboot Image
Unable to fetch TFTP image: TFTP Error
start_image0 returned TFTP Error
Wo findet nun die nächste Fehlersuche statt? Die Anfrage erreicht zumindest den opsi Server, auf dem Client wird jedoch die oben genannte Fehlermeldung ausgeworfen. Verstehe ich es Falsch, dass opsi hierbei, wie bei einem Windows Deployment eine Ansicht vorher lädt? Oder muss ich in der configed etwas starten, damit es durchgeht?
Station IP address is 172.16.0.134
Server ip address is 10.1.1.114
NBP filename is linux/pxelinux.cfg/shimx64.efi.signed
NBP filesize is 1191448 Bytes
Downloading NBP file ....
NBP file download successfully.
Fetching Netboot Image
Unable to fetch TFTP image: TFTP Error
start_image0 returned TFTP Error
Is not availableSELinux set to permissive (if available)?
Nein, es ist hierbei keine FirewallNo firewall in the way?
Wo findet nun die nächste Fehlersuche statt? Die Anfrage erreicht zumindest den opsi Server, auf dem Client wird jedoch die oben genannte Fehlermeldung ausgeworfen. Verstehe ich es Falsch, dass opsi hierbei, wie bei einem Windows Deployment eine Ansicht vorher lädt? Oder muss ich in der configed etwas starten, damit es durchgeht?
-
- Beiträge: 11
- Registriert: 12 Jul 2022, 07:24
Re: PXE Boot
Nochmal ein kleiner Nachtrag: Ich habe es mit dem Client in dem selben Netz probiert wie der Server, selbes Problem.
- SisterOfMercy
- Beiträge: 1524
- Registriert: 22 Jun 2012, 19:18
Re: PXE Boot
How did you install opsi? Can you show a list of installed os packages?
Something like this: apt list --installed | grep opsi
Something like this: apt list --installed | grep opsi
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
-
- Beiträge: 11
- Registriert: 12 Jul 2022, 07:24
Re: PXE Boot
Ich habe opsi auf ein Ubuntu 20.04 installiert.
Wie gewünscht die Liste:
root@opsi:~# apt list --installed | grep opsi
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
opsi-linux-bootimage/unbekannt,now 20220516-1 all [Installiert,automatisch]
opsi-server/unbekannt,now 4.2.0.69-1 all [installiert]
opsi-tftpd-hpa/unbekannt,now 5.2.8-78 amd64 [Installiert,automatisch]
opsi-utils/unbekannt,now 4.2.0.172-1 amd64 [Installiert,automatisch]
opsi-windows-support/unbekannt,now 4.2.0.0-1 all [installiert]
opsiconfd/unbekannt,now 4.2.0.272-1 amd64 [Installiert,automatisch]
opsipxeconfd/unbekannt,now 4.2.0.30-1 amd64 [Installiert,automatisch]
Wie gewünscht die Liste:
root@opsi:~# apt list --installed | grep opsi
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
opsi-linux-bootimage/unbekannt,now 20220516-1 all [Installiert,automatisch]
opsi-server/unbekannt,now 4.2.0.69-1 all [installiert]
opsi-tftpd-hpa/unbekannt,now 5.2.8-78 amd64 [Installiert,automatisch]
opsi-utils/unbekannt,now 4.2.0.172-1 amd64 [Installiert,automatisch]
opsi-windows-support/unbekannt,now 4.2.0.0-1 all [installiert]
opsiconfd/unbekannt,now 4.2.0.272-1 amd64 [Installiert,automatisch]
opsipxeconfd/unbekannt,now 4.2.0.30-1 amd64 [Installiert,automatisch]