Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo Domainnamen ( gelöst )
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
gekko247
Tux's lil' helper
Tux's lil' helper


Joined: 02 Oct 2004
Posts: 139
Location: Lancashire, UK

PostPosted: Mon Jul 06, 2009 7:48 am    Post subject: Gentoo Domainnamen ( gelöst ) Reply with quote

Hallo Leute,

habe gestern für mein Bruder auf sein neuen Notebook Gentoo 20090523 Build aufgesetzt. Es funzt alles wunderbar, was mich aber irrietiert das die Domain überschrieben wird.

Bin vorgegangen wie in der Doku beschrieben:


Code:

 # cd /etc
 
 # echo "127.0.0.1 gentoobox.honolka.net zuhause localhost" > hosts

 # sed -i -e 's/HOSTNAME.*/HOSTNAME="gentoobox"/' conf.d/hostname

 # hostname zuhause

 # hostname -f
 
 # echo "config_eth0=( "dhcp" )" > net
 
 # rc-update add net.eth0 default
 


Wenn sich der DHCP-Client ( dhcpcd ) mit den Speedport W303V Type B verbindet lautet der Host.


Code:
gentoobox.SPEEDPORT_W_303_V_TYPE_B



Hat jemand eine wie ich das ganze in Ordnung bringen kann?


Viele Grüße
_________________
Lappi: Compaq 15-h050ng Notebook - Gentoo / FreeBSD


Last edited by gekko247 on Mon Jul 06, 2009 10:23 pm; edited 1 time in total
Back to top
View user's profile Send private message
schachti
Advocate
Advocate


Joined: 28 Jul 2003
Posts: 3765
Location: Gifhorn, Germany

PostPosted: Mon Jul 06, 2009 7:59 am    Post subject: Reply with quote

Das kannst Du in der Datei /etc/conf.d/domainname konfigurieren, speziell solltest Du dazu die beiden Optionen OVERRIDE und DNSDOMAIN ansehen.
_________________
Never argue with an idiot. He brings you down to his level, then beats you with experience.

How-To: Daten verschlüsselt auf DVD speichern.
Back to top
View user's profile Send private message
gekko247
Tux's lil' helper
Tux's lil' helper


Joined: 02 Oct 2004
Posts: 139
Location: Lancashire, UK

PostPosted: Mon Jul 06, 2009 8:06 am    Post subject: Reply with quote

Hi

Quote:

Das kannst Du in der Datei /etc/conf.d/domainname konfigurieren, speziell solltest Du dazu die beiden Optionen OVERRIDE und DNSDOMAIN ansehen.


Danke für die Info, werde mich heute abend mal daran setzen.


Danke und viele Grüße
_________________
Lappi: Compaq 15-h050ng Notebook - Gentoo / FreeBSD
Back to top
View user's profile Send private message
gekko247
Tux's lil' helper
Tux's lil' helper


Joined: 02 Oct 2004
Posts: 139
Location: Lancashire, UK

PostPosted: Mon Jul 06, 2009 5:22 pm    Post subject: Reply with quote

Moin, Moin


Quote:

Das kannst Du in der Datei /etc/conf.d/domainname konfigurieren, speziell solltest Du dazu die beiden Optionen OVERRIDE und DNSDOMAIN ansehen.


Was muss da nach installiert werden? In der /etc/conf.d
Code:

 bootmisc
clock
consolefont
crypto-loop
dolilo.example
env_whitelist
gpm
hostname
keymaps
local.start
local.stop
net
net.example
pydoc-2.5
rc
rsyncd
sshd
syslog-ng
udev
urandom
wireless.example
gibt es keine Datei domainname.

Grüße
_________________
Lappi: Compaq 15-h050ng Notebook - Gentoo / FreeBSD
Back to top
View user's profile Send private message
schachti
Advocate
Advocate


Joined: 28 Jul 2003
Posts: 3765
Location: Gifhorn, Germany

PostPosted: Mon Jul 06, 2009 6:59 pm    Post subject: Reply with quote

Existiert bei Dir stattdessen vielleicht /etc/dnsdomainname?
_________________
Never argue with an idiot. He brings you down to his level, then beats you with experience.

How-To: Daten verschlüsselt auf DVD speichern.
Back to top
View user's profile Send private message
AWO
Tux's lil' helper
Tux's lil' helper


Joined: 24 May 2005
Posts: 144
Location: 52°32N / 11°58E

PostPosted: Mon Jul 06, 2009 7:20 pm    Post subject: Reply with quote

Nabend,

das steht jetzt alles in der /etc/conf.d/net:

Code:
#-----------------------------------------------------------------------------
# System
# For configuring system specifics such as domain, dns, ntp and nis servers
# It's rare that you would need todo this, but you can anyway.
# This is most benefit to wireless users who don't use DHCP so they can change
# their configs based on ESSID. See wireless.example for more details

# To use dns settings such as these, dns_servers_eth0 must be set!
# If you omit the _eth0 suffix, then it applies to all interfaces unless
# overridden by the interface suffix.
#dns_domain_eth0="your.domain"
#dns_servers_eth0="192.168.0.2 192.168.0.3"
#dns_search_eth0="this.domain that.domain"
#dns_options_eth0=( "timeout 1" "rotate" )
#dns_sortlist_eth0="130.155.160.0/255.255.240.0 130.155.0.0"
# See the man page for resolv.conf for details about the options and sortlist
# directives

#ntp_servers_eth0="192.168.0.2 192.168.0.3"

#nis_domain_eth0="domain"
#nis_servers_eth0="192.168.0.2 192.168.0.3"


Gruß André
Back to top
View user's profile Send private message
gekko247
Tux's lil' helper
Tux's lil' helper


Joined: 02 Oct 2004
Posts: 139
Location: Lancashire, UK

PostPosted: Mon Jul 06, 2009 10:23 pm    Post subject: Reply with quote

Moin, Moin

habe jetzt den ganzen DHCP Quatsch auf Static umgestellt und alles funzt.

Danke an alle.


Grüße
_________________
Lappi: Compaq 15-h050ng Notebook - Gentoo / FreeBSD
Back to top
View user's profile Send private message
schachti
Advocate
Advocate


Joined: 28 Jul 2003
Posts: 3765
Location: Gifhorn, Germany

PostPosted: Tue Jul 07, 2009 5:39 am    Post subject: Reply with quote

AWO wrote:

das steht jetzt alles in der /etc/conf.d/net:


Hmm, ok, da scheint mein DHCP-Server zufälligerweise genau das zu verteilen, was bei mir noch in /etc/conf.d/domainname steht - dadurch bin ich darauf gekommen.
_________________
Never argue with an idiot. He brings you down to his level, then beats you with experience.

How-To: Daten verschlüsselt auf DVD speichern.
Back to top
View user's profile Send private message
69719
l33t
l33t


Joined: 20 Sep 2004
Posts: 865

PostPosted: Tue Jul 07, 2009 7:18 am    Post subject: Re: Gentoo Domainnamen ( gelöst ) Reply with quote

gekko247 wrote:
Hallo Leute,

habe gestern für mein Bruder auf sein neuen Notebook Gentoo 20090523 Build aufgesetzt. Es funzt alles wunderbar, was mich aber irrietiert das die Domain überschrieben wird.

Bin vorgegangen wie in der Doku beschrieben:


Code:

 # cd /etc
 
 # echo "127.0.0.1 gentoobox.honolka.net zuhause localhost" > hosts

 # sed -i -e 's/HOSTNAME.*/HOSTNAME="gentoobox"/' conf.d/hostname

 # hostname zuhause

 # hostname -f
 
 # echo "config_eth0=( "dhcp" )" > net
 
 # rc-update add net.eth0 default
 


Wenn sich der DHCP-Client ( dhcpcd ) mit den Speedport W303V Type B verbindet lautet der Host.


Code:
gentoobox.SPEEDPORT_W_303_V_TYPE_B



Hat jemand eine wie ich das ganze in Ordnung bringen kann?


Viele Grüße

Ich vermute, dass mittels DHCP der Router als nameserver in die /etc/resolv.conf eingetragen wird. Und dieser Nameserver wird wohl aus der IP den Namen gentoobox.SPEEDPORT_W_303_V_TYPE_B machen. Das ganze kann durch ein Eintrag in der /etc/hosts geändert werden.
Code:

192.168.x.x gentoobox.tuxnet gentoobox
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