recovery mode dns fails

Questions about cabled networking
Forum rules
Before you post please read how to get help
User avatar
Couch_Potato
Level 1
Level 1
Posts: 48
Joined: Mon May 13, 2013 11:21 pm
Location: Pittsburgh, Pennsylvania U.S.A.

recovery mode dns fails

Postby Couch_Potato » Tue Sep 05, 2017 11:27 pm

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
Desktop:
4.4.0-62-generic
AMD FX-9380 8 Cores
Gigabyte 990FXA-UD3
2x8GB Corsairs 1600 mhz
Linux Mint Serena 18.1 Fresh
Laptop:
Dell e6220
8GB DDR3 320GB 7mm HDD
I5 2540m 2.60 Ghz
Linux Mint Sonya 18.2

deepakdeshp
Level 8
Level 8
Posts: 2498
Joined: Sun Aug 09, 2015 10:00 am

Re: recovery mode dns fails

Postby deepakdeshp » Wed Sep 06, 2017 9:04 am

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, and keeps the forum clean.
I am using Mint 18.3 Cinnamon 64 bit with AMD processor . Memory 8GB


Return to “Ethernet”