View previous topic :: View next topic |
Author |
Message |
niffs Apprentice
Joined: 25 Apr 2004 Posts: 212 Location: The Wired
|
Posted: Tue Jan 11, 2005 1:52 am Post subject: Hostname display error on terminals: taku.(none) |
|
|
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 |
|
|
papal_authority Veteran
Joined: 31 Mar 2004 Posts: 1823 Location: Canada
|
Posted: Tue Jan 11, 2005 2:05 am Post subject: |
|
|
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 |
|
|
niffs Apprentice
Joined: 25 Apr 2004 Posts: 212 Location: The Wired
|
Posted: Wed Jan 12, 2005 4:56 am Post subject: |
|
|
didnt work... oh well... _________________ No matter where you are... everyone is always connected.
[ .: my website :. ] |
|
Back to top |
|
|
niffs Apprentice
Joined: 25 Apr 2004 Posts: 212 Location: The Wired
|
Posted: Wed Jan 12, 2005 4:56 am Post subject: |
|
|
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 |
|
|
niffs Apprentice
Joined: 25 Apr 2004 Posts: 212 Location: The Wired
|
Posted: Wed Jan 12, 2005 5:02 am Post subject: |
|
|
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 |
|
|
papal_authority Veteran
Joined: 31 Mar 2004 Posts: 1823 Location: Canada
|
Posted: Wed Jan 12, 2005 5:07 am Post subject: |
|
|
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 |
|
|
niffs Apprentice
Joined: 25 Apr 2004 Posts: 212 Location: The Wired
|
Posted: Thu Jan 13, 2005 5:06 am Post subject: |
|
|
Hmm... Ill get back on that. _________________ No matter where you are... everyone is always connected.
[ .: my website :. ] |
|
Back to top |
|
|
niffs Apprentice
Joined: 25 Apr 2004 Posts: 212 Location: The Wired
|
Posted: Fri Jan 14, 2005 5:34 am Post subject: |
|
|
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 |
|
|
|