香橙派——基本配置教程

官方网址: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
相关推荐
郑洁文27 分钟前
基于Python的Web命令执行漏洞自动化检测系统
前端·python·网络安全·自动化
yingjie1101 小时前
Scanpy vs Seurat 深度对比:Python 与 R 的单细胞分析框架谁更强?
开发语言·python·r语言·生物信息学·单细胞转录组·seurat·scanpy
包子BI大数据1 小时前
3.openclaw小龙虾简单版安装教程
人工智能·python·ai
程序大视界1 小时前
【Python系列课程】Pandas(四):数据统计与排序——describe、sort_values、sample
开发语言·python·pandas
Cthy_hy2 小时前
Python算法竞赛:排列组合核心用法
开发语言·python·算法
C+-C资深大佬2 小时前
在PyCharm中创建虚拟环境的具体步骤是什么?
ide·python·pycharm
Dxy12393102163 小时前
Python Tensor 向量入门:从零理解深度学习的“数据语言“
开发语言·python·深度学习
gf13211114 小时前
python_获取飞书卡片交互和审批任务状态变更事件信息
python
ss2734 小时前
ai编程Trae cn生成图书管理系统(1)
java·数据库·spring boot·python·flask·fastapi
如竟没有火炬4 小时前
寻找峰值——二分
java·开发语言·数据结构·python·算法·散列表