[opensuse] importing dhcpd.conf from another Linux distro
Hello, I want to import my dhcpd.conf file from a Fedora Core 3 server to my Suse 11 server. Is there anything special I need to do to get it to work? A simple copy over and '/etc/init.d/dhcpd start' failed with an error from 'Starting DHCP server ... set DHCPD_INTERFACE in /etc/sysconfig/dhcpd skipped'. Any hints on making a successful migration? Thank you, James -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
James D. Parra wrote:
Hello,
I want to import my dhcpd.conf file from a Fedora Core 3 server to my Suse 11 server. Is there anything special I need to do to get it to work? A simple copy over and '/etc/init.d/dhcpd start' failed with an error from 'Starting DHCP server ... set DHCPD_INTERFACE in /etc/sysconfig/dhcpd skipped'.
Any hints on making a successful migration?
Thank you,
James
Your fine just copying the /etc/dhcpd.conf, but you have to make an adjustment or two. I copy the config files to new machines all the time. Now just go fix /etc/sysconfig/dhcpd: ## Path: Network/DHCP/DHCP server ## Description: DHCP server settings ## Type: string ## Default: "" ## ServiceRestart: dhcpd # # Interface(s) for the DHCP server to listen on. # # A special keyword is ANY, it will cause dhcpd to autodetect available # interfaces. # # Examples: DHCPD_INTERFACE="eth0" # DHCPD_INTERFACE="eth0 eth1 eth2 tr0 wlan0" # DHCPD_INTERFACE="internal0 internal1" # DHCPD_INTERFACE="ANY" # DHCPD_INTERFACE="eth0" ^^^^^^^^^^^^^^^^^^^^^^ I bet the error is just due to you having it run on a different DHCPD_INTERFACE on your prior install. You can also set this in yast. Also in the link I provided to your DDNS post has copies of my configs in it. The link again is: http://www.3111skyline.com/download/linux/howto/openSuSE_Server-Setup -- David C. Rankin, J.D.,P.E. | openSoftware und SystemEntwicklung Rankin Law Firm, PLLC | Countdown for openSuSE 11.1 www.rankinlawfirm.com | http://counter.opensuse.org/11.1/small -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
David C. Rankin
-
James D. Parra