Lines beginning with the word "auto" are used to identify the physical interfaces to be brought up when ifup is run with the -a option. (This option is used by the system boot scripts.) Physical interface names should follow the word "auto" on the same line. There can be multiple "auto" stanzas. ifup brings the named interfaces up in the order listed. Lines beginning with "allow-" are used to identify interfaces that should be brought up automatically by various subsytems. This may be done using a command such as "ifup --allow=hotplug eth0 eth1", which will only bring up eth0 or eth1 if it is listed in an "allow-hotplug" line. Note that "allow-auto" and "auto" are synonyms.
Fica a auto eth0, em penso que així et funcionarà.
auto lo eth0
A 2016-09-26 13:47, Narcis Garcia escrigué:
# INICI #
auto lo
iface lo inet loopback
iface eth0 inet static
address 172.16.3.82
netmask 255.255.0.0
network 172.16.0.0
broadcast 172.16.255.255
gateway 172.16.3.1
# FI #
Les dades estan bé, ja que amb un simple «ifup eth0» tot funciona com és
d'esperar (com per exemple navegar)
__________
I'm using this express-made address because personal addresses aren't
masked enough at lists.debian.org archives.
El 26/09/16 a les 13:44, Pere Nubiola Radigales ha escrit:
I les dades del interfaces
El dia 26 set. 2016 13:42, "Narcis Garcia" <debianlists@actiu.net
<mailto:debianlists@actiu.net>> va escriure:
Hola, amb una Debian 8 vull prescindir de NetworkManager i també de
qualsevol altra eina gràfica.
Vull tenir la xarxa configurada de forma tradicional i prou, és a dir,
amb les dades escrites a /etc/network/interfaces i /etc/resolv.conf
He desinstal·lat network-manager* i, tot i haver configurat perfectament
els fitxers esmentats, la xarxa no s'aixeca fins que executo manualment
aquesta comanda:
ifup eth0
Sense haver de fer cap pedaç, hi ha alguna manera de restablir el
l'inici tradicional de xarxa amb l'arrencada de SystemD?
Gràcies.
--
__________
I'm using this express-made address because personal addresses aren't
masked enough at lists.debian.org <http://lists.debian.org> archives.