I have a question about setting up my Pi with a static IP address so I can access it remotely. Currently I attempting to use this guide to set up my Pi with a static IP.

This is the text I added to the /etc/dhcpcd.conf file:

interface eth0
static ip_address=
static routers=
static domain_name_servers=

When I save etc/dhcpcd.conf with this text and reboot, if i put ifconfig in the terminal, there is no eth0 interface. This is a screenshot of what I get when I run ifconfig in the terminal:

terminal output

As you can see, instead of eth0 I have enxb827eb819487. I have no idea what this is, but it is obviously the interface name for my wired connection. The question is, why?


1 Answer 1


A minor remark first: Raspberry Pi 3 its just the hardware, the question is regarding the OS (Operating System) example "Raspbian" and what date the image file have, there are differences in different OS versions.

1. Regarding Fixed IP.

This is defined in the file /etc/network/interfaces.

auto enxb827eb819487
iface enxb827eb819487 inet static

See ref. below.

2. Network interface names.

Quote: Predictable Network Interface Names

As if Stretch, the old network names like eth0, eth1 have gone away as the device name can change. The new names are similar to these: enp6s0, enp8s0, enp0s31f6, enp5s0.

Ref.: https://wiki.debian.org/NetworkConfiguration

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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