-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Buchan Milne wrote:
> Greg Meyer wrote:
>>>Greg, I installed rc2 last night, and there are two issues I see so far
>>>1)No way to set DHCP_HOSTNAME in
>>>/etc/syconfig/network-scripts/ifcfg-eth? except manually.
>>>2)HOSTNAME is not set in /etc/sysconfig/network
>>>
>>
>>These values don't seem to be set no matter what is entered in
>
> drakconnect.
>
>>If I enter them manually though, they still don't take effect.  This
>
> is not
>
>>my router either, because if I look at the dhcp table of the router, the
>>hostnames of my 9.0 and Windows machines are entered correctly
>>
>>
>>
>>
>>>IMHO, HOSTNAME should be set there if the user entered a zeroconf
>>>hostname, and drakconnect should have a dialog something like "This
>>>network interface requires a hostname to be sent with the DHCP request"
>>>with a field to enter a name there, which goes in DHCP_HOSTNAME in
>>>/etc/syconfig/network-scripts/ifcfg-eth?.
>>>
>>
>>It seems to me there should also be an entry in dhclient-eth0.conf to
>
> tell the
>
>>dhcp client to send the requested hostname.
>>
>>
>
>
> No need:
>
> [EMAIL PROTECTED] bgmilne]# grep -i hostname
> /etc/sysconfig/network-scripts/ifcfg-eth0
> NEEDHOSTNAME=yes
> DHCP_HOSTNAME=bgmilne-thinkpad
> [EMAIL PROTECTED] bgmilne]# cat /etc/dhclient-eth0.conf
> send host-name "bgmilne-thinkpad";  # temporary ifup addition
> [EMAIL PROTECTED] bgmilne]# vi /etc/sysconfig/network-scripts/ifcfg-eth0
> (changed to bgmilne-tp)
> [EMAIL PROTECTED] bgmilne]# service network restart
> Shutting down interface eth0:                                   [  OK  ]
> Shutting down loopback interface:                               [  OK  ]
> Setting network parameters:                                     [  OK  ]
> Bringing up loopback interface:                                 [  OK  ]
> Bringing up interface eth0:                                     [  OK  ]
> [EMAIL PROTECTED] bgmilne]# grep -i hostname
> /etc/sysconfig/network-scripts/ifcfg-eth0
> NEEDHOSTNAME=yes
> DHCP_HOSTNAME=bgmilne-tp
> [EMAIL PROTECTED] bgmilne]# cat /etc/dhclient-eth0.conf
> send host-name "bgmilne-tp";  # temporary ifup addition
>
> The scripts fdo it for you.
>
> Now I just need to see why our dhcp server isn't updating dns ...
>
> You will notice:
> [EMAIL PROTECTED] bgmilne]# hostname
> localhost
>
> hostname is not set, whereas I want it to be what I get from dhcp ...
>

Note that 1583 is closed, I can't confirm it, I can only validate it, so
 instead I confirmed 2585 which is a better description of the bug
(zeroconf hostname not being set as the hostname).

Regards,
Buchan

- --
|--------------Another happy Mandrake Club member--------------|
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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+aLOlrJK6UGDSBKcRAtTNAKC5UefxsZgUQs28t7UsIvLMZYhP8ACfb+ts
DTkRiIKrNXze9gQYnjdWdIY=
=uzJy
-----END PGP SIGNATURE-----


Reply via email to