LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-10-2004, 12:08 AM   #1
black hole sun
Member
 
Registered: Jul 2004
Distribution: Slackware Current
Posts: 127

Rep: Reputation: 15
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?
 
Old 08-10-2004, 12:29 AM   #2
korozion
Member
 
Registered: Apr 2004
Location: Canada
Distribution: Debian
Posts: 124

Rep: Reputation: 15
Did you build your own kernel? And if so, are you missing something (ie. your network card) what does ifconfig say?
 
Old 08-10-2004, 05:29 AM   #3
fatblueduck
Member
 
Registered: Dec 2003
Location: Long Beach, CA
Distribution: haven't settled on one.
Posts: 251

Rep: Reputation: 30
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...
 
Old 08-10-2004, 07:38 AM   #4
aeruzcar
Member
 
Registered: Jul 2003
Location: Santiago, Chile
Distribution: Gentoo
Posts: 282

Rep: Reputation: 30
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
 
Old 08-10-2004, 08:07 AM   #5
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
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
 
Old 08-10-2004, 08:48 AM   #6
aeruzcar
Member
 
Registered: Jul 2003
Location: Santiago, Chile
Distribution: Gentoo
Posts: 282

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't connect to internet w/ Gentoo randcv Linux - Newbie 6 08-19-2005 12:03 PM
Gentoo refuses to connect to internet adamb10 Linux - Networking 5 04-07-2005 09:51 AM
can't connect to the internet:linux dont read my internet address droplsh Linux - General 1 02-29-2004 07:32 PM
gentoo wont connect to internet netquest1 Linux - Networking 6 02-15-2004 12:08 PM
Can connect broadband but can't connect Internet satimis Linux - Networking 4 01-31-2004 07:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration