View previous topic :: View next topic |
Author |
Message |
tubachuck n00b
Joined: 31 Mar 2005 Posts: 4 Location: North Carolina
|
Posted: Thu Mar 31, 2005 3:18 am Post subject: Network Issues [SOLVED[ |
|
|
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 |
|
|
mikegpitt Advocate
Joined: 22 May 2004 Posts: 3224
|
Posted: Thu Mar 31, 2005 3:33 am Post subject: |
|
|
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 |
|
|
kimchi_sg Advocate
Joined: 26 Nov 2004 Posts: 2969
|
Posted: Thu Mar 31, 2005 4:41 am Post subject: Re: Network Issues |
|
|
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.
- emerge dhcpcd
- Edit /etc/conf.d/net
- If 1 and 2 don't work, post symptoms and error messages here.
|
|
Back to top |
|
|
tubachuck n00b
Joined: 31 Mar 2005 Posts: 4 Location: North Carolina
|
Posted: Thu Mar 31, 2005 9:50 pm Post subject: |
|
|
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 |
|
|
tubachuck n00b
Joined: 31 Mar 2005 Posts: 4 Location: North Carolina
|
Posted: Thu Mar 31, 2005 10:33 pm Post subject: Thanks |
|
|
Thanks everyone. I've got it fixed now. _________________ --TubaChuck |
|
Back to top |
|
|
kimchi_sg Advocate
Joined: 26 Nov 2004 Posts: 2969
|
Posted: Thu Mar 31, 2005 11:42 pm Post subject: Re: Thanks |
|
|
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 |
|
|
tubachuck n00b
Joined: 31 Mar 2005 Posts: 4 Location: North Carolina
|
Posted: Fri Apr 01, 2005 8:47 pm Post subject: |
|
|
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 |
|
|
|