Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Hostname display error on terminals: taku.(none)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
niffs
Apprentice
Apprentice


Joined: 25 Apr 2004
Posts: 212
Location: The Wired

PostPosted: Tue Jan 11, 2005 1:52 am    Post subject: Hostname display error on terminals: taku.(none) Reply with quote

This problem is nothing major, and Im sure theres a simple solution to it, but its starting to get on my nerves... What happens is that my system boots up fine, it sets the hostname with the init.d scripts (as well as dnsdomain name), but when getty comes up, I get this:
Code:
This is taku.(none) (Linux i686 2.6.10-r3...


how can I change it to get something like "hostname.domain.org"? Ive tried setting the dnsdomainname, the hostname to "hostname.domain.org", but It always suffixes it with .(none)!
_________________
No matter where you are... everyone is always connected.
[ .: my website :. ]
Back to top
View user's profile Send private message
papal_authority
Veteran
Veteran


Joined: 31 Mar 2004
Posts: 1823
Location: Canada

PostPosted: Tue Jan 11, 2005 2:05 am    Post subject: Reply with quote

Well apparently there's a new way to do this in conf.d but I put the domainname is /etc/dnsdomainname, /etc/domainname and /etc/nisdomainname. Also make sure the /etc/hosts entry is correct with both an fqdn and a short version:
Code:
192.168.0.2     taku.domain.com      taku

_________________
The free market gave me gonorrhea.
Back to top
View user's profile Send private message
niffs
Apprentice
Apprentice


Joined: 25 Apr 2004
Posts: 212
Location: The Wired

PostPosted: Wed Jan 12, 2005 4:56 am    Post subject: Reply with quote

didnt work... oh well...
_________________
No matter where you are... everyone is always connected.
[ .: my website :. ]
Back to top
View user's profile Send private message
niffs
Apprentice
Apprentice


Joined: 25 Apr 2004
Posts: 212
Location: The Wired

PostPosted: Wed Jan 12, 2005 4:56 am    Post subject: Reply with quote

didnt work... oh well...
Um.... I have a dialup connection and my IP changes each time I connect, what should I put in /etc/hosts?
_________________
No matter where you are... everyone is always connected.
[ .: my website :. ]
Back to top
View user's profile Send private message
niffs
Apprentice
Apprentice


Joined: 25 Apr 2004
Posts: 212
Location: The Wired

PostPosted: Wed Jan 12, 2005 5:02 am    Post subject: Reply with quote

Oh, how stupid of me! should of done a google search first!

0.0.0.0!
_________________
No matter where you are... everyone is always connected.
[ .: my website :. ]
Back to top
View user's profile Send private message
papal_authority
Veteran
Veteran


Joined: 31 Mar 2004
Posts: 1823
Location: Canada

PostPosted: Wed Jan 12, 2005 5:07 am    Post subject: Reply with quote

Yaargh I didn't know you used DHCP. I should have asked. You'll probably want to read this easy HOWTO.
_________________
The free market gave me gonorrhea.
Back to top
View user's profile Send private message
niffs
Apprentice
Apprentice


Joined: 25 Apr 2004
Posts: 212
Location: The Wired

PostPosted: Thu Jan 13, 2005 5:06 am    Post subject: Reply with quote

Hmm... Ill get back on that.
_________________
No matter where you are... everyone is always connected.
[ .: my website :. ]
Back to top
View user's profile Send private message
niffs
Apprentice
Apprentice


Joined: 25 Apr 2004
Posts: 212
Location: The Wired

PostPosted: Fri Jan 14, 2005 5:34 am    Post subject: Reply with quote

Well, that worked! Thanks!
I think my hosts file was broken...
_________________
No matter where you are... everyone is always connected.
[ .: my website :. ]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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