Andiamo con ordine
se cambio
iface wlan0 inet dhcp
nn mi vede la WIFI in HDMI
devo lasciare
iface wlan0 inet manual
Altra cosa il comando cat mi fà soltanto leggere
per scrivere devo usare sudo
Per il ping ho sbloccato adesso fa ping 104.etc....
non esegue ping
www.rasberrryitaly.com quindi dovrei agire sui DNS, come ha consigliato Zzed, come si fà'
Altro problema nn si collega più in remoto al mac dice:
ssh: connect to host 192.168.1.102 port 22: O
peration timed out
di seguito ecco i risultati di ifconfig e del network interfaces con Rasp in hdmi
ifconfig -a
eth0 Link encap:Ethernet HWaddr b8:27:eb:19:03:cd
inet6 addr: fe80::6a79:5b64:565f:1a07/64 Scope:Link
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)
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:65536 Metric:1
RX packets:272 errors:0 dropped:0 overruns:0 frame:0
TX packets:272 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:22584 (22.0 KiB) TX bytes:22584 (22.0 KiB)
wlan0 Link encap:Ethernet HWaddr b8:27:eb:4c:56:98
inet addr:172.20.10.12 Bcast:172.20.10.15 Mask:255.255.255.240
inet6 addr: fe80::c168:4fa:e5e5:15ba/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6222 errors:0 dropped:24 overruns:0 frame:0
TX packets:4883 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5669300 (5.4 MiB) TX bytes:811637 (792.6 KiB)
con cat /etc/network/interfaces invece
# interfaces(5) file used by ifup(8) and ifdown(8)
# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
auto lo
iface lo inet loopback
iface eth0 inet static
address 192.168.1.102
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
auto wlan0
allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp