On 15 Feb 2004 21:07:07 -0800, Patrick Shroads wrote:
> I've just built my first Linux box (Mandrake 9.2) and I want to use it
> as a file/print/web/database server for my Mac and Windows machines on
> my home network. I am trying to figure out how to change my machine's
> name
cat /etc/sysconfig/network
HOSTNAME=fw.home.invalid <----------
NETWORKING=yes
GATEWAYDEV=eth1
> Someone suggested altering the /etc/hosts file but if I use DHCP so
> how would I do that since the IP address could change with a reboot?
You can use sed to modify /etc/hosts
Do practice on a hosts file in your home directory.
You can create a script to test if your ip changes and warn you to change
the mac/doze boxes hosts files.
Without seeing your hookup not much can be offered.
Example suggestion.
http://groups.google.com/advanced_group_search
(E-Mail Removed)lid in Message ID box