UEFI boot bei windows 10

Antworten
r4a5a88
Beiträge: 104
Registriert: 10 Jun 2014, 12:56

UEFI boot bei windows 10

Beitrag von r4a5a88 »

Hi
ich hab ein kleines Problem:
Wenn ich PCs per netboot und uefi einem bestimmten Netz aufsetze dauert es ca. 4 stunden bs die rechner das netboot image gezogen haben.
in einem anderem Netz geht es deutlich kürze c 1min
es sind 2 versciedene opsi server in 2 verschiedenen Netzen. Beide Server sind gleich eingerichtet.
Könnt ihr mir tipps bzw ratschläge geben
Benutzeravatar
ThomasT
uib-Team
Beiträge: 538
Registriert: 26 Jun 2013, 12:26

Re: UEFI boot bei windows 10

Beitrag von ThomasT »

Hi,

hast du dir mal den Netzwerkverkehr zwischen dem Server und dem Client angeschaut?
Also auf dem Server z.B. mit

Code: Alles auswählen

tcpdump -vv -i eth0 udp port 69
für den tftp-Abruf oder gleich ohne Angabe des Ports für alles was auf dem UDP zwischen dem Server und dem Client passiert:

Code: Alles auswählen

 tcpdump -n -i eth0 '(ether host MAC:ADRESSE:DES:CLIENTS and udp)'
Du kannst auch mal versuchen aus einem laufenden Linux in dem langsame Netz das Bootimage per tftp Command zu ziehen, unter Umständen musst du dir einen TFTP-Client wie z.B. tftp-hpa installieren:

Code: Alles auswählen

# tftp
(to) IP-ADRESSE des OPSI-Servers
tftp> get linux/miniroot-x64.bz2
Kein Support per DM!
_________________________
opsi support - https://www.uib.de/
For productive opsi installations we recommend support contracts.
r4a5a88
Beiträge: 104
Registriert: 10 Jun 2014, 12:56

Re: UEFI boot bei windows 10

Beitrag von r4a5a88 »

Hi
das proble besteht noch :(
ich hab mal mit tcpdump geschaut und

Code: Alles auswählen

11:07:02.330827 IP IP.Host.25312 > IP.Server.42868: UDP, length 4
11:07:02.330941 IP IP.Server.42868 > IP.Host.25312: UDP, length 1028
11:07:02.331563 IP IP.Host.25312 > IP.Server.42868: UDP, length 4
11:07:02.331647 IP IP.Server.42868 > IP.Host.25312: UDP, length 1028

125 packets captured
125 packets received by filter
0 packets dropped by kernel

Code: Alles auswählen

▒ 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 Mon 2021-10-25 10:42:50 CEST; 26min ago
  Process: 23824 ExecStart=/usr/sbin/in.tftpd -v --ipv4 --listen --address :69 --secure --blocksize 1024 /tftpboot/ (code=exited, status=0/SUCCESS)
 Main PID: 23825 (in.tftpd)
    Tasks: 2 (limit: 4915)
   Memory: 15.4M
   CGroup: /system.slice/opsi-tftpd-hpa.service
           ▒▒23825 /usr/sbin/in.tftpd -v --ipv4 --listen --address :69 --secure --blocksize 1024 /tftpboot/
           ▒▒32565 /usr/sbin/in.tftpd -v --ipv4 --listen --address :69 --secure --blocksize 1024 /tftpboot/

Oct 25 10:43:40 neuro-serv-01 in.tftpd[23854]: RRQ from IP.Host filename /grub/grub.cfg
Oct 25 10:43:40 neuro-serv-01 in.tftpd[23855]: RRQ from IP.Host filename /grub/grub.cfg
Oct 25 10:43:40 neuro-serv-01 in.tftpd[23856]: RRQ from IP.Host filename /grub/grub.cfg
Oct 25 10:43:40 neuro-serv-01 in.tftpd[23857]: RRQ from IP.Host filename /grub/grub.cfg
Oct 25 10:43:40 neuro-serv-01 in.tftpd[23858]: RRQ from IP.Host filename /linux/pxelinux.cfg/01-f8-0d-ac-2b-c3-95
Oct 25 10:43:41 neuro-serv-01 in.tftpd[23859]: RRQ from IP.Host filename /linux/pxelinux.cfg/01-f8-0d-ac-2b-c3-95
Oct 25 10:43:41 neuro-serv-01 in.tftpd[23860]: RRQ from IP.Host filename /linux/pxelinux.cfg/01-f8-0d-ac-2b-c3-95
Oct 25 10:43:46 neuro-serv-01 in.tftpd[23861]: RRQ from IP.Host filename /linux/install-x64
Oct 25 10:54:26 neuro-serv-01 in.tftpd[24089]: RRQ from IP.Host filename /linux/install-x64
Oct 25 11:05:06 neuro-serv-01 in.tftpd[32565]: RRQ from IP.Host filename /linux/miniroot-x64.bz2
Wie man sieht bekommt der Client auch die Datei zugewiesen.
Braucht man noch den openbsd-inetd server ?
Was kann ich tun damit das klappt ?
Benutzeravatar
SisterOfMercy
Beiträge: 1522
Registriert: 22 Jun 2012, 19:18

Re: UEFI boot bei windows 10

Beitrag von SisterOfMercy »

I guess those networks are not exactly the same. I've had a similar issue when certain dhcp options were set. You might want to compare them between the two networks.
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
r4a5a88
Beiträge: 104
Registriert: 10 Jun 2014, 12:56

Re: UEFI boot bei windows 10

Beitrag von r4a5a88 »

the dhcp settings are the same. I checked. the network should be fine . it worked without uefi

The problem still exists and I haven't gotten any further.
Ich werde auch nicht aus den Logs schlau.
in den Logs sieht man das, das image, dem rechner zugeteilt wird

Code: Alles auswählen

Nov 24 09:44:43 neuro-serv-01 in.tftpd[14148]: RRQ from 129.206.88.45 filename /linux/install-x64
Nov 24 09:44:38 neuro-serv-01 in.tftpd[14146]: RRQ from 129.206.88.45 filename /linux/pxelinux.cfg/01-f8-0d-ac-2b-c5-da
Nov 24 09:44:38 neuro-serv-01 in.tftpd[14145]: RRQ from 129.206.88.45 filename /linux/pxelinux.cfg/01-f8-0d-ac-2b-c5-da
Nov 24 09:44:38 neuro-serv-01 in.tftpd[14144]: RRQ from 129.206.88.45 filename /grub/grub.cfg
Nov 24 09:44:38 neuro-serv-01 in.tftpd[14143]: RRQ from 129.206.88.45 filename /grub/grub.cfg
Nov 24 09:44:38 neuro-serv-01 in.tftpd[14142]: RRQ from 129.206.88.45 filename /grub/grub.cfg
Nov 24 09:44:38 neuro-serv-01 in.tftpd[14141]: RRQ from 129.206.88.45 filename /grub/grub.cfg
Nov 24 09:44:38 neuro-serv-01 in.tftpd[14140]: RRQ from 129.206.88.45 filename /grub/x86_64-efi/terminal.lst
Nov 24 09:44:38 neuro-serv-01 in.tftpd[14139]: RRQ from 129.206.88.45 filename /grub/x86_64-efi/crypto.lst
Nov 24 09:44:38 neuro-serv-01 in.tftpd[14138]: RRQ from 129.206.88.45 filename /grub/x86_64-efi/fs.lst
Nov 24 09:44:38 neuro-serv-01 in.tftpd[14137]: RRQ from 129.206.88.45 filename /grub/x86_64-efi/command.lst
Nov 24 09:44:35 neuro-serv-01 in.tftpd[14133]: RRQ from 129.206.88.45 filename linux/pxelinux.cfg/grubx64.efi
Nov 24 09:44:34 neuro-serv-01 in.tftpd[14128]: RRQ from 129.206.88.45 filename linux/pxelinux.cfg/shimx64.efi.signed
Nov 24 09:44:34 neuro-serv-01 in.tftpd[14127]: tftp: client does not accept options
Nov 24 09:44:34 neuro-serv-01 in.tftpd[14127]: RRQ from 129.206.88.45 filename linux/pxelinux.cfg/shimx64.efi.signed
r4a5a88
Beiträge: 104
Registriert: 10 Jun 2014, 12:56

Re: UEFI boot bei windows 10

Beitrag von r4a5a88 »

soll so die pipe aussehen?

set timeout=0
menuentry 'Start netboot installation' {
set gfxpayload=keep
linux (pxe)/linux/install-x64 initrd=miniroot-x64.bz2 video=vesa:ywrap,mtrr vga=791 quiet splash --no-log console=tty1 console=ttyS0 dn=domain product=win10-x64 hn=hostname pckey=6d47057740212b3d6e15144e67b728e4 service=https://SERVERIP:4447
initrd (pxe)/linux/miniroot-x64.bz2
}
Benutzeravatar
SisterOfMercy
Beiträge: 1522
Registriert: 22 Jun 2012, 19:18

Re: UEFI boot bei windows 10

Beitrag von SisterOfMercy »

r4a5a88 hat geschrieben: 24 Nov 2021, 09:47 Ich werde auch nicht aus den Logs schlau.
in den Logs sieht man das, das image, dem rechner zugeteilt wird
Hmm, maybe increase the log verbosity?

Edit the systemd service file, /usr/lib/systemd/system/opsi-tftpd-hpa.service (location may depend on distro):
ExecStart=/usr/sbin/in.tftpd -v –ipv4 –listen –address :69 –secure –blocksize 1024 /tftpboot/
In this line either remove the -v and add –verbosity value, or just add the -v a couple of times.

It will then become either this:
ExecStart=/usr/sbin/in.tftpd -v -v -v –ipv4 –listen –address :69 –secure –blocksize 1024 /tftpboot/
or this:
ExecStart=/usr/sbin/in.tftpd –verbosity 9 –ipv4 –listen –address :69 –secure –blocksize 1024 /tftpboot/

The other parameters given here are depending on the values that are previously listed.

After editing execute:
# systemctl daemon-reload
# systemctl restart opsi-tftpd-hpa
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
r4a5a88
Beiträge: 104
Registriert: 10 Jun 2014, 12:56

Re: UEFI boot bei windows 10

Beitrag von r4a5a88 »

ich hab das gemacht aber nicht mehr in den Logs geshen als vorher.
Benutzeravatar
m.radtke
uib-Team
Beiträge: 1528
Registriert: 10 Jun 2015, 12:19

Re: UEFI boot bei windows 10

Beitrag von m.radtke »

Da sollte definitiv mehr zu sehen sein.

Hast du den Dienst nach dem Editieren neu gestartet?

Gruß
Mathias
Kein Support per DM!
_________________________
opsi support - http://www.uib.de/
For productive opsi installations we recommend support contracts.
r4a5a88
Beiträge: 104
Registriert: 10 Jun 2014, 12:56

Re: UEFI boot bei windows 10

Beitrag von r4a5a88 »

ja, ich hab den dienst neu gestartet

das war der output heute:

Code: Alles auswählen

Dec 06 10:20:27 neuro-serv-01 in.tftpd[31154]: RRQ from 129.206.88.60 filename linux/pxelinux.cfg/shimx64.efi.signed
Dec 06 10:20:27 neuro-serv-01 in.tftpd[31154]: tftp: client does not accept options
Dec 06 10:20:27 neuro-serv-01 in.tftpd[31155]: RRQ from 129.206.88.60 filename linux/pxelinux.cfg/shimx64.efi.signed
Dec 06 10:20:27 neuro-serv-01 in.tftpd[31156]: RRQ from 129.206.88.60 filename linux/pxelinux.cfg/grubx64.efi
Dec 06 10:20:32 neuro-serv-01 in.tftpd[31157]: RRQ from 129.206.88.60 filename /grub/x86_64-efi/command.lst
Dec 06 10:20:32 neuro-serv-01 in.tftpd[31157]: sending NAK (1, File not found) to 129.206.88.60
Dec 06 10:20:32 neuro-serv-01 in.tftpd[31158]: RRQ from 129.206.88.60 filename /grub/x86_64-efi/fs.lst
Dec 06 10:20:32 neuro-serv-01 in.tftpd[31158]: sending NAK (1, File not found) to 129.206.88.60
Dec 06 10:20:32 neuro-serv-01 in.tftpd[31159]: RRQ from 129.206.88.60 filename /grub/x86_64-efi/crypto.lst
Dec 06 10:20:32 neuro-serv-01 in.tftpd[31159]: sending NAK (1, File not found) to 129.206.88.60
Dec 06 10:20:32 neuro-serv-01 in.tftpd[31160]: RRQ from 129.206.88.60 filename /grub/x86_64-efi/terminal.lst
Dec 06 10:20:32 neuro-serv-01 in.tftpd[31160]: sending NAK (1, File not found) to 129.206.88.60
Dec 06 10:20:32 neuro-serv-01 in.tftpd[31161]: RRQ from 129.206.88.60 filename /grub/grub.cfg
Dec 06 10:20:32 neuro-serv-01 in.tftpd[31162]: RRQ from 129.206.88.60 filename /grub/grub.cfg
Dec 06 10:20:32 neuro-serv-01 in.tftpd[31163]: RRQ from 129.206.88.60 filename /grub/grub.cfg
Dec 06 10:20:32 neuro-serv-01 in.tftpd[31164]: RRQ from 129.206.88.60 filename /grub/grub.cfg
Dec 06 10:20:32 neuro-serv-01 in.tftpd[31165]: RRQ from 129.206.88.60 filename /linux/pxelinux.cfg/01-f8-0d-ac-2b-c3-d3
Dec 06 10:20:32 neuro-serv-01 in.tftpd[31166]: RRQ from 129.206.88.60 filename /linux/pxelinux.cfg/01-f8-0d-ac-2b-c3-d3
Dec 06 10:20:37 neuro-serv-01 in.tftpd[31167]: RRQ from 129.206.88.60 filename /linux/install-x64
ich sehe das er aus dem verzeichnis /grub etwas versenden möchte. dieses Verzeichnis gibt es nicht . hab ich da was falsch konfiguriert?
Antworten