Network / SSH Troubleshooting
Cannot reach the board over the network
1. Find the board's IP address
Connect via serial console and run:
Look for an inet address on eth0 or end0. If no IP is assigned, see the DHCP section below.
2. Verify subnet compatibility
The host and board must be on the same subnet. Example:
| Device | IP | Reachable? |
|---|---|---|
| Host | 192.168.1.10 |
— |
| Board | 192.168.1.55 |
Yes (/24 subnet) |
| Board | 192.168.2.55 |
No (different subnet) |
3. Test basic connectivity
From the host:
If ping fails but the IP is correct, check for a firewall on the host:
4. Configure a fixed IP
In a lab environment, avoid DHCP uncertainty by setting a fixed IP on the board.
No IP assigned by DHCP
Check the Ethernet link
The output should include UP and LOWER_UP. If it shows NO-CARRIER:
- Check the Ethernet cable and the connector on the board.
- Try a different cable or switch port.
Check the DHCP client
Request an address manually
If no address is assigned after ~10 seconds, there is no DHCP server reachable on that network segment.
SSH: connection refused
Check that the SSH daemon is running
Start it if needed:
SSH server not installed in the image
Add to your Yocto configuration and rebuild:
SSH is running but still refused
Check which port it is listening on:
Confirm there is no host-side firewall blocking port 22:
SSH connection times out or drops
Enable keepalive
Add to ~/.ssh/config on the host:
Check for IP address changes
If DHCP is in use, the board IP may change after a reboot. Set a fixed IP or configure a DHCP reservation on your router.