DHCPcd, pump ou dhclient. dhcpd -d ethX DHCP="yes"
FIXME
# #
Editer le fichier /etc/rc.config :
# # network device names (e.g. "eth0") # NETDEV_0="eth0" # # parameteres for ifconfig, simply enter "bootp" or "dhcpclient" to use the # respective service for configuration # sample entry for ethernet: # IFCONFIG_0="dhcpclient"
et lancer la commande SuSEconfig pour que ces modifications soient prisent en compte.
Le fichier /etc/rc.d/rc.inet1 effectue la configuration de base du réseau, et il y modifier la variable DHCP :
# To use DHCP instead of a static IP, set this value to "yes": DHCP="yes" # Use DHCP ("yes" or "no")
Relancer ce script :
# /etc/rc.d/rc.inet1 #
Editer le fichier /etc/dhcpc/config :
# List here the interface that the dhcpcd daemon should use. # The default is to assign an IP address to eth0. # If you want to disable the daemon, enter "none" here. IFACE=eth0 # Add options here, examples are: # OPTIONS='-h "foo"' set hostname (needed by some cablemodem providers) # OPTIONS='-l 12345' set leasetime OPTIONS=''
La variable IFACE contient l'interface sur laquelle démarrer dhcpcd, et la variable OPTIONS à spécifier des options à passer à dhcpcd.