Linux From Scratch
Prev | Chapter 9. Setting up basic networking | Next

# Creating the /etc/sysconfig/network file

A new file `/etc/sysconfig/network` is created and the hostname is put in it by running:

> `echo "HOSTNAME=lfs" > /etc/sysconfig/network`

"lfs" needs to be replaced by the name the computer is to be called. A user should not enter the FQDN (Fully Qualified Domain Name) here. That information will be put in the `/etc/hosts` file later.

Prev | Home | Next
Creating the /etc/init.d/localnet boot script | Up | Creating the /etc/hosts file