香橙派——基本配置教程

官方网址: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
相关推荐
爱写代码的小朋友13 分钟前
使用 Nuitka 打包 Python 应用:从入门到进阶
开发语言·python
不屈的铝合金13 分钟前
Python入门:数字类型与运算
python·数据类型·python类型判断与转换·python运算符优先级
智算菩萨27 分钟前
【Python图像处理】3 OpenCV核心操作与图像基本变换
图像处理·python·opencv
春蕾夏荷_72829772531 分钟前
pyside2 打包发布exe文件
python
来自远方的老作者36 分钟前
第7章 运算符-7.5 比较运算符
开发语言·数据结构·python·算法·代码规范·比较运算符
蜡笔小马1 小时前
01.[特殊字符] 构建你的第一个 AI 智能体:从 DeepSeek 到结构化对话
人工智能·python·langchain
Dream of maid1 小时前
Python基础 6 (面向对象)
开发语言·python
郝学胜-神的一滴1 小时前
「栈与缩点的艺术」二叉树前序序列化合法性判定:从脑筋急转弯到工程实现
java·开发语言·数据结构·c++·python·算法
skywalk81631 小时前
kitto_plus报错:AttributeError: module ‘kotti_plus‘ has no attribute ‘security‘
linux·开发语言·python
无心水1 小时前
22、Java开发避坑指南:日期时间、Spring核心与接口设计的最佳实践
java·开发语言·后端·python·spring·java.time·java时间处理