How to disable DHCP address in Debian
I have been pulling off my hairs for more than one day.

I managed to set-up a static IP address in /etc/networks/interface.d/eth0 but Debian insists on setting also a dynamic address.

How can I tell the system that I am a big boy, i know what I am doing and I would really really prefer it does not try to hold my hand, because all it does is having me trip over.

I need to set-up a static IP and only that static IP, because that is the only IP that I can use to access internet. But with the dynamic IP, all connections are initiated using that dynamic IP and the firewall will not let the connection pass through.

As I am using the latest Debian image, it has no GUI, so all I have is command line, and I can't figure out what to do.

Thanks in advance,


I followed this guide which setup netplan.
(11-01-2018, 01:49 PM)frewind Wrote: Hi,

I followed this guide which setup netplan.
Thank you, I had a look, but the minimal Debian kernel does not have netplan installed.

I am in a chicken and egg situation, as I cannot install anything until I have figured out how to configure the network.

In fact, after I flashed Debian anew, I see that I have 2 dynamic IPs associated to eth0.

I tried to remove anything from /etc/network/interface and /etc/netplan and reboot, but I still have two dynamic IPs.

Do you have a


if so

interface eth0
static ip_address=
static routers=
static domain_name_servers=

Possibly Related Threads...
Thread Author Replies Views Last Post
Big Grin Feature Complete Debian Desktop Release Mrfixit2001 154 22,096 03-31-2020, 08:22 AM
Last Post: pbut5
  UART4 in Debian Desktop Release of Mrfixit2001 Gienek 0 37 03-27-2020, 02:15 PM
Last Post: Gienek
Question Mainline Debian Buster on RockPro64 ? chrestomanci 2 211 03-08-2020, 01:35 PM
Last Post: chrestomanci
  Upgrade Debian kernel on a SD/SATA drive boot combo. linuxha 6 287 12-12-2019, 04:43 AM
Last Post: dukla2000
  Debian, Kodi and the Spotify plugin. Pineapple 1 274 10-14-2019, 10:02 PM
Last Post: SBCraok
Information Update 22.02.2019 Feature-complete Debian build - SDIO WiFi/BT / PCIe / 3D / 2D Luke 100 17,178 10-04-2019, 08:57 PM
Last Post: tuxd3v
  Building a custom kernel on @mrfixit's Debian distro? Tim Jones 1 275 06-14-2019, 11:21 PM
Last Post: tllim
  rockpro64-debian-mrfixit-190531 - reboot? domih 0 186 06-07-2019, 06:58 PM
Last Post: domih
Brick bionic debian on virtualbox Szwarceneger16 0 264 02-17-2019, 07:59 AM
Last Post: Szwarceneger16
  debian image rocksa 2 494 02-08-2019, 09:53 AM
Last Post: rocksa

Forum Jump:

Users browsing this thread: 1 Guest(s)