View previous topic :: View next topic |
Author |
Message |
mirage n00b
Joined: 02 Jun 2003 Posts: 7
|
Posted: Mon Jun 02, 2003 11:41 pm Post subject: noob question on dhcpcd eth0 |
|
|
just installed gentoo without problem, but i cannot connect online unless i type when i first boot:
any idea on how to get connected without having to type that in everytime?
thanks,
Alex |
|
Back to top |
|
|
greml!n Apprentice
Joined: 29 Mar 2003 Posts: 159
|
Posted: Tue Jun 03, 2003 1:04 am Post subject: |
|
|
Not sure, but I'll tell you how I'd find out. Obviously gentoo forum search for things like "dhcpd startup" and "dhcpd boot" would be first. Google and google's usenet archive are also wonderful resources.
Lastly, most things boot related are handled via runlevels, specifically in the /etc/init.d directory. If I look in there I see a script called net.eth0 and I recognize that eth0 is my network adapter. Paging through this script (using the programm "less") I see a comment that says:
#NB: Config is in /etc/conf.d/net
If I examine /etc/conf.d/net I see this little snippet:
# For DHCP set iface_eth? to "dhcp"
# For passing options to dhcpcd use dhcpcd_eth?
#
#iface_eth0="dhcp"
#dhcpcd_eth0="..."
I have no idea if that's right but it should be enough to get you started. |
|
Back to top |
|
|
reaz82 Apprentice
Joined: 14 Mar 2003 Posts: 203 Location: Austin, Texas
|
Posted: Tue Jun 03, 2003 4:17 am Post subject: |
|
|
greml!n wrote: | Not sure, but I'll tell you how I'd find out. Obviously gentoo forum search for things like "dhcpd startup" and "dhcpd boot" would be first. Google and google's usenet archive are also wonderful resources.
Lastly, most things boot related are handled via runlevels, specifically in the /etc/init.d directory. If I look in there I see a script called net.eth0 and I recognize that eth0 is my network adapter. Paging through this script (using the programm "less") I see a comment that says:
#NB: Config is in /etc/conf.d/net
If I examine /etc/conf.d/net I see this little snippet:
# For DHCP set iface_eth? to "dhcp"
# For passing options to dhcpcd use dhcpcd_eth?
#
#iface_eth0="dhcp"
#dhcpcd_eth0="..."
I have no idea if that's right but it should be enough to get you started. |
you see that second to last line? remove the #(comment symbol) and then add net.eth0 to ur boot run level by using 'rc-update add net.eth0 default'
that should get ur card up and running..
take care |
|
Back to top |
|
|
mirage n00b
Joined: 02 Jun 2003 Posts: 7
|
Posted: Tue Jun 03, 2003 10:22 pm Post subject: |
|
|
great! thanks for the fast response |
|
Back to top |
|
|
|