Ho questo file /etc/network/interfaces :
- Codice: Seleziona tutto
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth1
iface eth1 inet static
address 192.168.1.3
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 192.168.1.1
iface eth2 inet static
address 192.168.1.3
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
dns-nameservers 192.168.1.1
wireless-essid Reparto_giorno
wireless-mode Manager
wireless-channel 6
wireless-ap 00:12:A9:55:11:43
wireless-key 62D20F769AC17D958E31DF5039D088E1
auto eth1
Ho notato che, all'avvio di Linux, le interfacce eth1 e eth2 si attivano entrambe. Vorrei che una delle due venga, all'avvio, disattivata ma che rimanga comunque configurata in modo che possa usare ifup e ifdown per poterla attivarla o disattivarla quando mi occorre.
GRAZIE
CIAO