Posts: 1
Joined: Tue Jan 09, 2018 6:25 pm

Help me fix my eth01

Tue Jan 09, 2018 6:27 pm

When trying to get a static ip a few days ago, I used the following lines

sudo nano /etc/dhpcd.conf sudo nano /etc/network/interfaces

I remember editing values but then removing them later. Now when I used ipconfig I get this:

It says enxb827ebddef65 instead of eth01? what does this mean.

The following is in /etc/dhpcd.conf if that helps:

Posts: 1385
Joined: Fri Jan 04, 2013 1:57 pm
Location: de_DE

Re: Help me fix my eth01

Tue Jan 09, 2018 6:38 pm

what veraion of raspbian stretch is installed on your sd card?
i remember the very first version(s) didn't had the flag to use the old interface naming in the /boot/cmdline.txt
new raspbian stretch versions do have that flag in the cmdline.txt

or did you modified your cmdline.txt? (added line feeds by accident)
you can bring back the old interface naming behavoir by adding " net.ifnames=0" to the cmdline.txt file.

note: do not add any linefeeds to the cmdline.txt ! everything MUST be in the very first line.
{ I only give negative feedback }
RPi B (256MB), B (512MB), B+, ZeroW; 2B; 3B, 3B+; 4B (4GB)

User avatar
Posts: 39576
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Help me fix my eth01

Tue Jan 09, 2018 7:30 pm

sudo apt update && sudo apt -y dist-upgrade
That will add an option to sudo raspi-config to enable "predictable" names (enxb827ebddef65/wlxdeadbeefcafe) or disable them (eth0/wlan0). It needs a reboot after you pick your option.

Personally I think predictable names make life easier, every raspberry has a unique interface name.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All fake doctors are on my foes list.

Return to “Troubleshooting”