P_Shep (OP)
Legendary
Offline
Activity: 1795
Merit: 1208
This is not OK.
|
|
November 08, 2012, 02:51:08 AM |
|
|
|
|
|
P_Shep (OP)
Legendary
Offline
Activity: 1795
Merit: 1208
This is not OK.
|
|
December 03, 2012, 04:35:46 PM |
|
2.9.6
|
|
|
|
|
irritant
Sr. Member
Offline
Activity: 473
Merit: 250
Sodium hypochlorite, acetone, ethanol
|
|
December 14, 2012, 12:19:30 PM |
|
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
Activity: 473
Merit: 250
Sodium hypochlorite, acetone, ethanol
|
|
January 10, 2013, 05:33:58 AM |
|
will this work with BFL Jalapenos? (with new version of cgminer compiled for wrt?)
|
|
|
|
BR0KK
|
|
January 10, 2013, 12:06:54 PM |
|
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
|
|
February 17, 2013, 10:34:20 AM |
|
Just tried it again and I'm still unable to do it. 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
Activity: 473
Merit: 250
Sodium hypochlorite, acetone, ethanol
|
|
February 17, 2013, 11:04:20 AM Last edit: February 17, 2013, 11:37:48 AM by irritant |
|
serialmodus is disabled 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
|
|
February 17, 2013, 05:52:28 PM |
|
Is serialmodules necessary for Ztex boards?
|
|
|
|
Luke-Jr
Legendary
Offline
Activity: 2576
Merit: 1186
|
|
February 17, 2013, 06:17:15 PM |
|
No, ZTEX just requires libusb-1.0. BFGMiner has official OpenWrt packages now, if you want to try that.
|
|
|
|
BR0KK
|
|
February 17, 2013, 06:37:12 PM |
|
Same install procedure?
|
|
|
|
Luke-Jr
Legendary
Offline
Activity: 2576
Merit: 1186
|
|
February 17, 2013, 07:07:07 PM |
|
|
|
|
|
BR0KK
|
|
February 20, 2013, 11:35:12 PM |
|
Maybe i screwed the part with the libusb up? 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: 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: /...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
Activity: 1795
Merit: 1208
This is not OK.
|
|
February 21, 2013, 10:21:35 AM |
|
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
|
|
February 21, 2013, 02:14:44 PM |
|
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: 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: 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
|
|
February 21, 2013, 07:56:56 PM |
|
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: 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: 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
|
|
February 21, 2013, 09:01:02 PM |
|
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 ).. 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? Try as root ldconfig to have the cache for the libraries installed if i run "ldconfig" (without any options) i get this: 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: /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
|
|
February 21, 2013, 11:11:20 PM |
|
OK ....Hm, thanks to irritant it works somehow. I did everything again and now when i start cgminer i get this: /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: [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?
|
|
|
|
|
BR0KK
|
|
February 22, 2013, 12:40:36 AM |
|
Thank you luke that was a good hint It works.... but only with my quads? Must have something to do with the dummy FW :/ /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
|
|
|
|
|