Bitcoin Forum
March 28, 2024, 03:34:27 PM *
News: Latest Bitcoin Core release: 26.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 76912 times)
P_Shep (OP)
Legendary
*
Offline Offline

Activity: 1795
Merit: 1198


This is not OK.


View Profile
November 08, 2012, 02:51:08 AM
 #201

Upped to 2.9.1

https://github.com/downloads/pshep/cgminer/cgminer-2.9.1-mipsel.tar.gz
1711640067
Hero Member
*
Offline Offline

Posts: 1711640067

View Profile Personal Message (Offline)

Ignore
1711640067
Reply with quote  #2

1711640067
Report to moderator
"There should not be any signed int. If you've found a signed int somewhere, please tell me (within the next 25 years please) and I'll change it to unsigned int." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
P_Shep (OP)
Legendary
*
Offline Offline

Activity: 1795
Merit: 1198


This is not OK.


View Profile
December 03, 2012, 04:35:46 PM
 #202

2.9.6
P_Shep (OP)
Legendary
*
Offline Offline

Activity: 1795
Merit: 1198


This is not OK.


View Profile
December 13, 2012, 10:00:10 PM
 #203

Github have been gits and stopped the file hosting, so I've signed up for drop box and put the file here:

https://www.dropbox.com/s/ux31ggupvd4u9y8/cgminer-2.10.0-mipsel.tar.gz

(hopefully it's shared)
irritant
Sr. Member
****
Offline Offline

Activity: 473
Merit: 250


Sodium hypochlorite, acetone, ethanol


View Profile
December 14, 2012, 12:19:30 PM
 #204

I don't know if this is the right place to ask this, but has anyone tried to compile the stratum proxy for dd-wrt?

As ckolivas said, there's no compilation involved. Please follow instructions from https://github.com/slush0/stratum-mining-proxy , it should work even on dd-wrt (it requires only python 2.6/2.7).

Sorry for OT.
irritant
Sr. Member
****
Offline Offline

Activity: 473
Merit: 250


Sodium hypochlorite, acetone, ethanol


View Profile
January 10, 2013, 05:33:58 AM
 #205

will this work with BFL Jalapenos?   (with new version of cgminer compiled for wrt?)
BR0KK
Hero Member
*****
Offline Offline

Activity: 784
Merit: 500



View Profile
January 10, 2013, 12:06:54 PM
 #206

So you have one already?

Seriously .. Who knows what will work with those unicorn blood powered magical thingies when (if) they are released?

Btt:

I'll try the new version. Do I need to do al the Ddwrt stuff over again?

BR0KK
Hero Member
*****
Offline Offline

Activity: 784
Merit: 500



View Profile
February 17, 2013, 10:34:20 AM
 #207

Just tried it again and I'm still unable to do it.

Code:
root@DD-WRT-FPGA:~# service
Service:                 named (/opt/etc/init.d/S09named) disabled
Service:                xinetd (/opt/etc/init.d/S10xinetd)
Service:             automount (/opt/etc/init.d/S35automount)
Service:          reloc_syslog (/opt/etc/init.d/S40relocate_syslog) disabled
Service:             pixelserv (/opt/etc/init.d/S45pixelserv) disabled
Service:         serialmodules (/opt/etc/init.d/S45serialmodules) disabled
Service:          soundmodules (/opt/etc/init.d/S45soundmodules)
Service:               portmap (/opt/etc/init.d/S55portmap)
Service:                 unfsd (/opt/etc/init.d/S56unfsd)
Service:                zabbix (/opt/etc/init.d/S70zabbix) disabled
Service:              lighttpd (/opt/etc/init.d/S80lighttpd) disabled
Service:                 pound (/opt/etc/init.d/S80pound) disabled
Service:                 samba (/opt/etc/init.d/S80samba)
Service:             vlighttpd (/opt/etc/init.d/S80vlighttpd) disabled
Service:                  kaid (/opt/etc/init.d/S85kaid)
Service:              asterisk (/opt/etc/init.d/S90asterisk) disabled
Service:                nzbget (/opt/etc/init.d/S90nzbget) disabled
Service:          transmission (/opt/etc/init.d/S90transmission) disabled
Service:             fixtables (/opt/etc/init.d/S94fixtables)
Service:            stophammer (/opt/etc/init.d/S94stophammer)
Service:             asiablock (/opt/etc/init.d/S95asiablock) disabled
Service:            birmablock (/opt/etc/init.d/S95birmablock) disabled
Service:                twonky (/opt/etc/init.d/S95twonky) disabled
Service:          watchprinter (/opt/etc/init.d/S95watchprinter)
Service:            worldblock (/opt/etc/init.d/S95worldblock) disabled
Service:               siproxd (/opt/etc/init.d/S98siproxd) disabled
Service:              stophack (/opt/etc/init.d/S98stophack)
Service:               cgminer (/opt/etc/init.d/S99cgminer) disabled
root@DD-WRT-FPGA:~# lsusb             
Bus 002 Device 001: ID 0000:0000 
[color=red]Bus 001 Device 006: ID 221a:0100[/color]  [color=red]Ztex Quad![/color]
Bus 001 Device 003: ID 0951:1603 Kingston Technology
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 001: ID 0000:0000 
root@DD-WRT-FPGA:~# service cgminer on
Enable service "cgminer" (/opt/etc/init.d/S99cgminer)
service: Enabled service: "cgminer" (/opt/etc/init.d/S99cgminer)
root@DD-WRT-FPGA:~# service cgminer start
Start service "cgminer" (/opt/etc/init.d/S99cgminer)
service: Start service: "cgminer" (/opt/etc/init.d/S99cgminer)
S99cgminer: Starting cgminer:
root@DD-WRT-FPGA:~# service             
Service:                 named (/opt/etc/init.d/S09named) disabled
Service:                xinetd (/opt/etc/init.d/S10xinetd)
Service:             automount (/opt/etc/init.d/S35automount)
Service:          reloc_syslog (/opt/etc/init.d/S40relocate_syslog) disabled
Service:             pixelserv (/opt/etc/init.d/S45pixelserv) disabled
Service:         serialmodules (/opt/etc/init.d/S45serialmodules) disabled
Service:          soundmodules (/opt/etc/init.d/S45soundmodules)
Service:               portmap (/opt/etc/init.d/S55portmap)
Service:                 unfsd (/opt/etc/init.d/S56unfsd)
Service:                zabbix (/opt/etc/init.d/S70zabbix) disabled
Service:              lighttpd (/opt/etc/init.d/S80lighttpd) disabled
Service:                 pound (/opt/etc/init.d/S80pound) disabled
Service:                 samba (/opt/etc/init.d/S80samba)
Service:             vlighttpd (/opt/etc/init.d/S80vlighttpd) disabled
Service:                  kaid (/opt/etc/init.d/S85kaid)
Service:              asterisk (/opt/etc/init.d/S90asterisk) disabled
Service:                nzbget (/opt/etc/init.d/S90nzbget) disabled
Service:          transmission (/opt/etc/init.d/S90transmission) disabled
Service:             fixtables (/opt/etc/init.d/S94fixtables)
Service:            stophammer (/opt/etc/init.d/S94stophammer)
Service:             asiablock (/opt/etc/init.d/S95asiablock) disabled
Service:            birmablock (/opt/etc/init.d/S95birmablock) disabled
Service:                twonky (/opt/etc/init.d/S95twonky) disabled
Service:          watchprinter (/opt/etc/init.d/S95watchprinter)
Service:            worldblock (/opt/etc/init.d/S95worldblock) disabled
Service:               siproxd (/opt/etc/init.d/S98siproxd) disabled
Service:              stophack (/opt/etc/init.d/S98stophack)
Service:               cgminer (/opt/etc/init.d/S99cgminer)
root@DD-WRT-FPGA:~# screen -r           

/...WHITESPACE....HERE.../

/dev/usb/tts/: No such file or directory
/dev/usb/tts/: No such file or directory


/...WHITESPACE....HERE.../


It won't do anything here ?

irritant
Sr. Member
****
Offline Offline

Activity: 473
Merit: 250


Sodium hypochlorite, acetone, ethanol


View Profile
February 17, 2013, 11:04:20 AM
Last edit: February 17, 2013, 11:37:48 AM by irritant
 #208

serialmodus is disabled


Quote
For BFL, Icarus and Mod Miner Quad:
Copy serial script to       /opt/etc/init.d              (S45serialmodules)
Copy ftdi_sio.ko to         /opt/lib/modules/2.6.24.111  Rename existing file

Enable the USB serial drivers, type:
> service serialmodules on
> service serialmodules start
> service unicornblood on
> service unicornblood start

The devices should now be recognised as a serial device. To check, type:
> ls -l /dev/usb/tts


This will list all the USB serial ports detected.

For Ztex and Mod Miner Quad:
Create the bitstreams dir and copy bitstream files to    /opt/bin/bitstreams
BR0KK
Hero Member
*****
Offline Offline

Activity: 784
Merit: 500



View Profile
February 17, 2013, 05:52:28 PM
 #209

Is serialmodules necessary for Ztex boards?

Luke-Jr
Legendary
*
Offline Offline

Activity: 2576
Merit: 1186



View Profile
February 17, 2013, 06:17:15 PM
 #210

No, ZTEX just requires libusb-1.0. BFGMiner has official OpenWrt packages now, if you want to try that.

BR0KK
Hero Member
*****
Offline Offline

Activity: 784
Merit: 500



View Profile
February 17, 2013, 06:37:12 PM
 #211

Same install procedure?

Luke-Jr
Legendary
*
Offline Offline

Activity: 2576
Merit: 1186



View Profile
February 17, 2013, 07:07:07 PM
 #212

Same install procedure?
No, BFGMiner uses opkg: http://luke.dashjr.org/programs/bitcoin/files/bfgminer/2.10.5/openwrt/12.09/README

BR0KK
Hero Member
*****
Offline Offline

Activity: 784
Merit: 500



View Profile
February 20, 2013, 11:35:12 PM
 #213

Maybe i screwed the part with the libusb up?

Quote
For all:
Copy cgminer scripts to     /opt/etc/init.d              (cgminer.sh, S99cgminer)
Copy cgminer executable to  /opt/bin                     (cgminer)
Copy cgminer.conf to        /opt/etc                     Edit according to your setup. See CGminer documentation.
Copy libusb-1.0 files to    /opt/lib                     Rename the originals (if any)

The last step is (for me as a linux noob) hard to understand. I downloaded the cgminer package and transferred all libusb files via winscp to the appropriate folder.

These three files were transferred:
Code:
libusb-1.0.so
libusb-1.0.so.0
libusb-1.0.so.0.1.0
On my router under the /opt/lib folder i have now these files:
Code:

/...More other files that i don't know..../

libusb-0.1.so.4
libusb-0.1.so.4.4.4
libusb-0.1.so.0.1.0
libusb-0.1.so.0.lnk
libusb-0.1.so.lnk
libusb.so

/...More other files that i don't know..../

So i have to delete or rename the libusb files marked with a "4". Like this "libusb-0.1.so.4.4.4"?
What the hell is an ".ink"? That must be a windows leftover i think so i have to rename them to?

P_Shep (OP)
Legendary
*
Offline Offline

Activity: 1795
Merit: 1198


This is not OK.


View Profile
February 21, 2013, 10:21:35 AM
 #214

The .lnk is a windows leftover, it's how windows deals with symbolic links.
For linux you create the symbolic links with
ln -s <source> <dest>

so:
ln -s libusb-0.1.so.0.1.0 libusb-1.0.so
ln -s libusb-0.1.so.0.1.0 libusb-1.0.so.0

and delete the .lnk files
BR0KK
Hero Member
*****
Offline Offline

Activity: 784
Merit: 500



View Profile
February 21, 2013, 02:14:44 PM
 #215

I deleted the ink files and made the symbolic links as you described, but i do have (again beginners) issues with lsusb.

if i call it i get this error message:
Code:
root@DD-WRT-FPGA:~# lsusb
lsusb: can't load library 'libusb-0.1.so.4'
root@DD-WRT-FPGA:~#

This is after renaming all the default libusb files and a restart of the router. Looks like this now:
Code:
libusb-0.1.so.4.4.4.txt           
libusb-0.1.so.4.txt
libusb-1.0.so
libusb-1.0.so.0
libusb-1.0.so.0.1.0
libusb.so.txt


How do i get lsusb to use the other libusb libraries? As i understand this lsusb uses the default files and i have to set a dependency somewhere? That dependency will be necessary for cgminer to use the "new" libusb files as well.

There is no easy way to do this?

Sry that i have to ask all these noob questions. If i get it working ill donate towards your effort.


SAC
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250


View Profile
February 21, 2013, 07:56:56 PM
 #216

I deleted the ink files and made the symbolic links as you described, but i do have (again beginners) issues with lsusb.

if i call it i get this error message:
Code:
root@DD-WRT-FPGA:~# lsusb
lsusb: can't load library 'libusb-0.1.so.4'
root@DD-WRT-FPGA:~#

This is after renaming all the default libusb files and a restart of the router. Looks like this now:
Code:
libusb-0.1.so.4.4.4.txt            
libusb-0.1.so.4.txt
libusb-1.0.so
libusb-1.0.so.0
libusb-1.0.so.0.1.0
libusb.so.txt


How do i get lsusb to use the other libusb libraries? As i understand this lsusb uses the default files and i have to set a dependency somewhere? That dependency will be necessary for cgminer to use the "new" libusb files as well.

There is no easy way to do this?

Sry that i have to ask all these noob questions. If i get it working ill donate towards your effort.



Try as root ldconfig to have the cache for the libraries installed rebuilt and check in the /etc/ld.so.conf file to be sure the directory you copied into is present in that file so it will find them.

Edit: This page has couple of more commands you can try.

http://linux.101hacks.com/unix/ldconfig/
BR0KK
Hero Member
*****
Offline Offline

Activity: 784
Merit: 500



View Profile
February 21, 2013, 09:01:02 PM
 #217

Thank you for this explanation and the link. Hm....

Seems that with my knowledge of linux (and shell) I'm unable to do this (this is part of what i hate with linux. No, to zero usability/compatibility for beginners Sad).. The written TuT reads like this is simple copy and paste?

Maybe there is someone out there that has a E3200 with Ztex boards that can provide a "clone" from his DD-WRT build, so that i can flash my router with this?

Or there is someone that can explain to me (for a noob: step by step) what exactly i have to do to get this working?

What do i need to do?

Quote
Try as root ldconfig to have the cache for the libraries installed
if i run "ldconfig" (without any options) i get this:

Code:
root@DD-WRT-FPGA:/# ldconfig
ldconfig: skipping /opt/lib/libusb.so.txt: No such file or directory
ldconfig: skipping /opt/lib/libusb-0.1.so.4.txt: No such file or directory
root@DD-WRT-FPGA:/#
Does this mean that the linux still tries to use the renamed old libusb files?

if i look at the  "/etc/ld.so.conf" file i see this:
Code:
/jffs/lib
/jffs/usr/lib
/jffs/usr/local/lib
/mmc/lib
/mmc/usr/lib
/mmc/usr/local/lib
/lib
/usr/lib

jffs?
mmc?

Sry, I'm turning this thread into a linux support thread but maybe this helps other Ztex DDwrt users :/


BR0KK
Hero Member
*****
Offline Offline

Activity: 784
Merit: 500



View Profile
February 21, 2013, 11:11:20 PM
 #218

OK ....Hm, thanks to irritant it works somehow.  I did everything again and now when i start cgminer i get this:

Quote
/dev/usb/tts/: No such file or directory
 [2013-02-21 23:59:33] Found ztex board 1.15d or 1.15x
 [2013-02-21 23:59:33] ZTEX 04A3468E00-1: capability missing: 0 7
 [2013-02-21 23:59:33] No servers were found that could be used to get work from.
 [2013-02-21 23:59:33] Please check the details from the list below of the servers you have input
 [2013-02-21 23:59:33] Most likely you have input the wrong URL, forgotten to add a port, or have not set up workers
/dev/usb/tts/: No such file or directory

Must be an error in the config?

and this:

Code:
[2013-02-22 00:10:31] Found ztex board 1.15d or 1.15x                   
 [2013-02-22 00:10:31] Found dummy firmware, trying to send mining firmware                   
 [2013-02-22 00:10:31] productString: USB-FPGA Module 1.15d (default)                   
 [2013-02-22 00:10:31] Mining firmware filename: ztex_ufm1_15d4.bin                   
 [2013-02-22 00:10:31] failed to open firmware file 'ztex_ufm1_15d4.bin'                   
 [2013-02-22 00:10:31] Ztex: Can not check device: 0     

Cant access Firmware but why?

Luke-Jr
Legendary
*
Offline Offline

Activity: 2576
Merit: 1186



View Profile
February 21, 2013, 11:35:21 PM
 #219

The firmwares are separate packages to save space.
The one you want is bfgminer-bitstream-ztex-ufm1_15d4

BR0KK
Hero Member
*****
Offline Offline

Activity: 784
Merit: 500



View Profile
February 22, 2013, 12:40:36 AM
 #220

Thank you luke that was a good hint Smiley

It works.... but only with my quads?

Must have something to do with the dummy FW :/

Code:
/dev/usb/tts/: No such file or directory
 [2013-02-22 01:35:28] Found ztex board 1.15y
 [2013-02-22 01:35:28] Found ztex board 1.15y
 [2013-02-22 01:35:28] Found ztex board 1.15y
ZTX3 04A36E24F2-4 | 200.0MHz | (5s):0.000 (avg):0.000h/s | A:1 R:0 HW:0 U:9.9/m
ZTX8 04A34644C6-1 | 200.0MHz | (5s):62.50M (avg):195.1Mh/s | A:1 R:0 HW:0 U:5.4/m
ZTX10 04A34644C6-3 | 200.0MHz | (5s):71.08M (avg):195.1Mh/s | A:1 R:0 HW:0 U:5.4/m
ZTX0 04A36E24F2-1 | 200.0MHz | (5s):26.09M (avg):195.0Mh/s | A:1 R:0 HW:0 U:5.4/m
ZTX0 04A36E24F2-1 | 200.0MHz | (5s):26.09M (avg):195.0Mh/s | A:2 R:0 HW:0 U:10.8/m
ZTX2 04A36E24F2-3 | 200.0MHz | (5s):37.52M (avg):195.0Mh/s | A:1 R:0 HW:0 U:5.4/m
ZTX0 04A36E24F2-1 | 200.0MHz | (5s):26.09M (avg):119.0Mh/s | A:3 R:0 HW:0 U:9.9/m
ZTX8 04A34644C6-1 | 200.0MHz | (5s):62.50M (avg):119.0Mh/s | A:2 R:0 HW:0 U:6.6/m
ZTX10 04A34644C6-3 | 200.0MHz | (5s):71.08M (avg):119.0Mh/s | A:2 R:0 HW:0 U:6.6/m
ZTX3 04A36E24F2-4 | 200.0MHz | (5s):115.4M (avg):238.0Mh/s | A:2 R:0 HW:0 U:6.6/m
ZTX9 04A34644C6-2 | 200.0MHz | (5s):128.9M (avg):238.0Mh/s | A:1 R:0 HW:0 U:3.3/m
ZTX2 04A36E24F2-3 | 200.0MHz | (5s):107.7M (avg):238.0Mh/s | A:2 R:0 HW:0 U:6.6/m
ZTX0 04A36E24F2-1 | 200.0MHz | (5s):99.27M (avg):178.6Mh/s | A:4 R:0 HW:0 U:9.9/m
ZTX7 04A3461185-4 | 200.0MHz | (5s):123.4M (avg):178.5Mh/s | A:1 R:0 HW:0 U:2.5/m
ZTX4 04A3461185-1 | 200.0MHz | (5s):117.1M (avg):178.6Mh/s | A:1 R:0 HW:0 U:2.5/m
ZTX7 04A3461185-4 | 200.0MHz | (5s):123.4M (avg):178.5Mh/s | A:2 R:0 HW:0 U:5.0/m
ZTX3 04A36E24F2-4 | 200.0MHz | (5s):115.4M (avg):178.6Mh/s | A:3 R:0 HW:0 U:7.4/m
ZTX4 04A3461185-1 | 200.0MHz | (5s):117.1M (avg):178.6Mh/s | A:2 R:0 HW:0 U:5.0/m
ZTX5 04A3461185-2 | 200.0MHz | (5s):119.0M (avg):178.6Mh/s | A:1 R:0 HW:0 U:2.5/m
ZTX11 04A34644C6-4 | 200.0MHz | (5s):136.3M (avg):178.5Mh/s | A:1 R:0 HW:0 U:2.5/m
(5s):879.4M (avg):1.697Gh/s | Q:1  A:20  R:0  HW:0  E:2000%  U:24.8/m

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!