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

# Creating the /etc/sysconfig/network file

Create a new file `/etc/sysconfig/network` and put the hostname in it by running:

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

Replace "lfs" by the name you wish to call your computer. Please not that you 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 bootscript | Up | Creating the /etc/hosts file