Bitcoin Forum
May 05, 2024, 12:48:28 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 [5] 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 »  All
  Print  
Author Topic: CGminer v3.8.5 on Broadcom based DD-WRT / OpenWRT  (Read 77007 times)
d3m0n1q_733rz
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250



View Profile WWW
June 25, 2012, 12:24:58 AM
 #81

Hey, does this allow the actual Broadcom chip to be used for hashing as well?  Or does it only allow the router to be used to send out the work to the child devices as the parent?  And, if it does do hashing itself, what numbers are we seeing out of these?

Funroll_Loops, the theoretically quicker breakfast cereal!
Check out http://www.facebook.com/JupiterICT for all of your computing needs.  If you need it, we can get it.  We have solutions for your computing conundrums.  BTC accepted!  12HWUSguWXRCQKfkPeJygVR1ex5wbg3hAq
1714913308
Hero Member
*
Offline Offline

Posts: 1714913308

View Profile Personal Message (Offline)

Ignore
1714913308
Reply with quote  #2

1714913308
Report to moderator
1714913308
Hero Member
*
Offline Offline

Posts: 1714913308

View Profile Personal Message (Offline)

Ignore
1714913308
Reply with quote  #2

1714913308
Report to moderator
You can see the statistics of your reports to moderators on the "Report to moderator" pages.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714913308
Hero Member
*
Offline Offline

Posts: 1714913308

View Profile Personal Message (Offline)

Ignore
1714913308
Reply with quote  #2

1714913308
Report to moderator
1714913308
Hero Member
*
Offline Offline

Posts: 1714913308

View Profile Personal Message (Offline)

Ignore
1714913308
Reply with quote  #2

1714913308
Report to moderator
streblo
Full Member
***
Offline Offline

Activity: 165
Merit: 100


View Profile
June 25, 2012, 12:30:54 AM
 #82

No it doesn't, and if it did, I would imagine the speed would be ca. 0.1MH/s -- in other words, totally pointless.
d3m0n1q_733rz
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250



View Profile WWW
June 25, 2012, 03:48:30 AM
 #83

No it doesn't, and if it did, I would imagine the speed would be ca. 0.1MH/s -- in other words, totally pointless.
I'm not so certain about that.  Routers handle some pretty heavy loads when it comes to encryption and decryption.  Remember, they handle WPA2 with AES in heavy numbers per second.  Keeping that in mind, it wouldn't be totally careless to think they could handle some SHA-256 as well at a decent rate.  If so, we could be looking at lower-cost hashing power.

Funroll_Loops, the theoretically quicker breakfast cereal!
Check out http://www.facebook.com/JupiterICT for all of your computing needs.  If you need it, we can get it.  We have solutions for your computing conundrums.  BTC accepted!  12HWUSguWXRCQKfkPeJygVR1ex5wbg3hAq
streblo
Full Member
***
Offline Offline

Activity: 165
Merit: 100


View Profile
June 25, 2012, 06:12:04 AM
 #84

No it doesn't, and if it did, I would imagine the speed would be ca. 0.1MH/s -- in other words, totally pointless.
I'm not so certain about that.  Routers handle some pretty heavy loads when it comes to encryption and decryption.  Remember, they handle WPA2 with AES in heavy numbers per second.  Keeping that in mind, it wouldn't be totally careless to think they could handle some SHA-256 as well at a decent rate.  If so, we could be looking at lower-cost hashing power.
I ran p_shep's cgminer on a e3000 without any hashing hardware connected and it errors out. So, AFAICT, mining on the broadcom 480MHz processor isn't possible at the moment.

It's certainly an interesting idea, if a dedicated router could SHA-256 hash quickly. I think it's negligible though because unless there's onboard dedicated hardware for SHA512 hashes (AFAIK, no routers have this -- and if they did the mining community would have found and bought them), it will be CPU mining with a 480MHz processor which just isn't that fast (esp. without difficult assembly optimizations).
P_Shep (OP)
Legendary
*
Offline Offline

Activity: 1795
Merit: 1198


This is not OK.


View Profile
June 25, 2012, 06:19:27 AM
 #85

When I was first fiddling about with cgminer on a router I enabled CPU mining just to test it out. It didn't submit a single share in the hour or two I left it on. It took so long a long poll would come through and wipe out the work before it completed.
As to dedicated hardware to do the job... that feasible, but even if there was a hardware SHA256, I think the processor that does that (wireless) and the routing etc., is separate from the CPU, so I don't know how practice it might really be as far as getting the work done. Then you get into the whole Broadcom doesn't release their datasheets thing.
Chefnet
Hero Member
*****
Offline Offline

Activity: 686
Merit: 500


View Profile
June 25, 2012, 05:59:40 PM
 #86

@p_shep what is with my pm? No anwser?

P_Shep (OP)
Legendary
*
Offline Offline

Activity: 1795
Merit: 1198


This is not OK.


View Profile
June 25, 2012, 06:02:59 PM
 #87

@p_shep what is with my pm? No anwser?

Ah right, forgot about that!
Jaryu
Member
**
Offline Offline

Activity: 90
Merit: 10


View Profile
June 27, 2012, 04:58:00 AM
 #88

ok got my e3000 with dd-wrt and even installed optware and it works fine, but now I am stuck... the instructions say to copy files to the storage device;
(Unpack the mipsel CGminer package. (Suggest you copy the .tar.gz to the router and untar it there)

but I have no idea how to do that over the telnet, I am also not a linux person so I have no idea what to do there either. Any help would be apreciated, thanks.
P_Shep (OP)
Legendary
*
Offline Offline

Activity: 1795
Merit: 1198


This is not OK.


View Profile
June 27, 2012, 06:10:03 AM
 #89

Look at the samba tutorials on dd-wrt website.
You can also enable samba via the web interface.
nanook7
Newbie
*
Offline Offline

Activity: 48
Merit: 0


View Profile
June 27, 2012, 07:50:31 PM
 #90

I am hoping someone here can answer.

After a bit of research I still can't find out if the ASUS WL-520gU wireless router
uses the correct chipset to run CGminer from this thread?

Anyone have any ideas?

thanks
P_Shep (OP)
Legendary
*
Offline Offline

Activity: 1795
Merit: 1198


This is not OK.


View Profile
June 27, 2012, 08:22:43 PM
 #91

Looks like it could. Processor and mem is a bit low, but I think should be just about sufficient.

dd-wrt wiki:
http://www.dd-wrt.com/wiki/index.php/Asus_WL-520GU
nanook7
Newbie
*
Offline Offline

Activity: 48
Merit: 0


View Profile
June 27, 2012, 10:00:51 PM
 #92

Looks like it could. Processor and mem is a bit low, but I think should be just about sufficient.

dd-wrt wiki:
http://www.dd-wrt.com/wiki/index.php/Asus_WL-520GU

Thanks, I found one at a garage sale for $5.  I'll give it a try later.
GoldZuGeld
Newbie
*
Offline Offline

Activity: 57
Merit: 0


View Profile
June 30, 2012, 08:30:05 PM
 #93

4mb flash could be a bit too small for open-wrt + ztex files
BR0KK
Hero Member
*****
Offline Offline

Activity: 784
Merit: 500



View Profile
June 30, 2012, 09:11:40 PM
 #94

That's why u ll use a USB stick Wink


Just got my raspi pi today and I got it running there. When I find some time I'll try open wrt Smiley

P_Shep (OP)
Legendary
*
Offline Offline

Activity: 1795
Merit: 1198


This is not OK.


View Profile
July 24, 2012, 08:00:45 PM
 #95

POOP!

I moved my Asus RT-N16 over to be my host as the e3000 was over heating in the hot weather.
The asus was also occasional resetting (though nowhere near as often) so decided to 'mod' it and ad a fan.
Well somewhere something went wrong and now it's bricked.
My guess is that in removing the existing heatsink I broke some of the BGAs or something.

Very annoying.
P_Shep (OP)
Legendary
*
Offline Offline

Activity: 1795
Merit: 1198


This is not OK.


View Profile
July 25, 2012, 04:25:10 PM
 #96

AAaaaaand... it came back to life.

Weird.
streblo
Full Member
***
Offline Offline

Activity: 165
Merit: 100


View Profile
July 26, 2012, 05:08:57 PM
Last edit: July 26, 2012, 05:32:51 PM by streblo
 #97

A few things:

(1) I got cgminer working with my BFLs. P_shep, do you want your 10 BTC donation to your pan handling address?
(2) It seems if I disconnect a BFL single (usually on accident), it won't start mining until I do a "#service cgminer stop && service cgminer start". The log file says something about, IIRC, /dev/usb/tty/0 not being readable. Is there a way to make BFL singles hot-swappable?
(3) Every few days my e3000 will disconnect from the wireless and I have to reboot it. Anyone know of a cronjob to restart the wireless every day or so? (EDIT: I think this will work "wl radio off && wl radio on")

EDIT2: Here is a great fix-wifi-if-broken script: http://www.dd-wrt.com/wiki/index.php/Useful_Scripts#Reset_Wireless_Radio
P_Shep (OP)
Legendary
*
Offline Offline

Activity: 1795
Merit: 1198


This is not OK.


View Profile
July 26, 2012, 06:02:42 PM
Last edit: July 26, 2012, 06:27:14 PM by P_Shep
 #98

Great! well done Smiley

1) Cheesy
2) Yep. When I get time I'll look into hotswap stuff. It really shouldn't be TOO difficult. As it is, when you unplug a device and plug it back in it enumerates to a different serial port. Since you start CGMiner with set ports, it'll only look at those, and so will miss the new port created when you plug the device back in.
3) I've had some over heating issues now the really hot weather has kicked in, but my router just reset. The only time I had trouble with the radio stopping was when I used the most recent firmware. Its a shame to used such a cludge like that script, but if it works...


Edit:
2) Thinking about it, scanning the serial ports is very system specific. I would have to cater for other devices too in cgminer.
An easier option may be just to edit the start up script cgminer.sh...
If you move the DEVS='...' line to inside the while loop, then all you need to do is quit cgminer via a api command (as opposed to service restart). Next time around the loop the new serial port will be picked up by the script and used in the cmd line. You can also reduce the sleep time so it comes back up quicker.
unclemantis
Member
**
Offline Offline

Activity: 98
Merit: 10


(:firstbits => "1mantis")


View Profile
July 27, 2012, 05:03:58 PM
 #99

That is pretty neat. talk about a conversation piece. Kinda like a modern industrial art piece.

PHP, Ruby, Rails, ASP, JavaScript, SQL
20+ years experience w/ Internet Technologies
Bitcoin OTC | GPG Public Key                                                                               thoughts?
P_Shep (OP)
Legendary
*
Offline Offline

Activity: 1795
Merit: 1198


This is not OK.


View Profile
July 27, 2012, 05:10:15 PM
 #100

Perhaps I should spray-paint it all bronze/brass/copper, hide the wires in copper pipes, and add random rivets.

Steam-punk mining.
Pages: « 1 2 3 4 [5] 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!