Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Domainname wird beim einloggen nicht angezeigt
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
seafoxx
n00b
n00b


Joined: 09 Mar 2004
Posts: 6
Location: germany

PostPosted: Wed Jun 30, 2004 7:23 pm    Post subject: [Solved] Domainname wird beim einloggen nicht angezeigt Reply with quote

Hallöchen,
ist wahrscheinlich ein ganz billiges Problem, aber im Login-Screen
auf der Konsole wird mein Domainname nicht angezeigt,
statdessen steht da "(none)":
Code:
This is mobile.(none) (Linux i686 2.6.7-gentoo-r6) 20:40:28

... obwohl die datei "/etc/dnsdomainname" angelegt wurde
und der service "domainname" automatisch startet.
(Bekomme auch die Ausgabe "Setting DNS domainname to domain.de...").

/etc/hostname="mobile"
/etc/dnsdomainname="domain.de"

ich finde das .(none) einfach übel, habe aber bisher
keine Lösung gefunden.
Wäre um Rat sehr erfreut.

Habe mittlerweile auch den Runlevel von default auf boot gesetzt, ändert aber auch nix.

Greetings
Bastian
_________________
ääähm,
ich muss weg...


Last edited by seafoxx on Thu Jul 01, 2004 6:40 pm; edited 1 time in total
Back to top
View user's profile Send private message
toskala
Advocate
Advocate


Joined: 14 Dec 2002
Posts: 2080
Location: hamburg, germany

PostPosted: Wed Jun 30, 2004 7:29 pm    Post subject: Reply with quote

was steht in der /etc/hosts?

da sollte rein:

Code:
127.0.0.1       localhost
192.168.0.5     octane.local.lan octane


aber achja, du solltest keine domänen nehmen die dir nicht gehören, und von denen du nicht willst, dass sie auf dieser kiste auflaufen.
das führt evtl. zu ärger mit confen später
_________________
adopt an unanswered post
erst denken, dann posten
Back to top
View user's profile Send private message
seafoxx
n00b
n00b


Joined: 09 Mar 2004
Posts: 6
Location: germany

PostPosted: Wed Jun 30, 2004 8:10 pm    Post subject: Reply with quote

Hallo,
da stand nur der localhost-eintrag drin.
nach einfügen der netzwerk-ip mit dem gewünschten domainnamen hat sich auch nix geändert. außerdem vergebe ich die IPs per dhcp und da wäre eine fixe verdrahtung in der /etc/hosts sowieso nicht so toll. auch das eintragen des "local domain name" im router ändert nix.
_________________
ääähm,
ich muss weg...
Back to top
View user's profile Send private message
gerix
Tux's lil' helper
Tux's lil' helper


Joined: 12 May 2004
Posts: 104
Location: Germany

PostPosted: Wed Jun 30, 2004 8:48 pm    Post subject: Reply with quote

in meiner /etc/hosts:

Code:
127.0.0.1    name.domain.de   name   localhost

_________________
mfg
gerix
Back to top
View user's profile Send private message
seafoxx
n00b
n00b


Joined: 09 Mar 2004
Posts: 6
Location: germany

PostPosted: Thu Jul 01, 2004 6:50 am    Post subject: Gerix hat die Lösung Reply with quote

Hallo gerix,

genau das hat gefehlt. ist im Gentoo-Install-Handbuch aber auch nicht drin (in Kapitel 8 wird die /etc/hosts kurz behandelt).

jetzt wird schön mein Domainname angezeigt.
Danke!

Greetings
Bastian
_________________
ääähm,
ich muss weg...
Back to top
View user's profile Send private message
Shadows
Apprentice
Apprentice


Joined: 30 Apr 2004
Posts: 178

PostPosted: Thu Jul 01, 2004 12:35 pm    Post subject: Reply with quote

Nö, genau das hat eben nicht gefehlt. Ist zwar ein netter workaround, aber nicht die wirkliche Lösung des Problems. Generell sollte man den Eintrag zur lokalen loopback-IP nie ändern, also vergiss das mal schnell wieder.

In diesem Thread steht dann auch drin was das eigentliche Problem und dessen Lösung ist.

Ist aber leider in englisch, wenn Du da nicht mit klar kommen solltest, erklär ich Dir das gerne hier nochmal auf deutsch.

Greetz

Shad
_________________
# 1:
PIII 450, Intel 440BX, 448 MB SD-RAM ATI Rage IIC AGP 8 MB, SB AWE 64 PnP

# 2:
Athlon XP M 2800+ Desktop edition (running on 1.666 and 100 FSB) [was: Duron 800 (Spitfire)], Via KT266, 512 MB SD-RAM, GeForce 3 64 MB, Sound onBoard
Back to top
View user's profile Send private message
seafoxx
n00b
n00b


Joined: 09 Mar 2004
Posts: 6
Location: germany

PostPosted: Thu Jul 01, 2004 3:45 pm    Post subject: So geht es auch Reply with quote

Hallo,

Danke Shadows für Deinen Hinweis.
Musste dann doch noch eine kleine Änderung an der /etc/hosts vornehmen, da das Gentoo-Tutorial hier nicht ganz schlüssig aufgebaut ist.
Dort wird vorgeschlagen (Kapitel 8, Code Listing 19),
als Minimal-Konfiguration die folgende Zeile zu verwenden:
Code:
"127.0.0.1   localhost   tux"


Hierdurch wird jedoch auch der Domainname erwartet und erst wenn ich den Hostname "tux" aus der /etc/hosts rausnehme, ziehen die Werte aus /etc/hostname und /etc/dsdomainname (respektive /etc/resolv.conf ).
Die änderung an /etc/init.d/domainname muss auch unbedingt vorgenommen werden, sonst erhölt man als Domainname "unknown_domain".

Nochmals Danke!

Greetings
Bastian
_________________
ääähm,
ich muss weg...
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