Raspberry Pi networked via RNDIS
From Waveshare Wiki
- Execute the following commands to check whether ttyUSB2 can be recognized normally, if it is successfully recognized, open the port through minicom
ls /dev/ttyUSB* sudo minicom -D /dev/ttyUSB2
- Send the following commands through minicom and wait for the module to restart
AT+CUSBPIDSWITCH=9011,1,1
- Run the ifconfig command to see if a USB0 card is identified
ifconfig
- Get IP address
sudo dhclient -v usb0
Note: If you need to switch to the windows system to use, or restore to the default settings of the module, you can send the following command:
AT+CUSBPIDSWITCH=9001,1,1