recovery mode dns fails

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
Couch_Potato
Level 2
Level 2
Posts: 86
Joined: Mon May 13, 2013 11:21 pm
Location: Pittsburgh, Pennsylvania U.S.A.

recovery mode dns fails

Post by Couch_Potato »

Greetings again my fellow minters.

My recently purchased e6220 barebones (no os, no hdd) from a local Goodwill Store is having some issues. Sometimes when I attempt to perform a shutdown it sits and hangs. But I am hampered in my troubleshooting efforts due to revocery mode name resolution not working. I cannot easily fix broken packages or install new software. I am able to boot into recovery mode, but when I attempt to enable networking I get error messages that /etc/resolv.conf was not found, even though I can list them using ls there is no content. I tried running updatedb and ldconftig. to try and verify that resolv.conf was not there.

Code: Select all

I tried:  touch /etc/resolv.conf 
then

Code: Select all

 echo "nameserver name of server and ip address"  > /etc/resolv.conf

Code: Select all

echo "domain Home" >> /etc/resolv.conf
,

Apparently, systemd did not want to start up the resolver:

Code: Select all

systemctl start resolvconf.service 
would just hang.

I realize that it might be that recovery mode networking is only suppose to work over ethernet connection. But that is what I am trying to do. I get an ip address from my verizon router. I just cannot get dns resolving to function. Can anybody shed some light on this issue for me. I have be searching this site surprisingly noone that I can find gets these errors.

Regards,
Your Couch_Potato
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Desktop:
Linux Mint Mate Desktop Vera 21.1
Laptop Lenovo W540 Linux Mint Desktop Vera 21.1
Dell T7910 Proxmox 7.X
deepakdeshp
Level 20
Level 20
Posts: 12341
Joined: Sun Aug 09, 2015 10:00 am

Re: recovery mode dns fails

Post by deepakdeshp »

Here is my resolve.conf

Code: Select all

cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.1.1
search domain.name
During installation time all these files are generated correctly rather than trying to generate them later,
The man page is

Code: Select all

http://manpages.ubuntu.com/manpages/precise/man8/resolvconf.8.html
You can see manpage of your system with

Code: Select all

man resolv.conf
.
Good luck
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help.
Regards,
Deepak

Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
Locked

Return to “Networking”