PXE Boot DHCP

Antworten
Benutzeravatar
sakbari
Beiträge: 8
Registriert: 21 Mär 2016, 12:50
Kontaktdaten:

PXE Boot DHCP

Beitrag von sakbari »

Hi everyone

I'm a Newbie on OPSI i have download the VM and have it running i can access the OPSI server on https://ip-opsi-server:4447

the problem that i have it that the clients gets no ip address from the opsi server and that's why the PXE boot is not working

can you help me with this

thank you in advance
Benutzeravatar
m.radtke
Ex-uib-Team
Beiträge: 1767
Registriert: 10 Jun 2015, 12:19

Re: PXE Boot DHCP

Beitrag von m.radtke »

Hi

Dou you have any other DHCP running in your network?

Might be that the other DHCP catches the clients before the VM does.
You can also block the Mac Address of the affected clients on your non opsi DHCP. Then they dont get ip addresses from this specific DHCP and the VM DHCP should accept your clients.


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


Benutzeravatar
sakbari
Beiträge: 8
Registriert: 21 Mär 2016, 12:50
Kontaktdaten:

Re: PXE Boot DHCP

Beitrag von sakbari »

hi m.radtke

thank you for your replay. 1i have reconfigured the VM.
I have to create a new VLAN without DHCP on my router

I now have different errors at first I need to create the clients first with the MAC address and IP and then I get the following error

Failed to mount '//opsi/opsi_depot': Command '/binmount -t cifs -0
"iocharset-utf9,domain-opsi,credentials=tmp/cifs-credentials.opsi" //opsi/opsi_depot /mnt/opsi' failed (1)
mount error: could not resolve address for opsi: Unknow error
Benutzeravatar
m.radtke
Ex-uib-Team
Beiträge: 1767
Registriert: 10 Jun 2015, 12:19

Re: PXE Boot DHCP

Beitrag von m.radtke »

sakbari hat geschrieben: mount error: could not resolve address for opsi: Unknow error
the name opsi is not known in your dns configuration
i would suggest to change the samba mount to use the opsi IP address instead of dns name. This can be done in the depot configuration within the configed.

Cheers
Mathias


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


Benutzeravatar
sakbari
Beiträge: 8
Registriert: 21 Mär 2016, 12:50
Kontaktdaten:

Re: PXE Boot DHCP

Beitrag von sakbari »

hi Now i get this error

bootmgr not found in winpe, please check winpe folder on server
Benutzeravatar
m.radtke
Ex-uib-Team
Beiträge: 1767
Registriert: 10 Jun 2015, 12:19

Re: PXE Boot DHCP

Beitrag von m.radtke »

Well the error says it all.

You need a winpe to deploy a Windows

I would suggest you to read the opsi getting started in how to prevent further errors like driver Integration
http://download.uib.de/opsi4.0/doc/html ... arted.html


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


Benutzeravatar
sakbari
Beiträge: 8
Registriert: 21 Mär 2016, 12:50
Kontaktdaten:

Re: PXE Boot DHCP

Beitrag von sakbari »

Dear m.radtke

when I look in to the folder /var/lib/opsi/depot/win2008-r2 i see
following folders and the winpe is empty

create_driver_links.py
custom drivers
extract_driver_pack.py
installfiles
opsi
opsipreparelib.py
opsisetuplib.py
setup.py
show_drivers.py
win2008-r2.files
winpe
winpe_uefi

you could tell me what I did wrong or what I miss

thank you in advance
Benutzeravatar
wolfbardo
uib-Team
Beiträge: 1412
Registriert: 01 Jul 2008, 12:10

Re: PXE Boot DHCP

Beitrag von wolfbardo »

You have to create a winpe like described here

http://download.uib.de/opsi_stable/doc/ ... arted.html

"Creating a PE"

or

use a winpe based on

http://download.uib.de/opsi4.0/experime ... 1.0-1.opsi

regards,
Bardo Wolf


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


Benutzeravatar
sakbari
Beiträge: 8
Registriert: 21 Mär 2016, 12:50
Kontaktdaten:

Re: PXE Boot DHCP

Beitrag von sakbari »

Dear wolfbardo

you could give a more detailed explanation about.

use a winpe based on
http://download.uib.de/opsi4.0/experime ... 1.0-1.opsi

Do i have to download this file in put it in the winpe folder

i have copy all installfiles of win2012-r2 in to the installfiles
Benutzeravatar
m.radtke
Ex-uib-Team
Beiträge: 1767
Registriert: 10 Jun 2015, 12:19

Re: PXE Boot DHCP

Beitrag von m.radtke »

Hi,

the package wolfbardo pointed you to is an opsi package that you install on your opsi server and run it on an existing client.
you can either integrate existing clients into your opsi server or deploy them.
You currently need a WinPE.
I would recommend to read this section of the getting started.
http://download.uib.de/opsi_stable/doc/ ... ckages-nt6

The getting started describes all the steps needed from server install to client deployment and also WinPE creation


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


Antworten