1

I'm using ubuntu 18.04 on my dell inspiron 5402.I was annoyed about frequently getting a question mark on that wifi icon,so I followed some method on the Internet and unfortunately got this problem.

Now when I open chrome, there is DNS_PROBE_FINISHED_BAD__CONFIG displayed. I checked my /etc/resolv.conf file and it showed broken symbolic link to /run/systemd/resolv/stub.resolv.conf,but when I checked the /run/systemd/ directory ,there was no resolv. I viewed this related answer Accidentally deleted /etc/resolv.conf and now can't access any domain but it doesn't fit my situation.

I get fully confused and don't know what to do next .

enter image description here

Bruni
  • 10,180
  • 7
  • 55
  • 97
syzwlop
  • 11
  • 2
  • `ls -al /etc/NetworkManager/system-connections/` please add this to your question. – nobody Apr 14 '21 at 08:10
  • sorry, because the ubuntu cannot access the network , i have no way to add those on . Those are just names of wifi I previously used – syzwlop Apr 14 '21 at 08:47
  • `sudo rm /etc/resolv.conf` and `sudo ln -s /run/NetworkManager/resolv.conf /etc/resolv.conf` and restart all NetworkManager services. `sudo systemctl restart NetworkManager.service NetworkManager-wait-online.service` then try to connect over gui. – nobody Apr 14 '21 at 10:04
  • I followed your advice,but the situation stil remains the same – syzwlop Apr 14 '21 at 11:02
  • Any errors? Is `ls -al /run/NetworkManager/resolv.conf` on your system present? – nobody Apr 14 '21 at 12:02
  • no errors detected during those instructions,but the result is still the same . I add the result of ```ls -al /run/NetworkManager/resolv.conf``` in the question – syzwlop Apr 14 '21 at 12:15
  • last try from me. Make a reboot erase your old connections in `network-manager-gnome` and create your connection new. – nobody Apr 14 '21 at 12:20
  • 1
    `/etc/resolv.conf` usually links to either `/run/systemd/resolve/resolv.conf` or `/run/systemd/resolve/stub-resolv.conf`. Do these files exit on your system? – Terrance Apr 14 '21 at 13:18
  • What, specifically, did you do to cause the problem? "some method" is insufficient information. – Organic Marble Apr 14 '21 at 14:03

0 Answers0