香橙派——基本配置教程

官方网址: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
相关推荐
for_ever_love__1 小时前
python基础语法学习: requirements.txt
开发语言·python·学习
程序员清风1 小时前
FastAPI 入门:用 Python 快速开发现代后端服务
python·oracle·fastapi
SunnyDays10111 小时前
使用 Python 提取 Word 文档中的表格数据
python·word
for_ever_love__1 小时前
python基础语法学习: 动态类型
开发语言·python·学习
troy1282 小时前
分布式系统框架选型指南:主流框架优缺点深度对比
python·django·pygame
129Lab2 小时前
BMS算法快速原型开发:AI辅助实现扩展卡尔曼滤波(EKF)SOC估算从理论到代码落地
python·嵌入式开发·bms·卡尔曼滤波·电池管理系统·soc估算
萧鼎2 小时前
safetensors 库的安装、核心语法与实战用法,安全保存模型权重
python·开源·教程·python库·safetensors
千里码aicood2 小时前
基于Python语言的测量程序设计
开发语言·python
2601_962300812 小时前
用PyTorch Lightning简化空间分析:Python和机器学习的力量
python·深度学习·机器学习·空间分析·pytorchlightning
jayson.h3 小时前
python-可视化提取表格-通用
开发语言·python