[Risolto] Problema connessione Ubuntu 22.04.3

Networking, configurazione della connessione, periferiche e condivisioni di rete.
Enrico_24
Prode Principiante
Messaggi: 18
Iscrizione: lunedì 5 febbraio 2024, 13:45

Re: Problema connessione Ubuntu 22.04.3

Messaggio da Enrico_24 »

GjMan78 ha scritto:
martedì 6 febbraio 2024, 10:58
Se ora esegui questi cosa risponde?

Codice: Seleziona tutto

nslookup google.com

Codice: Seleziona tutto

dig google.com

Codice: Seleziona tutto

ping -c3 google.com
Prova anche a scollegare e ricollegare la wifi.

Codice: Seleziona tutto

enrico@enrico-S550CM:~$ nslookup google.com
;; communications error to ::1#53: connection refused
;; communications error to ::1#53: connection refused
;; communications error to ::1#53: connection refused
;; communications error to 127.0.0.1#53: connection refused
;; no servers could be reached


enrico@enrico-S550CM:~$ dig google.com
;; communications error to ::1#53: connection refused
;; communications error to ::1#53: connection refused
;; communications error to ::1#53: connection refused
;; communications error to 127.0.0.1#53: connection refused

; <<>> DiG 9.18.18-0ubuntu0.22.04.1-Ubuntu <<>> google.com
;; global options: +cmd
;; no servers could be reached

enrico@enrico-S550CM:~$ ping -c3 google.com
ping: google.com: Errore temporaneo nella risoluzione del nome
enrico@enrico-S550CM:~$ 
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 24906
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: ubuntu
Distribuzione: Ubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: Problema connessione Ubuntu 22.04.3

Messaggio da magozurlinux »

Ciao.

Da terminale postami questo comando:

Codice: Seleziona tutto

sudo dmesg | grep ath
Ubuntu 22.04 LTS - saluti da magozurlinux a tutti gli utenti del forum :ciao:
Enrico_24
Prode Principiante
Messaggi: 18
Iscrizione: lunedì 5 febbraio 2024, 13:45

Re: Problema connessione Ubuntu 22.04.3

Messaggio da Enrico_24 »

Codice: Seleziona tutto

enrico@enrico-S550CM:~$ sudo dmesg | grep ath
[sudo] password di enrico: 
[   10.046798] systemd[1]: /etc/systemd/system/teamviewerd.service:9: PIDFile= references a path below legacy directory /var/run/, updating /var/run/teamviewerd.pid → /run/teamviewerd.pid; please update the unit file accordingly.
[   26.556433] ath: phy0: Disable PLL PowerSave
[   26.564417] ath: phy0: ASPM enabled: 0x42
[   26.564427] ath: EEPROM regdomain: 0x60
[   26.564430] ath: EEPROM indicates we should expect a direct regpair map
[   26.564435] ath: Country alpha2 being used: 00
[   26.564438] ath: Regpair used: 0x60
[   27.214387] usbcore: registered new interface driver ath3k
[   31.830082] ath9k 0000:03:00.0 wlp3s0: renamed from wlan0
[   69.037369] ath: EEPROM regdomain: 0x817c
[   69.037376] ath: EEPROM indicates we should expect a country code
[   69.037379] ath: doing EEPROM country->regdmn map search
[   69.037383] ath: country maps to regdmn code: 0x37
[   69.037387] ath: Country alpha2 being used: IT
[   69.037390] ath: Regpair used: 0x37
[   69.037393] ath: regdomain 0x817c dynamically updated by country element
[ 2860.780623] audit: type=1107 audit(1707208917.532:70): pid=1016 uid=106 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/PolicyKit1/Authority" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.9" pid=2504 label="snap.snap-store.ubuntu-software" peer_pid=1027 peer_label="unconfined"
[ 2860.781193] audit: type=1107 audit(1707208917.532:71): pid=1016 uid=106 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/PolicyKit1/Authority" interface="org.freedesktop.PolicyKit1.Authority" member="CheckAuthorization" mask="send" name=":1.9" pid=2504 label="snap.snap-store.ubuntu-software" peer_pid=1027 peer_label="unconfined"
[ 2860.784508] audit: type=1107 audit(1707208917.532:72): pid=1016 uid=106 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/PolicyKit1/Authority" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.9" pid=2504 label="snap.snap-store.ubuntu-software" peer_pid=1027 peer_label="unconfined"
[ 2860.784935] audit: type=1107 audit(1707208917.536:73): pid=1016 uid=106 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/PolicyKit1/Authority" interface="org.freedesktop.PolicyKit1.Authority" member="CheckAuthorization" mask="send" name=":1.9" pid=2504 label="snap.snap-store.ubuntu-software" peer_pid=1027 peer_label="unconfined"
[ 2887.616918] audit: type=1107 audit(1707208944.368:75): pid=1016 uid=106 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.4" pid=2848 label="snap.firefox.firefox" peer_pid=1064 peer_label="unconfined"
[ 2887.617247] audit: type=1107 audit(1707208944.368:76): pid=1016 uid=106 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/timedate1" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.127" pid=2848 label="snap.firefox.firefox" peer_pid=3272 peer_label="unconfined"
[ 2920.150922] audit: type=1107 audit(1707208976.900:77): pid=1016 uid=106 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.4" mask="receive" pid=2848 label="snap.firefox.firefox" peer_pid=1064 peer_label="unconfined"
[ 2922.738288] audit: type=1107 audit(1707208979.488:78): pid=1016 uid=106 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.4" mask="receive" pid=2848 label="snap.firefox.firefox" peer_pid=1064 peer_label="unconfined"
[ 2926.148602] audit: type=1107 audit(1707208982.900:79): pid=1016 uid=106 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.4" mask="receive" pid=2848 label="snap.firefox.firefox" peer_pid=1064 peer_label="unconfined"
[ 2926.350477] audit: type=1107 audit(1707208983.100:80): pid=1016 uid=106 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.4" mask="receive" pid=2848 label="snap.firefox.firefox" peer_pid=1064 peer_label="unconfined"
[ 2988.959038] audit: type=1107 audit(1707209045.708:81): pid=1016 uid=106 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.4" mask="receive" pid=2848 label="snap.firefox.firefox" peer_pid=1064 peer_label="unconfined"
[ 2988.970376] audit: type=1107 audit(1707209045.720:82): pid=1016 uid=106 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.4" mask="receive" pid=2848 label="snap.firefox.firefox" peer_pid=1064 peer_label="unconfined"
[ 3088.813888] audit: type=1107 audit(1707209145.568:83): pid=1016 uid=106 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.4" mask="receive" pid=2848 label="snap.firefox.firefox" peer_pid=1064 peer_label="unconfined"
[ 3088.827186] audit: type=1107 audit(1707209145.576:84): pid=1016 uid=106 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.4" mask="receive" pid=2848 label="snap.firefox.firefox" peer_pid=1064 peer_label="unconfined"
[ 3098.799398] audit: type=1107 audit(1707209155.552:85): pid=1016 uid=106 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.4" mask="receive" pid=2848 label="snap.firefox.firefox" peer_pid=1064 peer_label="unconfined"
[ 3134.753766] audit: type=1107 audit(1707209191.508:86): pid=1016 uid=106 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.4" mask="receive" pid=2848 label="snap.firefox.firefox" peer_pid=1064 peer_label="unconfined"
[ 3155.106711] audit: type=1107 audit(1707209211.856:87): pid=1016 uid=106 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.4" mask="receive" pid=2848 label="snap.firefox.firefox" peer_pid=1064 peer_label="unconfined"
[ 3155.231689] audit: type=1107 audit(1707209211.984:88): pid=1016 uid=106 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.4" mask="receive" pid=2848 label="snap.firefox.firefox" peer_pid=1064 peer_label="unconfined"
[ 3158.923360] audit: type=1107 audit(1707209215.676:89): pid=1016 uid=106 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.4" mask="receive" pid=2848 label="snap.firefox.firefox" peer_pid=1064 peer_label="unconfined"
[ 3158.966651] audit: type=1107 audit(1707209215.716:90): pid=1016 uid=106 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.4" mask="receive" pid=2848 label="snap.firefox.firefox" peer_pid=1064 peer_label="unconfined"
[ 3159.528776] audit: type=1107 audit(1707209216.284:91): pid=1016 uid=106 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.4" mask="receive" pid=2848 label="snap.firefox.firefox" peer_pid=1064 peer_label="unconfined"
[ 3159.552111] audit: type=1107 audit(1707209216.300:92): pid=1016 uid=106 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.4" mask="receive" pid=2848 label="snap.firefox.firefox" peer_pid=1064 peer_label="unconfined"
[ 4327.162795] audit: type=1107 audit(1707210383.916:93): pid=1016 uid=106 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.4" mask="receive" pid=2848 label="snap.firefox.firefox" peer_pid=1064 peer_label="unconfined"
[ 4337.461816] audit: type=1107 audit(1707210394.216:94): pid=1016 uid=106 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.4" mask="receive" pid=2848 label="snap.firefox.firefox" peer_pid=1064 peer_label="unconfined"
[ 5520.757788] audit: type=1107 audit(1707211577.512:95): pid=1016 uid=106 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.4" mask="receive" pid=2848 label="snap.firefox.firefox" peer_pid=1064 peer_label="unconfined"
[ 5522.109418] audit: type=1107 audit(1707211578.864:96): pid=1016 uid=106 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.4" mask="receive" pid=2848 label="snap.firefox.firefox" peer_pid=1064 peer_label="unconfined"
[ 5525.204842] audit: type=1107 audit(1707211581.960:97): pid=1016 uid=106 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.4" mask="receive" pid=2848 label="snap.firefox.firefox" peer_pid=1064 peer_label="unconfined"
[ 5552.010203] audit: type=1107 audit(1707211608.764:98): pid=1016 uid=106 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.4" mask="receive" pid=2848 label="snap.firefox.firefox" peer_pid=1064 peer_label="unconfined"
[ 5737.434079] audit: type=1107 audit(1707211794.188:99): pid=1016 uid=106 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.4" pid=4453 label="snap.firefox.firefox" peer_pid=1064 peer_label="unconfined"
[ 5737.619098] audit: type=1107 audit(1707211794.372:100): pid=1016 uid=106 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/timedate1" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.167" pid=4453 label="snap.firefox.firefox" peer_pid=4616 peer_label="unconfined"
[ 5737.619771] audit: type=1107 audit(1707211794.372:101): pid=1016 uid=106 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/timedate1" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.167" pid=4453 label="snap.firefox.firefox" peer_pid=4616 peer_label="unconfined"
[ 5806.354509] audit: type=1107 audit(1707211863.108:102): pid=1016 uid=106 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.4" pid=5014 label="snap.firefox.firefox" peer_pid=1064 peer_label="unconfined"
[ 5806.521549] audit: type=1107 audit(1707211863.276:103): pid=1016 uid=106 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/timedate1" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.182" pid=5014 label="snap.firefox.firefox" peer_pid=5175 peer_label="unconfined"
[ 5806.533212] audit: type=1107 audit(1707211863.288:104): pid=1016 uid=106 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/timedate1" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.182" pid=5014 label="snap.firefox.firefox" peer_pid=5175 peer_label="unconfined"
[ 6409.598404] audit: type=1107 audit(1707212466.352:105): pid=1016 uid=106 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.4" pid=5531 label="snap.firefox.firefox" peer_pid=1064 peer_label="unconfined"
[ 6409.749618] audit: type=1107 audit(1707212466.504:106): pid=1016 uid=106 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/timedate1" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.195" pid=5531 label="snap.firefox.firefox" peer_pid=5691 peer_label="unconfined"
[ 6409.752127] audit: type=1107 audit(1707212466.504:107): pid=1016 uid=106 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/timedate1" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.195" pid=5531 label="snap.firefox.firefox" peer_pid=5691 peer_label="unconfined"
[ 7246.931795] ath: phy0: ASPM enabled: 0x42
[ 7250.747915] ath: EEPROM regdomain: 0x817c
[ 7250.747919] ath: EEPROM indicates we should expect a country code
[ 7250.747920] ath: doing EEPROM country->regdmn map search
[ 7250.747922] ath: country maps to regdmn code: 0x37
[ 7250.747924] ath: Country alpha2 being used: IT
[ 7250.747925] ath: Regpair used: 0x37
[ 7250.747927] ath: regdomain 0x817c dynamically updated by country element
[ 8963.931143] ath: phy0: ASPM enabled: 0x42
[ 8967.686978] ath: EEPROM regdomain: 0x817c
[ 8967.686980] ath: EEPROM indicates we should expect a country code
[ 8967.686982] ath: doing EEPROM country->regdmn map search
[ 8967.686984] ath: country maps to regdmn code: 0x37
[ 8967.686985] ath: Country alpha2 being used: IT
[ 8967.686987] ath: Regpair used: 0x37
[ 8967.686989] ath: regdomain 0x817c dynamically updated by country element
[ 9143.520068] audit: type=1107 audit(1707231739.655:108): pid=1016 uid=106 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.4" pid=6995 label="snap.firefox.firefox" peer_pid=1064 peer_label="unconfined"
[ 9143.748102] audit: type=1107 audit(1707231739.883:109): pid=1016 uid=106 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/timedate1" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.241" pid=6995 label="snap.firefox.firefox" peer_pid=7155 peer_label="unconfined"
[ 9143.749405] audit: type=1107 audit(1707231739.883:110): pid=1016 uid=106 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/timedate1" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.241" pid=6995 label="snap.firefox.firefox" peer_pid=7155 peer_label="unconfined"
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 24906
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: ubuntu
Distribuzione: Ubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: Problema connessione Ubuntu 22.04.3

Messaggio da magozurlinux »

sudo dmesg | grep ath
[ 9143.520068] audit: type=1107 audit(1707231739.655:108): pid=1016 uid=106 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call" bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.4" pid=6995 label="snap.firefox.firefox" peer_pid=1064 peer_label="unconfined"
Hai modificato qualcosa sul browser Firefox?

Se dai questi comandi, il wifi funziona?

Codice: Seleziona tutto

sudo ifconfig wlp3s0 up

Codice: Seleziona tutto

sudo dhclient wlp3s0
Ultima modifica di magozurlinux il martedì 6 febbraio 2024, 17:43, modificato 1 volta in totale.
Ubuntu 22.04 LTS - saluti da magozurlinux a tutti gli utenti del forum :ciao:
Avatar utente
thece
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 12946
Iscrizione: lunedì 23 aprile 2007, 14:16
Distribuzione: Debian 12 (Bookworm) - KDE

Re: Problema connessione Ubuntu 22.04.3

Messaggio da thece »

:ciao:

state andando fuori strada
Enrico_24 ha scritto:
martedì 6 febbraio 2024, 16:17

Codice: Seleziona tutto

enrico@enrico-S550CM:~$ nslookup google.com
;; communications error to ::1#53: connection refused
;; communications error to ::1#53: connection refused
;; communications error to ::1#53: connection refused
;; communications error to 127.0.0.1#53: connection refused
;; no servers could be reached

...
il problema o è sulla configurazione del file /etc/resolv.conf o sul servizio che fa da DNS proxy locale systemd-resolved

[EDIT]

Sulla mia VM di test

Codice: Seleziona tutto

lsb_release -a

No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 22.04.3 LTS
Release:	22.04
Codename:	jammy

Codice: Seleziona tutto

uname -a

Linux ubudsk-2204 6.5.0-15-generic #15~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Jan 12 18:54:30 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

Codice: Seleziona tutto

ls -l /etc/resolv.conf 

lrwxrwxrwx 1 root root 39 set  5 09:36 /etc/resolv.conf -> ../run/systemd/resolve/stub-resolv.conf

Codice: Seleziona tutto

cat /etc/resolv.conf 

# This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8).
# Do not edit.
#
# This file might be symlinked as /etc/resolv.conf. If you're looking at
# /etc/resolv.conf and seeing this text, you have followed the symlink.
#
# This is a dynamic resolv.conf file for connecting local clients to the
# internal DNS stub resolver of systemd-resolved. This file lists all
# configured search domains.
#
# Run "resolvectl status" to see details about the uplink DNS servers
# currently in use.
#
# Third party programs should typically not access this file directly, but only
# through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a
# different way, replace this symlink by a static file or a different symlink.
#
# See man:systemd-resolved.service(8) for details about the supported modes of
# operation for /etc/resolv.conf.

nameserver 127.0.0.53
options edns0 trust-ad
search fritz.box

Codice: Seleziona tutto

sudo netstat -tulnp | grep -i systemd-resolve

tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN      385/systemd-resolve 
udp        0      0 127.0.0.53:53           0.0.0.0:*                           385/systemd-resolve 

Codice: Seleziona tutto

nslookup example.com

Server:		127.0.0.53
Address:	127.0.0.53#53

Non-authoritative answer:
Name:	example.com
Address: 93.184.216.34
Name:	example.com
Address: 2606:2800:220:1:248:1893:25c8:1946

Codice: Seleziona tutto

ping -c 4 example.com

PING example.com (93.184.216.34) 56(84) bytes of data.
64 bytes from 93.184.216.34 (93.184.216.34): icmp_seq=1 ttl=46 time=107 ms
64 bytes from 93.184.216.34 (93.184.216.34): icmp_seq=2 ttl=46 time=104 ms
64 bytes from 93.184.216.34 (93.184.216.34): icmp_seq=3 ttl=46 time=105 ms
64 bytes from 93.184.216.34 (93.184.216.34): icmp_seq=4 ttl=46 time=105 ms

--- example.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3006ms
rtt min/avg/max/mdev = 104.363/105.349/107.392/1.202 ms
Enrico_24
Prode Principiante
Messaggi: 18
Iscrizione: lunedì 5 febbraio 2024, 13:45

Re: Problema connessione Ubuntu 22.04.3

Messaggio da Enrico_24 »

thece ha scritto:
martedì 6 febbraio 2024, 17:41
:ciao:

state andando fuori strada
Enrico_24 ha scritto:
martedì 6 febbraio 2024, 16:17

Codice: Seleziona tutto

enrico@enrico-S550CM:~$ nslookup google.com
;; communications error to ::1#53: connection refused
;; communications error to ::1#53: connection refused
;; communications error to ::1#53: connection refused
;; communications error to 127.0.0.1#53: connection refused
;; no servers could be reached

...
il problema o è sulla configurazione del file /etc/resolv.conf o sul servizio che fa da DNS proxy locale systemd-resolved

[EDIT]

Sulla mia VM di test

Codice: Seleziona tutto

lsb_release -a

No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 22.04.3 LTS
Release:	22.04
Codename:	jammy

Codice: Seleziona tutto

uname -a

Linux ubudsk-2204 6.5.0-15-generic #15~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Jan 12 18:54:30 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

Codice: Seleziona tutto

ls -l /etc/resolv.conf 

lrwxrwxrwx 1 root root 39 set  5 09:36 /etc/resolv.conf -> ../run/systemd/resolve/stub-resolv.conf

Codice: Seleziona tutto

cat /etc/resolv.conf 

# This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8).
# Do not edit.
#
# This file might be symlinked as /etc/resolv.conf. If you're looking at
# /etc/resolv.conf and seeing this text, you have followed the symlink.
#
# This is a dynamic resolv.conf file for connecting local clients to the
# internal DNS stub resolver of systemd-resolved. This file lists all
# configured search domains.
#
# Run "resolvectl status" to see details about the uplink DNS servers
# currently in use.
#
# Third party programs should typically not access this file directly, but only
# through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a
# different way, replace this symlink by a static file or a different symlink.
#
# See man:systemd-resolved.service(8) for details about the supported modes of
# operation for /etc/resolv.conf.

nameserver 127.0.0.53
options edns0 trust-ad
search fritz.box

Codice: Seleziona tutto

sudo netstat -tulnp | grep -i systemd-resolve

tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN      385/systemd-resolve 
udp        0      0 127.0.0.53:53           0.0.0.0:*                           385/systemd-resolve 

Codice: Seleziona tutto

nslookup example.com

Server:		127.0.0.53
Address:	127.0.0.53#53

Non-authoritative answer:
Name:	example.com
Address: 93.184.216.34
Name:	example.com
Address: 2606:2800:220:1:248:1893:25c8:1946

Codice: Seleziona tutto

ping -c 4 example.com

PING example.com (93.184.216.34) 56(84) bytes of data.
64 bytes from 93.184.216.34 (93.184.216.34): icmp_seq=1 ttl=46 time=107 ms
64 bytes from 93.184.216.34 (93.184.216.34): icmp_seq=2 ttl=46 time=104 ms
64 bytes from 93.184.216.34 (93.184.216.34): icmp_seq=3 ttl=46 time=105 ms
64 bytes from 93.184.216.34 (93.184.216.34): icmp_seq=4 ttl=46 time=105 ms

--- example.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3006ms
rtt min/avg/max/mdev = 104.363/105.349/107.392/1.202 ms

Scusate l'assenza, non ho capito bene cosa devo fare😅
Avatar utente
thece
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 12946
Iscrizione: lunedì 23 aprile 2007, 14:16
Distribuzione: Debian 12 (Bookworm) - KDE

Re: Problema connessione Ubuntu 22.04.3

Messaggio da thece »

Devi controllare le cose che ho indicato nel mio post.
Ti ho indicato i comandi da usare e gli output che dovrebbero venire se fosse tutto a posto. Gli output non saranno proprio identici ma molto simili.
Enrico_24
Prode Principiante
Messaggi: 18
Iscrizione: lunedì 5 febbraio 2024, 13:45

Re: Problema connessione Ubuntu 22.04.3

Messaggio da Enrico_24 »

Codice: Seleziona tutto

enrico@enrico-S550CM:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 22.04.3 LTS
Release:	22.04
Codename:	jammy

enrico@enrico-S550CM:~$ uname -a
Linux enrico-S550CM 5.15.0-91-generic #101-Ubuntu SMP Tue Nov 14 13:30:08 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

enrico@enrico-S550CM:~$ ls -l /etc/resolv.conf
lrwxrwxrwx 1 root root 30 gen 15 10:01 /etc/resolv.conf -> ../run/resolvconf/.resolv.conf

enrico@enrico-S550CM:~$ cat /etc/resolv.conf
cat: /etc/resolv.conf: File o directory non esistente

enrico@enrico-S550CM:~$ sudo netstat -tulnp | grep -i system-resolve
[sudo] password di enrico: 

enrico@enrico-S550CM:~$ sudo netstat -tulnp | grep -i system-resolve
enrico@enrico-S550CM:~$ 

enrico@enrico-S550CM:~$ nslookup example.com
;; communications error to ::1#53: connection refused
;; communications error to ::1#53: connection refused
;; communications error to ::1#53: connection refused
;; communications error to 127.0.0.1#53: connection refused
;; no servers could be reached


enrico@enrico-S550CM:~$ ping -c 4 example.com
ping: example.com: Errore temporaneo nella risoluzione del nome
Avatar utente
thece
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 12946
Iscrizione: lunedì 23 aprile 2007, 14:16
Distribuzione: Debian 12 (Bookworm) - KDE

Re: Problema connessione Ubuntu 22.04.3

Messaggio da thece »

C'è un problema qui
Enrico_24 ha scritto:
martedì 5 marzo 2024, 9:26

Codice: Seleziona tutto

enrico@enrico-S550CM:~$ ls -l /etc/resolv.conf
lrwxrwxrwx 1 root root 30 gen 15 10:01 /etc/resolv.conf -> ../run/resolvconf/.resolv.conf
ma al momento non ho la VM Ubuntu sotto mano quindi non so dirti quale dovrebbe essere la situazione corretta di default, poichè di default Ubuntu non dovrebbe usare resolvconf.
Il tuo sistema è frutto di successivi aggiornamenti di versione?

Per il momento posta l'output di questi comandi

Codice: Seleziona tutto

dpkg -l | egrep -i 'systemd|resolvconf'
ls -l /run/resolvconf
La soluzione potrebbe essere

Codice: Seleziona tutto

sudo ln -s ../run/resolvconf/resolv.conf /etc/resolv.conf
Ultima modifica di thece il martedì 5 marzo 2024, 12:52, modificato 1 volta in totale.
Enrico_24
Prode Principiante
Messaggi: 18
Iscrizione: lunedì 5 febbraio 2024, 13:45

Re: Problema connessione Ubuntu 22.04.3

Messaggio da Enrico_24 »

Codice: Seleziona tutto

enrico@enrico-S550CM:~$ dpkg -l | egrep -i 'systemd|resolvconf'
ii  dbus-user-session                             1.12.20-2ubuntu4.1                         amd64        simple interprocess messaging system (systemd --user integration)
ii  gnome-logs                                    42.0-1                                     amd64        viewer for the systemd journal
ii  libnss-systemd:amd64                          249.11-0ubuntu3.11                         amd64        nss module providing dynamic user and group name resolution
ii  libpam-systemd:amd64                          249.11-0ubuntu3.11                         amd64        system and service manager - PAM module
ii  libsystemd0:amd64                             249.11-0ubuntu3.11                         amd64        systemd utility library
ii  libsystemd0:i386                              249.11-0ubuntu3.11                         i386         systemd utility library
ii  networkd-dispatcher                           2.1-2ubuntu0.22.04.2                       all          Dispatcher service for systemd-networkd connection status changes
ii  python3-systemd                               234-3ubuntu2                               amd64        Python 3 bindings for systemd
ii  resolvconf                                    1.84ubuntu1                                all          name server information handler
ii  systemd                                       249.11-0ubuntu3.11                         amd64        system and service manager
ii  systemd-hwe-hwdb                              249.11.4                                   all          udev rules for hardware enablement (HWE)
ii  systemd-oomd                                  249.11-0ubuntu3.11                         amd64        Userspace out-of-memory (OOM) killer
ii  systemd-sysv                                  249.11-0ubuntu3.11                         amd64        system and service manager - SysV links
ii  systemd-timesyncd                             249.11-0ubuntu3.11                         amd64        minimalistic service to synchronize local time with NTP servers


enrico@enrico-S550CM:~$ ls -l /run/resolvconf
totale 4
-rw-r--r-- 1 root root   0 set 19 18:57 enable-updates
drwxr-xr-x 2 root root  60 mar  5 08:22 interface
-rw-r--r-- 1 root root 319 mar  5 08:22 resolv.conf
-rw-r--r-- 1 root root   0 mar  5 08:22 run-lock
Avatar utente
thece
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 12946
Iscrizione: lunedì 23 aprile 2007, 14:16
Distribuzione: Debian 12 (Bookworm) - KDE

Re: Problema connessione Ubuntu 22.04.3

Messaggio da thece »

Dai il comando

Codice: Seleziona tutto

sudo ln -s ../run/resolvconf/resolv.conf /etc/resolv.conf
riavvia il sistema e controlla se il problema si è risolto: questo ping

Codice: Seleziona tutto

ping -c 4 example.com
dovrebbe restituire un output positivo

[EDIT]

... ho corretto il comando, scusa, l'ho scritto al volo ed ho invertito i due percorsi.


Il tuo sistema è frutto di successivi avanzamenti di versione?
Enrico_24
Prode Principiante
Messaggi: 18
Iscrizione: lunedì 5 febbraio 2024, 13:45

Re: Problema connessione Ubuntu 22.04.3

Messaggio da Enrico_24 »

thece ha scritto:
martedì 5 marzo 2024, 12:11
Dai il comando

Codice: Seleziona tutto

sudo ln -s ../run/resolvconf/resolv.conf /etc/resolv.conf
riavvia il sistema e controlla se il problema si è risolto: questo ping

Codice: Seleziona tutto

ping -c 4 example.com
dovrebbe restituire un output positivo

[EDIT]

... ho corretto il comando, scusa, l'ho scritto al volo ed ho invertito i due percorsi.


Il tuo sistema è frutto di successivi avanzamenti di versione?

Codice: Seleziona tutto

enrico@enrico-S550CM:~$ sudo ln -s ../run/resolvconf/resolv.conf /etc/resolv.conf
[sudo] password di enrico: 
ln: creazione del collegamento simbolico '/etc/resolv.conf' non riuscita: File già esistente

Codice: Seleziona tutto

enrico@enrico-S550CM:~$ ping -c 4 example.com
ping: example.com: Errore temporaneo nella risoluzione del nome
sì ho aggiornato il sistema ogniqualvolta ubuntu me lo consigliava
Avatar utente
thece
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 12946
Iscrizione: lunedì 23 aprile 2007, 14:16
Distribuzione: Debian 12 (Bookworm) - KDE

Re: Problema connessione Ubuntu 22.04.3

Messaggio da thece »

Riprova con

Codice: Seleziona tutto

sudo rm -rf /etc/resolv.conf
sudo ln -s ../run/resolvconf/resolv.conf /etc/resolv.conf
Riavvia il PC e poi riesegui il test

Codice: Seleziona tutto

ping -c 4 example.com
Enrico_24
Prode Principiante
Messaggi: 18
Iscrizione: lunedì 5 febbraio 2024, 13:45

Re: Problema connessione Ubuntu 22.04.3

Messaggio da Enrico_24 »

Codice: Seleziona tutto

enrico@enrico-S550CM:~$ ping -c 4 example.com
PING example.com (93.184.216.34) 56(84) bytes of data.
64 bytes from 93.184.216.34 (93.184.216.34): icmp_seq=1 ttl=51 time=108 ms
64 bytes from 93.184.216.34 (93.184.216.34): icmp_seq=2 ttl=51 time=114 ms
64 bytes from 93.184.216.34 (93.184.216.34): icmp_seq=3 ttl=51 time=108 ms
64 bytes from 93.184.216.34 (93.184.216.34): icmp_seq=4 ttl=51 time=107 ms

--- example.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3000ms
rtt min/avg/max/mdev = 106.922/109.241/113.696/2.623 ms
FUNZIONA!!!

Grazie mille davvero!
Enrico_24
Prode Principiante
Messaggi: 18
Iscrizione: lunedì 5 febbraio 2024, 13:45

Re: Problema connessione Ubuntu 22.04.3

Messaggio da Enrico_24 »

come posso sdebitarmi?
Avatar utente
thece
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 12946
Iscrizione: lunedì 23 aprile 2007, 14:16
Distribuzione: Debian 12 (Bookworm) - KDE

Re: Problema connessione Ubuntu 22.04.3

Messaggio da thece »

A posto così :birra:

Ricordati di modificare il titolo del tuo primo post in questa discussione, anteponendo la dicitura [Risolto]
Avatar utente
trekfan1
Moderatore Globale
Moderatore Globale
Messaggi: 23398
Iscrizione: domenica 21 maggio 2006, 10:51
Desktop: Gnome
Distribuzione: Ubuntu 23.10 e 24.04 (dev)
Sesso: Maschile
Località: Formigine (MO) | Accecante Asceta

Re: Problema connessione Ubuntu 22.04.3 [RISOLTO]

Messaggio da trekfan1 »

@Enrico_24 il [Risolto] va messo all'inizio del titolo e non alla fine ed evitando di scriverlo tutto maiuscolo, correggi, grazie :)
Scrivi risposta

Ritorna a “Connessione e configurazione delle reti”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 4 ospiti