You are not logged in.
Hi all, I'm not sure what the problem is here. Whether it's just me not checking my sanity (I did) or me being dumb, I can't get the Internet to work.
I can ping addresses, but no host names. 8.8.8.8 works, but www.google.com does not. When I do, it gives me "Name or service not known".
Any step I can take towards solving this issue?
Last edited by Talster (2016-05-23 19:35:27)
Offline
what do you have in /etc/resolv.conf
Offline
what do you have in /etc/resolv.conf
[ New File ]
Attempts to write to the file results in a
[ Error writing /etc/resolv.conf: No such file or directory ]
Offline
netadmin wrote:what do you have in /etc/resolv.conf
[ New File ]
Attempts to write to the file results in a
[ Error writing /etc/resolv.conf: No such file or directory ]
Is it a installed system or are you in chroot?
I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.
I use it to look at funny pictures of cats and to argue with strangers.
Offline
I can't get the Internet to work.
That isn't all that useful. Describe how you are managing your connection; what card/driver you have installed and what happens when you try to connect manually.
Please see How To Ask Questions The Smart Way
Offline
Attempts to write to the file results in a
[ Error writing /etc/resolv.conf: No such file or directory ]
How are you attempting to write to the file? Which command(s) did you use?
I would use:
# echo -e "nameserver 8.8.8.8\nnameserver 8.8.4.4" > /etc/resolv.conf
EDIT: a more robust method would be:
# systemctl enable systemd-resolved --now
# ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
Then configure namservers via /etc/systemd/resolved.conf as per resolved.conf(5)
Last edited by Head_on_a_Stick (2016-05-23 19:20:34)
Para todos todo, para nosotros nada
Offline
Talster wrote:I can't get the Internet to work.
That isn't all that useful. Describe how you are managing your connection; what card/driver you have installed and what happens when you try to connect manually.
Please see How To Ask Questions The Smart Way
I apologize! I swear, I was so tired and I was so confused about this issue that I didn't know where to start with reports.
Offline
Talster wrote:Attempts to write to the file results in a
[ Error writing /etc/resolv.conf: No such file or directory ]
How are you attempting to write to the file? Which command(s) did you use?
I would use:
# echo -e "nameserver 8.8.8.8\nnameserver 8.8.4.4" > /etc/resolv.conf
EDIT: a more robust method would be:
# systemctl enable systemd-resolved --now # ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
Then configure namservers via /etc/systemd/resolved.conf as per resolved.conf(5)
This worked! Sending this forum reply from my installation now. Thanks a million!
For anyone reading: the second fix was the one that fixed it completely. I added the desired DNS to the DNS= section, and it worked. Here is the fix once more:
# systemctl enable systemd-resolved --now
# ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
Then configure namservers via /etc/systemd/resolved.conf as per resolved.conf(5)
Last edited by Talster (2016-05-23 19:36:29)
Offline