香橙派——基本配置教程

官方网址: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
相关推荐
狼与自由2 分钟前
python打包
开发语言·python
Είναι η κοπέλα8 分钟前
Python 虚拟环境:venv、conda 与 Python 版本选择全解
开发语言·python·conda
蒲公英eric9 分钟前
Python工具链与LaTeX排版:把兵器配齐
人工智能·python·算法·数学建模·数学建模工具
言乐615 分钟前
JavaScript概括前端原理
开发语言·前端·javascript·python·ecmascript
用户0190275816144 分钟前
如何用 Python 回测肯特纳通道(Keltner Channel)突破策略?(EMA+ATR 通道)
python
老歌老听老掉牙1 小时前
基于Frenet-Serret框架的自然轴系关系推导与SymPy验证
python·sympy·自然轴系
Java后端的Ai之路1 小时前
Python 进阶探索25 - difflib模块之文本对比
开发语言·python·django·哈希算法·difflib
1 小时前
一个天才写了三年Python,最后发现装饰器最有用的用法只有3个
python
全栈练习生1 小时前
大模型原理之 MoE 混合专家模型
python·ai
askama001 小时前
Ubuntu安装Anaconda并配置环境
linux·python