[arch-general] Beginner's Guide: Disable dhcpd service before setting static ip
Hi, In the setting up network section of beginner's guide [1], there should be an instruction to disable dhcpd service before setting up the static ip, otherwise dhcpd automatically rewrites the resolv.conf file, removing user set details. Wanted to confirm if I am right. Can I edit the wiki to include the instruction: 'systemctl stop dhcpd.service' in the beginning of the "Wired" section? [1] https://wiki.archlinux.org/index.php/Beginners%27_Guide#Wired Thanks! Siddhartha Sahu
Hey, Siddhartha Sahu <sh.siddhartha@gmail.com> wrote:
Wanted to confirm if I am right. Can I edit the wiki to include the instruction: 'systemctl stop dhcpd.service' in the beginning of the "Wired" section?
don't you mean 'systemctl stop dhcpcd.service'? The dhcpd is the dhcp server, dhcpcd the client. -- toerb
Hi Tobias, On Mon, Apr 8, 2013 at 11:25 PM, Tobias Groß <toerbnator@jedirat.org> wrote:
don't you mean 'systemctl stop dhcpcd.service'? The dhcpd is the dhcp
server, dhcpcd the client.
yes it should be `systemctl stop dhcpcd.service`. I had typed the earlier one from memory. -- Siddhartha Sahu
On Tue, Apr 9, 2013 at 3:01 AM, Siddhartha Sahu <sh.siddhartha@gmail.com>wrote:
yes it should be `systemctl stop dhcpcd.service`. I had typed the earlier one from memory.
That stops the service all right, but it doesn't disable it. On next boot it will be started again. What you probably want is to stop *and* disable: # systemctl stop dhcpcd.service # systemctl disable dhcpcd.service -- Rodrigo
On 9 April 2013 05:31, Rodrigo Rivas <rodrigorivascosta@gmail.com> wrote:
That stops the service all right, but it doesn't disable it. On next boot it will be started again. What you probably want is to stop *and* disable:
He is talking about the dhcpcd service on the install image, so disable wouldn't be very useful. -- Alexandre Medeiros
On Tue, Apr 9, 2013 at 10:31 AM, Rodrigo Rivas <rodrigorivascosta@gmail.com>wrote:
What you probably want is to stop *and* disable:
No, the Beginners-Guide section at issue here is about getting the Network going when initialy booting into the Arch installation environment. At that point, the user still outside the chroot. There is a separate section further down below in the guide which deals with making network config persistent while chrooted inside the newly installed system. -- Bruno
On Tue, Apr 9, 2013 at 2:01 PM, Rodrigo Rivas <rodrigorivascosta@gmail.com> wrote:
That stops the service all right, but it doesn't disable it. On next boot it will be started again. What you probably want is to stop *and* disable:
# systemctl stop dhcpcd.service # systemctl disable dhcpcd.service
That is an instruction for during Arch Linux installation, so just stopping the service is enough here :) -- Siddhartha Sahu
participants (5)
-
Alexandre Medeiros
-
Bruno Widmann
-
Rodrigo Rivas
-
Siddhartha Sahu
-
Tobias Groß