Pages:
Author

Topic: CGminer v3.8.5 on Broadcom based DD-WRT / OpenWRT (Read 77138 times)

legendary
Activity: 1414
Merit: 1001
To weird to live To rare to die
Is this still a thing unearthed a couple bitmain u1 or 2 I can’t remember what they are and my thoughts went to plugging them into my desktop and then I had the idea rather than clutter my area I remembered the usb port on my newish 5 years oldish asus router and wondered if it was possible and seeing this thread has sparked my interest even greater anywho I’d be shocked if I got a response here seeing how old the thread is.
newbie
Activity: 8
Merit: 0
Can anyone make this firmware 0.4b-4.0.0 to work with Technobit Asic & USB Erupters (AntMiners) ?
sr. member
Activity: 467
Merit: 250
Is there any chance of getting a version with support for Bitmain Antminers?

BTW, the 3.8.5 binary runs on my Asus RT-N16 (Broadcom BCM4718) but not my Linksys WRT-SL54GS (BCM4704).

+1

The Bitmain S3 is running OpenWRT -- BARRIER BREAKER (Bleeding Edge, r38031) - Atheros AR9330

Quote
[    0.000000] Linux version 3.10.12 (xxl@ubuntu) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2013.05 r38031) ) #134 Fri Jul 11 10:42:43 CST 2014

newbie
Activity: 2
Merit: 0
Is there any chance of getting a version with support for Bitmain Antminers?

BTW, the 3.8.5 binary runs on my Asus RT-N16 (Broadcom BCM4718) but not my Linksys WRT-SL54GS (BCM4704).
hero member
Activity: 784
Merit: 500
Just discovered this thread. cgminer on dd-wrt routers sounds awesome!

I picked up a 2nd hand Netgear D6300 and installed dd-wrt on it today. I believe it has a Broadcom chipset. Will it support this cgminer distribution?

Another thing I'd love to do with my router is to run a full node. (I can connect a USB drive so space is not an issue). But hey, cgminer is a good start!

I don't think the cpu of the router has the power to run a full bitcoin node. Maybe P2Pool but i can't tell you how Wink
hero member
Activity: 761
Merit: 500
Mine Silent, Mine Deep
Just discovered this thread. cgminer on dd-wrt routers sounds awesome!

I picked up a 2nd hand Netgear D6300 and installed dd-wrt on it today. I believe it has a Broadcom chipset. Will it support this cgminer distribution?

Another thing I'd love to do with my router is to run a full node. (I can connect a USB drive so space is not an issue). But hey, cgminer is a good start!
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
No, I removed all scrypt code.
hero member
Activity: 784
Merit: 500
P_Shep,

Can you compile a newer version with the -scrypt option?  It is not available in the builds I've tested.

Thanks

Errr.. Scrypt requires a GPU. You've seen many routers with a GPU?

Also, The newer version don't even have that anymore, CK removed quite some versions ago.
There is a bitsream for the Ztex quads that mines litecoin. User kramble made one that mines 60ks/s per quad.

Cgminer should be able to load that onto the boards? 
legendary
Activity: 1795
Merit: 1208
This is not OK.
P_Shep,

Can you compile a newer version with the -scrypt option?  It is not available in the builds I've tested.

Thanks

Errr.. Scrypt requires a GPU. You've seen many routers with a GPU?

Also, The newer version don't even have that anymore, CK removed quite some versions ago.
newbie
Activity: 7
Merit: 0
P_Shep,

Can you compile a newer version with the -scrypt option?  It is not available in the builds I've tested.

Thanks
legendary
Activity: 1795
Merit: 1208
This is not OK.
legendary
Activity: 952
Merit: 1000
Maybe stick with 3.6.3. Not sure there's much advantage with 3.8.5
I think there were a few changes in temp cuttoffs with 3.8.5, but not a major deal. You have a link for 3.6.3? Please and Thank You. Smiley
legendary
Activity: 1795
Merit: 1208
This is not OK.
Maybe stick with 3.6.3. Not sure there's much advantage with 3.8.5
legendary
Activity: 952
Merit: 1000
Hmm, after 8 days or so without problem, suddenly bad things are happening.

Might have to go back to 3.6.3 also.

I picked up a WNDR3700v4 for $30 a few days ago, but didn't realize it's an Atheros mipseb SoC, not a Broadcom MIPSEL chip.

So then I got a WNR3500Lv2, which will be here in a few days. It's about the only broadcom MIPSEL I could find with 128MB RAM, 128MB Flash, and still only $30 on fleabay.

Maybe things will go smoother this time. Wink Should I start with your suggested 3.6.3, or go with the newest 3.8.5? It'll only be controlling SC Singles.
legendary
Activity: 1795
Merit: 1208
This is not OK.
Hmm, after 8 days or so without problem, suddenly bad things are happening.

Might have to go back to 3.6.3 also.
member
Activity: 73
Merit: 10
cgminer_3.8.5 running without a problem! Loving it
newbie
Activity: 7
Merit: 0
uptime on router 8 hrs, still running and uses very little resources. 3.8.5.
What router model and what firmware if you wouldn't mind sharing.

E3000 (WRT610Nv2 converted to E3000)+ KONGMOD 22200M + OTRW2

I also noticed that this optware was loading transmission_daemon which i had to disable the service as well as edit the /opt/etc/init.d/K90transmission and comment out line #129 which would run a gunzip process at 100% cpu at start.
legendary
Activity: 1795
Merit: 1208
This is not OK.
Running for just shy of 5 days now for me.

Getting a few 'BAS0: empty result...', but not too many.
newbie
Activity: 7
Merit: 0
uptime on router 8 hrs, still running and uses very little resources. 3.8.5.

Update.  Stability problems.  Log file shows this as error:

Quote
[2013-12-13 13:06:08] BAS0: GetResults failed no data returned  (err=0 amt=0)
 [2013-12-13 13:06:08] BAS0: RequestQueJobStatus failed no data returned  (err=0 amt=0)
 [2013-12-13 13:06:09] BAS 0 RequestResults usb write err:(-7) LIBUSB_ERROR_TIMEOUT
 [2013-12-13 13:06:09] BAS 0 attempted reset got err:(0) LIBUSB_SUCCESS / LIBUSB_TRANSFER_COMPLETED
 [2013-12-13 13:06:09] BAS0: RequestResults failed no data returned  (err=0 amt=0)
 [2013-12-13 13:06:09] BAS0: GetResults failed no data returned  (err=0 amt=0)
 [2013-12-13 13:06:10] BAS0: GetResults failed (err=-7 amt=0)
 [2013-12-13 13:06:10] BAS 0 RequestQueJob usb write err:(-7) LIBUSB_ERROR_TIMEOUT
 [2013-12-13 13:06:10] BAS 0 attempted reset got err:(0) LIBUSB_SUCCESS / LIBUSB_TRANSFER_COMPLETED
 [2013-12-13 13:06:10] BAS0: RequestQueJob failed no data returned  (err=0 amt=0)
 [2013-12-13 13:06:11] BAS0: GetResults failed no data returned  (err=0 amt=0)
 [2013-12-13 13:06:11] BAS0: GetResults failed (err=-7 amt=0)
 

Over time this would cause the router to reboot or force the service to restart.  Lots issues with router as well (attempting to use VPN was becoming a problem).

Rolled back to 3.6.3.

I'm running Kongmod 22200M + OTRW2.
legendary
Activity: 1795
Merit: 1208
This is not OK.

I tried unsetting the path and after running cgminer it prints out the semwait error then exits.
No difference when I run: service cgminer start.
This is what I get when listing the usb devices:

root@DD-WRT:~# ls -l /dev/usb/tts/
total 0
crw------- 1 root root 188, 0 Jan  1  1970 0

Any ideas about what's wrong?


 

No idea at all. That's the set up I have. My RT-N16 is running Kong mod build 21395M and OTRW2.

And tty won't list anything, the drivers aren't installed or used anymore. cgminer communicates directly with the device via libusb.
Pages:
Jump to: