sd卡上config.txt中末行添加
dtoverlay=dwc2
cmdline.txt文件中rootwait后添加
modules-load=dwc2,g_ether
登录树莓派
ssh root@ssh pi@raspberrypi.local
Linux raspberrypi 4.14.34+ #1110 Mon Apr 16 14:51:42 BST 2018 armv6l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are describe