tommaso@tommaso-desktop:~$ sudo /etc/init.d/networking restart
Password:
* Reconfiguring network interfaces...
eth1: ERROR while getting interface flags: No such device
There is already a pid file /var/run/dhclient.eth1.pid with pid 134993416
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
SIOCSIFADDR: No such device
eth1: ERROR while getting interface flags: No such device
eth1: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
Failed to bring up eth1.
eth2: ERROR while getting interface flags: No such device
There is already a pid file /var/run/dhclient.eth2.pid with pid 134993416
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
SIOCSIFADDR: No such device
eth2: ERROR while getting interface flags: No such device
eth2: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
Failed to bring up eth2.
ath0: ERROR while getting interface flags: No such device
There is already a pid file /var/run/dhclient.ath0.pid with pid 134993416
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
SIOCSIFADDR: No such device
ath0: ERROR while getting interface flags: No such device
ath0: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
Failed to bring up ath0.
wlan0: ERROR while getting interface flags: No such device
There is already a pid file /var/run/dhclient.wlan0.pid with pid 134993416
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
SIOCSIFADDR: No such device
wlan0: ERROR while getting interface flags: No such device
wlan0: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
Failed to bring up wlan0.
[ OK ]
tommaso@tommaso-desktop:~$ ip route
192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.30
169.254.0.0/16 dev eth0 scope link metric 1000
default via 192.168.0.1 dev eth0
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
address 192.168.0.30
netmask 255.255.255.0
gateway 192.168.100.1
auto eth1
iface eth1 inet dhcp
auto eth2
iface eth2 inet dhcp
auto ath0
iface ath0 inet dhcp
auto wlan0
iface wlan0 inet dhcp
ringrazio da ora chi mi aiuterà a risolvere questo problema!
Aggiungo...leva dalle interfaces tutte le schede che danno errori alla partenza (dal tuo log sembra che debba esserci solo la eth0) quindi il /etc/network/interfaces dovrebbe divenire
Allora...ho cercato in giro ma non ho trovato molto, per ora...però ti posso dare un link esterno che spipega come si rimuovono gli indirizzi ipv6, così puoi fare i test "al volo"...
In Ubuntu all’installazione del sistema viene abilitato di default il protocollo di rete ipv6.
Allo stato attuale questo protocollo è ancora inutile, se non addirittura fastidioso in determinate circostanze:
ad esempio la rete può risultare lenta, o addirittura completamente inutilizzabile se il vostro router è abilitato per il solo ipv4.
A meno di richieste particolari (che se non conoscete, non avete!), potete disabilitare questo protocollo in tutta sicurezza.
Innanzitutto controlliamo se l’ipv6 è attualmente abilitato con il seguente comando:
$: ip a | grep inet6
se il comando non restituisce nulla il protocollo è già disabilitato altrimenti procedete andando ad editare il file “aliases” con questo comando:
$: sudo gedit /etc/modprobe.d/aliases
Nel file che si apre scovate la riga:
alias net-pf-10 ipv6
e sostituitela con queste due:
alias net-pf-10 off ipv6
alias ipv6 off
Salvate e chiudete il file.
Ora non ci resta che evitare il caricamento del modulo ipv6 ad ogni avvio. Diamo il seguente comando:
sudo gedit /etc/modprobe.d/blacklist
ed aggiungiamo questa riga in fondo al file:
blacklist ipv6
Ora un riavvio è necessario e sufficiente per completare l’opera.