Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Identität per DHCP beziehen für Clients ( Hostname & CO)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Neo_0815
l33t
l33t


Joined: 24 Feb 2003
Posts: 815
Location: Leipzig

PostPosted: Thu Jan 27, 2005 10:17 pm    Post subject: Identität per DHCP beziehen für Clients ( Hostname & C Reply with quote

Folgendes Problem,

ich habe ne Reihe Clients, die sind alle identisch in ihrer Gestalt, einziger Unterschied ist ihr Hostname und die MAC Adresse + IP.

Diese bekommen sie auch vom DHCP Server, nun würde ich wollen das sie Hostnamen und Domain auch von dort bekommen, der DHCP Server ist korrekt eingestellt dafür.

Was muss ich denn ändern bei Gentoo damit er das übernimmt, also Domain, NIS domain und Hostname.

Das hostname Startscript gackert ja wenn man keinen vergibt.

MfG
_________________
[img:76661e22b8]http://www.biersekte.de/biersektebanner.gif[/img:76661e22b8]
Back to top
View user's profile Send private message
robbar
Apprentice
Apprentice


Joined: 21 Aug 2004
Posts: 156
Location: Saarbruecken, Germany

PostPosted: Fri Jan 28, 2005 8:07 am    Post subject: Reply with quote

Bei mir klappt das mit den folgenden Zeilen in /etc/conf.d/net
Code:
iface_eth0="dhcp"
dhcpcd_eth0="-HDN -t 2"

Damit stellt sich der Host- und Domainname auf den um, den der DHCP Server vorgibt (-HD), -t ist ein timeout und -N hält DHCP davon ab, die /etc/ntp.conf zu überschreiben.
Hoffentlich hilft Dir das weiter!
Back to top
View user's profile Send private message
robbar
Apprentice
Apprentice


Joined: 21 Aug 2004
Posts: 156
Location: Saarbruecken, Germany

PostPosted: Mon Feb 07, 2005 1:23 pm    Post subject: Reply with quote

Wahrscheinlich ist das schon der Fall, aber hast Du "net.eth0" im rc-status fuer default und "hostname" fuer boot?
Code:
rc-status all
Wenn nein, dann
Code:
rc-update add net.eth0 default
rc-update add hostname boot

Wenn doch, dann :cry:
Back to top
View user's profile Send private message
Neo_0815
l33t
l33t


Joined: 24 Feb 2003
Posts: 815
Location: Leipzig

PostPosted: Tue Feb 08, 2005 5:08 am    Post subject: Reply with quote

Nene hostname brauch man net dazu im Boot ;) aber hab den Fehler ^^.

Hatte ein c bei dhcpcd vergessen ;) Manuell mit -d zeigte er alles korrekt an, von daher musste es irgendsowas sein.

thx

MfG
_________________
[img:76661e22b8]http://www.biersekte.de/biersektebanner.gif[/img:76661e22b8]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum