Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Network Issues [SOLVED[
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
tubachuck
n00b
n00b


Joined: 31 Mar 2005
Posts: 4
Location: North Carolina

PostPosted: Thu Mar 31, 2005 3:18 am    Post subject: Network Issues [SOLVED[ Reply with quote

I have installed gentoo on my computer but I cannot get my network to work. I think it is something with the routing tables, but I don't really know. I have tried using dhcp but it complains about not having /etc/dhcpd.conf. I have also tried setting it up manually but it just doesnt want to set up my gateway. Any suggestions?
_________________
--TubaChuck


Last edited by tubachuck on Fri Apr 01, 2005 8:45 pm; edited 1 time in total
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3224

PostPosted: Thu Mar 31, 2005 3:33 am    Post subject: Reply with quote

Have you set up /etc/conf.d/net?

Also what is the output of "ifconfig eth0"? If there is an error it means your kernel can't see the card. If it gives output you are a step in the right direction.

What happens when you do this?
Code:
/sbin/ifconfig eth0 up
dhcpcd


If all is well this should give you an ip.
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2969

PostPosted: Thu Mar 31, 2005 4:41 am    Post subject: Re: Network Issues Reply with quote

tubachuck wrote:
I have installed gentoo on my computer but I cannot get my network to work.

Error messages. We need your exact error messages. Enclose them in [code] ... (error message) ... [/code] BBCode tags, please.
tubachuck wrote:
I think it is something with the routing tables, but I don't really know.

And we don't really know either.
tubachuck wrote:
I have tried using dhcp but it complains about not having /etc/dhcpd.conf.

emerge dhcp will install the DHCP server, which is not at all useful if you need to get a IP address. emerge dhcpcd instead.
tubachuck wrote:
I have also tried setting it up manually but it just doesnt want to set up my gateway. Any suggestions?

Yes.
  1. emerge dhcpcd
  2. Edit /etc/conf.d/net
  3. If 1 and 2 don't work, post symptoms and error messages here.
Back to top
View user's profile Send private message
tubachuck
n00b
n00b


Joined: 31 Mar 2005
Posts: 4
Location: North Carolina

PostPosted: Thu Mar 31, 2005 9:50 pm    Post subject: Reply with quote

I have tried
Code:
ifconfig eth0 up
dhcpcd eth0

dhcpcd just hangs for a minute and brings eth0 back down.
The only error message I am getting is
Quote:
No /etc/dhcp/dhcpd.conf exists!
I am also getting an error that devfsd does not exist, but I don't think that has anything to do with it.
_________________
--TubaChuck
Back to top
View user's profile Send private message
tubachuck
n00b
n00b


Joined: 31 Mar 2005
Posts: 4
Location: North Carolina

PostPosted: Thu Mar 31, 2005 10:33 pm    Post subject: Thanks Reply with quote

Thanks everyone. I've got it fixed now.
_________________
--TubaChuck
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2969

PostPosted: Thu Mar 31, 2005 11:42 pm    Post subject: Re: Thanks Reply with quote

tubachuck wrote:
Thanks everyone. I've got it fixed now.

Tell us what you did, please.

Also, please insert [SOLVED] into the title of your first post in this topic.
Back to top
View user's profile Send private message
tubachuck
n00b
n00b


Joined: 31 Mar 2005
Posts: 4
Location: North Carolina

PostPosted: Fri Apr 01, 2005 8:47 pm    Post subject: Reply with quote

I had two ethernet cards in my computer and one was not hooked up. I looked at my system log and saw that the card that was hooked up was eth1.
_________________
--TubaChuck
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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