Bitcoin Forum
December 09, 2016, 09:58:36 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
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 70481 times)
P_Shep
Legendary
*
Offline Offline

Activity: 924


View Profile WWW
October 18, 2012, 10:36:17 PM
 #181

Upped to 2.8.4
1481277516
Hero Member
*
Offline Offline

Posts: 1481277516

View Profile Personal Message (Offline)

Ignore
1481277516
Reply with quote  #2

1481277516
Report to moderator
1481277516
Hero Member
*
Offline Offline

Posts: 1481277516

View Profile Personal Message (Offline)

Ignore
1481277516
Reply with quote  #2

1481277516
Report to moderator
1481277516
Hero Member
*
Offline Offline

Posts: 1481277516

View Profile Personal Message (Offline)

Ignore
1481277516
Reply with quote  #2

1481277516
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
BR0KK
Hero Member
*****
Offline Offline

Activity: 742



View Profile
October 18, 2012, 10:40:28 PM
 #182

So which router should I take for my ztex boards?

I have a tplink mr3420 but I'm unable to get it running (comiling etc)


Is there someone that has a running setup for a router to connect ztex boards to it?

P_Shep
Legendary
*
Offline Offline

Activity: 924


View Profile WWW
October 18, 2012, 10:59:20 PM
 #183

Someone has got a DD-WRT router working with Ztex.


As for the tplink... will not work with this here binary.
hashalfahalve
Member
**
Offline Offline

Activity: 100

Support the bitcoin economy, use BTC merchants


View Profile
October 25, 2012, 02:13:02 AM
 #184

Works beautifully, thanks so much for doing this!
BR0KK
Hero Member
*****
Offline Offline

Activity: 742



View Profile
October 28, 2012, 11:25:20 AM
 #185

i did everything that you described in your tutorial .... is there an easy way to check if everything is ok with cgminer?

How do i know if cgminer is working right ?  

does someone know or have windows version of the program called anubis ..... or at least a tut how to install it on windows?

Mobius
Hero Member
*****
Offline Offline

Activity: 957



View Profile
October 28, 2012, 11:29:13 AM
 #186

i did everything that you described in your tutorial .... is there an easy way to check if everything is ok with cgminer?

How do i know if cgminer is working right ?  

does someone know or have windows version of the program called anubis ..... or at least a tut how to install it on windows?
enter
Code:
screen -r
at the prompt on the router and/or check to see if the pool is showing shares

and when your finished watching
enter
Code:
CTRL-a
d
to detach
BR0KK
Hero Member
*****
Offline Offline

Activity: 742



View Profile
October 28, 2012, 11:49:46 AM
 #187

Code:
root@DD-WRT-FPGA:/# screen -r
There are several suitable screens on:
17077.miner (Detached)
13962.miner (Detached)
12940.miner (Detached)
Type "screen [-d] -r [pid.]tty.host" to resume one of them.
root@DD-WRT-FPGA:/#

that gives me this ?

irritant
Sr. Member
****
Offline Offline

Activity: 416


Sodium hypochlorite, acetone, ethanol


View Profile
October 28, 2012, 11:58:32 AM
 #188

try

screen -r 17077
screen -r 13962
screen -r 12940

or something
BR0KK
Hero Member
*****
Offline Offline

Activity: 742



View Profile
October 28, 2012, 12:18:44 PM
 #189

Quote
root@DD-WRT-FPGA:/# screen -r 17077

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

that gives me this output ...


So i have to install anubis to see if its working?

Mobius
Hero Member
*****
Offline Offline

Activity: 957



View Profile
October 28, 2012, 01:11:20 PM
 #190

reboot it first, you should only have one instant of screen running
irritant
Sr. Member
****
Offline Offline

Activity: 416


Sodium hypochlorite, acetone, ethanol


View Profile
October 28, 2012, 02:14:59 PM
 #191

try

screen -r 17077
screen -r 13962
screen -r 12940

or something

screen -r 17077.miner
screen -r 13962.miner
screen -r 12940.miner
BR0KK
Hero Member
*****
Offline Offline

Activity: 742



View Profile
October 28, 2012, 06:27:52 PM
 #192

after the reboot when i type screen -r

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

it stays there dooing nothing untill i ctrl +c it ?

Service shows cgminer running (green)

P_Shep
Legendary
*
Offline Offline

Activity: 924


View Profile WWW
October 28, 2012, 06:49:02 PM
 #193

Sounds like the serial drivers aren't working/installed. Basically It can't find the devices for whatever reason.
BR0KK
Hero Member
*****
Offline Offline

Activity: 742



View Profile
October 28, 2012, 06:57:00 PM
 #194

im a ztex user, do i need them ?

it's the seriealsmodules part ?

Mobius
Hero Member
*****
Offline Offline

Activity: 957



View Profile
October 28, 2012, 06:59:24 PM
 #195

i did everything that you described in your tutorial .... is there an easy way to check if everything is ok with cgminer?


Remember the bitstreams portion also.
BR0KK
Hero Member
*****
Offline Offline

Activity: 742



View Profile
October 28, 2012, 07:12:22 PM
 #196

they are installed and running. service shows them green:



What did go wrong?

P_Shep
Legendary
*
Offline Offline

Activity: 924


View Profile WWW
October 28, 2012, 07:17:32 PM
 #197

Ah, ztex doesn't need the serial modules, so you can stop that service.

You can comment out the bit in cgminer.sh which does the search:


Code:
#!/bin/sh

unset LD_LIBRARY_PATH
unset LD_PRELOAD

prefix=/opt
CONFDIR=${prefix}/etc
CONF=${CONFDIR}/cgminer.conf
LOGDIR=${prefix}/var/log
TTYNAME=*
TTYDIR=/dev/usb/tts/

while true ; do
 # DEVS=`find ${TTYDIR} -type c -name "${TTYNAME}"  | sed 's/^/-S/' |  sed ':a;N;$!ba;s/\n/ /g'`
  NOW="`date +%Y%m%d-%H%M%S`"
  LOGFILE=${LOGDIR}/${NOW}.$$.log
  ${prefix}/bin/cgminer -c ${CONF} --api-listen ${DEVS} -T -q 2>${LOGFILE}
  sleep 30
done
BR0KK
Hero Member
*****
Offline Offline

Activity: 742



View Profile
October 28, 2012, 08:39:00 PM
 #198

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:~# 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
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:~# 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:~# screen -r                                                                                                                                             
There are several suitable screens on:
10586.miner (Detached)
6640.miner (Detached)
4001.pts-0.DD-WRT-FPGA (Detached)
3993.miner (Attached)
Type "screen [-d] -r [pid.]tty.host" to resume one of them.
root@DD-WRT-FPGA:~#


did exactly twice bit im always getting this

P_Shep
Legendary
*
Offline Offline

Activity: 924


View Profile WWW
October 29, 2012, 03:04:21 AM
 #199

I have no idea why you have three instances running.
Can you try connecting to each of them in turn with screen.

And work out how to disable two instances...

This is why I have the big warning at the top of the readme... it's not trival!
P_Shep
Legendary
*
Offline Offline

Activity: 924


View Profile WWW
October 29, 2012, 04:26:28 AM
 #200

Upped to 2.8.6
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:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!