/etc/sysconfig/network
file to enable networking and the configuration file for each network device in the /etc/sysconfig/network-scripts
directory. In this directory, each device should have a configuration file named ifcfg-eth0
, where eth0
is the network device name.
/etc/sysconfig/network
file should contain the following line:
NETWORKING=yes
NETWORKING
variable must be set to yes
if you want networking to start at boot time.
/etc/sysconfig/network-scripts/ifcfg-eth0
file should contain the following lines:
DEVICE=eth0 BOOTPROTO=dhcp ONBOOT=yes
DHCP_HOSTNAME
— Only use this option if the DHCP server requires the client to specify a hostname before receiving an IP address. (The DHCP server daemon in Fedora does not support this feature.)
PEERDNS=<answer>
, where <answer>
is one of the following:
yes
— Modify /etc/resolv.conf
with information from the server. If using DHCP, then yes
is the default.
no
— Do not modify /etc/resolv.conf
.
SRCADDR=<address>
, where <address>
is the specified source IP address for outgoing packets.
USERCTL=<answer>
, where <answer>
is one of the following:
yes
— Non-root users are allowed to control this device.
no
— Non-root users are not allowed to control this device.
dhclient
and dhclient.conf
man pages.
[8] Kudzu is a hardware probing tool run at system boot time to determine what hardware has been added or removed from the system.