You are not logged in.

#1 2016-02-07 15:30:05

aexl
Member
From: Basel, Switzerland
Registered: 2014-03-19
Posts: 28

[SOLVED] resolv.conf does not get created anymore

I'm using netctl-auto for my network connection stuff. Since recently, I don't get into the internet anmyore. I can ping 8.8.8.8, but not www.google.ch. My /etc/resolv.conf does not get created anymore, it is a symlink now to /run/systemd/resolve/resolv.conf, a file which does not exists...

How can I fix this problem?

Last edited by aexl (2016-02-08 16:27:40)

Offline

#2 2016-02-07 15:32:20

anatolik
Developer
Registered: 2012-09-27
Posts: 458

Re: [SOLVED] resolv.conf does not get created anymore

You need to start systemd-resolved service. https://wiki.archlinux.org/index.php/systemd-networkd


Read it before posting http://www.catb.org/esr/faqs/smart-questions.html
Ruby gems repository done right https://bbs.archlinux.org/viewtopic.php?id=182729
Fast initramfs generator with security in mind https://wiki.archlinux.org/index.php/Booster

Offline

#3 2016-02-07 15:54:54

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,999
Website

Re: [SOLVED] resolv.conf does not get created anymore

...or simply delete the symlink and populate /etc/resolv.conf manually with your desired nameservers.

Do you not have openresolv installed?

It is listed as a dependency of netctl and will populate /etc/resolv.conf automatically (once the symlink is removed).


Jin, Jîyan, Azadî

Offline

#4 2016-02-08 03:02:12

aexl
Member
From: Basel, Switzerland
Registered: 2014-03-19
Posts: 28

Re: [SOLVED] resolv.conf does not get created anymore

Thanks for the answers. I solved the problem by removing the symlink and generating a new /etc/resolv.conf with openresolv. I hope everything will still work when I connect to an other wifi... We'll see tomorrow...

Offline

Board footer

Powered by FluxBB