Network Issues
Solutions for network and connectivity problems.
Cannot Ping SBC
Symptoms
ping 10.0.0.1
# Request timeout
Solutions
-
Verify Cable Connection
- Ethernet LED on port
- Firm cable connection
- Try different cable
-
Check PC Network Config
# Linuxip addr show eth0# Should show 10.0.0.x# Set IP if neededsudo ip addr add 10.0.0.2/24 dev eth0 -
Disable Firewall
# Linux (temporary)sudo ufw disable# Or allow specific trafficsudo ufw allow from 10.0.0.1
SSH Connection Refused
Error
ssh: connect to host 10.0.0.1 port 22: Connection refused
Solutions
-
Verify SSH Service
# On SBC (via serial)systemctl status sshd# Start if neededsystemctl start sshd -
Check Credentials
- Username:
root - Password:
root
- Username:
-
Verify IP Address
# On SBCip addr show eth0
No Video Stream
Symptoms
- GStreamer pipeline runs
- No video appears
- Black screen
Solutions
-
Check GStreamer Pipeline
# Test with videotestsrcgst-launch-1.0 videotestsrc ! autovideosink -
Verify UDP Port
# Linux - allow port 5000sudo ufw allow 5000/udp -
Check Network Bandwidth
# Test with iperf3iperf3 -c 10.0.0.1
IP Address Conflicts
Symptoms
- Intermittent connectivity
- Wrong device responds
- Connection drops
Solutions
-
Check IP Addresses
# List all devices on subnetnmap -sn 10.0.0.0/24 -
Use Static IP
# On SBCcat > /etc/systemd/network/10-eth0.network << 'NETEOF'[Match]Name=eth0[Network]Address=10.0.0.1/24NETEOF -
Change Subnet
- Use 192.168.x.x range
- Update both SBC and PC
DNS Not Working
Symptoms
- Can ping IP addresses
- Cannot resolve hostnames
ping google.comfails
Solution
DNS is not configured on SBC by default. Use IP addresses or configure DNS:
# Temporary
echo "nameserver 8.8.8.8" > /etc/resolv.conf
# Permanent
cat > /etc/systemd/resolved.conf << 'DNSEOF'
[Resolve]
DNS=8.8.8.8
FallbackDNS=1.1.1.1
DNSEOF
systemctl restart systemd-resolved
Quick Diagnostic Commands
# Check interfaces
ip addr
# Check routes
ip route
# Test connectivity
ping 10.0.0.1
# Check ports
netstat -tlnp
# Check firewall
sudo ufw status