在win10上通过usb连接树莓派

本文介绍了如何在Win10上通过USB端口连接树莓派Zero W进行远程控制。首先,需要设置RNDIS驱动以实现USB模拟网卡功能。由于Win10原生不支持,需要手动下载并安装驱动。接着,通过格式化SD卡、烧录Raspbian映像、修改配置文件来启用SSH和VNC。最后,使用Putty和VNC Viewer进行远程连接。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

要点:

1. 通过修改树莓派系统的配置 ,打开usb端口模拟网卡的功能.然后可以通过这个虚拟的网口,用ssh方式或者vnc方式控制树莓派.对树莓派0这种端口很少的设备非常管用.

2.是usb端口,不是usb供电口

3.把镜像烧录到tf卡上之后,修改几个配置即可.

4.win10原生认不出来usb模拟网卡.需要下载驱动.

5.默认登录地址是[email protected].密码是raspberry

6.通过vncserver启动远程登录的虚拟界面服务器.地址是raspberrypi.local:1

 

Setting up a headless setup for Pi Zero W is simple. The limitation of Pi Zero and Zero W is that it doesn’t have an Ethernet port. All we have is a single USB port. We need to use it as an Ethernet via USB technique to access the Pi. There are many tutorials available for this. But if you are using Windows 10 you might be faced the problem with RNDIS driver. The RNDIS driver will install automatically on all operating systems but not in Windows 10. In Windows10 the Pi Zero W detects as a Serial USB Device instead of RNDIS Device. RNDIS is an Ethernet via USB driver which enables virtual Ethernet connection link between the Pi and your Laptop. I tried downloading the drivers and installed but most drivers didn’t work. Then finally I found a driver link in a forum and I tried installing it manually and it’s worked. So I’m going to explain the complete steps for this headless setup along with driver installation. If you are facing issue only at the driver installation part you can directly continue with step 9.

Hardware Required:

Software Required for Headless setup:

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值