SuSE GmbH

SuSE Support Database

Title: DHCP will not engage / disengage

----------

Mainpage o Searchform o History o Versions o Categories o Contents

----------

DHCP will not engage / disengage

Applies to

SuSE Linux: Version 6.3

Symptom:

This problem can manifest in one of two ways.

  1. You are trying to use DHCP as a client. You enabled the AUTO-IP feature in YaST under System administration -> Network administration -> Network base configuration by pressing the F3 key on your keyboard. However, the interface is never set up, and the dhclient does not seem to run.

  2. You are trying to use normal networking. You can connect to other machines by name, but not by IP address. You know you are connecting normally with your network or provider. Your troubleshooting finds that the file /etc/resolv.conf is either missing or out-of-date.

Cause:

In 6.3, YaST can enable DHCP on an interface by interface basis, but it does not generally enable or disable the DHCP client. This causes the above symptoms in the following ways.

  1. You installed using Yast2 - the graphical installer - or during your Yast1 install you selected you did not want DHCP. As a result, the value of DHCLIENT is set to "no" in your /etc/rc.config file. SuSE checks this value before starting the client, and thus does not start it.

  2. You installed using Yast1, and selected you did want DHCP. Since DHCLIENT is enabled in the /etc/rc.config file, SuSEconfig will correctly skip creating your /etc/resolv.conf file. Even if you disable the obvious DHCP interfaces in Yast, this variable will remain.

Solution:

You may use YaST or a text editor to change the variable. In YaST, select System administration -> Change configuration file -> DHCLIENT and press F3 for Change Value. If you choose to use a text editor, open the file /etc/rc.config and change the line which reads

DHCLIENT="yes"

or

DHCLIENT="no"

.

If you are trying to use DHCP, be sure it is set to yes. If you are not in a DHCP environment, be sure to set it to no.

----------

See also:

----------

Keywords: DHCP, CLIENT, BOOTP, RESOLV.CONF, RESOLVE NAMES

----------

Categories: DHCP

----------

Mainpage o Searchform o History o Versions o Categories o Contents

----------

SDB-jrodman_dhcp63, Copyright SuSE GmbH, Nuremberg, Germany - Version: 09. Dec 1999
SuSE GmbH - Last generated: 09. Dec 1999 02:36:58 by jrodman with sdb_gen 1.00.0