ehang-io / nps

一款轻量级、高性能、功能强大的内网穿透代理服务器。支持tcp、udp、socks5、http等几乎所有流量转发,可用来访问内网网站、本地支付接口调试、ssh访问、远程桌面,内网dns解析、内网socks5代理等等……,并带有功能强大的web管理端。a lightweight, high-performance, powerful intranet penetration proxy server, with a powerful web management terminal.
https://ehang.io/nps/documents
GNU General Public License v3.0
30.47k stars 5.5k forks source link

在MT7628AN 的 openwrt 系统里面运行linux_mipsle_client.tar.gz包也是出现 Illegal instruction,能否编译在的client程序呢? #931

Open xiaodonghsu opened 2 years ago

xiaodonghsu commented 2 years ago

在MT7628AN 的 openwrt 系统里面运行linux_mipsle_client.tar.gz包也是出现 Illegal instruction,能否编译在的client程序呢? ./npc Illegal instruction

cat /proc/cpuinfo system type : MediaTek MT7628AN ver:1 eco:2 cpu model : MIPS 24KEc V5.5

uname -a Linux GL-MT300N-V2 4.14.221 #0 Mon Feb 15 15:22:37 2021 mips GNU/Linux

tinyluck commented 2 years ago

我的经验是linux内核V4会有这个问题,V3和V5的系统就能正常运行。openwrt 21.02内核是V5的,可以尝试一下。padanvan内核是V3的,可以尝试一下。不能换系统的话只能自己编译解决,和浮点数相关的问题。

wyjBot commented 2 years ago

这里有个大佬编译好的看看https://github.com/nwct/downloads/tree/master/nps/