PXE funktioniert nicht

Dekay
Beiträge: 36
Registriert: 04 Apr 2019, 15:20

PXE funktioniert nicht

Beitrag von Dekay »

Hallo zusammen,

nach langer Zeit, benötige Ich eure Hilfe.

Problem ist folgendes:
Der Client bekommt über einen externen DHCP eine IP und meldet sich, mit den hinterlegten Informationen im DHCP-Server, beim OPSI an.
Er macht (anm. Client) auch ein Request zum file "linux/pxelinux.0". Doch es wird nicht übertragen.

Code: Alles auswählen


root@servername:/tftpboot/linux# systemctl status opsi-tftpd-hpa.service
● opsi-tftpd-hpa.service - Opsi TFTPD HPA Configuration Service
   Loaded: loaded (/lib/systemd/system/opsi-tftpd-hpa.service; enabled; vendor preset: enabled)
   Active: active (running) since Wed 2020-08-12 15:42:29 CEST; 22h ago
  Process: 470 ExecStart=/usr/sbin/in.tftpd -v --ipv4 --listen --address :69 --secure /tftpboot/ (code=exited, status=0/SUCCESS)
 Main PID: 476 (in.tftpd)
    Tasks: 1 (limit: 2380)
   Memory: 512.0K
   CGroup: /system.slice/opsi-tftpd-hpa.service
           └─476 /usr/sbin/in.tftpd -v --ipv4 --listen --address :69 --secure /tftpboot/

Aug 12 16:19:32 servername in.tftpd[15126]: RRQ from 10.40.xx.xxx filename linux/pxelinux.0
Aug 12 16:22:18 servername in.tftpd[15397]: RRQ from 10.40.xx.xxx filename linux/pxelinux.0
Aug 12 16:22:18 servername in.tftpd[15397]: tftp: client does not accept options
Aug 12 16:22:18 servername in.tftpd[15398]: RRQ from 10.40.xx.xxx filename linux/pxelinux.0
Aug 12 16:22:43 servername in.tftpd[15418]: RRQ from 10.40.xx.xxx filename linux/pxelinux.0
Aug 12 16:22:43 servername in.tftpd[15418]: tftp: client does not accept options
Aug 12 16:22:44 servername in.tftpd[15419]: RRQ from 10.40.xx.xxx filename linux/pxelinux.0
Aug 12 16:25:34 servername in.tftpd[15427]: RRQ from 10.40.xx.xxx filename linux/pxelinux.0
Aug 12 16:25:34 servername in.tftpd[15427]: tftp: client does not accept options
Aug 12 16:25:34 servername in.tftpd[15428]: RRQ from 10.40.xx.xxx filename linux/pxelinux.0

Code: Alles auswählen


root@servername:/tftpboot/linux# ls -ls
total 324352
    16 -rw-rw-r-- 1 opsiconfd pcpatch     12372 May  6 11:26 chain.c32
     0 lrwxrwxrwx 1 opsiconfd pcpatch        13 May  6 11:26 install -> vmlinuz-5.6.4
     0 lrwxrwxrwx 1 opsiconfd pcpatch        11 May  6 11:26 install64 -> install-x64
     0 lrwxrwxrwx 1 opsiconfd pcpatch        24 May  6 11:26 install-x64 -> vmlinuz-x64-5.6.4.signed
   148 -rw-rw-r-- 1 opsiconfd pcpatch    150024 Aug 23  2013 memtest86+-5.01
    52 -rw-rw-r-- 1 opsiconfd pcpatch     52272 May  6 11:26 menu.c32
145824 -rw-rw-r-- 1 opsiconfd pcpatch 149318741 May  6 11:26 miniroot-20200506.bz2
     0 lrwxrwxrwx 1 opsiconfd pcpatch        21 May  6 11:26 miniroot.bz2 -> miniroot-20200506.bz2
147272 -rw-rw-r-- 1 opsiconfd pcpatch 150802621 May  6 11:26 miniroot-x64-20200506.bz2
     0 lrwxrwxrwx 1 opsiconfd pcpatch        25 May  6 11:26 miniroot-x64.bz2 -> miniroot-x64-20200506.bz2
   992 -rw-rw-r-- 1 opsiconfd pcpatch   1013760 Jan 10  2019 opsi-local-image-win10-x64_4.1.0.0-15.opsi
    16 -rw-rw-r-- 1 opsiconfd pcpatch     15710 May  6 11:26 pxelinux.0
     4 drwxrwxr-x 2 opsiconfd pcpatch      4096 Aug 12 15:51 pxelinux.cfg
  7440 -rw-rw-r-- 1 opsiconfd pcpatch   7617120 May  6 11:26 vmlinuz-5.6.4
 11292 -rw-rw-r-- 1 opsiconfd pcpatch  11562592 May  6 11:26 vmlinuz-x64-5.6.4
 11296 -rw-rw-r-- 1 opsiconfd pcpatch  11564104 May  6 11:26 vmlinuz-x64-5.6.4.signed


Der Client wird auch unter /tftpboot/linux/pxelinux.cfg mit seiner MAC-Adresse angelegt.

Im DHCP-Server ist folgendes eingetragen

Code: Alles auswählen


group {
  next-server <opsi_server_ip>;
  host tftpclient {
    hardware ethernet 90:1b:0e:5a:bc:da;
    fixed-address 10.40.xx.xxx;
    filename "linux/pxelinux.0";
  }
}

Selbst mit deaktivierter Firewall (iptables) funktioniert es nicht. Ich weiß leider nicht so richtig weiter, da ich auch in den Logs nicht wirklich fündig werde.

Daher hoffe ich, dass mir jemand helfen kann. :)

Ich bedanke mich schon einmal bei euch und wünsche eine angenehme Rest-Woche. :)

Gruß

Dekay
Benutzeravatar
SisterOfMercy
Beiträge: 1522
Registriert: 22 Jun 2012, 19:18

Re: PXE funktioniert nicht

Beitrag von SisterOfMercy »

Is that the ISC dhcp server you are using?
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
Dekay
Beiträge: 36
Registriert: 04 Apr 2019, 15:20

Re: PXE funktioniert nicht

Beitrag von Dekay »

SisterOfMercy hat geschrieben:Is that the ISC dhcp server you are using?
Yes. Why ?

It's always worked, but somehow not for a long time. And we don't know what it is.
Benutzeravatar
SisterOfMercy
Beiträge: 1522
Registriert: 22 Jun 2012, 19:18

Re: PXE funktioniert nicht

Beitrag von SisterOfMercy »

Dekay hat geschrieben:
SisterOfMercy hat geschrieben:Is that the ISC dhcp server you are using?
Yes. Why ?
It seemed like a bit weird config for ISC dhcp server, but I am probably limited in my own experience.
Anything in /var/log/opsi/opsipxeconfd.log?
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
Jan.Schmidt
Beiträge: 439
Registriert: 08 Jul 2017, 12:02

Re: PXE funktioniert nicht

Beitrag von Jan.Schmidt »

SisterOfMercy hat geschrieben:
Dekay hat geschrieben:
SisterOfMercy hat geschrieben:Is that the ISC dhcp server you are using?
Yes. Why ?
It seemed like a bit weird config for ISC dhcp server
yapp ich kenne das auch nur so, das der filename im subnet drin ist.

lass doch bitte hier im text die daten richtig, denn 10.40.xx.xxx ist eh privat - damit kann keiner was anfangen auch wenn du das nicht durch den Anton Nymisierst.
Und wenn, dann richtig - so sieht jeder das dein Fujitsu Kasten das Problemkind ist. :D

Code: Alles auswählen

subnet 10.40.0.0 netmask 255.255.255.0 {
  range 10.40.0.3 10.40.0.253;
  option broadcast-address 10.40.0.255;
  option routers 10.40.0.1;           
  option domain-name-servers 10.40.0.1; 
  filename "linux/pxelinux.0"
}
Dekay
Beiträge: 36
Registriert: 04 Apr 2019, 15:20

Re: PXE funktioniert nicht

Beitrag von Dekay »

Jan.Schmidt hat geschrieben:
SisterOfMercy hat geschrieben:
Dekay hat geschrieben: Yes. Why ?
It seemed like a bit weird config for ISC dhcp server
yapp ich kenne das auch nur so, das der filename im subnet drin ist.

lass doch bitte hier im text die daten richtig, denn 10.40.xx.xxx ist eh privat - damit kann keiner was anfangen auch wenn du das nicht durch den Anton Nymisierst.
Und wenn, dann richtig - so sieht jeder das dein Fujitsu Kasten das Problemkind ist. :D

Code: Alles auswählen

subnet 10.40.0.0 netmask 255.255.255.0 {
  range 10.40.0.3 10.40.0.253;
  option broadcast-address 10.40.0.255;
  option routers 10.40.0.1;           
  option domain-name-servers 10.40.0.1; 
  filename "linux/pxelinux.0"
}
Wenn man es zu genau machen will. :D

Das ding ist aber, dass es immer so funktioniert hat.

Und ehrlich gesagt, sehe ich jetzt das Problem nicht ganz. Oder ich bin einfach gerade nur blind, was das angeht. :? :roll:
Benutzeravatar
SisterOfMercy
Beiträge: 1522
Registriert: 22 Jun 2012, 19:18

Re: PXE funktioniert nicht

Beitrag von SisterOfMercy »

If you have a legacy client netbooting, you do not see the opsi stuff at all? Can you otherwise make a video of a VM in legacy mode that is trying a netboot?
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
Dekay
Beiträge: 36
Registriert: 04 Apr 2019, 15:20

Re: PXE funktioniert nicht

Beitrag von Dekay »

I have set the PXE boot in Bios (futjisu) But unfortunately he only offers me booting via UEFI. Although Legacy is activated.

Probably legacy is no longer supported since a bios update. Although it always worked with this machine.

It is also recognized by the DHCP server and I can see that it addresses the OPSI but it stops directly during the transfer.

First I thought that the rights do not fit. So I set them again, but even that did not change anything.

With a VM it will be difficult, because our network does not allow this.

Does anyone have a Futjisu PC in operation and can tell me what needs to be set in the bios - so it boots without uefi ?
uncle_scrooge
Beiträge: 650
Registriert: 21 Feb 2012, 12:03
Wohnort: Mainz

Re: PXE funktioniert nicht

Beitrag von uncle_scrooge »

Wenn der Rechner nur im UEFI-Mode bootet, brauchst Du das UEFI-Modul. Punkt.

>>Probably legacy is no longer supported since a bios update
Aha? Mal die release notes durchflöhen.

>>Does anyone have a Futjisu PC in operation
Gottseidank hat Fujitsu in seiner langen und wechselvollen Geschichte nur einen Rechnertyp vorgestellt.
Von daher weiß jeder hier, welches Gerät Du einsetzt.
Dekay
Beiträge: 36
Registriert: 04 Apr 2019, 15:20

Re: PXE funktioniert nicht

Beitrag von Dekay »

uncle_scrooge hat geschrieben:Wenn der Rechner nur im UEFI-Mode bootet, brauchst Du das UEFI-Modul. Punkt.

>>Probably legacy is no longer supported since a bios update
Aha? Mal die release notes durchflöhen.
Ja habe ich mir durchgelesen. -.- Das UEFI-Modul ist kostenpflichtig oder täusche ich mich da jetzt ?
uncle_scrooge hat geschrieben:>>Does anyone have a Futjisu PC in operation
Gottseidank hat Fujitsu in seiner langen und wechselvollen Geschichte nur einen Rechnertyp vorgestellt.
Von daher weiß jeder hier, welches Gerät Du einsetzt.
Da hast du recht. Sollte ich mit erwähnen. :D
also das Modell heißt : ESPRIMO P920
Antworten