RNDIS Setup (Windows)
Windows hosts do not support CDC-ECM devices. To connect to the boards using USB Ethernet on Windows hosts, you need to configure an RNDIS interface instead.
$BUILD_DIR/conf/local.conf. Find the line:
# USB_GADGET_FUNCTION = "ecm"
Uncomment and change it to:
USB_GADGET_FUNCTION = "rndis"
Connect USB0 to host PC. You might find the device cannot be detected properly.
Right-click on the unrecognized RNDIS/Ethernet Gadget device, and select Update Driver Software:
Select Browse my computer for driver software → Let me pick from a list of device drivers on my computer → Network adapters
Select Microsoft Corporation → Remote NDIS Compatible Device
You should see an additional network adapter appear in Network and Sharing Center.
Set the Static IP of the adapter to:
After static IP setting, you should now be able to proceed to next section to connect to the board with SSH.
Connecting using the board IP
The USB CDC-ECM interface in rity-demo-image is configured with the following static IP:
You can connect to the board using the following command:
ssh email@example.com root@i350-evk:~#
You can also use scp programs to copy files to the board:
scp host-file.txt firstname.lastname@example.org:/path/to/target/directory
Connecting by using mDNS
The host name of the board is in the form
<machine> is the value of
MACHINE variable that
was used to build the SDK.
For instance you can connect to the
i350-evk board with the host name
i350-evk.local by using the following command:
ssh email@example.com root@i350-evk:~#
It is recommended to modify
/etc/avahi/avahi-daemon.conf and set
host-name to change the host name of the board to something unique if there are multiple boards of the same model connected to the same network. And run
systemctl restart avahi-daemon to take effect.