On Sat, 22 Feb 2003, guran wrote:

> Hi
>
> Background.
> My dhcp client does not set or override the correct localhost.localdomain
> name.
>
> During booting up the messages say that cups have adopted to 192.168.1.252.
>
> I got a very good letter from Buchan Milne
>
> http://archives.mandrakelinux.com/cooker/2003-01/msg08662.php
>
> so I have run a diff between /usr/sbin/drakconnect from 9.0 and 9.1 and beware
> I don't know much of this.
>
> I have been looking for Hostname and hostname and there are differences but I
> dont understand them.
>
> Someone who knows please check it out.
>

OK, I was taking a look at this also, I got my hostname at work (but I may
have a hardware-ethernet entry in our dhcp server there, not sure now),
but not here at home.

I may have run drakconnect between, but I had to set DHCP_HOSTNAME in
/etc/sysconfig/network-scripts/ifcfg-eth0 for the dhcp client to provide
it in the dhcp request. Drakconnect also does not set ZEROCONF_HOSTNAME
(except during installation) it seems. Then, to actually set my hostname,
I had to set HOSTNAME in /etc/sysconfig/network.

Then, it still does not add an entry in hosts for this hostname.

This still needs to be investigated. Florin (or whoever is responsible for
drakconnect), could you list how this is supposed to work, so we can help
track down *where* the bugs are (drakconnect or initscripts).

Regards,
Buchan

-- 
|----------------Registered Linux User #182071-----------------|
Buchan Milne                Mechanical Engineer, Network Manager
Cellphone * Work            +27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering         http://www.cae.co.za
GPG Key                   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7


Reply via email to