Len Lawrence wrote:
When I first connected to broadband using DHCP, BlueYonder would change my
hostname every few days, which meant my having to edit the /etc/hosts file
by hand (names like dhcp285), but some time ago this changed and the hostname
has remained fixed at x1-6-00-05-5d-47-9a-4a ever since. This is the
ifcfg-eth0 file:
DEVICE=eth0
BOOTPROTO=dhcp
NETMASK=255.255.255.0
ONBOOT=yes
MII_NOT_SUPPORTED=no
NEEDHOSTNAME=yes
and /etc/hosts:
127.0.0.1 localhost x1-6-00-05-5d-47-9a-4a
The router I shall be using is the Belkin Wireless Cable/DSL Gateway Router
with 802.11b Wi-Fi access.
If you change NEEDHOSTNAME=yes to NEEDHOSTNAME=no, your hostname will
not get changed by DHCP. then you can change x1-6-00-05-5d-47-9a-4a to
what you want your hostname to be, and set it using MCC, or editing
/etc/sysconfig/networks.
Mikkel
--
Do not meddle in the affairs of dragons,
for you are crunchy and taste good with ketchup.
____________________________________________________
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________