renaming my linux box
jake.pronk at gmail.com
Thu Jul 1 16:32:08 UTC 2004
i changed the name on the network devices and samba, however when i
went to reboot the msg came up that i had to edit the file /etc/hosts.
when i edited the hosts file it was all ok
On Thu, 01 Jul 2004 15:59:57 +0200, Alexander Dalloz
<alexander.dalloz at uni-bielefeld.de> wrote:
> Am Do, den 01.07.2004 schrieb SoftCell um 15:40:
> [ reordered due to top-posting ]
> > > That would only change the description string, not the netbios name
> > > itself. First he should take care that /etc/sysconfig/network
> > > HOSTNAME=something_else_than_localhost has set. And then if he likes he
> > > can set in the smb.conf "netbios name = foobar", else the netbios name
> > > is automatically the hostname.
> > if you change the name in samba it will only effect the host and an
> erro will pop up when you reboot. you will need to change the /etc/hosts
> file to rename your linux box
> > - Jake
> Can you explain what you mean? What kind of "error will pop up"?
> For testing I just changed the netbios name setting in my servers
> smb.conf to a name which certainly does not resolv, neither by
> /etc/hosts nor bind. And no error occurs. Do you maybe mean samba name
> mapping through /etc/samba/lmhosts file?
> Of course if you change your hostname setting then of course the
> /etc/hosts file should reflect the changed mapping too.
> Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
> Fedora GNU/Linux Core 2 (Tettnang) on Athlon CPU kernel 2.6.6-1.435.2.1
> Serendipity 15:53:38 up 1:50, 8 users, 1.76, 0.63, 0.37
> signature.asc - 1K
> noname - 1K Download
More information about the users