mirror of
https://github.com/cbeuw/Cloak.git
synced 2026-04-26 13:05:56 +03:00
[GH-ISSUE #56] mips_24k router? #49
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Cloak#49
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ktechmidas on GitHub (Sep 19, 2019).
Original GitHub issue: https://github.com/cbeuw/Cloak/issues/56
Any idea how I can get this running as a plugin for shadowsocks on my router?
root@OpenWrt:/tmp# opkg print-architecture | awk '{print $2}'
all
noarch
mips_24kc
I've tried a few mips64 ones from the release page and just get a syntax error if I try to run them, so I'm guessing not those.
@malikshi commented on GitHub (Sep 21, 2019):
softloat
@ktechmidas commented on GitHub (Sep 21, 2019):
Hey, yeah I tried this already and it seems to just exit...
{ "server": "xxx", "server_port": 443, "password": "xxx", "method": "aes-256-gcm", "local_address": "0.0.0.0", "plugin": "ck-client", "plugin_opts": "UID=xxx;PublicKey=xxx;ServerName=www.bing.com;TicketTimeHint=3600;NumConn=100;MaskBrowser=chrome;loglevel=none", "timeout": 60, "reuse_port": true }ck-client is in /usr/bin
I just get this:
@malikshi commented on GitHub (Sep 21, 2019):
If u wanna know the binary work for your router is easy, try run
ck-client - hThe result would shown you menu
@ktechmidas commented on GitHub (Sep 21, 2019):
Doesn't seem to work, I downloaded the mipsle softfloat binary and put it in /usr/bin as suggested... but it has this issue
@malikshi commented on GitHub (Sep 21, 2019):
https://github.com/cbeuw/Cloak/releases/download/v2.0.2/ck-client-linux-mipsle_softfloat-2.0.2
This one sir.
I had some router with same architecture
@ktechmidas commented on GitHub (Sep 21, 2019):
Odd, I did this earlier... definitely got the right file - am I doing something wrong? Pasted the full output below
@malikshi commented on GitHub (Sep 21, 2019):
Run
./ck-client-linux-mipsle_softfloat-2.0.2 -h@ktechmidas commented on GitHub (Sep 21, 2019):
@ktechmidas commented on GitHub (Sep 21, 2019):
Doesn't work with the newer 2.1.0 version either, but I'm running an openwrt version from last year - maybe I'm missing some interpreter?
OpenWrt 18.06.1 r7258-5eb055306f
@ktechmidas commented on GitHub (Sep 21, 2019):
Maybe something is going wrong with the compilation...
https://forum.archive.openwrt.org/viewtopic.php?id=43803
https://blog.csdn.net/fickyou/article/details/50418439
I can try to compile it myself and see if I get the same results
@zhiming-xu commented on GitHub (Sep 25, 2019):
Although I am not very familiar with the mips instruction set family, from my experience,
mips_24kcis somewhat different frommipsel. I have used a router whose chip (MT7620A) is based on the former architecture, and it fails to run applications built formipsel. So I assume that you might need to compile the binary formips_24kcyourself or use another router. Products based on MT7621 (mips32 1004K) could readily run themipselbinary.@qwerttvv commented on GitHub (Dec 17, 2019):
老哥,我路由器是新3,现在刷的hiboy老毛子,不太会弄,求教~
@zhiming-xu commented on GitHub (Dec 18, 2019):
@qwerttvv You can download the corresponding binary from here to your router. You will need to use

sshto do this, and I suggest use the path/tmp). Then config the client sidejsonfile as introduced inREADMEand put it in the same folder as before, e.g.,/tmp. Now you can set the parameters like this:For the 插件名称 field, type the full path to
Cloakbinary, and for the 插件参数 field, type the full path to client config.@qwerttvv commented on GitHub (Dec 18, 2019):
big thx!
but this way was tested yesterday and can't be loaded by ss.
when i check the log, i think cloak is not loaded and run when ss is started....
@zhiming-xu commented on GitHub (Dec 18, 2019):
@qwerttvv In that case I suggest running

psin your router's terminal and check if theCloakprogram is running. For example, if you name the binary in your routerck-client, then you could useps | grep ckto see if the output includes them as shown in the attached screenshot.@qwerttvv commented on GitHub (Dec 18, 2019):
@zhiming-xu
thx! i will try it when i get home
btw, at this moment, did cn2gt boomed?
@zhiming-xu commented on GitHub (Dec 18, 2019):
@qwerttvv I don't think I'm currently using CN2GT-backed service so I'm not sure whether it's malfunctioning or not. Maybe you could contact other users lol.
@qwerttvv commented on GitHub (Dec 19, 2019):
@zhiming-xu
finally, is done! thx again
i am wrong, port should be 443, but i wrote 433...........
log file can't see cloak is loaded by ss, but its run...
now it's perfect....ss with cloak, ipv6, adguard home, iptv, frp...