← 返回
开发者工具

Rdk X5 Network

管理 RDK X5 的 WiFi 连接、有线网络静态IP、蓝牙配对、WiFi 热点创建、SSH 远程访问配置、VNC 远程连接故障排查。Use when the user wants to connect WiFi, create hotspot, pair Bluetooth, configure SSH, t...
管理 RDK X5 的 WiFi 连接、有线网络静态IP、蓝牙配对、WiFi 热点创建、SSH 远程访问配置、VNC 远程连接故障排查。Use when the user wants to connect WiFi, create hotspot, pair Bluetooth, configure SSH, t...
katherineedwards2475
开发者工具 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 571
下载
💾 16
安装
1
版本
#bluetooth#embedded#latest#rdk-x5#robotics#ssh#wifi

概述

RDK X5 Network — 网络与蓝牙配置

操作步骤

1. 查看网络状态

ip addr show                   # 所有接口 IP
nmcli device status            # 连接状态总览
nmcli device wifi list         # 扫描可用 WiFi

2. 连接 WiFi

# 连接(替换 SSID 和 PASSWORD)
sudo nmcli device wifi connect "SSID" password "PASSWORD"

# 连接隐藏 WiFi
sudo nmcli device wifi connect "SSID" password "PASSWORD" hidden yes

# 查看 / 删除已保存连接
nmcli connection show
sudo nmcli connection delete "连接名"

3. 创建 WiFi 热点

sudo nmcli device wifi hotspot ifname wlan0 ssid "RDK-X5-AP" password "12345678"

# 关闭热点
sudo nmcli connection down Hotspot

4. 配置有线静态 IP

sudo nmcli connection modify "Wired connection 1" \
  ipv4.method manual \
  ipv4.addresses "192.168.1.100/24" \
  ipv4.gateway "192.168.1.1" \
  ipv4.dns "8.8.8.8,114.114.114.114"
sudo nmcli connection up "Wired connection 1"

# 恢复 DHCP
sudo nmcli connection modify "Wired connection 1" ipv4.method auto
sudo nmcli connection up "Wired connection 1"

5. 蓝牙配对

sudo systemctl start bluetooth
bluetoothctl

bluetoothctl 交互中:

  1. scan on — 扫描设备
  2. pair XX:XX:XX:XX:XX:XX — 配对
  3. connect XX:XX:XX:XX:XX:XX — 连接
  4. quit — 退出

6. SSH / VNC 远程访问

# SSH 开启
sudo systemctl enable ssh && sudo systemctl start ssh

# VNC 开启(通过 srpi-config)
sudo srpi-config
# → Interface Options → VNC → Enable

7. srpi-config 快速配置

sudo srpi-config

支持:WiFi、SSH/VNC 开关、40pin 总线、MIPI 屏幕选择、音频通道切换。

排查故障

现象排查命令解决
---------------------
无法上网ping -c 4 8.8.8.8检查网关:ip route show
DNS 解析失败cat /etc/resolv.conf手动设置 DNS:sudo nmcli conn modify ... ipv4.dns "114.114.114.114"
WiFi 扫描为空nmcli radio wifi若 disabled 则 nmcli radio wifi on
网络服务异常sudo systemctl status NetworkManagersudo systemctl restart NetworkManager

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 23:14 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

Rdk X5 App

katherineedwards2475
运行 RDK X5 /app 目录下的预装示例程序:12 个 Python AI 推理 demo(YOLO/分类/分割/Web展示)、40pin GPIO 示例、C++ 多媒体示例(编解码/RTSP/VIO)、查看 34 个预装 BPU 模
★ 0 📥 614
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 666 📥 323,799
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 920 📥 185,727