sdusrun-mipsel-unknown-linux-musl can not execute
hotwa opened this issue · comments
Zeng Lingyu commented
cpu:
[root@Router ~]$ cat /proc/cpuinfo
system type : MT7621
machine : TGNET_RN1150W
processor : 0
cpu model : MIPS 1004Kc V2.15
BogoMIPS : 583.68
wait instruction : yes
microsecond timers : yes
tlb_entries : 32
extra interrupt vector : yes
hardware watchpoint : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa : mips1 mips2 mips32r1 mips32r2
ASEs implemented : mips16 dsp mt
shadow register sets : 1
kscratch registers : 0
core : 0
VPE : 0
VCED exceptions : not available
VCEI exceptions : not available
Zeng Lingyu commented
MT7621,MIPS程序 执行时候,卡着不动
zu1k commented
看样子是 config.json 文件有错误
zu1k commented
MT7621,MIPS程序 执行时候,卡着不动
你的cpu是大端,不能用mipsel版本
zu1k commented
把你的config.json文件贴出来
Zeng Lingyu commented
{
"server": "http://202.114.177.246/",
"strict_bind": false,
"double_stack": false,
"retry_delay": 3000,
"retry_times": 1,
"acid": 12,
"os": "Windows",
"name": "Windows 10",
"users": [
{
"username": "user@unicom",
"password": "passwd",
"ip": "10.8.247.5"
},
{
"username": "user@unicom",
"password": "passwd",
"if_name": "eth0.5"
}
]
}
zu1k commented
./sdusrun-mips-unknown-linux-musl login -c config.json
看看提示什么
Zeng Lingyu commented
[root@Router ~]$ ./sdusrun-mips-unknown-linux-musl -c config.json
./sdusrun-mips-unknown-linux-musl: line 1: syntax error: unexpected "("
zu1k commented
我用 qemu 测试了一下 mips 版本,看起来确实有问题。不过不应该报这个错误啊
Zeng Lingyu commented
我觉得可能是手动复制的,config.json有问题。
最好程序第一次自动生成默认模板比较好,直接vim改
…---Original---
From: ***@***.***>
Date: Tue, May 17, 2022 18:49 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [zu1k/sdusrun] sdusrun-mipsel-unknown-linux-musl can not execute (Issue #15)
我用 qemu 测试了一下 mips 版本,看起来确实有问题。不过不应该报这个错误啊
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
zu1k commented
不是,是二进制有问题
zu1k commented
试一下刚发的 0.5.1 版,卡住应该是 upx 壳的原因
Zeng Lingyu commented
[root@Router ~]$ chmod +x ./sdusrun-mips-unknown-linux-musl
[root@Router ~]$ ./sdusrun-mips-unknown-linux-musl
./sdusrun-mips-unknown-linux-musl: line 1: syntax error: unexpected ")"
Zeng Lingyu commented
目录下没有给配置文件
zu1k commented
试试之前卡住的那个架构
Zeng Lingyu commented
[root@Router ~]$ chmod +x ./sdusrun-mipsel-unknown-linux-musl
[root@Router ~]$ ./sdusrun-mipsel-unknown-linux-musl
Usage: sdusrun ACTION [options]
Actions: login | logout
正常了,明天具体测试一下登录。
这个可以配置网卡多拨吧,提高速度
zu1k commented
这个只是深澜登录,多拨你得自己搞