Kuavo Docs
Common Tools

Hotspot Tool Usage

Description

Hotspot name: XXX的热点, where XXX is the robot name you entered. Hotspot password: kuavo123456

This tool is used to create a WiFi hotspot on the robot, with its name set to XXX的热点 and its password set to kuavo123456. You can connect to the robot using VNC or SSH.

Install & Enable

Run the following commands to install:

cd ./tools/linux_wifi_hotspot/ # 请替换在你的仓库中的实际路径
chmod +x ./kuavo_hotspot_install.sh # 添加可执行权限
sudo ./kuavo_hotspot_install.sh

Usage

1. Connect to the robot's hotspot

The default hotspot IP address is: 192.168.12.1

Take Windows as an example: press win +r , enter cmd to open a command-line window:

# 输入以下命令查看当前连接的网络的网关地址 即机器人的热点 ip 地址
ipconfig 

alt text

Connect to the Robot via VNC or SSH

Connect to the robot via VNC You can connect to the robot via VNC, and then switch WiFi or check the robot's IP address: alt text

Or connect to the robot via SSH Take Windows as an example: press win +r , enter cmd to open a command-line window:

ssh lab@192.168.x.x # 192.168.x.x # 替换为机器人的 ip 地址

The following is an example of connecting to / switching the robot's WiFi via ssh:

ssh lab@192.168.x.x # 192.168.x.x # 替换为机器人的 ip 地址


# 查看周围的 WIFI
sudo nmcli dev wifi list

# 切换到指定 WIFI
sudo nmcli dev wifi connect "WIFI名称" password "WIFI密码"

alt text

Disable

You can run the following command to disable the Kuavo hotspot:

tips: This command disables the hotspot, but the hotspot will be enabled again after the next boot.

sudo systemctl stop create_ap # 关闭热点, 但是开机后还是会自动开启热点

You can also run the following command to stop the Kuavo hotspot from starting automatically at boot:

tips: This command disables the hotspot, and it will not start automatically at subsequent boots.

sudo systemctl disable create_ap # 关闭开机自动开启热点

If you want to set the hotspot to start automatically at boot again, run the following command:

sudo systemctl enable create_ap # 执行该命令后, 热点将在开机时自动开启

Uninstall

Running the following command uninstalls the hotspot. After uninstalling, no corresponding hotspot will be started at boot. If you need to use this tool again, please reinstall it.

cd ./tools/linux_wifi_hotspot/ # 请替换在你的仓库中的实际路径
chmod +x ./uninstall.sh # 添加可执行权限
sudo ./uninstall.sh

# 以下是卸载过程部分内容输出:
🚀🚀🚀 开始卸载...
...

🚀🚀🚀 卸载成功...