Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8013

Networking and servers • difficulty setting static ip for raspberry pi

$
0
0
specs
  • headless raspberry pi 3b+
  • PiOS, version 12.12
  • wireless connection to internet
i'm trying to set a static local(!!) ip address for my raspberry pi. my /etc/network/interfaces file looks like this:

Code:

source /etc/network/interfaces.d/*# The loopback network interfaceauto loiface lo inet loopbackauto wlan0iface wlan0 inet staticaddress 192.168.1.86netmask 255.255.255.0gateway 192.168.1.254dns-nameservers 1.1.1.1 9.9.9.9
when i run sudo systemctl restart networking.service, i get the following output:

Code:

Job for networking.service failed because the control process exited with error code.See "systemctl status networking.service" and "journalctl -xeu networking.service" for details.
here is the output for systemctl status networking.service. here is the output for systemctl status networking.service.

please let me know if you need any additional information!! :-)

Statistics: Posted by finalgirlfall — Wed Sep 17, 2025 11:55 pm



Viewing all articles
Browse latest Browse all 8013

Trending Articles