树莓派网卡名称eth0变为enxxx解决方法

If you are on Raspbian then raspi-config is easiest method.

sudo raspi-config
  1. Select "2. Network options"
  2. Select "N3 Network interface names"
  3. Select "No". It's now disabled predictable network interface names.
  4. Click "OK" and "Finish". Then it will reboot your raspberry pi.

Done.

原文来自问答:https://raspberrypi.stackexchange.com/a/82029

你可能感兴趣的:(DIARY,debug)