LinHES Forums
http://forum.linhes.org/

Boot Time DHCP
http://forum.linhes.org/viewtopic.php?f=6&t=9824
Page 1 of 1

Author:  nickabbey [ Thu Apr 27, 2006 9:40 pm ]
Post subject:  Boot Time DHCP

I hate to make my first post something so dumb, :oops: but I definately don't have a clue and have been turning up nothing in searches of the forum or on google.:shock: I've been away from Linux for a while now and am pretty rusty. I've also only ever used Red hat and mandrake distros, so Debian is new to me but I'm liking it so far. Anyway, here's my issue:

I have 1 NIC in my myth box.
nothing strange, it's eth0.
however, when the post-installation routine did the network config, I hadn't yet plugged in the patch to my router (Dumba$$!). I guess because it didn't see a conneciton it didn't set up the eth0 interface to do dhcp at boot time. if I "pump -i eth0" from a terminal window it gets an IP and I can web surf and see my win boxes. I'm trying to figure out how to get an IP at boot time and I can't seem to get it. I haven't used linux in some time, but I thought there was a dir somewhere under /etc where you could specify dhcp on boot for an interface but I can't seem to find it. something along the lines of a file called eth0 that you set up for dhcp and the ifup routine uses it on boot or when involed? Then I thought I could write a script to run pump and put it in init.d but that seemed kind of dumb, since I know there's got to be a way get the eth0 interface to do DHCP at boot.:?:

Any help is appreciated.

Thanks!

Author:  nickread [ Fri Apr 28, 2006 12:01 am ]
Post subject: 

netcardconfig :-)

Author:  nickabbey [ Sat Apr 29, 2006 8:28 am ]
Post subject:  D'oh!

I knew it would turn out to be easy but I didn't think I'd feel so dumb when I read the answer!
thanks!

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/