Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

X86 #135

Closed
mehdi198080 opened this issue Nov 25, 2020 · 14 comments
Closed

X86 #135

mehdi198080 opened this issue Nov 25, 2020 · 14 comments

Comments

@mehdi198080
Copy link

I have installed on X86 openwrt image and upload cloak file in /usr/bin but I got error.

@mehdi198080
Copy link
Author

-ash: ck-client-linux-amd64-v2.3.0: not found

@cbeuw
Copy link
Owner

cbeuw commented Nov 27, 2020

Does it work if you run /usr/bin/ck-client-linux-amd64-v2.3.0? Also is your CPU 32 or 64bit? In the former case you need the i386 version

@mehdi198080
Copy link
Author

my cpu is 64bit
with i386 got this error
/usr/bin/ck-client-linux-386-v2.3.0: line 1:ELFpE: not found
/usr/bin/ck-client-linux-386-v2.3.0: line 2: syntax error: unexpected "("

@cbeuw
Copy link
Owner

cbeuw commented Nov 27, 2020

What about running /usr/bin/ck-client-linux-amd64-v2.3.0?

@mehdi198080
Copy link
Author

not running

@cbeuw
Copy link
Owner

cbeuw commented Nov 27, 2020

What's the error output?

@mehdi198080
Copy link
Author

-ash: /usr/bin/ck-client-linux-amd64-v2.3.0: not found

@cbeuw
Copy link
Owner

cbeuw commented Nov 27, 2020

What's the output of running file /usr/bin/ck-client-linux-amd64-v2.3.0? Can you see ck-client's binary if you run ls in /usr/bin?

@mehdi198080
Copy link
Author

root@OpenWrt:/usr/bin# ls
[ free obfs-local tee
[[ fwtool obfs-server test
awk getrandom pgrep time
basename head printf top
bunzip2 hexdump readlink tr
bzcat id reset uniq
ck-client-linux-amd64-v2.3.0 jshn resolveip uptime
clear jsonfilter scp usign
cmp killall seq v2ray-plugin_linux_amd64
crontab ldd sha256sum wc
cut less signify wg
dbclient logger sort wget
dirname lua ss-local which
dropbearkey luci-bwc ss-redir wireguard_watchdog
du md5sum ss-rules xargs
env mkfifo ss-tunnel yes
expr nano ssh
find nc strings
flock nslookup tail

@mehdi198080
Copy link
Author

v2ray plugin working

but cloak not

@cbeuw
Copy link
Owner

cbeuw commented Nov 27, 2020

I'm not familiar with OpenWRT at all but I think it's because of this https://openwrt.org/faq/command_not_found, (i.e. the binary is linking to some library not present on your OS).

But this is weird because go binaries should be static. I'll look into this

@mehdi198080
Copy link
Author

is it any chance to release new version to fix ?

cbeuw added a commit that referenced this issue Nov 29, 2020
@cbeuw
Copy link
Owner

cbeuw commented Nov 29, 2020

https://github.com/cbeuw/Cloak/releases/tag/v2.3.1 should work, give it a try

@mehdi198080
Copy link
Author

working perfect ,appreciate

@cbeuw cbeuw closed this as completed Nov 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants