LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices


Reply
  Search this Thread
Old 06-16-2009, 09:20 AM   #1
jimbo1708
Member
 
Registered: Jan 2007
Location: Pennsylvania
Distribution: Ubuntu 8.10 Server/9.04 Desktop, openSUSE 11.1
Posts: 154

Rep: Reputation: 31
DHCP setup using minimal cd install


I am performing a gentoo install using the 2008 minimal cd. My LAN is all DHCP. As per the guide

http://www.gentoo.org/doc/en/gentoo-...ickinstall.xml

I ran

Code:
net-setup eth0
to get a DHCP address. Now I am confused looking at code listing 2.21

Code:
livecd etc # cd conf.d
livecd conf.d # echo 'config_eth0=( "192.168.1.10/24" )' >> net
livecd conf.d # echo 'routes_eth0=( "default via 192.168.1.1" )' >> net
livecd conf.d # rc-update add net.eth0 default
(If you compiled your network card driver as a module,
add it to /etc/modules.autoload.d/kernel-2.6)
livecd conf.d # echo r8169 >> /etc/modules.autoload.d/kernel-2.6
(If you want to reconnect via ssh after you have rebooted your new box)
livecd conf.d # rc-update add sshd default
Do I need to write information to the "net" file if I am only using DHCP?

- Jim
 
Old 06-16-2009, 11:49 AM   #2
jimbo1708
Member
 
Registered: Jan 2007
Location: Pennsylvania
Distribution: Ubuntu 8.10 Server/9.04 Desktop, openSUSE 11.1
Posts: 154

Original Poster
Rep: Reputation: 31
solved,

I simply didn't write anything to the "net" file. I only did

Code:
livecd etc # cd conf.d
livecd conf.d # rc-update add net.eth0 default
(If you compiled your network card driver as a module,
add it to /etc/modules.autoload.d/kernel-2.6)
livecd conf.d # echo r8169 >> /etc/modules.autoload.d/kernel-2.6
(If you want to reconnect via ssh after you have rebooted your new box)
livecd conf.d # rc-update add sshd default
 
  


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
Installed Minimal Slack incl. dhcp/dhcpd but what to install to connect? linus72 Slackware 4 05-31-2009 05:34 AM
Minimal setup needed for wordprocessing and webbrowsing ibrahimm Linux - General 4 11-19-2007 12:52 AM
System hardware requirements for minimal desktop setup? General Linux - Hardware 3 02-27-2007 04:14 AM
Mepis won't install, hangs at 40% during dhcp setup mylinuxquestionsname MEPIS 4 02-19-2006 05:07 PM
Problem with DHCP usign minimal install linuxmandrake Debian 1 09-09-2005 11:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 07:24 PM.

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