[Risolto]ubuntu 18.04 internet non funzionante
- thece
- Tenace Tecnocrate

- Messaggi: 13186
- Iscrizione: lunedì 23 aprile 2007, 14:16
- Distribuzione: Debian 12 (Bookworm) - KDE
Re: ubuntu 18.04 internet non funzionante
dai tuoi output, mi sa che non hai letto attentamente cosa ti ho chiesto di fare.
- mann74
- Scoppiettante Seguace

- Messaggi: 319
- Iscrizione: lunedì 9 marzo 2009, 22:50
- Desktop: ubuntustudio
- Distribuzione: ubuntu 20.04.2 LTS
- Località: Mondo/Italia/Bologna/Udine
Re: ubuntu 18.04 internet non funzionante
Ok scusa, ho ripetuto la procedura ti posto l'output dal terminale, devo passarlo da un PC all'altro via chiavetta, ovviamente dato che non va internet nel PC del mio amico....dai tuoi output, mi sa che non hai letto attentamente cosa ti ho chiesto di fare.
Codice: Seleziona tutto
valerio@valerio-System-Product-Name:~$ ping -c 4 192.168.1.4
PING 192.168.1.4 (192.168.1.4) 56(84) bytes of data.
64 bytes from 192.168.1.4: icmp_seq=1 ttl=64 time=0.062 ms
64 bytes from 192.168.1.4: icmp_seq=2 ttl=64 time=0.047 ms
64 bytes from 192.168.1.4: icmp_seq=3 ttl=64 time=0.046 ms
64 bytes from 192.168.1.4: icmp_seq=4 ttl=64 time=0.047 ms
--- 192.168.1.4 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3068ms
rtt min/avg/max/mdev = 0.046/0.050/0.062/0.009 ms
valerio@valerio-System-Product-Name:~$ ping -c 4 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=123 time=50.2 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=123 time=27.8 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=123 time=45.9 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=123 time=30.8 ms
--- 8.8.8.8 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 27.801/38.715/50.280/9.588 ms
valerio@valerio-System-Product-Name:~$ ping -c 4 google.it
ping: google.it: Nome o servizio sconosciuto
valerio@valerio-System-Product-Name:~$ echo -e "nameserver 8.8.8.8\nnameserver 8.8.4.4" | sudo tee /etc/resolv.conf
[sudo] password di valerio:
nameserver 8.8.8.8
nameserver 8.8.4.4
valerio@valerio-System-Product-Name:~$ ping -c 4 192.168.1.4
PING 192.168.1.4 (192.168.1.4) 56(84) bytes of data.
64 bytes from 192.168.1.4: icmp_seq=1 ttl=64 time=0.043 ms
64 bytes from 192.168.1.4: icmp_seq=2 ttl=64 time=0.042 ms
64 bytes from 192.168.1.4: icmp_seq=3 ttl=64 time=0.058 ms
64 bytes from 192.168.1.4: icmp_seq=4 ttl=64 time=0.045 ms
--- 192.168.1.4 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3075ms
rtt min/avg/max/mdev = 0.042/0.047/0.058/0.006 ms
valerio@valerio-System-Product-Name:~$ ping -c 4 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=123 time=70.7 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=123 time=29.1 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=123 time=32.9 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=123 time=46.9 ms
--- 8.8.8.8 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 29.178/44.941/70.738/16.294 ms
valerio@valerio-System-Product-Name:~$ ping -c 4 google.it
PING google.it (216.58.205.35) 56(84) bytes of data.
64 bytes from mil04s24-in-f3.1e100.net (216.58.205.35): icmp_seq=1 ttl=56 time=46.5 ms
64 bytes from mil04s24-in-f3.1e100.net (216.58.205.35): icmp_seq=2 ttl=56 time=30.9 ms
64 bytes from mil04s24-in-f3.1e100.net (216.58.205.35): icmp_seq=3 ttl=56 time=19.8 ms
64 bytes from mil04s24-in-f3.1e100.net (216.58.205.35): icmp_seq=4 ttl=56 time=17.9 ms
--- google.it ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3003ms
rtt min/avg/max/mdev = 17.942/28.839/46.575/11.377 ms
valerio@valerio-System-Product-Name:~$ Codice: Seleziona tutto
valerio@valerio-System-Product-Name:~$ sudo netstat -tulnp | grep systemd-resolve
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 644/systemd-resolve
udp 16192 0 127.0.0.53:53 0.0.0.0:* 644/systemd-resolve
valerio@valerio-System-Product-Name:~$ systemd-resolve --status
Global
DNSSEC NTA: 10.in-addr.arpa
16.172.in-addr.arpa
168.192.in-addr.arpa
17.172.in-addr.arpa
18.172.in-addr.arpa
19.172.in-addr.arpa
20.172.in-addr.arpa
21.172.in-addr.arpa
22.172.in-addr.arpa
23.172.in-addr.arpa
24.172.in-addr.arpa
25.172.in-addr.arpa
26.172.in-addr.arpa
27.172.in-addr.arpa
28.172.in-addr.arpa
29.172.in-addr.arpa
30.172.in-addr.arpa
31.172.in-addr.arpa
corp
d.f.ip6.arpa
home
internal
lines 1-23- thece
- Tenace Tecnocrate

- Messaggi: 13186
- Iscrizione: lunedì 23 aprile 2007, 14:16
- Distribuzione: Debian 12 (Bookworm) - KDE
Re: ubuntu 18.04 internet non funzionante
Non rimane che continuare l'indagine sul malfunzionamento e arrivare ad una soluzione definitiva.
Nel frattempo il tuo amico può usare il workaround per navigare su Internet, la scomodità è che deve ripetere il comando ad ogni riavvio del PC
- mann74
- Scoppiettante Seguace

- Messaggi: 319
- Iscrizione: lunedì 9 marzo 2009, 22:50
- Desktop: ubuntustudio
- Distribuzione: ubuntu 20.04.2 LTS
- Località: Mondo/Italia/Bologna/Udine
Re: ubuntu 18.04 internet non funzionante
Spero possiate darmi una mano risolutiva.
Io resto in ascolto ed eseguirò le istruzioni più o meno al meglio.
Per quello che posso capire il problema è di software, dato che l'hardware funziona sia con Win XP che dopo i tuoi ping, dove posso intervenire, dato che il problema si è manifestato solo dopo l'upgrade di sistema?
Non è che si è solo perso i driver o una stringa di comando?
Ipotizzo da ignorante...
Grazie. L.
- thece
- Tenace Tecnocrate

- Messaggi: 13186
- Iscrizione: lunedì 23 aprile 2007, 14:16
- Distribuzione: Debian 12 (Bookworm) - KDE
Re: ubuntu 18.04 internet non funzionante
Ci proviamo, ma l'indagine potrebbe non essere breve.mann74 [url=https://forum.ubuntu-it.org/viewtopic.php?p=5098188#p5098188][img]https://forum.ubuntu-it.org/images/icons/icona-cita.gif[/img][/url] ha scritto: Grazie, ho visto che internet funzionava, però non posso dargli il PC con le istruzioni da terminale perché è più che un rookie, avrei bisogno di trovare la soluzione e tornargli la macchina a posto.
No, il driver della scheda di rete Ethernet c'è. Vedi tuo output del comando lshw.mann74 [url=https://forum.ubuntu-it.org/viewtopic.php?p=5098188#p5098188][img]https://forum.ubuntu-it.org/images/icons/icona-cita.gif[/img][/url] ha scritto: Non è che si è solo perso i driver o una stringa di comando?
Probabilmente nell'aggiornamento qualche configurazione è andata persa.
Vedo di postarti qualche comando diagnostico, tu nel frattempo aggiorna il PC.
Codice: Seleziona tutto
sudo apt-get update
sudo apt-get dist-upgrade
Posta l'output dei seguenti comandi
Codice: Seleziona tutto
cat /etc/network/interfaces
ls -l /etc/netplan
nmcli
nmcli general
nmcli connection <---<< Corretto
- mann74
- Scoppiettante Seguace

- Messaggi: 319
- Iscrizione: lunedì 9 marzo 2009, 22:50
- Desktop: ubuntustudio
- Distribuzione: ubuntu 20.04.2 LTS
- Località: Mondo/Italia/Bologna/Udine
Re: ubuntu 18.04 internet non funzionante
Codice: Seleziona tutto
valerio@valerio-System-Product-Name:~$ cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
valerio@valerio-System-Product-Name:~$ ls -l /etc/netplan
totale 0
valerio@valerio-System-Product-Name:~$ nmcli
eth0: collegato to Profilo 1
"Realtek RTL810xE PCI Express Fast Ethernet controller"
eth0: collegato to Profilo 1
"Realtek RTL810xE PCI Express Fast Ethernet controller"
ethernet (r8169), 00:22:15:98:DC:46, hw, mtu 1500
ip4 default
inet4 192.168.1.4/24
route4 0.0.0.0/0
route4 192.168.1.0/24
route4 169.254.0.0/16
inet6 fe80::f180:c75:ae88:d960/64
route6 ff00::/8
route6 fe80::/64
route6 fe80::/64
lo: non gestito
"lo"
loopback (unknown), 00:00:00:00:00:00, sw, mtu 65536
DNS configuration:
servers: 8.8.8.8 8.8.4.4
interface: eth0
Use "nmcli device show" to get complete information about known devices and
"nmcli connection show" to get an overview on active connection profiles.
Consult nmcli(1) and nmcli-examples(5) manual pages for complete usage details.
...skipping...
ethernet (r8169), 00:22:15:98:DC:46, hw, mtu 1500
ip4 default
inet4 192.168.1.4/24
route4 0.0.0.0/0
route4 192.168.1.0/24
route4 169.254.0.0/16
inet6 fe80::f180:c75:ae88:d960/64
route6 ff00::/8
route6 fe80::/64
route6 fe80::/64
lo: non gestito
"lo"
loopback (unknown), 00:00:00:00:00:00, sw, mtu 65536
DNS configuration:
servers: 8.8.8.8 8.8.4.4
interface: eth0
Use "nmcli device show" to get complete information about known devices and
"nmcli connection show" to get an overview on active connection profiles.
Consult nmcli(1) and nmcli-examples(5) manual pages for complete usage details.
lines 3-25/25 (END)Codice: Seleziona tutto
valerio@valerio-System-Product-Name:~$ nmcli general
STATE CONNECTIVITY WIFI-HW WIFI WWAN-HW WWAN
collegato pieno abilitato abilitato abilitato abilitato
valerio@valerio-System-Product-Name:~$ nmcli connections
Error: argument 'connections' not understood. Try passing --help instead.
valerio@valerio-System-Product-Name:~$ - thece
- Tenace Tecnocrate

- Messaggi: 13186
- Iscrizione: lunedì 23 aprile 2007, 14:16
- Distribuzione: Debian 12 (Bookworm) - KDE
Re: ubuntu 18.04 internet non funzionante
Forse gli aggiornamenti hanno fatto il loro "sporco lavoro". Proviamo così: riavvia il PC, senza applicare il mio workaround, così ci portiamo nelle giuste condizioni di test.
Dai il seguente comando
Codice: Seleziona tutto
ping -c 4 google.itCodice: Seleziona tutto
nmcli
nmcli general
nmcli connection
nmcli -t connection show "Profilo 1"
Visto che questo sistema è frutto di un avanzamento di versione, se vuoi dare un'occhiata allo stato dei repository posta anche questi output
Codice: Seleziona tutto
cat /etc/apt/sources.list
ls -l /etc/apt/sources.list.d
- mann74
- Scoppiettante Seguace

- Messaggi: 319
- Iscrizione: lunedì 9 marzo 2009, 22:50
- Desktop: ubuntustudio
- Distribuzione: ubuntu 20.04.2 LTS
- Località: Mondo/Italia/Bologna/Udine
Re: ubuntu 18.04 internet non funzionante
Codice: Seleziona tutto
valerio@valerio-System-Product-Name:~$ ping -c 4 google.it
ping: google.it: Nome o servizio sconosciutoCodice: Seleziona tutto
valerio@valerio-System-Product-Name:~$ nmcli
eth0: collegato to Profilo 1
"Realtek RTL810xE PCI Express Fast Ethernet controller"
ethernet (r8169), 00:22:15:98:DC:46, hw, mtu 1500
ip4 default
inet4 192.168.1.4/24
route4 0.0.0.0/0
route4 192.168.1.0/24
route4 169.254.0.0/16
inet6 fe80::f180:c75:ae88:d960/64
route6 ff00::/8
route6 fe80::/64
route6 fe80::/64
lo: non gestito
"lo"
loopback (unknown), 00:00:00:00:00:00, sw, mtu 65536
DNS configuration:
servers: 8.8.8.8 8.8.4.4
interface: eth0
Use "nmcli device show" to get complete information about known devices and
"nmcli connection show" to get an overview on active connection profiles.
Lines 1-23Codice: Seleziona tutto
valerio@valerio-System-Product-Name:~$ nmcli general
STATE CONNECTIVITY WIFI-HW WIFI WWAN-HW WWAN
collegato (solo site) limitato abilitato abilitato abilitato abilitato Codice: Seleziona tutto
valerio@valerio-System-Product-Name:~$ nmcli connection
NAME UUID TYPE DEVICE
Profilo 1 0ef980e1-38a0-46d2-833c-49444f961cc9 ethernet eth0
ALHN-3c53 baf03204-1ef6-4a45-a02f-7243d53d1f5c wifi --
ALHN-74C3 a4843f55-2465-4780-af57-f3284d16d95a wifi --
Telecom-15815589 95b1898d-5200-4fc1-8b66-f2f6280e0a8a wifi -- Codice: Seleziona tutto
valerio@valerio-System-Product-Name:~$ nmcli -t connection show "Profilo 1"
connection.id:Profilo 1
connection.uuid:0ef980e1-38a0-46d2-833c-49444f961cc9
connection.stable-id:
connection.type:802-3-ethernet
connection.interface-name:
connection.autoconnect:yes
connection.autoconnect-priority:0
connection.autoconnect-retries:-1
connection.auth-retries:-1
connection.timestamp:1543747024
connection.read-only:no
connection.permissions:
connection.zone:
connection.master:
connection.slave-type:
connection.autoconnect-slaves:-1
connection.secondaries:
connection.gateway-ping-timeout:0
connection.metered:unknown
connection.lldp:default
802-3-ethernet.port:
802-3-ethernet.speed:0
802-3-ethernet.duplex:
802-3-ethernet.auto-negotiate:no
802-3-ethernet.mac-address:00:22:15:98:DC:46
802-3-ethernet.cloned-mac-address:
802-3-ethernet.generate-mac-address-mask:
802-3-ethernet.mac-address-blacklist:
802-3-ethernet.mtu:auto
802-3-ethernet.s390-subchannels:
802-3-ethernet.s390-nettype:
802-3-ethernet.s390-options:
802-3-ethernet.wake-on-lan:default
802-3-ethernet.wake-on-lan-password:
ipv4.method:auto
ipv4.dns:8.8.8.8,8.8.4.4
ipv4.dns-search:
ipv4.dns-options:
ipv4.dns-priority:0
ipv4.addresses:
ipv4.gateway:
ipv4.routes:
ipv4.route-metric:-1
ipv4.route-table:0
ipv4.ignore-auto-routes:no
ipv4.ignore-auto-dns:yes
ipv4.dhcp-client-id:
ipv4.dhcp-timeout:0
ipv4.dhcp-send-hostname:yes
ipv4.dhcp-hostname:
ipv4.dhcp-fqdn:
ipv4.never-default:no
ipv4.may-fail:yes
ipv4.dad-timeout:-1
ipv6.method:auto
ipv6.dns:
ipv6.dns-search:
ipv6.dns-options:
ipv6.dns-priority:0
ipv6.addresses:
ipv6.gateway:
ipv6.routes:
ipv6.route-metric:-1
ipv6.route-table:0
ipv6.ignore-auto-routes:no
ipv6.ignore-auto-dns:no
ipv6.never-default:no
ipv6.may-fail:yes
ipv6.ip6-privacy:-1
ipv6.addr-gen-mode:stable-privacy
ipv6.dhcp-send-hostname:yes
ipv6.dhcp-hostname:
ipv6.token:
proxy.method:none
proxy.browser-only:no
proxy.pac-url:
proxy.pac-script:
GENERAL.NAME:Profilo 1
GENERAL.UUID:0ef980e1-38a0-46d2-833c-49444f961cc9
GENERAL.DEVICES:eth0
GENERAL.STATE:attivata
GENERAL.DEFAULT:sì
GENERAL.DEFAULT6:no
GENERAL.SPEC-OBJECT:
GENERAL.VPN:no
GENERAL.DBUS-PATH:/org/freedesktop/NetworkManager/ActiveConnection/1
GENERAL.CON-PATH:/org/freedesktop/NetworkManager/Settings/3
GENERAL.ZONE:
GENERAL.MASTER-PATH:
IP4.ADDRESS[1]:192.168.1.4/24
IP4.GATEWAY:192.168.1.1
IP4.ROUTE[1]:dst = 0.0.0.0/0, nh = 192.168.1.1, mt = 20100
IP4.ROUTE[2]:dst = 192.168.1.0/24, nh = 0.0.0.0, mt = 100
IP4.ROUTE[3]:dst = 169.254.0.0/16, nh = 0.0.0.0, mt = 1000
IP4.DNS[1]:8.8.8.8
IP4.DNS[2]:8.8.4.4
DHCP4.OPTION[1]:requested_subnet_mask = 1
DHCP4.OPTION[2]:subnet_mask = 255.255.255.0
DHCP4.OPTION[3]:requested_rfc3442_classless_static_routes = 1
DHCP4.OPTION[4]:tcp_keepalive_interval = 120
DHCP4.OPTION[5]:domain_name_servers = 192.168.1.1
DHCP4.OPTION[6]:ip_address = 192.168.1.4
DHCP4.OPTION[7]:requested_static_routes = 1
DHCP4.OPTION[8]:dhcp_server_identifier = 192.168.1.1
DHCP4.OPTION[9]:requested_time_offset = 1
DHCP4.OPTION[10]:broadcast_address = 192.168.1.255
DHCP4.OPTION[11]:requested_interface_mtu = 1
DHCP4.OPTION[12]:dhcp_rebinding_time = 75600
DHCP4.OPTION[13]:requested_domain_name_servers = 1
DHCP4.OPTION[14]:dhcp_message_type = 5
DHCP4.OPTION[15]:requested_broadcast_address = 1
DHCP4.OPTION[16]:routers = 192.168.1.1
DHCP4.OPTION[17]:dhcp_renewal_time = 43200
DHCP4.OPTION[18]:requested_domain_name = 1
DHCP4.OPTION[19]:requested_routers = 1
DHCP4.OPTION[20]:expiry = 1543833126
DHCP4.OPTION[21]:host_name = valerio-System-Product-Name
DHCP4.OPTION[22]:requested_netbios_scope = 1
DHCP4.OPTION[23]:requested_wpad = 1
DHCP4.OPTION[24]:requested_ms_classless_static_routes = 1
DHCP4.OPTION[25]:requested_netbios_name_servers = 1
DHCP4.OPTION[26]:network_number = 192.168.1.0
DHCP4.OPTION[27]:requested_domain_search = 1
DHCP4.OPTION[28]:next_server = 192.168.1.1
DHCP4.OPTION[29]:requested_ntp_servers = 1
DHCP4.OPTION[30]:dhcp_lease_time = 86400
DHCP4.OPTION[31]:requested_host_name = 1
IP6.ADDRESS[1]:fe80::f180:c75:ae88:d960/64
IP6.GATEWAY:
IP6.ROUTE[1]:dst = ff00::/8, nh = ::, mt = 256, table=255
IP6.ROUTE[2]:dst = fe80::/64, nh = ::, mt = 256
IP6.ROUTE[3]:dst = fe80::/64, nh = ::, mt = 100Codice: Seleziona tutto
valerio@valerio-System-Product-Name:~$ cat /etc/apt/sources.list
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ bionic main restricted
deb-src http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ bionic main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ bionic-updates main restricted
deb-src http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ bionic-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ bionic universe
deb-src http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ bionic universe
deb http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ bionic-updates universe
deb-src http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ bionic-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ bionic multiverse
deb-src http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ bionic multiverse
deb http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ bionic-updates multiverse
deb-src http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ bionic-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ bionic-backports main restricted universe multiverse
deb-src http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ bionic-backports main restricted universe multiverse
deb http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ bionic-security main restricted
deb-src http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ bionic-security main restricted
deb http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ bionic-security universe
deb-src http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ bionic-security universe
deb http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ bionic-security multiverse
deb-src http://ubuntu.mirror.garr.it/mirrors/ubuntu-archive/ bionic-security multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu trusty partner
deb-src http://archive.canonical.com/ubuntu trusty partner
## Uncomment the following two lines to add software from Ubuntu's
## 'extras' repository.
deb http://archive.ubuntu.com/ubuntu bionic universe restricted multiverse
deb http://security.ubuntu.com/ubuntu/ bionic-security multiverse universe restricted
deb http://archive.ubuntu.com/ubuntu bionic-updates multiverse universe restricted
deb http://archive.ubuntu.com/ubuntu bionic-proposed multiverse universe restrictedCodice: Seleziona tutto
valerio@valerio-System-Product-Name:~$ ls -l /etc/apt/sources.list.d
totale 48
-rw-r--r-- 1 root root 224 nov 30 15:41 google-chrome.list
-rw-r--r-- 1 root root 224 nov 20 09:22 google-chrome.list.distUpgrade
-rw-r--r-- 1 root root 224 nov 30 15:41 google-chrome.list.save
-rw-r--r-- 1 root root 177 nov 30 15:41 google-earth.list
-rw-r--r-- 1 root root 176 nov 20 09:22 google-earth.list.distUpgrade
-rw-r--r-- 1 root root 177 nov 30 15:41 google-earth.list.save
-rw-r--r-- 1 root root 182 nov 30 15:41 noobslab-themes-trusty.list
-rw-r--r-- 1 root root 182 nov 20 09:22 noobslab-themes-trusty.list.distUpgrade
-rw-r--r-- 1 root root 182 nov 30 15:41 noobslab-themes-trusty.list.save
-rw-r--r-- 1 root root 139 nov 30 15:41 ubuntu-defaults.list
-rw-r--r-- 1 root root 139 nov 20 09:22 ubuntu-defaults.list.distUpgrade
-rw-r--r-- 1 root root 139 nov 30 15:41 ubuntu-defaults.list.save
valerio@valerio-System-Product-Name:~$ - thece
- Tenace Tecnocrate

- Messaggi: 13186
- Iscrizione: lunedì 23 aprile 2007, 14:16
- Distribuzione: Debian 12 (Bookworm) - KDE
Re: ubuntu 18.04 internet non funzionante
Controlliamo i pacchetti installati di Network Manager e systemd
Codice: Seleziona tutto
dpkg -l | grep -i network
dpkg -l | grep -i systemd
Codice: Seleziona tutto
systemctl --no-pager status systemd-resolvedContestualmente proviamo a disabilitare il protocollo di rete IPv6. Non credo sia questa la causa del malfunzionamento, ma male non fa
Codice: Seleziona tutto
nmcli connection modify "Profilo 1" ipv6.method ignoreCodice: Seleziona tutto
sudo gedit /etc/systemctl.confCodice: Seleziona tutto
# Disabilito globalmente il protocollo di rete IPv6
net.ipv6.conf.all.disable_ipv6=1
Per quanto riguarda i repository, ripuliamoli e riorganizziamoli meglio.
Con un editor di testi in modalità amministratore apri il file /etc/apt/sources.list.
Codice: Seleziona tutto
sudo gedit /etc/apt/sources.listCodice: Seleziona tutto
deb http://archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://archive.canonical.com/ubuntu bionic partner
# deb-src http://archive.canonical.com/ubuntu bionic partner
deb http://security.ubuntu.com/ubuntu bionic-security main restricted universe multiverse
# deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted universe multiverse
Nella directory /etc/apt/sources.list.d , i file che termianano con .save e .distUpgrade possono essere cancellati
Codice: Seleziona tutto
sudo rm /etc/apt/sources.list.d/*.save
sudo rm /etc/apt/sources.list.d/*.distUpgrade
Riaggiorna il sistema
Codice: Seleziona tutto
sudo apt-get update
sudo apt-get dist-upgrade
-
pachisapiu
Re: ubuntu 18.04 internet non funzionante
- mann74
- Scoppiettante Seguace

- Messaggi: 319
- Iscrizione: lunedì 9 marzo 2009, 22:50
- Desktop: ubuntustudio
- Distribuzione: ubuntu 20.04.2 LTS
- Località: Mondo/Italia/Bologna/Udine
Re: ubuntu 18.04 internet non funzionante
Mah, per il momento non vedo ancora nulla di anomalo
Controlliamo i pacchetti installati di Network Manager e systemd
Codice: Seleziona tutto
valerio@valerio-System-Product-Name:~$ dpkg -l | grep -i network
ii avahi-autoipd 0.7-3.1ubuntu1.1 i386 Avahi IPv4LL network address configuration daemon
ii dirmngr 2.2.4-1ubuntu1.1 i386 GNU privacy guard - network certificate management service
ii gir1.2-networkmanager-1.0:i386 1.10.6-2ubuntu1.1 i386 GObject introspection data for the libnm-glib/libnm-util library
ii glib-networking:i386 2.56.0-1 i386 network-related giomodules for GLib
ii glib-networking-common 2.56.0-1 all network-related giomodules for GLib - data files
ii glib-networking-services 2.56.0-1 i386 network-related giomodules for GLib - D-Bus services
ii ifupdown 0.8.17ubuntu1.1 i386 high level tools to configure network interfaces
ii iproute2 4.15.0-2ubuntu1 i386 networking and traffic control tools
ii iputils-ping 3:20161105-1ubuntu2 i386 Tools to test the reachability of network hosts
ii iputils-tracepath 3:20161105-1ubuntu2 i386 Tools to trace the network path to a remote host
ii kio 5.44.0-0ubuntu1 i386 Resource and network access abstraction
ii libaudio2:i386 1.9.4-6 i386 Network Audio System - shared libraries
ii libdap25:i386 3.19.1-2build1 i386 Open-source Project for a Network Data Access Protocol library
ii libdapclient6v5:i386 3.19.1-2build1 i386 Client library for the Network Data Access Protocol
rc libfriends0:i386 0.1.2+14.04.20131108.1-0ubuntu1 i386 Provides an API for accessing social networks
rc libgroupsock1 2014.01.13-1 i386 multimedia RTSP streaming library (network interfaces and sockets)
ii libgroupsock8:i386 2018.02.18-1 i386 multimedia RTSP streaming library (network interfaces and sockets)
ii libkf5kiocore5:i386 5.44.0-0ubuntu1 i386 Resource and network access abstraction
ii libkf5kiofilewidgets5:i386 5.44.0-0ubuntu1 i386 Resource and network access abstraction
ii libkf5kiontlm5:i386 5.44.0-0ubuntu1 i386 Resource and network access abstraction
ii libkf5kiowidgets5:i386 5.44.0-0ubuntu1 i386 Resource and network access abstraction
ii libkio5 4:4.14.38-0ubuntu3 i386 Network-enabled File Management Library for the KDE Platform
ii libmng2:i386 2.0.2-0ubuntu3 i386 Multiple-image Network Graphics library
ii libnm-glib-vpn1:i386 1.10.6-2ubuntu1.1 i386 network management framework (GLib VPN shared library)
ii libnm-glib4:i386 1.10.6-2ubuntu1.1 i386 network management framework (GLib shared library)
ii libnm-util2:i386 1.10.6-2ubuntu1.1 i386 network management framework (shared library)
ii libnm0:i386 1.10.6-2ubuntu1.1 i386 GObject-based client library for NetworkManager
ii libnss3:i386 2:3.35-2ubuntu2 i386 Network Security Service libraries
ii libproxy1-plugin-networkmanager:i386 0.4.15-1 i386 automatic proxy configuration management library (Network Manager plugin)
ii libqt4-network:i386 4:4.8.7+dfsg-7ubuntu1 i386 Qt 4 network module
ii libqt5network5:i386 5.9.5+dfsg-0ubuntu1 i386 Qt 5 network module
ii libqtscript4-network:i386 0.2.0-1build1 i386 QtScript bindings for the Qt 4 Network library
ii libsnmp30:i386 5.7.3+dfsg-1.8ubuntu3.1 i386 SNMP (Simple Network Management Protocol) library
ii libsodium23:i386 1.0.16-2 i386 Network communication, cryptography and signaturing library
ii net-tools 1.60+git20161116.90da8a0-1ubuntu1 i386 NET-3 networking toolkit
ii netbase 5.4 all Basic TCP/IP networking system
ii netplan.io 0.36.3 i386 YAML network configuration abstraction for various backends
ii network-manager 1.10.6-2ubuntu1.1 i386 network management framework (daemon and userspace tools)
ii network-manager-config-connectivity-ubuntu 1.10.6-2ubuntu1.1 all NetworkManager configuration to enable connectivity checking
ii network-manager-gnome 1.8.10-2ubuntu1 i386 network management framework (GNOME frontend)
ii network-manager-pptp 1.2.6-1 i386 network management framework (PPTP plugin core)
ii network-manager-pptp-gnome 1.2.6-1 i386 network management framework (PPTP plugin GNOME GUI)
ii networkd-dispatcher 1.7-0ubuntu3.3 all Dispatcher service for systemd-networkd connection status changes
ii nplan 0.36.3 all YAML network configuration abstraction - transitional package
ii tcpdump 4.9.2-3 i386 command-line network traffic analyzerCodice: Seleziona tutto
valerio@valerio-System-Product-Name:~$ dpkg -l | grep -i systemd
ii dbus-user-session 1.12.2-1ubuntu1 i386 simple interprocess messaging system (systemd --user integration)
ii libnss-systemd:i386 237-3ubuntu10.9 i386 nss module providing dynamic user and group name resolution
ii libpam-systemd:i386 237-3ubuntu10.9 i386 system and service manager - PAM module
rc libsystemd-daemon0:i386 204-5ubuntu20.19 i386 systemd utility library
rc libsystemd-journal0:i386 204-5ubuntu20.19 i386 systemd journal utility library
rc libsystemd-login0:i386 204-5ubuntu20.19 i386 systemd login utility library
ii libsystemd0:i386 237-3ubuntu10.9 i386 systemd utility library
ii networkd-dispatcher 1.7-0ubuntu3.3 all Dispatcher service for systemd-networkd connection status changes
ii python3-systemd 234-1build1 i386 Python 3 bindings for systemd
ii systemd 237-3ubuntu10.9 i386 system and service manager
rc systemd-services 204-5ubuntu20.19 i386 systemd runtime services
rc systemd-shim 9-1bzr4ubuntu1 i386 shim for systemd
ii systemd-sysv 237-3ubuntu10.9 i386 system and service manager - SysV linksCodice: Seleziona tutto
valerio@valerio-System-Product-Name:~$ sudo apt-get install net-tools
[sudo] password di valerio:
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
net-tools è già alla versione più recente (1.60+git20161116.90da8a0-1ubuntu1).
I seguenti pacchetti sono stati installati automaticamente e non sono più richiesti:
qml-module-qtgraphicaleffects qml-module-qtquick-dialogs
qml-module-qtquick-privatewidgets qml-module-qtwebkit
Usare "sudo apt autoremove" per rimuoverli.
0 aggiornati, 0 installati, 0 da rimuovere e 2 non aggiornati.
valerio@valerio-System-Product-Name:~$ Codice: Seleziona tutto
valerio@valerio-System-Product-Name:~$ dpkg -l | grep -i network
ii avahi-autoipd 0.7-3.1ubuntu1.1 i386 Avahi IPv4LL network address configuration daemon
ii dirmngr 2.2.4-1ubuntu1.1 i386 GNU privacy guard - network certificate management service
ii gir1.2-networkmanager-1.0:i386 1.10.6-2ubuntu1.1 i386 GObject introspection data for the libnm-glib/libnm-util library
ii glib-networking:i386 2.56.0-1 i386 network-related giomodules for GLib
ii glib-networking-common 2.56.0-1 all network-related giomodules for GLib - data files
ii glib-networking-services 2.56.0-1 i386 network-related giomodules for GLib - D-Bus services
ii ifupdown 0.8.17ubuntu1.1 i386 high level tools to configure network interfaces
ii iproute2 4.15.0-2ubuntu1 i386 networking and traffic control tools
ii iputils-ping 3:20161105-1ubuntu2 i386 Tools to test the reachability of network hosts
ii iputils-tracepath 3:20161105-1ubuntu2 i386 Tools to trace the network path to a remote host
ii kio 5.44.0-0ubuntu1 i386 Resource and network access abstraction
ii libaudio2:i386 1.9.4-6 i386 Network Audio System - shared libraries
ii libdap25:i386 3.19.1-2build1 i386 Open-source Project for a Network Data Access Protocol library
ii libdapclient6v5:i386 3.19.1-2build1 i386 Client library for the Network Data Access Protocol
rc libfriends0:i386 0.1.2+14.04.20131108.1-0ubuntu1 i386 Provides an API for accessing social networks
rc libgroupsock1 2014.01.13-1 i386 multimedia RTSP streaming library (network interfaces and sockets)
ii libgroupsock8:i386 2018.02.18-1 i386 multimedia RTSP streaming library (network interfaces and sockets)
ii libkf5kiocore5:i386 5.44.0-0ubuntu1 i386 Resource and network access abstraction
ii libkf5kiofilewidgets5:i386 5.44.0-0ubuntu1 i386 Resource and network access abstraction
ii libkf5kiontlm5:i386 5.44.0-0ubuntu1 i386 Resource and network access abstraction
ii libkf5kiowidgets5:i386 5.44.0-0ubuntu1 i386 Resource and network access abstraction
ii libkio5 4:4.14.38-0ubuntu3 i386 Network-enabled File Management Library for the KDE Platform
ii libmng2:i386 2.0.2-0ubuntu3 i386 Multiple-image Network Graphics library
ii libnm-glib-vpn1:i386 1.10.6-2ubuntu1.1 i386 network management framework (GLib VPN shared library)
ii libnm-glib4:i386 1.10.6-2ubuntu1.1 i386 network management framework (GLib shared library)
ii libnm-util2:i386 1.10.6-2ubuntu1.1 i386 network management framework (shared library)
ii libnm0:i386 1.10.6-2ubuntu1.1 i386 GObject-based client library for NetworkManager
ii libnss3:i386 2:3.35-2ubuntu2 i386 Network Security Service libraries
ii libproxy1-plugin-networkmanager:i386 0.4.15-1 i386 automatic proxy configuration management library (Network Manager plugin)
ii libqt4-network:i386 4:4.8.7+dfsg-7ubuntu1 i386 Qt 4 network module
ii libqt5network5:i386 5.9.5+dfsg-0ubuntu1 i386 Qt 5 network module
ii libqtscript4-network:i386 0.2.0-1build1 i386 QtScript bindings for the Qt 4 Network library
ii libsnmp30:i386 5.7.3+dfsg-1.8ubuntu3.1 i386 SNMP (Simple Network Management Protocol) library
ii libsodium23:i386 1.0.16-2 i386 Network communication, cryptography and signaturing library
ii net-tools 1.60+git20161116.90da8a0-1ubuntu1 i386 NET-3 networking toolkit
ii netbase 5.4 all Basic TCP/IP networking system
ii netplan.io 0.36.3 i386 YAML network configuration abstraction for various backends
ii network-manager 1.10.6-2ubuntu1.1 i386 network management framework (daemon and userspace tools)
ii network-manager-config-connectivity-ubuntu 1.10.6-2ubuntu1.1 all NetworkManager configuration to enable connectivity checking
ii network-manager-gnome 1.8.10-2ubuntu1 i386 network management framework (GNOME frontend)
ii network-manager-pptp 1.2.6-1 i386 network management framework (PPTP plugin core)
ii network-manager-pptp-gnome 1.2.6-1 i386 network management framework (PPTP plugin GNOME GUI)
ii networkd-dispatcher 1.7-0ubuntu3.3 all Dispatcher service for systemd-networkd connection status changes
ii nplan 0.36.3 all YAML network configuration abstraction - transitional package
ii tcpdump 4.9.2-3 i386 command-line network traffic analyzer
valerio@valerio-System-Product-Name:~$ Codice: Seleziona tutto
valerio@valerio-System-Product-Name:~$ dpkg -l | grep -i systemd
ii dbus-user-session 1.12.2-1ubuntu1 i386 simple interprocess messaging system (systemd --user integration)
ii libnss-systemd:i386 237-3ubuntu10.9 i386 nss module providing dynamic user and group name resolution
ii libpam-systemd:i386 237-3ubuntu10.9 i386 system and service manager - PAM module
rc libsystemd-daemon0:i386 204-5ubuntu20.19 i386 systemd utility library
rc libsystemd-journal0:i386 204-5ubuntu20.19 i386 systemd journal utility library
rc libsystemd-login0:i386 204-5ubuntu20.19 i386 systemd login utility library
ii libsystemd0:i386 237-3ubuntu10.9 i386 systemd utility library
ii networkd-dispatcher 1.7-0ubuntu3.3 all Dispatcher service for systemd-networkd connection status changes
ii python3-systemd 234-1build1 i386 Python 3 bindings for systemd
ii systemd 237-3ubuntu10.9 i386 system and service manager
rc systemd-services 204-5ubuntu20.19 i386 systemd runtime services
rc systemd-shim 9-1bzr4ubuntu1 i386 shim for systemd
ii systemd-sysv 237-3ubuntu10.9 i386 system and service manager - SysV links
valerio@valerio-System-Product-Name:~$
Codice: Seleziona tutto
valerio@valerio-System-Product-Name:~$ sudo apt-get install net-tools
[sudo] password di valerio:
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
net-tools è già alla versione più recente (1.60+git20161116.90da8a0-1ubuntu1).
I seguenti pacchetti sono stati installati automaticamente e non sono più richiesti:
qml-module-qtgraphicaleffects qml-module-qtquick-dialogs
qml-module-qtquick-privatewidgets qml-module-qtwebkit
Usare "sudo apt autoremove" per rimuoverli.
0 aggiornati, 0 installati, 0 da rimuovere e 2 non aggiornati.
valerio@valerio-System-Product-Name:~$
valerio@valerio-System-Product-Name:~$ ping -c 4 192.168.1.4
PING 192.168.1.4 (192.168.1.4) 56(84) bytes of data.
64 bytes from 192.168.1.4: icmp_seq=1 ttl=64 time=0.050 ms
64 bytes from 192.168.1.4: icmp_seq=2 ttl=64 time=0.045 ms
64 bytes from 192.168.1.4: icmp_seq=3 ttl=64 time=0.042 ms
64 bytes from 192.168.1.4: icmp_seq=4 ttl=64 time=0.044 ms
--- 192.168.1.4 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3052ms
rtt min/avg/max/mdev = 0.042/0.045/0.050/0.005 ms
valerio@valerio-System-Product-Name:~$ ping -c 4 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=123 time=45.5 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=123 time=19.8 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=123 time=21.8 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=123 time=19.8 ms
--- 8.8.8.8 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3005ms
rtt min/avg/max/mdev = 19.835/26.774/45.553/10.871 ms
valerio@valerio-System-Product-Name:~$ ping -c 4 google.it
ping: google.it: Nome o servizio sconosciuto
valerio@valerio-System-Product-Name:~$ sudo gedit /etc/apt/sources.list
[sudo] password di valerio:
** (gedit:1978): WARNING **: 15:03:54.799: Set document metadata failed: Impostazione dell'attributo metadata::gedit-spell-language non supportata
** (gedit:1978): WARNING **: 15:03:54.800: Set document metadata failed: Impostazione dell'attributo metadata::gedit-encoding non supportata
** (gedit:1978): WARNING **: 15:04:11.677: Set document metadata failed: Impostazione dell'attributo metadata::gedit-position non supportata
valerio@valerio-System-Product-Name:~$ sudo rm /etc/apt/sources.list.d/*.save
valerio@valerio-System-Product-Name:~$ sudo rm /etc/apt/sources.list.d/*.distUpgrade
valerio@valerio-System-Product-Name:~$ sudo apt-get update
Errore:1 http://archive.canonical.com/ubuntu bionic InRelease
Impossibile risolvere "archive.canonical.com"
Errore:2 http://archive.ubuntu.com/ubuntu bionic InRelease
Impossibile risolvere "archive.ubuntu.com"
Errore:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Impossibile risolvere "archive.ubuntu.com"
Errore:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Impossibile risolvere "archive.ubuntu.com"
Errore:5 http://security.ubuntu.com/ubuntu bionic-security InRelease
Impossibile risolvere "security.ubuntu.com"
Lettura elenco dei pacchetti... Fatto
W: Impossibile recuperare http://archive.ubuntu.com/ubuntu/dists/bionic/InRelease Impossibile risolvere "archive.ubuntu.com"
W: Impossibile recuperare http://archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease Impossibile risolvere "archive.ubuntu.com"
W: Impossibile recuperare http://archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease Impossibile risolvere "archive.ubuntu.com"
W: Impossibile recuperare http://archive.canonical.com/ubuntu/dists/bionic/InRelease Impossibile risolvere "archive.canonical.com"
W: Impossibile recuperare http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease Impossibile risolvere "security.ubuntu.com"
W: Impossibile scaricare alcuni file di indice: saranno ignorati o verranno usati quelli vecchi.
valerio@valerio-System-Product-Name:~$ sudo apt-get dist-upgrade
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
Calcolo dell'aggiornamento... Fatto
I seguenti pacchetti sono stati installati automaticamente e non sono più richiesti:
qml-module-qtgraphicaleffects qml-module-qtquick-dialogs
qml-module-qtquick-privatewidgets qml-module-qtwebkit
Usare "sudo apt autoremove" per rimuoverli.
0 aggiornati, 0 installati, 0 da rimuovere e 0 non aggiornati.
valerio@valerio-System-Product-Name:~$ Si non è comparso nemmeno dopo il riavvio.L'applet del Network Manager è sempre assente?
Come cavolo fate a tenervi sgombra la testa? A me sta già fumando.....
- thece
- Tenace Tecnocrate

- Messaggi: 13186
- Iscrizione: lunedì 23 aprile 2007, 14:16
- Distribuzione: Debian 12 (Bookworm) - KDE
Re: ubuntu 18.04 internet non funzionante
mann74 [url=https://forum.ubuntu-it.org/viewtopic.php?p=5098472#p5098472][img]https://forum.ubuntu-it.org/images/icons/icona-cita.gif[/img][/url] ha scritto: Come cavolo fate a tenervi sgombra la testa? A me sta già fumando.....
Senza falsa modestia: questa, per me come qualsiasi altra persona che lavora con i computer, è "robetta"!
MI sono accorto di aver fatto un errore di Copia&Incolla in un altro comando. Puoi ricontrollare cosa ti ho scritto nel post precedente? Scusa ...
Nota: comando
Codice: Seleziona tutto
ping -c 4 192.168.1.4Lo avevo già notato prima, ma ne ho avuto conferma solo qualche output dopo.
Oramai l'unico comando ping interessante è il seguente
Codice: Seleziona tutto
ping -c 4 google.it- Sam9999
- Entusiasta Emergente

- Messaggi: 1983
- Iscrizione: lunedì 9 giugno 2014, 8:59
- Desktop: Studio Xfce
- Distribuzione: Ubuntu 20.04 LTS (Focal)
- Località: BO
- Contatti:
Re: ubuntu 18.04 internet non funzionante
Codice: Seleziona tutto
cd /etc/netplan
sam@fibra:/etc/netplan$ cat 01-network-manager-all.yaml
# Let NetworkManager manage all devices on this system
network:
version: 2
# renderer: NetworkManager
renderer: networkd
ethernets:
enp1s0:
dhcp4: no
dhcp6: yes
addresses: [192.168.1.1/24]
gateway4: 192.168.1.4
nameservers:
addresses: [80.80.80.80,8.8.8.8,1.1.1.1]
optional: trueS. @-M.
-------------
- mann74
- Scoppiettante Seguace

- Messaggi: 319
- Iscrizione: lunedì 9 marzo 2009, 22:50
- Desktop: ubuntustudio
- Distribuzione: ubuntu 20.04.2 LTS
- Località: Mondo/Italia/Bologna/Udine
Re: ubuntu 18.04 internet non funzionante
OK, del resto non credo tu potresti fare il mucchio procedure che faccio nel mio mestiere....
Allora ecco a te, purtroppo il signor Ping non mi aiuta.
Codice: Seleziona tutto
alerio@valerio-System-Product-Name:~$ ping -c 4 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_seq=1 ttl=64 time=0.728 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=0.421 ms
64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=0.428 ms
64 bytes from 192.168.1.1: icmp_seq=4 ttl=64 time=0.423 ms
--- 192.168.1.1 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3054ms
rtt min/avg/max/mdev = 0.421/0.500/0.728/0.131 ms
valerio@valerio-System-Product-Name:~$ ping -c 4 google.it
ping: google.it: Nome o servizio sconosciuto
valerio@valerio-System-Product-Name:~$ - mann74
- Scoppiettante Seguace

- Messaggi: 319
- Iscrizione: lunedì 9 marzo 2009, 22:50
- Desktop: ubuntustudio
- Distribuzione: ubuntu 20.04.2 LTS
- Località: Mondo/Italia/Bologna/Udine
Re: ubuntu 18.04 internet non funzionante
Purtroppo mi sto occupando di risolvere il problema per un amico che usa il PC a casa sua, dato che è più rookie di me mi ha chiesto aiuto, ma la mia rete domestica è differente dalla sua.
Grazie lo stesso.
- Sam9999
- Entusiasta Emergente

- Messaggi: 1983
- Iscrizione: lunedì 9 giugno 2014, 8:59
- Desktop: Studio Xfce
- Distribuzione: Ubuntu 20.04 LTS (Focal)
- Località: BO
- Contatti:
Re: ubuntu 18.04 internet non funzionante
mann74 [url=https://forum.ubuntu-it.org/viewtopic.php?p=5098489#p5098489][img]https://forum.ubuntu-it.org/images/icons/icona-cita.gif[/img][/url] ha scritto:Grazie sam9999
Purtroppo mi sto occupando di risolvere il problema per un amico che usa il PC a casa sua, dato che è più rookie di me mi ha chiesto aiuto, ma la mia rete domestica è differente dalla sua.
Grazie lo stesso.
Vale sempre il fatto di configurarla a mano se non c'è netplan allora sotto /etc/network e modifichi interfaces
S. @-M.
-------------
- thece
- Tenace Tecnocrate

- Messaggi: 13186
- Iscrizione: lunedì 23 aprile 2007, 14:16
- Distribuzione: Debian 12 (Bookworm) - KDE
Re: ubuntu 18.04 internet non funzionante
Ognuno sa fare il suo di mestriere (si spera)mann74 [url=https://forum.ubuntu-it.org/viewtopic.php?p=5098488#p5098488][img]https://forum.ubuntu-it.org/images/icons/icona-cita.gif[/img][/url] ha scritto: OK, del resto non credo tu potresti fare il mucchio procedure che faccio nel mio mestiere....
Sto ancora aspettando questo
Codice: Seleziona tutto
systemctl --no-pager status systemd-resolvedCodice: Seleziona tutto
ifconfigMe la sto tenendo come ultima opzione.Sam9999 [url=https://forum.ubuntu-it.org/viewtopic.php?p=5098492#p5098492][img]https://forum.ubuntu-it.org/images/icons/icona-cita.gif[/img][/url] ha scritto: Vale sempre il fatto di configurarla a mano se non c'è netplan allora sotto /etc/network e modifichi interfaces
Il problema "base" è che un sistema "sporco", poichè ottenuto mediante avanzamento di versione (pratica della quale io sono un forte oppositore). Probabilmente, reinstallando da zero il sistema i problemi "si risolverebbero" in un attimo.
- mann74
- Scoppiettante Seguace

- Messaggi: 319
- Iscrizione: lunedì 9 marzo 2009, 22:50
- Desktop: ubuntustudio
- Distribuzione: ubuntu 20.04.2 LTS
- Località: Mondo/Italia/Bologna/Udine
Re: ubuntu 18.04 internet non funzionante
ecco qui:Sto ancora aspettando questo
Codice: Seleziona tutto
systemctl --no-pager status systemd-resolved
Codice: Seleziona tutto
valerio@valerio-System-Product-Name:~$ systemctl --no-pager status systemd-resolved
● systemd-resolved.service - Network Name Resolution
Loaded: loaded (/lib/systemd/system/systemd-resolved.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2018-12-02 15:07:20 CET; 1h 33min ago
Docs: man:systemd-resolved.service(8)
https://www.freedesktop.org/wiki/Software/systemd/resolved
https://www.freedesktop.org/wiki/Software/systemd/writing-network-configuration-managers
https://www.freedesktop.org/wiki/Software/systemd/writing-resolver-clients
Main PID: 634 (systemd-resolve)
Status: "Processing requests..."
Tasks: 1 (limit: 4683)
CGroup: /system.slice/systemd-resolved.service
└─634 /lib/systemd/systemd-resolved
dic 02 15:07:19 valerio-System-Product-Name systemd[1]: Starting Network Name…..
dic 02 15:07:20 valerio-System-Product-Name systemd-resolved[634]: Positive T…s:
dic 02 15:07:20 valerio-System-Product-Name systemd-resolved[634]: . IN DS 19…b5
dic 02 15:07:20 valerio-System-Product-Name systemd-resolved[634]: . IN DS 20…8d
dic 02 15:07:20 valerio-System-Product-Name systemd-resolved[634]: Negative t…st
dic 02 15:07:20 valerio-System-Product-Name systemd-resolved[634]: Using syst…'.
dic 02 15:07:20 valerio-System-Product-Name systemd[1]: Started Network Name …n.
Hint: Some lines were ellipsized, use -l to show in full.Hai disabilitato IPv6? Lo controllo con
Codice: Seleziona tutto
ifconfig
Codice: Seleziona tutto
valerio@valerio-System-Product-Name:~$ ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.4 netmask 255.255.255.0 broadcast 192.168.1.255
ether 00:22:15:98:dc:46 txqueuelen 1000 (Ethernet)
RX packets 682 bytes 259370 (259.3 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 209 bytes 20140 (20.1 KB)
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 (Loopback locale)
RX packets 355 bytes 24482 (24.4 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 355 bytes 24482 (24.4 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0- thece
- Tenace Tecnocrate

- Messaggi: 13186
- Iscrizione: lunedì 23 aprile 2007, 14:16
- Distribuzione: Debian 12 (Bookworm) - KDE
Re: ubuntu 18.04 internet non funzionante
Codice: Seleziona tutto
cat /etc/NetworkManager/NetworkManager.conf- mann74
- Scoppiettante Seguace

- Messaggi: 319
- Iscrizione: lunedì 9 marzo 2009, 22:50
- Desktop: ubuntustudio
- Distribuzione: ubuntu 20.04.2 LTS
- Località: Mondo/Italia/Bologna/Udine
Re: ubuntu 18.04 internet non funzionante
Codice: Seleziona tutto
valerio@valerio-System-Product-Name:~$ cat /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq
no-auto-default=00:22:15:98:DC:46,
[ifupdown]
managed=falseChi c’è in linea
Visualizzano questa sezione: 0 utenti iscritti e 7 ospiti