|
setup.network configures your hostname, host ip adresses and DNS.
root@binki # setup.network
01. Enter hostname
02. Select "DHCP" for DHCP network
(no need for domain/ip/host config) or
Select "static ip" for domain/ip/host config
03. If you chose "static ip" configuration
Enter your fully qualified domain name
(leave blank if you don't have/need one)
04. Enter your IP
05. Enter your Primary and Secondary DNS
(both can be either IP or host)
setup.network modifies 2 files
root@binki # cat /etc/hosts
127.0.0.1 localhost
192.168.1.1 binki binki.example.org
root@binki # cat /etc/resolv.conf
search example.org
nameserver 192.168.1.240
nameserver dns2.example.org
You can adjust these files later with any text editor
if you are not satisfied with setup.
Warning:
/etc/resolv.conf will be overwritten by any dhcp clients
|