Re: [opensuse] Configuring DHCP client on Opensuse. Which one -- dhcpcd, dhclient or wicked?
On 29 May 2015 at 13:33, John Connor
My 2 bits regarding dhcpd : at least up to 13.1 yast reads /etc/dhcpd.conf when you start to edit DHCP server settings via yast. So whatever you already have there will be reflected in what you see in yast - you can edit the conf file directly, or you can use yast, and the results will appear in the conf file. Just remember to restart dhcpd after editing /etc/dhcpd.conf, it doesn't automatically reload. It is probably easiest to use yast for the restart, unless you want to get into systemd command line.
No comment on dhcpclient - we use a fixed address facing the internet, and I've never used wicked.
John
On 24 May 2015 at 18:07,
wrote: I'm setting up a DHCP client on Opensuse. I'm coming from Debian; apparently things are done differently here in Opensuse. My very-techie friend also from Debian has given up trying to help me with figuring this out on Opensuse :-(
This box is being set up as an edge router+firewall.
It connects directly to an ISP's DSL modem - an AT&T Uverse-compatible Pace 5031NV.
Iiuc, on Opensuse there are 3 different clients -- dhcpcd, dhclient & wicked.
I don't know much of anything about 'wicked' yet. From reading in the docs
https://www.suse.com/documentation/sles-12/book_sle_admin/data/sec_basicnet_...
and a bunch of posts scattered acorss the mailing lists and bug reports it sounds like wicked is the right way going forward @ opensuse and that dhcpcd and dhclient are going away eventually.
I really want to understand how to do this manually if I have to and am uncomfortable with 'fuzzy' configs scattered all over the place.
'Everybody' just keeps saying "use yast" to configure but won't answer the question *which* dhcp client is used in that case and where the config goes.
The docs seems to bounce between using the old /etc/sysconfig/network/* configs and the new /etc/wicked/* configs.
My questions for starters are
(A) Is it true that on opensuse going forward wicked is the right way to configure network connections, and that all of its configs go into /etc/wicked/*?
(B) Is there any documentation that gives an EXAMPLE of a working /etc/wicked/*-only config for connecting a server to an ISP's modem using DHCP? I'm not looking for an encyclopedia of options, there's already too much of that causing me confusion. I'm looking for a working, practical example I can start with and learn from.
Cheers,
Bob -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (1)
-
John Connor