I'm uing Raspberry Pi3 but I could not see ethp when I input ifconfig. I can only see enxb827eb844b0c : xxx lo: xxx
Asked
Active
Viewed 1.3k times
2 Answers
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.
Milliways
- 59,890
- 31
- 101
- 209
-
interesting, my raspbian stretch still shows eth0: – Jaromanda X Sep 11 '17 at 05:03
-
@JaromandaX Did you do a clean install? – Milliways Sep 11 '17 at 06:09
-
Ahh, of course not :p – Jaromanda X Sep 11 '17 at 06: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.
-
Or more simply pass
net.ifnames=0on the kernel command line in/boot/cmdline.txt– Milliways Sep 11 '17 at 06:16 -
Thank you and adding net.ifnames=0 on the kernel command line in /boot/cmdline.txt fixed problem. – Daniel Hwang Sep 11 '17 at 08:40
-
2Or keep the new type of network name and start to learn it... Embrace the future. – MatsK Sep 12 '17 at 16:41