Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Newbie question on /etc/conf.d/net configuration
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
crencom
n00b
n00b


Joined: 29 Oct 2002
Posts: 25

PostPosted: Thu Nov 07, 2002 2:49 pm    Post subject: Newbie question on /etc/conf.d/net configuration Reply with quote

Gentoo is installed, but I'm having trouble w/ my network connection. I have a dual boot setup w/ XP and Gentoo running on dhcp with a cable/dsl router on a cable modem. NIC is compiled into the kernel.

I have got it to the point where my NIC loads on bootup, but I have to run dhcpcd eth0 each time I start my system to get the connection to work. I am then able to do emerge to get the programs I need.

ifconfig shows up and running for lo and eth0. I have searched this forum for 3 days reading on this issue. In my /etc/conf.d/net file i have heard about "commenting out" the areas that do no pertain to my setup. I know that the iface = dhcp is correct, but what else either needs to be turned on or commented out for a dhcp setup?

Last, I want to make sure that commenting out means removing the # from the command. Thx, Scott
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Thu Nov 07, 2002 3:00 pm    Post subject: Re: Newbie question on /etc/conf.d/net configuration Reply with quote

crencom wrote:
I know that the iface = dhcp is correct, but what else either needs to be turned on or commented out for a dhcp setup?

If you're running plain vanilla DHCP, then that is the only option you need.

crencom wrote:
Last, I want to make sure that commenting out means removing the # from the command.

No -- exactly the opposite. "Commenting out" means placing a # in front of the command. So, the following line is "commented out":
Code:
#iface_eth0="192.168.1.2 broadcast 192.168.1.255 netmask 255.255.255.0"


while the following line is not commented out:
Code:
iface_eth0="dhcp"


--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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