June 1, 2024

Antminer S9 board - linux - lighttpd

Look at my notes on static IP setup for information about shutting down some other services that we don't need on one of these boards.

I see this running:

 1460 root       0:00 /usr/sbin/lighttpd -f /etc/lighttpd.conf
It is started by /etc/rcS.d/S60lighttpd. We can certainly get rid of it by shutting down this service (by renaming the "S" file.
And we might as well. When I aim a browser at this, I just get a dialog asking me for a username and password.
cd /etc/rcS.d
./S60lighttpd stop
mv S60lighttpd K60lighttpd
At this point I have a clean system that I don't think is running anything that I wish it wasn't.

Avahi

I lied. There is one more thing:
 1450 avahi      0:00 avahi-daemon: running [antMiner.local]
 1451 avahi      0:00 avahi-daemon: chroot helper
This implements some kind of "on the fly" network configuration protocol. The fix is:
mv S50avahi K50avahi
I reboot and everything seems just fine without avahi.
Feedback? Questions? Drop me a line!

Tom's Computer Info / tom@mmto.org