Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Internet access / DNS resolution not working
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Rihab
n00b
n00b


Joined: 17 Feb 2016
Posts: 11

PostPosted: Thu Feb 18, 2016 7:59 pm    Post subject: Internet access / DNS resolution not working Reply with quote

Hello,
After installation , ping don't work
the error message is
ping : unknown host www.gentoo.org
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Thu Feb 18, 2016 8:11 pm    Post subject: Reply with quote

Did you follow the handbook?
Back to top
View user's profile Send private message
Rihab
n00b
n00b


Joined: 17 Feb 2016
Posts: 11

PostPosted: Thu Feb 18, 2016 8:22 pm    Post subject: Reply with quote

yes
Back to top
View user's profile Send private message
szatox
Advocate
Advocate


Joined: 27 Aug 2013
Posts: 3131

PostPosted: Thu Feb 18, 2016 8:24 pm    Post subject: Reply with quote

And what is in your /etc/resolv.conf ?
Back to top
View user's profile Send private message
Rihab
n00b
n00b


Joined: 17 Feb 2016
Posts: 11

PostPosted: Thu Feb 18, 2016 8:32 pm    Post subject: Reply with quote

#Generated by dhcpcd
#/etc/resolv.conf.head can replace this line
#/etc/resolv.conf.tail can replace this line
Back to top
View user's profile Send private message
szatox
Advocate
Advocate


Joined: 27 Aug 2013
Posts: 3131

PostPosted: Thu Feb 18, 2016 10:03 pm    Post subject: Reply with quote

Your resolv.conf is empty. So you have your answer: IP of DNS server is missing.
The guide tells you to copy this file from live system into the stage3 before chrooting in.

If you lose connection after rebooting into your new system it means you failed to configure your new network.
Quote:
#Generated by dhcpcd
So you use automatic network configuration, and it didn't work. Do you have IP on your NIC? Does your network provide you DHCP service?
Do you have kernel modules for your NIC?
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1369
Location: EU or US

PostPosted: Thu Feb 18, 2016 10:13 pm    Post subject: Reply with quote

Default installation does not have DHCP helper AFAIK. So it is manual network configuration or - the hard way - booting live media, chrooting and installing it.
Back to top
View user's profile Send private message
szatox
Advocate
Advocate


Joined: 27 Aug 2013
Posts: 3131

PostPosted: Thu Feb 18, 2016 10:15 pm    Post subject: Reply with quote

If nothing else, you can call udhcpc from busybox.
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2678

PostPosted: Thu Feb 18, 2016 10:38 pm    Post subject: Reply with quote

You can edit resolv.conf manually and add nameserver 8.8.8.8

Assuming the rest of your network is valid that should give you internet so you can install dhcpcd and the other networking tools (if any) you need.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
Rihab
n00b
n00b


Joined: 17 Feb 2016
Posts: 11

PostPosted: Tue Feb 23, 2016 6:48 pm    Post subject: Reply with quote

Thank you for your help
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum