openwrt更換軟件源一、打開openwrt終端六、/etc/opkg/ distfeeds.conf 注釋原文有軟件來源,如下 x86架構(gòu)源 #src/gz openwrt_base http://mirrors.ustc.edu.cn/openwrt/releases/$(uname -r )/targets/$(uname -m)/packages/base mips架構(gòu)源 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/telephony? Esc wq保存退出 更新源 opkg 更新 如遇認(rèn)證報錯,vi /etc/opkg.conf關(guān)閉認(rèn)證,注釋如下內(nèi)容 #選項 check_signature 注意再次opkg update 測試安裝軟件 opkg安裝snmpd 找到snmp配置文件如下 設(shè)置系統(tǒng)信息 sysLocation Location sysContact Admin admin@example.com 設(shè)置 SNMP 團(tuán)體名(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 |
|