View previous topic :: View next topic |
Author |
Message |
Rihab n00b
Joined: 17 Feb 2016 Posts: 11
|
Posted: Thu Feb 18, 2016 7:59 pm Post subject: Internet access / DNS resolution not working |
|
|
Hello,
After installation , ping don't work
the error message is
ping : unknown host www.gentoo.org |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Thu Feb 18, 2016 8:11 pm Post subject: |
|
|
Did you follow the handbook? |
|
Back to top |
|
|
Rihab n00b
Joined: 17 Feb 2016 Posts: 11
|
Posted: Thu Feb 18, 2016 8:22 pm Post subject: |
|
|
yes |
|
Back to top |
|
|
szatox Advocate
Joined: 27 Aug 2013 Posts: 3131
|
Posted: Thu Feb 18, 2016 8:24 pm Post subject: |
|
|
And what is in your /etc/resolv.conf ? |
|
Back to top |
|
|
Rihab n00b
Joined: 17 Feb 2016 Posts: 11
|
Posted: Thu Feb 18, 2016 8:32 pm Post subject: |
|
|
#Generated by dhcpcd
#/etc/resolv.conf.head can replace this line
#/etc/resolv.conf.tail can replace this line |
|
Back to top |
|
|
szatox Advocate
Joined: 27 Aug 2013 Posts: 3131
|
Posted: Thu Feb 18, 2016 10:03 pm Post subject: |
|
|
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 |
|
|
Buffoon Veteran
Joined: 17 Jun 2015 Posts: 1369 Location: EU or US
|
Posted: Thu Feb 18, 2016 10:13 pm Post subject: |
|
|
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 |
|
|
szatox Advocate
Joined: 27 Aug 2013 Posts: 3131
|
Posted: Thu Feb 18, 2016 10:15 pm Post subject: |
|
|
If nothing else, you can call udhcpc from busybox. |
|
Back to top |
|
|
The Doctor Moderator
Joined: 27 Jul 2010 Posts: 2678
|
Posted: Thu Feb 18, 2016 10:38 pm Post subject: |
|
|
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 |
|
|
Rihab n00b
Joined: 17 Feb 2016 Posts: 11
|
Posted: Tue Feb 23, 2016 6:48 pm Post subject: |
|
|
Thank you for your help |
|
Back to top |
|
|
|