0

I'm uing Raspberry Pi3 but I could not see ethp when I input ifconfig. I can only see enxb827eb844b0c : xxx lo: xxx

2 Answers 2

1

This is NORMAL for Stretch.

You do not need to do anything, the Pi should work as normal.

If you want to understand WHY and for other options see How do I set up networking/WiFi/Static IP

PS There is no need to be coy about posting the full output from ifconfig, which is necessary if you actually need help with troubleshooting.

3
  • interesting, my raspbian stretch still shows eth0: Commented Sep 11, 2017 at 5:03
  • @JaromandaX Did you do a clean install?
    – Milliways
    Commented Sep 11, 2017 at 6:09
  • Ahh, of course not :p Commented Sep 11, 2017 at 6:13
1

The string "enxb827eb844b0c" consists of your Ethernet card MAC address. you can change its name to "eth0" as I do after installation ( using a script ).

Using command line, locate eth alias in file

/lib/udev/rules.d/73-usb-net-by-mac.rules:

grep -o 'NAME=".*' /lib/udev/rules.d/73-usb-net-by-mac.rules | grep -o'".' 

Use any text editor, nano or gedit to change its name.

3
  • Or more simply pass net.ifnames=0 on the kernel command line in /boot/cmdline.txt
    – Milliways
    Commented Sep 11, 2017 at 6:16
  • Thank you and adding net.ifnames=0 on the kernel command line in /boot/cmdline.txt fixed problem. Commented Sep 11, 2017 at 8:40
  • 2
    Or keep the new type of network name and start to learn it... Embrace the future.
    – MatsK
    Commented Sep 12, 2017 at 16:41

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.