Results 1 to 3 of 3

Thread: Failed to restart systemd-resolved.service: Unit systemd-resolved.service not found.

  1. #1

    Failed to restart systemd-resolved.service: Unit systemd-resolved.service not found.

    Hello, as the title suggests this is about my resolved.conf file, I am trying to connect to the tryhackme breaching AD room to participate, but I ran into an issue, part of the steps to properly connect is to edit the DNS settings under resolved.conf. As you can see by the screenshots, the resolved.conf file exists in my system. I included the original and the edited versions for how tryhackme wants me to change it to be able to connect to the AD environment. Yet, as the output shows in the other screenshots it tells me that it doesn't exist, and it's not installed. I'm not sure what to do to resolve this issue. Below s the current version I am running of Kali. Any other info needed to help resolve this, please just let me know. I would appreciate any advice anyone can give me,

    PRETTY_NAME="Kali GNU/Linux Rolling"
    NAME="Kali GNU/Linux"
    ID=kali
    VERSION="2022.3"
    VERSION_ID="2022.3"
    VERSION_CODENAME="kali-rolling"
    ID_LIKE=debian
    ANSI_COLOR="1;31"
    HOME_URL="https://www.kali.org/"
    SUPPORT_URL="https://forums.kali.org/"
    BUG_REPORT_URL="https://bugs.kali.org/"
    Attached Images Attached Images

  2. #2
    Join Date
    2021-Jun
    Location
    The Land of the Dead
    Posts
    39
    It's very hard to see the small print on your images, and I have never played tny of their games, but you should be using the Private IP they give you if you're connecting to their network.

    Not the Public IP, which I believe appears in your shot.

  3. #3
    Join Date
    2021-May
    Location
    UK
    Posts
    517
    ..as the title suggests this is about my resolved.conf

    And there is your error, systemctl is already looking inside the systemd folder so systemd-resolved.service won't exist (the real path would be systemd/resolved.conf anyway), but resolved.service will;

    systemctl restart resolved

    This is what happens when you blindly follow tutorials without properly understanding what they are trying to do!

    In one of your own screenshots, it tells you how to check the settings in that file, and where to find the manual for resolved.conf for more information. Hacking is 80% about the person and their knowledge, and only 20% about the tools they use. Linux is only a kernel, and the tools on top are from the GNU project, which means in true UNIX fashion, they come with good manual documents already included which will help you use them correctly. Even tools you have never used before become better understand by reading the manual!
    Happy hacking.

Similar Threads

  1. `/lib/systemd/systemd --user` is consuming >99.7% of CPU
    By anoduck in forum Kali Linux TroubleShooting
    Replies: 1
    Last Post: 2022-08-26, 19:30
  2. Unit Network-Manager.service not found
    By Killerx in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2020-12-16, 04:32
  3. Replies: 0
    Last Post: 2020-04-03, 08:38
  4. systemd-logind.service failed
    By glassofsound in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2016-05-20, 05:19
  5. [Resolved] bad Font on Kali
    By wlan0 in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2013-03-30, 15:37

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •