Search content
Sort by

Showing 11 of 11 results by neonox
Post
Topic
Board Hardware
Re: Antminer R4: full working, but no web-access: Error connection refused!
by
neonox
on 24/05/2017, 08:38:34 UTC
Correct ?
Yes, BUT(!) keep in mind:
1) procedure can be different from one version to another
2) you can get a brick until you physically flush box
3) this is just a trick and no guarantee it'll repair your box

Okay, if you read this and understand all risks:
I have no R4 around, so how it work in S5

1) look at the shell script /www/pages/cgi-bin/upgrade_clear.cgi
2) scp downloaded_image.tar.gz to R4
3) tar zxf downloaded_image.tar.gz
if you can see runme.sh - you are lucky
4) sh runme.sh
in other case you should do many wood magic described in upgrade_clear.cgi
after
else
    if [ -e /dev/mmcblk0p3 ]; then
...
fi


I uploaded lighthttpd that built for your arch
https://www.dropbox.com/s/p0pypos1y8bqfsq/lighttpd.gz?dl=0

Download it separately on r4 and try to run
/your/folder/lighttpd -v
Post
Topic
Board Mining support
Re: Antminer S9 - Actual CFM at full fan RPM
by
neonox
on 23/05/2017, 12:14:56 UTC
i read about that the noctua NF-F12 are too weak for the S9. I have some on my S5 and the work like a charm!
Not tested this(Noctua NF-F12 iPPC-3000 PWM) on S9 but I'm not happy with them on S5:
http://i.imgur.com/WZEnmIC.png
Quite high temperature on low frequency, continuous work on 2880 rpm,  no magic. Maybe I'll test them with one big fan before go back to the original fans.
Post
Topic
Board Hardware
Re: Antminer R4: full working, but no web-access: Error connection refused!
by
neonox
on 22/05/2017, 16:19:26 UTC
Problem?
Look at the pool stats, I can't see the problem from my end.
Post
Topic
Board Hardware
Re: Antminer R4: full working, but no web-access: Error connection refused!
by
neonox
on 22/05/2017, 15:50:27 UTC
@neonox
Help! How can this be stopped ?
Use the ps command to get the process id (PID) of this process.
kill -9 (PID)
But, I'm surprised that monitors/supervises lighttpd daemon can stop other process.
https://www.mankier.com/8/lighttpd-angel

Try to reboot, it'll restart all services
reboot

Closing ssh session will not kill daemon:)

Next time please fillow recommendation by @Not Fuzzy warm, it have more sence and less risky than patch application.
Post
Topic
Board Hardware
Re: Antminer R4: full working, but no web-access: Error connection refused!
by
neonox
on 22/05/2017, 15:15:00 UTC
Quote
And it (flashing to latest firmware) is recommended for all Ant devices as far as I know.
Perhaps recommended by Bitmain, but NOT recommended by us users!
Flashing to latest firmware is always a last-resort move.
As the saying goes, " If it ain't broke... " but in this case, yes, flashing to latest is the next step.
opkg is not Bitmain Smiley
https://wiki.openwrt.org/doc/techref/opkg
Upgrading packages is generally NOT recommended for most users, because a typical OpenWrt system stores the base system in a read-only SquashFS partition.

We can try at least there are no other way to solve it.

How can I flash a firmware through SSH ?
Nice question ) Possible but quite complex.

Can you run
/usr/sbin/lighttpd-angel -f /etc/lighttpd.conf
Post
Topic
Board Hardware
Re: Antminer R4: full working, but no web-access: Error connection refused!
by
neonox
on 22/05/2017, 14:54:25 UTC

What are these magic words mean ?)

It provides some basic information about this binary.
Show me your:
opkg list-installed | grep [l]ight
and
opkg status lighttpd

Ok, seems the better way for you is just reflash Natasha with a newer firmware image. And it is recommended for all Ant devices as far as I know.
Post
Topic
Board Hardware
Re: Antminer R4: full working, but no web-access: Error connection refused!
by
neonox
on 22/05/2017, 14:31:55 UTC
No comment. Probably everything lost Huh
Heh, don't panic )
run these two commands
stat /usr/sbin/lighttpd
and
which lighttpd

There is external repository opkg and we can try to update lighttpd.
Post
Topic
Board Hardware
Re: Antminer R4: full working, but no web-access: Error connection refused!
by
neonox
on 22/05/2017, 14:08:25 UTC
So far so good.
Run this please
/usr/sbin/lighttpd -v
and
/usr/sbin/lighttpd -tf /etc/lighttpd.conf

Post
Topic
Board Hardware
Re: Antminer R4: full working, but no web-access: Error connection refused!
by
neonox
on 22/05/2017, 13:32:03 UTC
Hmm.. are you sure that your miner is mining?
I can't see process like this
{screen} SCREEN -S cgminer -t cgminer
but I have no Natasha here, just beaglebone.
edt. Ah bmminer here, ok.

Ok, look at log file: /www/logs/lighttpd.error.log
cat /www/logs/lighttpd.error.log

Can you show me disc space, it could be the reason:
df -k
Post
Topic
Board Hardware
Re: Antminer R4: full working, but no web-access: Error connection refused!
by
neonox
on 22/05/2017, 13:15:17 UTC
No prob, I can help you.
If you use Windows, download http://www.putty.org/ and connect to antminer ip, it will open command line session.
ps | grep [h]tt will show you processes with name *htt*
maybe it'll be a help to show full process list:
ps
lighttpd is a web server that show you pages when you open ip port 80 in browser.
Hope it helps.
Post
Topic
Board Hardware
Re: Antminer R4: full working, but no web-access: Error connection refused!
by
neonox
on 22/05/2017, 12:25:39 UTC
Try to ssh inside this box at least it pinged.
root/admin
Run `ps | grep [h]tt`
start it like
/usr/sbin/lighttpd -f /etc/lighttpd.conf
from command line.