[SOLVED] PXE/netboot: login failed
[SOLVED] PXE/netboot: login failed
Hello,
We are trying to install a computer with the win10 netboot product, and it fails with a similar failure as in this thread:
viewtopic.php?f=7&t=10928&p=47612&hilit ... dom#p47612
After the PXE boots, we choose the name the computer shall be named, and the try to login with the adminuser, and gets this error:
"Login failed: getrandom() initialization failed. (_ssl.c:726)"
The error comes no mater what we write as login, seems that there is no connection to service.
The server is a Ubuntu 18.04.2 LTS running inside a VMware 6.5.
dpkg -l | grep opsi
ii opsi-linux-bootimage 20181213-1 all opsi bootimage for netboot tasks.
ii opsi-server 4.1.1.6-1 all opsi server configuration package
ii opsi-tftpd-hpa 5.2.8-49 amd64 HPA's tftp server
ii opsi-utils 4.1.1.27-1 all utilites for working with opsi.
ii opsiconfd 4.1.1.16-2 all opsi configuration service
ii opsipxeconfd 4.1.1.14-1 all opsi pxe configuration daemon
ii python-opsi 4.1.1.58-1 all opsi python library
opsi-package-manager -l | grep win10
config-win10 4.1.1-5 Configure Windows 10
mshotfix-win10-win2016-x64-glb 201902-1 Windows 10 and Windows 2016 x64
mshotfix-win10-x86-glb 201902-1 Windows 10 x86
win10 4.1.0.0-14 Windows 10
win10-captured 4.1.0.0-14 Windows 10
win10-x64 4.1.0.0-14 Windows 10 x64
win10-x64-captured 4.1.0.0-14 Windows 10 x64
win10-x64-ent-ltsb 4.1.0.0-5 Windows 10 x64 Enterprise LTSB
We are trying to install a computer with the win10 netboot product, and it fails with a similar failure as in this thread:
viewtopic.php?f=7&t=10928&p=47612&hilit ... dom#p47612
After the PXE boots, we choose the name the computer shall be named, and the try to login with the adminuser, and gets this error:
"Login failed: getrandom() initialization failed. (_ssl.c:726)"
The error comes no mater what we write as login, seems that there is no connection to service.
The server is a Ubuntu 18.04.2 LTS running inside a VMware 6.5.
dpkg -l | grep opsi
ii opsi-linux-bootimage 20181213-1 all opsi bootimage for netboot tasks.
ii opsi-server 4.1.1.6-1 all opsi server configuration package
ii opsi-tftpd-hpa 5.2.8-49 amd64 HPA's tftp server
ii opsi-utils 4.1.1.27-1 all utilites for working with opsi.
ii opsiconfd 4.1.1.16-2 all opsi configuration service
ii opsipxeconfd 4.1.1.14-1 all opsi pxe configuration daemon
ii python-opsi 4.1.1.58-1 all opsi python library
opsi-package-manager -l | grep win10
config-win10 4.1.1-5 Configure Windows 10
mshotfix-win10-win2016-x64-glb 201902-1 Windows 10 and Windows 2016 x64
mshotfix-win10-x86-glb 201902-1 Windows 10 x86
win10 4.1.0.0-14 Windows 10
win10-captured 4.1.0.0-14 Windows 10
win10-x64 4.1.0.0-14 Windows 10 x64
win10-x64-captured 4.1.0.0-14 Windows 10 x64
win10-x64-ent-ltsb 4.1.0.0-5 Windows 10 x64 Enterprise LTSB
Zuletzt geändert von shade am 04 Mär 2019, 18:09, insgesamt 3-mal geändert.
Re: PXE/netboot: login failed
Hi
could you please ssh onto the machine
username: root, password: linux123
and run the following command:
and then
and see if this resolves your problem
are you running in UEFI or BIOS mode?
Cheers
Mathias
could you please ssh onto the machine
username: root, password: linux123
and run the following command:
Code: Alles auswählen
/usr/sbin/rngd -b -r /dev/urandom -o /dev/random
Code: Alles auswählen
master.py
are you running in UEFI or BIOS mode?
Cheers
Mathias
Kein Support per DM!
_________________________
opsi support - http://www.uib.de/
For productive opsi installations we recommend support contracts.
_________________________
opsi support - http://www.uib.de/
For productive opsi installations we recommend support contracts.
Re: PXE/netboot: login failed
Hello,
Just FYI it is our own installed Ubuntu server, not your vmimage.
I ssh onto the server and installed rngd (apt install rng-tools) as is what missing, then ran:
master.py is not to be found on our server
We are running in BIOS mode.
After running rngd I rebooted the server, and the rebooted the computer (client) to launch the bootimage also.
It ran once after the command, but now it is back to same error
Just FYI it is our own installed Ubuntu server, not your vmimage.
I ssh onto the server and installed rngd (apt install rng-tools) as is what missing, then ran:
Code: Alles auswählen
/usr/sbin/rngd -b -r /dev/urandom -o /dev/random
We are running in BIOS mode.
After running rngd I rebooted the server, and the rebooted the computer (client) to launch the bootimage also.
It ran once after the command, but now it is back to same error
Re: PXE/netboot: login failed
Hi
I was a bit unclear on where to run the rngd command
It is supposed to run on the client, what bootet into the bootimage.
Cheers
I was a bit unclear on where to run the rngd command
It is supposed to run on the client, what bootet into the bootimage.
Cheers
Kein Support per DM!
_________________________
opsi support - http://www.uib.de/
For productive opsi installations we recommend support contracts.
_________________________
opsi support - http://www.uib.de/
For productive opsi installations we recommend support contracts.
Re: PXE/netboot: login failed
Hi,
Okay, that explains alot. Will try on the client, is there a fix on the way to the bootimage?
Regards.
Okay, that explains alot. Will try on the client, is there a fix on the way to the bootimage?
Regards.
Re: PXE/netboot: login failed
Hi
yes there is an experimental version of the bootimage. it runs the rngd command twice with a little pause. Hope it helps. We had this issue when the bootimage was in internal testing but with the rngd command run once we didn't have it since then
yes there is an experimental version of the bootimage. it runs the rngd command twice with a little pause. Hope it helps. We had this issue when the bootimage was in internal testing but with the rngd command run once we didn't have it since then
Kein Support per DM!
_________________________
opsi support - http://www.uib.de/
For productive opsi installations we recommend support contracts.
_________________________
opsi support - http://www.uib.de/
For productive opsi installations we recommend support contracts.
Re: PXE/netboot: login failed
I will try and install the updated bootimage.
Re: PXE/netboot: login failed
wait. there is still an error inside
I will upload another version soon.
Cheers
I will upload another version soon.
Cheers
Kein Support per DM!
_________________________
opsi support - http://www.uib.de/
For productive opsi installations we recommend support contracts.
_________________________
opsi support - http://www.uib.de/
For productive opsi installations we recommend support contracts.
Re: PXE/netboot: login failed
Hi
there's a new bootimage in opsi 4,.1 experimental (https://build.opensuse.org/package/show ... -bootimage).
This version starts the RNG command twice with a little break in between
Feedback is very welcome
Cheers
there's a new bootimage in opsi 4,.1 experimental (https://build.opensuse.org/package/show ... -bootimage).
This version starts the RNG command twice with a little break in between
Feedback is very welcome
Cheers
Kein Support per DM!
_________________________
opsi support - http://www.uib.de/
For productive opsi installations we recommend support contracts.
_________________________
opsi support - http://www.uib.de/
For productive opsi installations we recommend support contracts.
Re: PXE/netboot: login failed
The new image seems to solve the problem
I will try some more tests to be sure, but the first computer is installing Windows 10 now so I think it works.
I will try some more tests to be sure, but the first computer is installing Windows 10 now so I think it works.