opi_openwrt

1.tf卡刷好openwrt,接网线,登录
2.interfaces-lan-edit改成dhcp客户端,重启后找到分配到的ip登录openwrt,可以上网
3.安装中文http://archive.openwrt.org/chaos_calmer/15.05.1/sunxi/generic/packages/luci/luci-i18n-base-zh-cn_git-16.018.33482-3201903-1_all.ipk
4.下载kcp:wget https://github.com/keviljh3/ssr-fs-svr-alpine/blob/master/client_linux_arm7
chmod +x client_linux_arm7
启动nohup ./client_linux_arm7 -r “ip:port” -l “:20006” -key  test -mtu 1350 -sndwnd 90 -rcvwnd 700 -crypt none -mode fast2 -dscp 0 -datashard 10 -parityshard 3 -autoexpire 0 -nocomp > kcptun.log 2>&1
5.安装entware:http://pkg.entware.net/binaries/armv7/installer/entware_install.sh
6./opt/bin/opkg install安装:
zlib_1.2.11-1_armv7soft.ipk
libpcre_8.41-2_armv7soft.ipk
libopenssl_1.0.2n-1_armv7soft.ipk
shadowsocksr-libev_2.5.6-20170803-1_armv7soft.ipk
libsodium_1.0.16-1_armv7soft.ipk
7.cd /opt/bin 下载https://github.com/kevinljh11/orangepizero_openwrt/raw/master/ssr.json
启动./ssr-local -c ssr.json
 
openwrt安装debian:
先安装debootstrap binutils objdump libbfd
debootstrap –arch=armhf –variant=minbase wheezy /root/debian http://mirrors.ustc.edu.cn/debian
chroot /root/debian /bin/bash
exit退出
强制安装opkg install alsa-lib –nodeps
opencv
jamvm -Xmx256m -jar fs10noui.jar


openwrt设置开机启动:rc.local
killall -9 sleep
cd /root
./start.sh
exit 0
start.sh:
killall -9 sleep
killall -9 client_linux_arm7
killall -9 ssr-local
nohup /root/kcptun/client_linux_arm7 -r “xxxxxxxx:11051” -l “:20006” -key test -mtu 1350 -sndwnd 90 -rcvwnd 700 -crypt none -mode fast2 -dscp 0 -datashard 10 -parityshard 3 -autoexpire 0 -nocomp > /root/kcptun/kcptun_ua.log 2>&1 &
sleep 5
cd /opt/bin
nohup ./ssr-local -c /root/ssr/ssr_ua.json > /root/ssr/ssr_ua.log 2>&1 &

Article By :

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注