最早传出是删库跑路,把我吓一跳,后面正式是换库而已。目前passwall2还是可以用之前的方式升级安装,但也可以用下面的方式升级。
passwall最新的github地址现在是 https://github.com/Openwrt-Passwall/openwrt-passwall
passwall2的github地址 https://github.com/Openwrt-Passwall/openwrt-passwall2/releases
官方安装的的教程 https://github.com/moetayuko/openwrt-passwall-build
下面口述一下目前的最新安装方式,确定你的软路由可以魔法上网哦,如果是passwall坏了,可以先用其他同类软件,就是确保软路由能魔法上网就行。
一、登录软路由后台
如果你软路由有终端,也可以直接在终端登录,效果一样。
二、添加opkg key
wget -O passwall.pub https://master.dl.sourceforge.net/project/openwrt-passwall-build/passwall.pub opkg-key add passwall.pub
三、添加opkg repository
read release arch << EOF
$(. /etc/openwrt_release ; echo ${DISTRIB_RELEASE%.*} $DISTRIB_ARCH)
EOF
for feed in passwall_luci passwall_packages passwall2; do
echo "src/gz $feed https://master.dl.sourceforge.net/project/openwrt-passwall-build/releases/packages-$release/$arch/$feed" >> /etc/opkg/customfeeds.conf
done
或者是
read arch << EOF $(. /etc/openwrt_release ; echo $DISTRIB_ARCH) EOF for feed in passwall_luci passwall_packages passwall2; do echo "src/gz $feed https://master.dl.sourceforge.net/project/openwrt-passwall-build/snapshots/packages/$arch/$feed" >> /etc/opkg/customfeeds.conf done
四、安装最新的passwall
opkg update opkg install luci-app-passwall
五、如果是安装passwall2,执行以下代码
opkg update opkg install luci-app-passwall2
六、安装中文包,如果你打开是英文版的,可继续执行如下代码,安装中文包
opkg install luci-i18n-passwall-zh-cn opkg install luci-i18n-passwall2-zh-cn
七、如果你之前passwall的版本太老,或是不能正常使用,可重启软路由或者执行下面的代码
/etc/init.d/uhttpd restart

一键更新系统源即可