[PLUTO-help] problemi di rete con il portatile
krik a interfree.it
krik a interfree.it
Mar 17 Apr 2007 09:45:00 CEST
Ciao a tutti,
sono nuovo in lista e vi scrivo per chiedere aiuto per un problema che ho
con il portatile e la rete di casa.
Dunque: ho un portatile con debian testing e mi succede che se lo accendo
attaccato alla rete mi vede la rete senza problemi, mentre se lo accendo
staccato dalla rete e lo attacco dopo averlo acceso (e dopo essermi loggato)
non riesco a vedere la rete. Ho provato a fare varie operazioni come:
#
/etc/init.d/networking restart
#
ifconfig eth1 down
#
ifconfig eth0 down
ifconfig eth0 up
e combinazioni varie dei precedenti, ma non c'e' verso. Non so se il problema
abbia a che fare con il fatto che dmesg (quando faccio il boot senza rete) ad
un certo punto mi dice
r8169: eth0: link down
ADDRCONF(NETDEV_UP): eth0: link is not ready
Di seguito vi riporto l'esito di alcuni comandi fatti nelle due situazioni
-boot con rete attacata- e -boot senza rete-.
Vorrei anche chiedervi:
- la mia interfaccia eth1 che interfaccia e'? wireless, bluetooth, firewire?
bho!
Grazie a tutti, Mirko.
----------------------------------------------------------------------------------
# boot con rete
ifconfig
eth0 Link encap:Ethernet HWaddr 00:18:F3:3A:A3:E4
inet addr:10.0.0.7 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::218:f3ff:fe3a:a3e4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9 errors:0 dropped:0 overruns:0 frame:0
TX packets:49 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1096 (1.0 KiB) TX bytes:5272 (5.1 KiB)
Interrupt:169 Base address:0xa000
eth1 Link encap:UNSPEC HWaddr
00-E0-18-00-03-6A-FF-8E-00-00-00-00-00-00-00-00
inet addr:10.0.0.8 Bcast:10.0.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:2157 (2.1 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:48 errors:0 dropped:0 overruns:0 frame:0
TX packets:48 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3328 (3.2 KiB) TX bytes:3328 (3.2 KiB)
vmnet1 Link encap:Ethernet HWaddr 00:50:56:C0:00:01
inet addr:192.168.181.1 Bcast:192.168.181.255 Mask:255.255.255.0
inet6 addr: fe80::250:56ff:fec0:1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
vmnet8 Link encap:Ethernet HWaddr 00:50:56:C0:00:08
inet addr:172.16.116.1 Bcast:172.16.116.255 Mask:255.255.255.0
inet6 addr: fe80::250:56ff:fec0:8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
----------------------------------------------------------------------------------
# boot con rete
ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:18:F3:3A:A3:E4
inet addr:10.0.0.7 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::218:f3ff:fe3a:a3e4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9 errors:0 dropped:0 overruns:0 frame:0
TX packets:49 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1096 (1.0 KiB) TX bytes:5272 (5.1 KiB)
Interrupt:169 Base address:0xa000
eth1 Link encap:UNSPEC HWaddr
00-E0-18-00-03-6A-FF-8E-00-00-00-00-00-00-00-00
inet addr:10.0.0.8 Bcast:10.0.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:2157 (2.1 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:48 errors:0 dropped:0 overruns:0 frame:0
TX packets:48 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3328 (3.2 KiB) TX bytes:3328 (3.2 KiB)
sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
vmnet1 Link encap:Ethernet HWaddr 00:50:56:C0:00:01
inet addr:192.168.181.1 Bcast:192.168.181.255 Mask:255.255.255.0
inet6 addr: fe80::250:56ff:fec0:1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
vmnet8 Link encap:Ethernet HWaddr 00:50:56:C0:00:08
inet addr:172.16.116.1 Bcast:172.16.116.255 Mask:255.255.255.0
inet6 addr: fe80::250:56ff:fec0:8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
----------------------------------------------------------------------------------
# boot senza rete
ifconfig
eth0 Link encap:Ethernet HWaddr 00:18:F3:3A:A3:E4
inet addr:10.0.0.7 Bcast:10.0.0.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:169 Base address:0xa000
eth1 Link encap:UNSPEC HWaddr
00-E0-18-00-03-6A-FF-8E-00-00-00-00-00-00-00-00
inet addr:10.0.0.8 Bcast:10.0.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:2265 (2.2 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:67 errors:0 dropped:0 overruns:0 frame:0
TX packets:67 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4986 (4.8 KiB) TX bytes:4986 (4.8 KiB)
vmnet1 Link encap:Ethernet HWaddr 00:50:56:C0:00:01
inet addr:192.168.181.1 Bcast:192.168.181.255 Mask:255.255.255.0
inet6 addr: fe80::250:56ff:fec0:1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
vmnet8 Link encap:Ethernet HWaddr 00:50:56:C0:00:08
inet addr:172.16.116.1 Bcast:172.16.116.255 Mask:255.255.255.0
inet6 addr: fe80::250:56ff:fec0:8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
----------------------------------------------------------------------------------
# boot senza rete
ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:18:F3:3A:A3:E4
inet addr:10.0.0.7 Bcast:10.0.0.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:169 Base address:0xa000
eth1 Link encap:UNSPEC HWaddr
00-E0-18-00-03-6A-FF-8E-00-00-00-00-00-00-00-00
inet addr:10.0.0.8 Bcast:10.0.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:2265 (2.2 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:67 errors:0 dropped:0 overruns:0 frame:0
TX packets:67 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4986 (4.8 KiB) TX bytes:4986 (4.8 KiB)
sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
vmnet1 Link encap:Ethernet HWaddr 00:50:56:C0:00:01
inet addr:192.168.181.1 Bcast:192.168.181.255 Mask:255.255.255.0
inet6 addr: fe80::250:56ff:fec0:1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
vmnet8 Link encap:Ethernet HWaddr 00:50:56:C0:00:08
inet addr:172.16.116.1 Bcast:172.16.116.255 Mask:255.255.255.0
inet6 addr: fe80::250:56ff:fec0:8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
----------------------------------------------------------------------------------
# boot con rete
route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
172.16.116.0 * 255.255.255.0 U 0 0 0 vmnet8
localnet * 255.255.255.0 U 0 0 0 eth0
localnet * 255.255.255.0 U 0 0 0 eth1
192.168.181.0 * 255.255.255.0 U 0 0 0 vmnet1
default 10.0.0.2 0.0.0.0 UG 0 0 0 eth1
default 10.0.0.2 0.0.0.0 UG 0 0 0 eth0
----------------------------------------------------------------------------------
# boot senza rete
route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
172.16.116.0 * 255.255.255.0 U 0 0 0 vmnet8
localnet * 255.255.255.0 U 0 0 0 eth0
localnet * 255.255.255.0 U 0 0 0 eth1
192.168.181.0 * 255.255.255.0 U 0 0 0 vmnet1
default 10.0.0.2 0.0.0.0 UG 0 0 0 eth1
default 10.0.0.2 0.0.0.0 UG 0 0 0 eth0
----------------------------------------------------------------------------------
$ boot con rete
ping 10.0.0.6
PING 10.0.0.6 (10.0.0.6) 56(84) bytes of data.
64 bytes from 10.0.0.6: icmp_seq=1 ttl=64 time=6.26 ms
64 bytes from 10.0.0.6: icmp_seq=2 ttl=64 time=0.158 ms
64 bytes from 10.0.0.6: icmp_seq=3 ttl=64 time=0.159 ms
--- 10.0.0.6 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 0.158/2.193/6.262/2.877 ms
----------------------------------------------------------------------------------
$ boot senza rete
ping 10.0.0.6
PING 10.0.0.6 (10.0.0.6) 56(84) bytes of data.
From 10.0.0.7 icmp_seq=1 Destination Host Unreachable
From 10.0.0.7 icmp_seq=2 Destination Host Unreachable
From 10.0.0.7 icmp_seq=3 Destination Host Unreachable
--- 10.0.0.6 ping statistics ---
6 packets transmitted, 0 received, +3 errors, 100% packet loss, time 5016ms
, pipe 4
----------------------------------------------------------------------------------
$ boot con rete
dmesg | grep eth
eth0: RTL8168b/8111b at 0xffffc2000003a000, 00:18:f3:3a:a3:e4, IRQ 169
eth1394: eth1: IEEE-1394 IPv4 over 1394 Ethernet (fw-host0)
r8169: eth0: link up
r8169: eth0: link up
eth0: no IPv6 routers present
bridge-eth0: enabling the bridge
bridge-eth0: up
bridge-eth0: already up
bridge-eth0: attached
----------------------------------------------------------------------------------
$ boot senza rete
dmesg | grep eth
eth0: RTL8168b/8111b at 0xffffc2000003a000, 00:18:f3:3a:a3:e4, IRQ 169
eth1394: eth1: IEEE-1394 IPv4 over 1394 Ethernet (fw-host0)
r8169: eth0: link down
ADDRCONF(NETDEV_UP): eth0: link is not ready
bridge-eth0: enabling the bridge
bridge-eth0: up
bridge-eth0: already up
bridge-eth0: attached
----------------------------------------------------------------------------------
#
cat /etc/network/interfaces
# 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 eth0
iface eth0 inet static
address 10.0.0.7
netmask 255.255.255.0
network 10.0.0.0
broadcast 10.0.0.255
gateway 10.0.0.2
iface eth1 inet static
address 10.0.0.8
netmask 255.255.255.0
gateway 10.0.0.2
auto eth0
auto eth1
More information about the pluto-help
mailing list