ifconfig
lo Link encap:Loopback locale
indirizzo inet:127.0.0.1 Maschera:255.0.0.0
indirizzo inet6: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:76 errors:0 dropped:0 overruns:0 frame:0
TX packets:76 errors:0 dropped:0 overruns:0 carrier:0
collisioni:0 txqueuelen:0
Byte RX:19869 (19.8 KB) Byte TX:19869 (19.8 KB)
ifconfig eth0 up
SIOCSIFFLAGS: Permesso negato
sudo ifconfig eth0 up
pandolfino@pandolfino-desktop:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:13:8f:51:a7:6a
indirizzo inet:192.168.1.2 Bcast:192.168.1.255 Maschera:255.255.255.0
indirizzo inet6: fe80::213:8fff:fe51:a76a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7 errors:0 dropped:0 overruns:0 frame:0
TX packets:22 errors:0 dropped:0 overruns:0 carrier:0
collisioni:0 txqueuelen:1000
Byte RX:1330 (1.3 KB) Byte TX:4937 (4.9 KB)
Interrupt:23 Indirizzo base:0xec00
lo Link encap:Loopback locale
indirizzo inet:127.0.0.1 Maschera:255.0.0.0
indirizzo inet6: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:92 errors:0 dropped:0 overruns:0 frame:0
TX packets:92 errors:0 dropped:0 overruns:0 carrier:0
collisioni:0 txqueuelen:0
Byte RX:21149 (21.1 KB) Byte TX:21149 (21.1 KB)
mi sa che ho risolto!
una domanda , se avessi usato sudo dhclient eth0 up cosa sarebbe cambiato?