Necessitei alterar vários dados de um laboratório de informática com 50 máquinas com Linux educacional 3.0 (LE3), resolvi anotar a sequência p não esquecer de nada, e claro, ajudar alguem na mesma situação que a minha.
RESOLV.CONF
===========
vim /etc/resolv.conf
nameserver 192.168.40.254
domain polo.uab
HOSTS
=====
vim /etc/hosts
127.0.0.1 localhost
127.0.1.1 lab1-maq36
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
HOSTNAME
========
vim /etc/hostname
lab1-maq36
INTERFACES
==========
RESOLV.CONF
===========
vim /etc/resolv.conf
nameserver 192.168.40.254
domain polo.uab
HOSTS
=====
vim /etc/hosts
127.0.0.1 localhost
127.0.1.1 lab1-maq36
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
HOSTNAME
========
vim /etc/hostname
lab1-maq36
INTERFACES
==========
vim /etc/network/interfaces
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0
### REDE WIRELESS
# auto wlan0
# iface wlan0 inet dhcp
# wpa-driver wext
# wpa-conf /etc/wpa_supplicant.conf
auto eth0
iface eth0 inet static
address 192.168.40.36
netmask 255.255.255.0
gateway 192.168.40.254
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0
### REDE WIRELESS
# auto wlan0
# iface wlan0 inet dhcp
# wpa-driver wext
# wpa-conf /etc/wpa_supplicant.conf
auto eth0
iface eth0 inet static
address 192.168.40.36
netmask 255.255.255.0
gateway 192.168.40.254
Nenhum comentário:
Postar um comentário