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: 1209
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 Model B (rev1, 256MB) & B (rev2, 512MB) & B+, RPi2B (1GB), 64GB microSDXC1 class 10, HDMI 1920x1080, keyboard-mouse-combo (wireless), PiCamera, ethernet-cable, 5V/1.2A power supply, Wifi dongle (rt5370)

User avatar
Posts: 34166
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website

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.
Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
MQTT Evangelist
Twitter: @DougieLawson

2012-18: 1B*5, 2B*2, B+, A+, Z, ZW, 3Bs*3, 3B+

Any DMs sent on Twitter will be answered next month.

Return to “Troubleshooting”