Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Login-Frage (This is netkiffer.(none))
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
Mac Fly
Guru
Guru


Joined: 30 Nov 2003
Posts: 330
Location: nähe Stuttgart

PostPosted: Sun Feb 29, 2004 12:21 am    Post subject: Login-Frage (This is netkiffer.(none)) Reply with quote

Wenn ich meine Box anschalte, erscheint beim login
Quote:
This is netkiffer.(none) (Linux i686 2.6.2-rc2-love3) 16:00


Woher kommt der rote Teil?

Code:
macfly@netkiffer:/> cat /etc/dnsdomainname
netkiffer.lan
macfly@netkiffer:/> cat /etc/hostname
netkiffer


Fehlt noch was?
Back to top
View user's profile Send private message
slick
Bodhisattva
Bodhisattva


Joined: 20 Apr 2003
Posts: 3495

PostPosted: Sun Feb 29, 2004 12:26 am    Post subject: Reply with quote

1. Dein Rechnername ist dann demzufolge "netkiffer.netkiffer.lan" ?

Sollte richtig sein:

echo "netkiffer" > /etc/hostname
echo "lan" > /etc/dnsdomainname

2. Eintrag in der Hosts gemacht? (/etc/hosts)

<DeineIP> netkiffer.lan

3. Wenns dann immernoch nicht funzt klappt was mit deinem DNS nicht.
Back to top
View user's profile Send private message
spitzwegerich
l33t
l33t


Joined: 04 Mar 2003
Posts: 697
Location: Lower Bavaria, Central Europe

PostPosted: Sun Feb 29, 2004 1:02 am    Post subject: Reply with quote

Ich hatte das gleiche Verhalten wie du (ohne dass es mich groß gestört hätte, aber aufgefallen ist es mir halt.).
Auf einem anderen Rechner, wo ich die Datei dnsdomainname nicht angelegt hatte, hab ich dann gesehen dass beim Kernel-Compilieren ziemlich am Anfang eine Meldung kommt, dass er die domain nicht feststellen kann.
Nach dem Erstellen von dnsdomainname und dem anschliessenden Recompilieren und Booten des Kernels stimmte die Anzeige dann.

Ich gehe also davon aus, dass die Info von dnsdomainname irgendwie im Kernel landet. Wobei seltsamerweise ein strings Befehl, angewandt auf den entpackten Kernel, zwar den host-, nicht aber den domainname ausspuckt.

Also: Compilier mal neu und sag uns, obs gefruchtet hat!
_________________
"Work is the curse of the drinking classes."
-Oskar Wilde
Back to top
View user's profile Send private message
spitzwegerich
l33t
l33t


Joined: 04 Mar 2003
Posts: 697
Location: Lower Bavaria, Central Europe

PostPosted: Sun Feb 29, 2004 1:07 am    Post subject: Reply with quote

HALT,
ich muss mich revidieren, mir ist noch was eingefallen:
Die Meldung über den nicht zu bestimmenden domainname beim Kernelcompilieren bin ich erst dadurch losgeworden, dass ich die /etc/hosts wie im Posting von Mac Fly beschrieben angepasst habe.

Wahrscheinlich wurde dadurch auch das (none) korrigiert, und nicht durch das Kernel-Neukompilieren.
_________________
"Work is the curse of the drinking classes."
-Oskar Wilde
Back to top
View user's profile Send private message
Mindstab
Apprentice
Apprentice


Joined: 02 Jan 2003
Posts: 271
Location: Vancouver, Canada

PostPosted: Sun Feb 29, 2004 1:22 am    Post subject: Reply with quote

Code:
rc-update add domainname boot
Back to top
View user's profile Send private message
Mac Fly
Guru
Guru


Joined: 30 Nov 2003
Posts: 330
Location: nähe Stuttgart

PostPosted: Sun Feb 29, 2004 1:55 am    Post subject: Reply with quote

komisch, komisch, das ganze.

Quote:
root@netkiffer:/> rc-update add domainname boot
* domainname added to runlevel boot
* Caching service dependencies... [ ok ]
* rc-update complete.
root@netkiffer:/> /etc/init.d/domainname start
* Setting DNS domainname to netkiffer.lan... [ ok ]


Komischerweise erscheint es beim login immer noch.

Quote:
root@netkiffer:/> cat /etc/hosts
127.0.0.1 localhost
192.168.0.1 netkiffer
192.168.0.6 rak


Häng ich an das netkiffer noch ein .lan, erscheint beim login
netkiffer.unknown_domain
merkwürdig...
Back to top
View user's profile Send private message
spitzwegerich
l33t
l33t


Joined: 04 Mar 2003
Posts: 697
Location: Lower Bavaria, Central Europe

PostPosted: Sun Feb 29, 2004 1:58 am    Post subject: Reply with quote

Also bei mir läufts ohne dieses domainname init-script.
_________________
"Work is the curse of the drinking classes."
-Oskar Wilde
Back to top
View user's profile Send private message
Mindstab
Apprentice
Apprentice


Joined: 02 Jan 2003
Posts: 271
Location: Vancouver, Canada

PostPosted: Sun Feb 29, 2004 2:01 am    Post subject: Reply with quote

Code:
127.0.0.1 netkiffer.lan netkiffer localhost
192.168.0.1 netkiffer
192.168.0.6 rak


[ip] [fqdn] [alias]
Back to top
View user's profile Send private message
Mac Fly
Guru
Guru


Joined: 30 Nov 2003
Posts: 330
Location: nähe Stuttgart

PostPosted: Sun Feb 29, 2004 2:20 am    Post subject: Reply with quote

Besten Dank, jetzt klappt es. :D
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