debian-user:
I have built a VirtualBox virtual machine and installed Debian 11 with
SSH server and standard system utilities only. I plan to use the VM to
run the UniFi Network Controller to manage the UniFi equipment on my
SOHO LAN:
root@unifi:~# cat /etc/debian_version ; uname -a
11.10
Linux unifi 5.10.0-30-amd64 #1 SMP Debian 5.10.218-1 (2024-06-01) x86_64
GNU/Linux
The VM currently has a DHCP address. I would like to set a static IPv4
address. The Debian wiki tells me to edit /etc/network/interfaces and
provides some example settings that I believe I can adapt to my use-case:
https://wiki.debian.org/NetworkConfiguration#Configuring_the_interface_manually
auto eth0
iface eth0 inet static
address 192.0.2.7/24
gateway 192.0.2.254
The Debian wiki also says:
"Make sure to disable all DHCP services, e.g. dhcpcd."
What is the correct method to "disable all DHCP services"?
David