ish-app / ish

Linux shell for iOS
https://ish.app
Other
17.21k stars 910 forks source link

How to config to run xmrig on iSH alpine Linux #1402

Open deancastill opened 3 years ago

deancastill commented 3 years ago

Hello everyone,does any profesional guys know how to set the config to realize the running instruction I've tried many times and looked for but didn't found helpful solution. image

image

image

HVRyan commented 3 years ago

Tried it as well. My assumption is that while xmrig has an alpine build, it does not know how to work with the kernel ish uses, or possible has no idea what to do with the A-series processor in my iPhone 12 Pro Max.

Just found this, will try myself later today when not at work:

https://github.com/xmrig/xmrig/issues/666

62f commented 3 years ago

@HVRyan the version of clang which is supplied with Alpine is really, ReAlLy old.

Just found this, will try myself later today when not at work:

https://github.com/xmrig/xmrig/issues/666

@deancastill kindly post the chmod +x xmrig output for that Illegal Instruction

62f commented 3 years ago

Now what do I do?imageiPhone:/mnt/xmrig/build# ./xmrig -a cryptonight -o us-west.minexmr.com:4444 -u 48gtfhUofvnPWN19d3dkeEYtDZRS4YyXiV2jaBdyd34q8pjbteVvw7AK4GBxj5m7kuifEEyTHToTLBLZCJjMu4Ln73jmR2i -p x --rig-id Deaniphone11 Doesn't look like it's doing much:image

klevisrunaj commented 3 years ago

Comand to install ?

alixerie commented 2 years ago

I am having the same issue, on an iPad Pro using iSh. I got xmrig working on mac desktop using the zip file, and after that didn’t work in iSh (it wouldn’t build), I compiled from the instructions at the Alpine Build page. The basic build gave me problems once I got to the last command (it wouldn’t produce an executable (attaching output):

4183A9F5-9410-44A0-8452-4B4EDBDE5668

So I removed the new install and then installed using the Advanced Build on the same page. This time the build went all the way through the last command and produced the xmrig executable, but when I try to run it I get the Illegal Command output

Attaching the output:

E70325EC-9410-4ABF-B5F3-FD164F4F8BEF

(Edit) Here is the output from dmesg:

6A0D5E94-0F16-40BC-92CF-F382A3E34183

Any help much appreciated! Alix