View previous topic :: View next topic |
Author |
Message |
sideways n00b
Joined: 24 Dec 2004 Posts: 37 Location: Los Gatos, CA
|
Posted: Wed Mar 24, 2010 3:24 pm Post subject: hostname gets clobbered at boot [solved] |
|
|
Hi,
hostname gets set to localhost.localdomain at boot and domainname is always (none).
New box/installation using in /etc/conf.d/net and everything except the box's ability to know its name and domain work great.
I have set /etc/conf.d/hostname. If I 'restart' /etc/init.d/hostname the hostname then gets set. I know the script runs at boot.
I've tried editing /etc/hosts but the file gets edited by something at boot with Code: | 127.0.0.1 localhost.localdomain localhost | . Is this the dhcp processing? If so I don't want it to overrule me.
I've tried telling dhcpcd.conf what the hostname and domainname are and not to ask the dhcp server for 'em but no luck.
I've triple checked the handbook and searched the forum but am not getting it. Hints?
Thanks! -Ed
Last edited by sideways on Tue Mar 30, 2010 3:19 am; edited 1 time in total |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Wed Mar 24, 2010 4:19 pm Post subject: |
|
|
Did you change /etc/hosts ? |
|
Back to top |
|
|
sideways n00b
Joined: 24 Dec 2004 Posts: 37 Location: Los Gatos, CA
|
Posted: Wed Mar 24, 2010 5:02 pm Post subject: |
|
|
d2_racing wrote: | Did you change /etc/hosts ? |
Thanks, ya, like I said above, I've set it and it gets clobbered by something with Code: | 127.0.0.1 localhost.localdomain localhost |
|
|
Back to top |
|
|
sideways n00b
Joined: 24 Dec 2004 Posts: 37 Location: Los Gatos, CA
|
Posted: Sat Mar 27, 2010 2:51 pm Post subject: |
|
|
bump |
|
Back to top |
|
|
sideways n00b
Joined: 24 Dec 2004 Posts: 37 Location: Los Gatos, CA
|
Posted: Tue Mar 30, 2010 3:18 am Post subject: |
|
|
solved. found that NetworkManager was starting up in addition to /etc/conf.d/net stuff. rc-update delete NetworkManager. done. |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Tue Mar 30, 2010 12:16 pm Post subject: |
|
|
Nice. |
|
Back to top |
|
|
|