I manually set the IP and DNS settings using the Raspbian GUI and now cannot for the life of me figure out how to change the damn settings on the command line.

In the old days you just used NetworkManager but what on earth is Raspbian using to configure IP settings?


OMG nvm for XXXXX sakes, they put the STATIC settings in the DHCP CLIENT.

For future reference, you have to change /etc/dhcpcd.conf and add/modify these lines:

interface eth0
static ip_address=
static routers=
static domain_name_servers=
static domain_search=test.local
  • Please accept your own answer with a click on the tick on its left side. Only this will finish the question and it will not pop up again year for year.
    – Ingo
    Dec 28 '19 at 22:40

These settings are stored in /etc/dhcpcd.conf. At least that is where they are normally stored - I have never used the GUI to modify Static IP.

See How to set up Static IP Address

PS Raspbian DOES NOT use NetworkManager and never has - current distributions use dhcpcd.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.