最近入手了Nanopi R2S软路由,心痒痒,想尝试自己编译OpenWrt固件,于是就出现了这篇帖子 编译环境选择WSL2 Ubuntu20.04进行编译 1. 配置环境 安装编译所需工具 sudo apt-get install gcc binutils bzip2 flex python3 perl make4.1+ find grep diff unzip gawk getopt subve…
1.配置函数调用 2. 编写&上传代码 附上打卡脚本: # -*- coding: utf-8 -*- import logging import datetime import json import os import requests # Made by BATTLEHAWK # https://static.battlehawk233.cn/ logger=logging.getL…