Currently trying to modify a custom ISO image using Cubic.

As per this, I am supposed to enter

ln -sr /run/systemd/resolve/resolve.conf /run/systemd/resolve/stub-resolve.conf

But what is returned is

ln:failed to create symbolic link '/run/systemd/resolve/stub-resolve.conf': no such file or directory 

Even hostname -i doesn't resolve.

How can I get internet access on it since I need to use apt.

  • There's an extra e in /run/systemd/resolve/stub-resolve.conf compared to the command you have shown above. I'd suggest checking for typos. – muru May 23 '18 at 12:02
  • @muru, just checked, used the correct command with ` e `, same error, will fix the typo. – rattle99 May 23 '18 at 12:06
  • The post you linked to says resolv.conf without an e – muru May 23 '18 at 12:08
  • @muru, I made the edit, is that the correct command? – rattle99 May 23 '18 at 12:14

You must create the folder /run/systemd/resolve with mkdir :

mkdir /run/systemd/resolve

then you can create the link with:

ln -sr /var/run/resolvconf/resolv.conf /run/systemd/resolve/stub-resolv.conf

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.