Bitcoin Forum
June 22, 2024, 10:07:53 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Mining (Altcoins) / Re: FutureBit Moonlander 2 USB Hubs Thread on: February 03, 2018, 11:57:59 PM
I'm running ten ML2 on Sipolar A400. Prefer Antminer L3+ but too loud to use at home or work. Don't they make mufflers for these things or something super quiet?

Will it run 10 at 954mhz?


I have seen a few sellers that offer a Antminer muffler box.  you should look into that
2  Alternate cryptocurrencies / Mining (Altcoins) / Re: FutureBit Moonlander 2 USB Hubs Thread on: February 03, 2018, 06:31:12 AM
Boy have I got a story for you folks... Roll Eyes

I ordered a bunch of MLDs in November before they were too pricing at $200/each at Amazon and I started to use my rack which has been sitting around for 15 years....finally get to use it.

I went through 4 powered hubs and bought a 20 port Eyeboot from HW (I just got it 2 weeks ago)...One final 10 USB power hub (UNITEK 10-Port Fast Charger USB Wall / Desktop Multi-Port Charging Station ) was working fine until it didn't.  Luckily, I was able to get a refund.  I use these $6 USB power/data adapters which work fine...

I'm just so burnt out in trying so many hubs..that don't work.
I have 10 MLDs with no home yet.
3  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN] FutureBit Moonlander 2: The Most Powerful and Efficient USB Stick Miner! on: February 03, 2018, 03:57:59 AM
hard to say without knowing your setup.  What makes you think you have a network problem?  I have not seen any analysis that points to a network problem, or any analysis at all for that matter.

Oh I see. So, BFGMiner includes it's own Stratum Proxy server?  Maybe the issue is my ISP?

I’m also running a full Bitcoin node and a full Litecoin node....that might be the issue.
 At least that’s what my 13 y.o. Says....he’s sick of all the lag..
4  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN] FutureBit Moonlander 2: The Most Powerful and Efficient USB Stick Miner! on: February 03, 2018, 02:46:49 AM
has anyone received their landers or a tracking number for batch 2 FROM bittawamart? asic puppy shipped over a week ago

I just got mine today! 

They provided a tracking number from DHL
5  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN] FutureBit Moonlander 2: The Most Powerful and Efficient USB Stick Miner! on: January 31, 2018, 03:44:10 AM
Oh I see. So, BFGMiner includes it's own Stratum Proxy server?  Maybe the issue is my ISP?
6  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN] FutureBit Moonlander 2: The Most Powerful and Efficient USB Stick Miner! on: January 30, 2018, 04:58:54 PM
Why use a stratum server?

How many moonlanders are you running?

Just 20 but they are flooding my local network.  I will add more soon so I was wondering what other folks are experiencing.  My research says having a local Stratum Poxy server to manage the miner traffic reduces load on the local network.  Additionally, i have had alot of network issues since I started mining.
7  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN] FutureBit Moonlander 2: The Most Powerful and Efficient USB Stick Miner! on: January 30, 2018, 06:42:19 AM
Stratum Proxy server working for anyone?
I'm having a difficult time getting them setup in either Ubuntu or Mac...has anyone in 2017 - 2018 had it working?
8  Alternate cryptocurrencies / Mining (Altcoins) / Re: Official FutureBit Moonlander 2 Driver and Support Thread on: January 11, 2018, 07:57:41 PM
Can you try putting a non usb powered hub between your powered hub and your RPI.


Yes..in my rig I have a power USB hub with USB adapters (HIGHROCK 30cm USB 2.0 a Power Enhancer Y 1 Female to 2 Male Data Charge Cable Extension Cord(1pc) that connect the USB port of my CPU.  So, the MLDs draw power and communicate as so.  The cost of the adapters was annoying (~$5 USD ea.) but it works.
9  Alternate cryptocurrencies / Mining (Altcoins) / Re: Official FutureBit Moonlander 2 Driver and Support Thread on: January 11, 2018, 07:45:53 PM
BFGMinerRPC issues: Huh Huh Angry

I hoped others have hacked through the forest already.  RPC is completely new to me and I'm also a novice python dev.  But, I tried to use the example RPC python script to RPC into my miner and I either can't get it to receive the data and parse it or I get no response.

Here are the 2 methods I tried:

1. Using Thomas Sileo CGMiner blog bigups (https://thomassileo.name/blog/2013/09/17/playing-with-python-and-cgminer-rpc-api/)
Code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Created on Tue Jan  9 11:00:14 2018

@author: kerrywashington
"""

import socket
import json


class BFGMinerAPI(object):
    """ Cgminer RPC API wrapper. """
    def __init__(self, host='mylocalhost', port=4028):
        self.data = {}
        self.host = host
        self.port = port

    def command(self, command, arg=None):
        """ Initialize a socket connection,
        send a command (a json encoded dict) and
        receive the response (and decode it).
        """
        sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)

        try:
            sock.connect((self.host, self.port))
            payload = {"command": command}
            if arg is not None:
                # Parameter must be converted to basestring (no int)
                payload.update({'parameter': unicode(arg)})
                sock.send(json.dumps(payload))
            received = self._receive(sock)
            print(received)
        finally:
            sock.shutdown(socket.SHUT_RDWR)
            sock.close()
        
        return json.loads(received[:-1])

    def _receive(self, sock, size=4096):
        msg = ''
        while 1:
            chunk = sock.recv(size)
            if chunk:
                msg += chunk
            else:
                break
        return msg

    def __getattr__(self, attr):
        def out(arg=None):
            return self.command(attr, arg)
        return out
I started this script and tweaked it for my setup I'm remotely running the script with my server name.
The response is when I run c.command('summary') and I get no response. I set breakpoints in my Anaconda/Spyder IDE but get nothing.

                c = BFGMinerAPI()
                c.command('summary')

When I run the same script on locally..it still freezes...same behavior

2. Using the BFGAPI script:
Code:

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Copyright 2013 Christian Berendt
# Copyright 2013 Luke Dashjr
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
# Foundation; either version 3 of the License, or (at your option) any later
# version.  See COPYING for more details.

import argparse
import json
import logging
import pprint
import socket

logging.basicConfig(
         format='%(asctime)s %(levelname)s %(message)s',
         level=logging.DEBUG
)

parser = argparse.ArgumentParser()
parser.add_argument("command", default="summary", nargs='?')
parser.add_argument("parameter", default="", nargs='?')
parser.add_argument("--hostname", default="localhost")
parser.add_argument("--port", type=int, default=4028)
args = parser.parse_args()
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
try:
    s.connect((args.hostname, args.port))
    
except socket.error, e:    
    print "Error receiving data: %s" % e
    logging.error(e)

try:
    s.send("{\"command\" : \"%s\", \"parameter\" : \"%s\"}"
            % (args.command, args.parameter)
          )
except socket.error, e:
    print "Error receiving data: %s" % e
    logging.error(e)
data = ''
while True:
    try:
        newdata = s.recv(1024)
        if newdata:
            data += newdata
            print('Data:' + newdata)
        else:
            break
    except socket.error, e:
        break

try:
    s.close()
except socket.error,e:
    logging.error(e)
if data:
    data = json.loads(data.replace('\x00', ''))
    print('dat data')
    pp = pprint.PrettyPrinter()
    pp.pprint(data)



Nothing prints to output

Could anyone offer some help?  Thanks!
 



10  Alternate cryptocurrencies / Mining (Altcoins) / Re: Official FutureBit Moonlander 2 Driver and Support Thread on: January 08, 2018, 09:23:20 PM
It isn't being said so I will just confirm my suspicion is that since the MLD driver  (for FB MLD v2) is not merged with the main BFGMiner repo, the BFGMiner won't config file won't work with FutureBit Moonlander 2...@jstefanop ? 

I have to make a script to add all my custom goodiness for each miner? Just trying to see which direction I should put my resources into..

 
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!