Un saluto a tutti.
Questo il mio problema: ho un router speedTouch fornito da Tiscali.
Partendo da una configurazione del pc in dhcp non ho probemi , navigo e tutto funziona.
Se ora voglio assegnare al mio pc un IP statico, di seguito allego il mio /etc/network/interfaces modificato
# 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
auto eth0
iface eth0 inet static
address 192.168.1.11
netmask 255.255.255.0
gateway 192.168.1.254
broadcast 192.168.1.255
riavvio il servizio:
/etc/init.d/networking stop && /etc/init.d/networking restart
e tutto funziona. Il problema viene ora: se spengo e riaccendo il pc succede che mi viene assegnato correttamente l'IP statico:
debBox:/home/simone# ifconfig
eth0 Link encap:Ethernet HWaddr 00:11:25:5d:5f:15
inet addr:192.168.1.11 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::211:25ff:fe5d:5f15/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:34 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:180 (180.0 B) TX bytes:6042 (5.9 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:94 errors:0 dropped:0 overruns:0 frame:0
TX packets:94 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:7176 (7.0 KiB) TX bytes:7176 (7.0 KiB)
ma NON riesco a navigare.
Modificando tutto per il dhcp torna tutto a funzionare.
Sostanzialmente il problema ce l'ho al riavvio del pc. Qualche idea?
Grazie CIAO!