[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

raspberry & wifi



buona sera, lista!
problema piccolo, mail lunga. Me ne scuso...

Da un po' ho una raspberry (rev. B).
Installata raspbian e collegata alla tv via hdmi. Tutto ok.

Ho comprato un dongle wifi tra quelli consigliati e compatibile:
> ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless
> Adapter [Realtek RTL8188CUS]
e l'ho installato con relativo firmware.

tutto funziona, ma non navigo, cioè vedo _solo_ la rete interna: è
minimamente sufficiente perché vedo il nas... ma non è quello che può (e
deve) fare.

Non riesco a capire dove ho sbagliato...

se pingo il router nessun problema:
> ping 192.168.1.1
> PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
> 64 bytes from 192.168.1.1: icmp_req=1 ttl=255 time=1.71 ms
> 64 bytes from 192.168.1.1: icmp_req=2 ttl=255 time=1.91 ms
> 64 bytes from 192.168.1.1: icmp_req=3 ttl=255 time=1.73 ms
> 64 bytes from 192.168.1.1: icmp_req=4 ttl=255 time=1.91 ms
> 64 bytes from 192.168.1.1: icmp_req=5 ttl=255 time=1.92 ms
> 64 bytes from 192.168.1.1: icmp_req=6 ttl=255 time=1.67 ms
> ^C
> --- 192.168.1.1 ping statistics ---
> 6 packets transmitted, 6 received, 0% packet loss, time 5006ms
> rtt min/avg/max/mdev = 1.678/1.814/1.929/0.121 ms

ma se pingo l'esterno niente...
> ping google.com
> connect: Network is unreachable

> apt-get update
> Err http://archive.raspberrypi.org wheezy Release.gpg
>   Impossibile iniziare la connessione a archive.raspberrypi.org:80
> (93.93.128.211). - connect (101: La rete non è raggiungibile) [IP:
> 93.93.128.211 80]
infatti
> ping 93.93.128.211
> connect: Network is unreachable
[e da altro pc, stessa rete, nessun problema a pingare quell'IP né a
navigare...]
Anche se sono su adsl alice non è un problema di DNS: se collego il cavo
ethernet il raspberry esce tranquillamente...

cos'altro posso controllare per sistemare?

Mario

Allego, preventivamente, i file di configurazione...


interfaces:
> cat /etc/network/interfaces
> auto lo
>
> iface lo inet loopback
>
> #iface eth0 inet dhcp
>
> auto eth0
> allow-hotplug eth0
> iface eth0 inet static
>         address 192.168.1.90
>         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
>         dns-search casa
>
> auto wlan0
> allow-hotplug wlan0
> iface wlan0 inet static
>         wpa-ssid "**********"
>         wpa-psk *********
>         address 192.168.1.91
>         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
>         dns-search casa


ifconfig:
> eth0      Link encap:Ethernet  HWaddr b8:27:*********
>           UP BROADCAST MULTICAST  MTU:1500  Metric:1
>           RX packets:15506 errors:0 dropped:1 overruns:0 frame:0
>           TX packets:11840 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:1820259 (1.7 MiB)  TX bytes:1372599 (1.3 MiB)
>
> lo        Link encap:Local Loopback  
>
>
> wlan0     Link encap:Ethernet  HWaddr 80:************** 
>           inet addr:192.168.1.91  Bcast:192.168.1.255  Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:1309426 errors:0 dropped:16472 overruns:0 frame:0
>           TX packets:390146 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:1138118820 (1.0 GiB)  TX bytes:38904795 (37.1 MiB)

iwconfig
> wlan0     IEEE 802.11bg  ESSID:"************"  Nickname:"<WIFI@REALTEK>"
>           Mode:Managed  Frequency:2.452 GHz  Access Point:
> 00:**********  
>           Bit Rate:54 Mb/s   Sensitivity:0/0  
>           Retry:off   RTS thr:off   Fragment thr:off
>           Encryption key:****-****-****-****-****-****-****-****  
> Security mode:open
>           Power Management:off
>           Link Quality=100/100  Signal level=100/100  Noise level=0/100
>           Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
>           Tx excessive retries:0  Invalid misc:0   Missed beacon:0




Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: