win32diskimager写入raspios进SD卡
在boot分区下编辑config.txt 文件,末尾增加一行 dtoverlay=dwc2
在boot分区下编辑cmdline.txt ,找到rootwait后面插入modules-load=dwc2,g_ether
USB插入电脑安装RNDIS/Ethernet Gadget驱动下载地址
ssh连接树莓派
ip地址:raspberrypi.local
端口:22
用户名:pi
登入密码:raspberry
开启ssh root登录
sudo passwd root
修改/etc/ssh/sshd_config,修改为PermitRootLogin yes
使用win32diskimager将RASPIOS写入SD卡,修改boot分区的config.txt与cmdline.txt以启用USB网络适配器驱动。安装RNDIS/EthernetGadget驱动,通过ssh连接树莓派,ip地址为raspberrypi.local,端口22,用户名pi,初始密码raspberry。开启sshroot登录并设置新密码。
1116

被折叠的 条评论
为什么被折叠?



