Seite 1 von 1

Aktuelle IP eines Clients ermitteln

Verfasst: 09 Okt 2015, 14:34
von D1Ck3n
Hallo zusammen,
ich würde gerne von meinen Opsi-Clients die aktuell verwendete IP (externer DHCP-Server regelt das) in der Weboberfläche anzeigen lassen. Ist es möglich, dass der OPSI-Server die IP vom Client erfragen kann?

Gruß
D1Ck3n

Re: Aktuelle IP eines Clients ermitteln

Verfasst: 09 Okt 2015, 17:07
von tobias
moin,

die opsiconf.conf unter /etc/opsi dürfte dir weiterhelfen:

# If set to yes a client's ip address will be updated in the opsi database,
# when the client connects to the service and authentication is successful.
# Opsiconfd needs to be reloaded (SIGHUP) for changes to take effect.
#
# Default:
# update ip = no

update ip = yes

Re: Aktuelle IP eines Clients ermitteln

Verfasst: 10 Okt 2015, 02:07
von SisterOfMercy
tobias hat geschrieben:die opsiconf.conf unter /etc/opsi dürfte dir weiterhelfen:
/etc/opsi/opsiconfd.conf :D

I'm going to try it too, it might come in handy with lusers that never give enough information. Thanks! :-)

Re: Aktuelle IP eines Clients ermitteln

Verfasst: 12 Okt 2015, 10:20
von D1Ck3n
tobias hat geschrieben:moin,

die opsiconf.conf unter /etc/opsi dürfte dir weiterhelfen:

# If set to yes a client's ip address will be updated in the opsi database,
# when the client connects to the service and authentication is successful.
# Opsiconfd needs to be reloaded (SIGHUP) for changes to take effect.
#
# Default:
# update ip = no

update ip = yes
Hi,

Das habe ich so konfiguriert, aber leider aktualisiert sich die IP der Clients nicht.
Dazu muss ich sagen, dass einige meiner Clients nur mit der MAC-Adresse im opsiconfd gelistet sind und sie keine IP an den Server übermitteln.

Gruß

Re: Aktuelle IP eines Clients ermitteln

Verfasst: 13 Okt 2015, 17:59
von SisterOfMercy
It works with my setup!

Re: Aktuelle IP eines Clients ermitteln

Verfasst: 23 Okt 2015, 12:06
von n.wenselowski

Code: Alles auswählen

opsi-setup --init-current config
service opsiconfd restart
Und dann ein Reload im Configed gemacht?

Re: Aktuelle IP eines Clients ermitteln

Verfasst: 23 Okt 2015, 14:32
von D1Ck3n
n.wenselowski hat geschrieben:

Code: Alles auswählen

opsi-setup --init-current config
service opsiconfd restart
Und dann ein Reload im Configed gemacht?
Hi n.wenselowsk,

das klappt leider nicht.

Re: Aktuelle IP eines Clients ermitteln

Verfasst: 28 Okt 2015, 09:38
von n.wenselowski
Dringende Empfehlung: mach eine Schulung.