On Fri, Dec 27, 2002 at 06:35:56PM +0800, Patrick Law wrote: > Good day, > > If I wish to configure ip address from command line, which file I need to > edit? > > How do I make dhcpd start automatically when I boot up machine?
Hi, Patrick, I just setup DHCP for the first time on my machine, but haven't yet had a chance to test it. To learn how to configure the IP address, try the DHCP-HOWTO: http://www.tldp.org/HOWTO/mini/DHCP/x17.html As for making DHCP start when you boot, you should be able to use chkconfig to configure it. See 'man chkconfig' for details, but as an example, if you want DHCP to start when you boot into runlevels 3 and 5, you can do # chkconfig --level 35 dhcpd on This command lists it's current configuration: $ chkconfig --list dhcpd Of course, that all assumes that you installed from the rpm which came on your Redhat discs. If you don't have a script named 'dhcpd' in /etc/init.d, then chkconfig won't work. In that case, you could start dhcpd from /etc/rc.d/rc.local. Hope this helps, Ben -- Ben Logan Google Answers Researcher answers.google.com When you're searching for information, Google Answers. The only thing cheaper than hardware is talk. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list