19/08/2020, 10:16 
		
	
	
		Buongiorno a tutti
E' la mia prima esperienza con una raspberry pi, ma ho molta dimestichezza con linux e debian.
ieri ho ricevuto la mia pi 4 b, ho installato raspbian ed abilitato ssh e vnc
mi sono collegato in remoto ed ho aggiornato il sistema
quindi ho installato raspap con tutte le opzioni di default.
la pi e' collegata tramite cavo ethernet al mio router e vorrei usarla come access point wifi.
posso collegarmi alla nuova rete wifi creata e posso usarla per navigare senza problemi, ottimo.
tuttavia la pi non ha accesso ad internet... pingo 8.8.8.8 ma non non risolvo repubblica.it, per esempio
immagino che il problema sia nel file resolv.conf, ma anche se lo edito a mano non riesco a navigare.
inoltre viene riscritto automaticament al riavvio con dei valori non corretti :/
qualche consiglio??
Grazie
Luca
	
	
	
	
E' la mia prima esperienza con una raspberry pi, ma ho molta dimestichezza con linux e debian.
ieri ho ricevuto la mia pi 4 b, ho installato raspbian ed abilitato ssh e vnc
mi sono collegato in remoto ed ho aggiornato il sistema
quindi ho installato raspap con tutte le opzioni di default.
la pi e' collegata tramite cavo ethernet al mio router e vorrei usarla come access point wifi.
posso collegarmi alla nuova rete wifi creata e posso usarla per navigare senza problemi, ottimo.
tuttavia la pi non ha accesso ad internet... pingo 8.8.8.8 ma non non risolvo repubblica.it, per esempio
Codice:
pi@raspberrypi:~ $ ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.102  netmask 255.255.255.0  broadcast 192.168.1.255
        ether dc:a6:32:5f:ef:84  txqueuelen 1000  (Ethernet)
        RX packets 7304  bytes 712810 (696.1 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 8900  bytes 5895040 (5.6 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 6795  bytes 1040217 (1015.8 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 6795  bytes 1040217 (1015.8 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
tun0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1500
        inet 10.11.0.138  netmask 255.255.255.255  destination 10.11.0.137
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 100  (UNSPEC)
        RX packets 90  bytes 27016 (26.3 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 251  bytes 27879 (27.2 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.3.141.1  netmask 255.255.255.0  broadcast 10.3.141.255
        ether dc:a6:32:5f:ef:85  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 47  bytes 6037 (5.8 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
pi@raspberrypi:~ $Codice:
pi@raspberrypi:~ $ ip route
0.0.0.0/1 via 10.11.0.137 dev tun0
default via 192.168.1.1 dev eth0 proto dhcp src 192.168.1.102 metric 202
10.0.0.0/8 via 192.168.1.1 dev eth0
10.3.141.0/24 dev wlan0 proto dhcp scope link src 10.3.141.1 metric 303
10.11.0.1 via 10.11.0.137 dev tun0
10.11.0.137 dev tun0 proto kernel scope link src 10.11.0.138
45.56.183.12 via 192.168.1.1 dev eth0
128.0.0.0/1 via 10.11.0.137 dev tun0
172.16.0.0/12 via 192.168.1.1 dev eth0
192.168.0.0/16 via 192.168.1.1 dev eth0
192.168.1.0/24 dev eth0 proto dhcp scope link src 192.168.1.102 metric 202
pi@raspberrypi:~ $Codice:
pi@raspberrypi:~ $ cat /etc/resolv.conf
# Generated by resolvconf
domain home
nameserver 127.0.0.1
pi@raspberrypi:~ $Codice:
pi@raspberrypi:~ $ cat /etc/resolvconf.conf
# Configuration for resolvconf(8)
# See resolvconf.conf(5) for details
resolv_conf=/etc/resolv.conf
# If you run a local name server, you should uncomment the below line and
# configure your subscribers configuration files below.
name_servers=8.8.8.8
# Mirror the Debian package defaults for the below resolvers
# so that resolvconf integrates seemlessly.
dnsmasq_resolv=/var/run/dnsmasq/resolv.conf
pdnsd_conf=/etc/pdnsd.conf
unbound_conf=/var/cache/unbound/resolvconf_resolvers.conf
pi@raspberrypi:~ $immagino che il problema sia nel file resolv.conf, ma anche se lo edito a mano non riesco a navigare.
inoltre viene riscritto automaticament al riavvio con dei valori non corretti :/
qualche consiglio??
Grazie
Luca

![[-] [-]](https://forum.raspberryitaly.com/images/square/collapse.png)

 

 Facebook
  Facebook
			 Twitter
  Twitter
			 Google +
  Google +
				 Youtube
  Youtube
			 Telegram
  Telegram