[SLE] Dhclient and dynamic Hostname
Hello, I have installed Dhclient with Suse 6.3. I succeeds to retrieve a dynamic IP-address, domain-name and domain-name-servers. But it doesn't retrieve any of host-name nis-domain nis-servers Is Dhclient supposed to yield this info? Does Dhclient expect the host-name directly from the Dhcpd? Can't it retrieve the host-name from Dns or Nis once it knows it's IP-address? Has somebody running Dhcpcd on Suse setting up the hostname dynamically? -Hanspeter -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Here we go again. Dump dhclient and get dhcpcd from rufus.w3.org You will have joy then. dhclient is lame. Hanspeter Roth Bsag wrote:
Hello,
I have installed Dhclient with Suse 6.3. I succeeds to retrieve a dynamic IP-address, domain-name and domain-name-servers. But it doesn't retrieve any of host-name nis-domain nis-servers
Is Dhclient supposed to yield this info? Does Dhclient expect the host-name directly from the Dhcpd? Can't it retrieve the host-name from Dns or Nis once it knows it's IP-address?
Has somebody running Dhcpcd on Suse setting up the hostname dynamically?
-Hanspeter
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- Michael H. Collins http://www.linuxlink.com 512-442-3151 512-656-9508 The Ultimate Window Manager: http://www.xfce.org Do you want FUN with Linux? http://www.austinlug.org http://hebb.cis.uoguelph.ca/~dave/27320/new/unixphil.html -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
"Michael H. Collins" wrote:
Here we go again.
Dump dhclient and get dhcpcd from rufus.w3.org
You will have joy then. dhclient is lame.
What version of dhcpcd is the latest and most stable? dhcpcd-1.3.17p4-0 RPM for i386 or dhcpcd-1.3.17p4-1col RPM for i386 -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
On Tue, Jan 04, 2000 at 09:46:04PM +0200, Michael H. Collins wrote:
Here we go again.
Dump dhclient and get dhcpcd from rufus.w3.org
You will have joy then.
Is Dhcpcd `compatible' with Yast/rc.config? Or do I have to forget Yast after installing Dhcpcd? Has anybody an idea why Suse chose Dhclient rather than Dhcpcd? -Hanspeter -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
On Wed, 5 Jan 2000, Hanspeter Roth Bsag wrote: <-]Date: Wed, 5 Jan 2000 10:55:03 +0200 <-]From: Hanspeter Roth Bsag <roth@bsag.ch> <-]To: "Michael H. Collins" <mhtexcollins@austin.rr.com> <-]Cc: suse-linux-e@suse.com <-]Subject: Re: [SLE] Dhclient and dynamic Hostname <-] <-]On Tue, Jan 04, 2000 at 09:46:04PM +0200, Michael H. Collins wrote: <-]> Here we go again. <-]> <-]> Dump dhclient and get dhcpcd from rufus.w3.org <-]> <-]> You will have joy then. <-] <-]Is Dhcpcd `compatible' with Yast/rc.config? <-]Or do I have to forget Yast after installing Dhcpcd? Basically, dhcpcd is not compatible with Yast/rc.config. But you can change it all by editing /etc/rc.d/dhclient to invoke /sbin/dhcpcd (or whatever it would be called after installed on your system) instead of the "default" dhcp client during the boot procedures... There are 3 lines to be modified: line 59: startproc -q /sbin/dhcpcd $NETDEV || return=$rc_failed line 65: killproc -TERM /sbin/dhcpcd || return=$rc_failed line 76: checkproc /sbin/dhcpcd && echo OK || echo No process You shouldn't have any problem with the dhcp client anymore.... From previous discussions, you could also try to invoke dhcpcd directly from /etc/rc/d/boot.local. Didn't work for me though.... <-] <-]Has anybody an idea why Suse chose Dhclient rather than Dhcpcd? Well, that's what we've been wondering for months now.... who knows?? But they've probably been advised of this problem. ciao ________________ Nicolas Beaulieu Economics Department, Universite Laval Centre de Recherches en Economie et Finances Appliquees (CREFA) Quebec, Canada 418-626-5033 _________________ http://www.penguinpowered.com/~montesquieu montesquieu@penguinpowered.com ICQ 15933500 ---> http://www.ccfa.org <--- ---> http://www.ccfc.ca <--- _________________ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
On Wed, Jan 05, 2000 at 11:52:01AM +0200, Nicolas Beaulieu wrote:
On Wed, 5 Jan 2000, Hanspeter Roth Bsag wrote:
<-]Date: Wed, 5 Jan 2000 10:55:03 +0200 <-]From: Hanspeter Roth Bsag <roth@bsag.ch> <-]To: "Michael H. Collins" <mhtexcollins@austin.rr.com> <-]Cc: suse-linux-e@suse.com <-]Subject: Re: [SLE] Dhclient and dynamic Hostname <-] <-]On Tue, Jan 04, 2000 at 09:46:04PM +0200, Michael H. Collins wrote: <-]> Here we go again. <-]> <-]> Dump dhclient and get dhcpcd from rufus.w3.org
I got dhcpcd-1.3.17pl5-2.i386.rpm from Redhat and http://www.phystech.com/download/dhcpcd-1.3.18-pl3.tar.gz. Is there a specific one on rufus.w3.org which is to be preferred for Suse 6.3?
<-]> <-]> You will have joy then.
I managed to build and run the one from Phystech. It put the Nisdomain into /etc/resolv.conf. (The Mandrake version dosen't do this.) It runs now with -H -R. But it still doesn't set the hostname! Are there some more considarations to run Dhcpcd on Suse 6.3? [...]
change it all by editing /etc/rc.d/dhclient to invoke /sbin/dhcpcd (or whatever it would be called after installed on your system) instead of the "default" dhcp client during the boot procedures... There are 3 lines to be modified:
line 59: startproc -q /sbin/dhcpcd $NETDEV || return=$rc_failed line 65: killproc -TERM /sbin/dhcpcd || return=$rc_failed line 76: checkproc /sbin/dhcpcd && echo OK || echo No process
These are 63, 68 and 79 in my /etc/rc.d/dhclient.
You shouldn't have any problem with the dhcp client anymore.... From previous discussions, you could also try to invoke dhcpcd directly from /etc/rc/d/boot.local. Didn't work for me though....
I think the /etc/rc.d/dhclient patch is better since it allows `init 1'. -Hanspeter <HR> <UL> <LI>text/plain attachment: hclient_ </UL> -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Hanspeter Roth Bsag wrote:
Hello,
I have installed Dhclient with Suse 6.3. I succeeds to retrieve a dynamic IP-address, domain-name and domain-name-servers. But it doesn't retrieve any of host-name nis-domain nis-servers
The stock conf file asks for hostname. Just check /etc/dhclient.conf. Nick -- -------------------------------------------------- Nick Zentena "Microsoft has unjustifiably jeopardized the stability and security of the operating system." U.S. District Judge Thomas Penfield Jackson Nov 5/1999 -------------------------------------------------- -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (5)
-
activex1@one.net
-
mhtexcollins@austin.rr.com
-
nbea@ecn.ulaval.ca
-
roth@bsag.ch
-
zentena@hophead.dyndns.org