Linux Newbie here.. I have installed MDK 9.2 on my server machine.. and I would like to change the name of the server.. (ie. localhost) to a different name. Can anyone tell me how to change it? Should I change it? I have Samba installed and am getting it closer and closer to working right.. I can access my WinXP machine from my Linux box.. but I can't seem to access my Linux box from WinXP. How do I allow my WinXP machine to access all the files on my Linux one?
To change your hostname just type hostname {newHostname} (without the braces of course) . If Mandrake isn't different from everything else now, you'll have to edit /etc/hostname and also make the change so it'll keep on restart.
Are you running nmbd (NetBIOS daemon) on your Linux box? Do a ps aux | grep nmbd in a terminal. If not, you'll need to start it like this. /path/to/nmbd -D. That'll enable NetBIOS broadcasting on your Linux box so other machines can see what resources are shared from it. Of course you already know you edit smb.conf to modify your shared resources.
localhost only hits the loopback because it is defined as so in /etc/hosts by default.
localhost is also the default hostname unless the distro changes that.
For mandrake define your hostname in /etc/sysconfig/network, you will see HOSTNAME=, change that Variable.
Thanks everyone! I finally got the hostnamed changed. It was in the Network settings control panel in MDK 9.2. Now that I got that setup... I got SAMBA setup from reading some of the other posts. Everything is working good now.