香橙派——基本配置教程

官方网址:http://www.orangepi.cn/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-Pi-Zero-3.html

镜像用户手册等各种资源都在上面~

基础配置

  • 命令行连接🔗WiFi:Orange pi zero 3命令行配网方法

    • 一句话总结:
    bash 复制代码
    sudo nmcli device wifi connect "<WIFI名>" password "<密码>"
    例如:sudo nmcli device wifi connect "Takway-AI" password "takway123"
  • 配置开机自启动脚本:

    • 创建
    bash 复制代码
    sudo vim /etc/systemd/system/test.service
    • 内容:
    bash 复制代码
    [Unit]
    Description=My Service
    After=network.target
     
    ​
    [Service]
    Type=simple
    WorkingDirectory=/home/orangepi/takway_base
    ExecStart=python3 /home/orangepi/takway_base/ws_client.py
    User=root
     
    [Install]
    WantedBy=multi-user.target
    • 加载
    bash 复制代码
    sudo systemctl daemon-reload
    sudo systemctl enable test.service
    bash 复制代码
    sudo systemctl start test.service
    bash 复制代码
    sudo systemctl status test.service
相关推荐
Ming_studying2 分钟前
Python + SQLite FTS5 构建本地文档全文搜索器:增量索引、中文检索与高亮
jvm·数据库·python·sqlite
玉鸯15 分钟前
让 Agent 面向用户:AG-UI 协议构建 Agent 前端
前端·python·agent
小白学大数据28 分钟前
把 Modbus 轮询塞进 Trio 的异步循环:内存映射与定时采集实战
网络·python·搜索引擎
FriendshipT1 小时前
Ubuntu 20.04 下使用 Ollama 本地部署 AI 大模型
linux·人工智能·python·深度学习·ubuntu
天天爱吃肉82181 小时前
# 商用车多体动力学实战笔记|第7篇:制动系统与制动热衰退、ABS滞环控制
大数据·人工智能·笔记·python·嵌入式硬件·汽车
bamb001 小时前
一个项目带你入门AI应用开发08
python
鸿芯微控科技1 小时前
MFC质量流量控制器流量不准怎么排查?设定值、反馈值与参考流量对比,附Python代码
c++·python·mfc
大尚来也1 小时前
用 Python 自动整理文件、重命名、分类电脑文件夹
开发语言·python
极序时代GEO品牌优化2 小时前
杭州极序时代|面向地域、设备与用户画像的动态GEO
人工智能·python·算法·极序时代geo
qq_22589174662 小时前
基于Python的外卖订单数据分析可视化系统
python·信息可视化·django