LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Gentoo: Can't connect to internet (https://www.linuxquestions.org/questions/linux-software-2/gentoo-can%27t-connect-to-internet-215621/)

black hole sun 08-10-2004 12:08 AM

Gentoo: Can't connect to internet
 
I finally got Gentoo up and running, only to discover that I cannot emerge anything because I can't connect to the internet. I don't get it...from the LiveCD I could!? What happened?

Here's the lone line in my /etc/conf.d/net

iface_eth0="dhcp"

I have a cable internet connection that uses a modem via ethernet, so I am certain dhcp is necessary (it's what I use in Windows as well).

Any suggestions or tips on why this's occuring?

korozion 08-10-2004 12:29 AM

Did you build your own kernel? And if so, are you missing something (ie. your network card) what does ifconfig say?

fatblueduck 08-10-2004 05:29 AM

so you had the internet working while you were installing gentoo, but then once you rebooted, you no longer had internet connection?
did you copy the DNS information created by the LiveCD part of your install, into your gentoo directory before rebooting...

aeruzcar 08-10-2004 07:38 AM

You have to edit your /etc/resolv.conf I use the same way than you to connect to the internet

my file looks like this

nameserver xxx.xxx.xxx.xxx #(Primary DNS of my internet server provider)
nameserver xxx.xxx.xxx.xxx #(Secondary DNS of my internet server provider)
search


Hope this helps

SciYro 08-10-2004 08:07 AM

why edit the /etc/resolv.conf ? dhcpcd should take care of everything,... most likely he forget to select his cards drivers when the kernel was made

aeruzcar 08-10-2004 08:48 AM

I had to edit the /etc/resolv.conf even after compiling the kernel and selecting dhcpd as my internet connection


All times are GMT -5. The time now is 07:15 PM.