gl-ar750 配置

镜像下载
https://docs.gl-inet.com/en/3/release_notes/gl-ar750/
设置sd卡安装软件
https://openwrt.org/docs/guide-user/additional-software/extroot_configuration

选择中继模式 无线连现有的wifi

免密登录
/etc/dropbear/authorized_keys

golang安装常用软件

golang 编译配置
GOOS=linux GOARCH=mips GOMIPS=softfloat CGO_ENABLED=0 go build -o xxx xxx.go

croc
https://github.com/schollz/croc.git
修改为自己的服务器
vi src/models/constants.go
//DEFAULT_RELAY = "croc.schollz.com"
//DEFAULT_RELAY6 = "croc6.schollz.com"
//DEFAULT_PORT = "9009"
//DEFAULT_PASSPHRASE = "pass123"

nps 远程登录
https://github.com/ehang-io/nps.git
cd nps/cmd/npc
go build -o npc npc.go

vi start_npc.sh


ln -s /mnt/sda1/work/fhc /usr/bin/fhc
ln -s /mnt/sda1/work/croc /usr/bin/croc

安装ss
shadows*cks-libev
luci-app-shadows*cks

1.添加服务器 ss
2.只配置透明代理
主服务器 ss
不用配置 UDP服务器


设置开机启动
vi /etc/init.d/mystart


#!/bin/sh /etc/rc.common
START=99
start(){
/mnt/sda1/work/start_npc.sh
}
stop(){
/mnt/sda1/work/start_npc.sh
}
restart(){
/mnt/sda1/work/start_npc.sh
}

cd /etc
chmod -R 755 init.d/mystart #设置权限,否则无法激活开机启动,提示权限不足
/etc/init.d/mystart enable #激活开机启动
/etc/init.d/mystart start #运行start函数启动程序

编译ipk
lede https://github.com/coolsnowwolf/lede.git
GLiNet 官方 SDK https://github.com/gl-inet/sdk.git
分别 clone 官方 sdk 和 lede 到本地,把 lede/package 插件目录替换 官方 package 目录
选中 luCI–>Applictions–>luci-app-xxx
编译
make package/lean/luci-app-xxx/compile V=99
编译完 bin 目录下就会有相应编译完的 ipk 包

opkg install xxx.ipk
参考链接
https://aimuch.com/2019/10/12/GL-iNet-AR750-%E5%AE%98%E6%96%B9%E5%9B%BA%E4%BB%B6%E5%AE%89%E8%A3%85SSR-Plus-%E6%8F%92%E4%BB%B6/

posted @   boybai  阅读(273)  评论(0编辑  收藏  举报
编辑推荐:
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· 阿里巴巴 QwQ-32B真的超越了 DeepSeek R-1吗?
· 【译】Visual Studio 中新的强大生产力特性
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 【设计模式】告别冗长if-else语句:使用策略模式优化代码结构
点击右上角即可分享
微信分享提示