发布日期:2024-10-14 10:55 点击次数:118
注释原文有软件来源,如下
x86架构源
#src/gz openwrt_base http://mirrors.ustc.edu.cn/openwrt/releases/$(uname -r )/targets/$(uname -m)/packages/base #src/gz openwrt_luci http://mirrors.ustc.edu.cn/openwrt/releases/$(uname -r )/targets/$(uname -m)/packages/luci #src/gz openwrt_packages http://mirrors.ustc.edu.cn/openwrt/releases/$(uname -r)/targets/$(uname -m)/packages/packages #src/gz openwrt_routing http://mirrors.ustc.edu.cn/openwrt/releases/$(uname -r )/targets/$(uname -m)/packages/routing #src/gz openwrt_telephony http : // mirrors.ustc.edu.cn/openwrt/releases/$(uname -r)/targets/$(uname -m)/packages/telephony src /gz openwrt_base http: //downloads.openwrt.org/releases/21.02.0/packages/x86_64/base src / gz openwrt_luci http://downloads.openwrt.org/releases/21.02.0/packages/x86_64/luci src /gz openwrt_packages http://downloads.openwrt.org/releases/21.02.0/packages/x86_64/packages src / gz openwrt_routing http://downloads.openwrt.org/releases/21.02.0/packages/x86_64/routing src /gz openwrt_telephony http://downloads.openwrt.org/releases/21.02.0/packages/x86_64/telephony
mips架构源
src/gz openwrt_core https://downloads.openwrt.org/releases/23.05.2/targets/ramips/mt7621/packages src/gz openwrt_base https://downloads.openwrt.org/releases/23.05.2/packages/mipsel_24kc/base src /gz openwrt_luci https://downloads.openwrt.org/releases/23.05.2/packages/mipsel_24kc/luci src / gz openwrt_packages https://downloads.openwrt.org/releases/23.05.2/packages/mipsel_24kc/packages src/gz openwrt_routing https://downloads.openwrt.org/releases/23.05.2/packages/mipsel_24kc/routing src / gz openwrt_telephony https://downloads.openwrt.org/releases/23.05.2/packages/mipsel_24kc/telephonyEsc wq保存退出
更新源
opkg 更新
如遇认证报错,vi /etc/opkg.conf关闭认证,注释如下内容
#选项 check_signature注意再次opkg update
测试安装软件
opkg安装snmpd opkg安装snmp-utils
找到snmp配置文件如下
设置系统信息sysLocation Location sysContact Admin admin@example.com设置 SNMP 团体名(Community)rocommunity public 10.10 . 10.106编译gcc(可选)opkg安装 gcc 制作
安装shc
tar zxvf shc-release. tar .gz wget https://github.com/neurobin/shc/archive/release.tar.gz cd shc -release/ . / configure make make install cd src cp shc /usr/bin 本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报。上一篇:没有了