Bitcoin Forum
May 03, 2024, 12:17:03 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 [149]
2961  Other / Beginners & Help / Re: Can't get a Technobit HEX16 on a Raspberry with Raspbian / Debian to work on: January 14, 2014, 12:16:09 PM
Problem solved!

Start the command where I get stuck with "sudo" too, et voila!

Then I encountered another problem with the missing cgminer.conf file.

I edited that (to include my miner-worker details) in the GUI and copied it from the directory cgminer-hex16a-3.6.1 to the directory cgminer-3.6.1

In the directory cgminer-3.6.1 i ran cgminer with: sudo ./cgminer -c ./cgminer.conf

Works like a charm, even with another Butterfly labs miner connected next to the Technobit one.

Enjoy!
2962  Bitcoin / Hardware / Re: TECHNOBIT's HEX16A in hand - first impressions / mining software on: January 13, 2014, 09:29:06 AM
Cool, thank you for taking the time to reply.

It worked! And I go through the rest of the tutorial. At the end I check if the HEX board is detected with:

sudo ./cgminer -n

and I get the confirmation: 1 known USB devices

Now I return to the "run cgminer with:"

sudo ./cgminer -c ./cgminer.conf

But I get the error: unable to open ./cgminer.conf: No such file or directory

OK so i cd and I cd cgminer-hax16a-3.6.1 where there is such a file.

I try to copy it by: cp cgminer.conf /cgminer-3.6.1

But no luck: cp: cannot create regular file '/cgminer-3.6.1': Permission denied

Ah; add 'sudo'... No error, but also no file in the directory cgminer-3.6.1 ?!? Also no file after 'ls' or even 'sudo ls'...

I know, I said I'm a newbie... Sorry!

But: please help!

2963  Bitcoin / Hardware / Re: TECHNOBIT's HEX16A in hand - first impressions / cgminer on: January 12, 2014, 01:10:24 PM
Tutorial:
thanks for the tutorial 2GOOD!

After a substantial amount of time on this forum (and others) I tried to get my Technobit HEX16 to work on a Raspberry. It works on a Windows machine in combination with HEXminer but I am not impressed by it's stability...

Being a total newbie on Linux I followed several "tutorials" I found on the fora. The one I had the "best" result with (and being quoted by others as working) is this one described by you (BIG thank you once more for that one 2GOOD, BTW!).

But after I:

sudo apt-get update

and I:

sudo apt-get install autoconf yasm pkg-config make libusb-1.0-0-dev libusb-1.0-0 libcurl4-openssl-dev libncurses5-dev libudev-dev

succesfully, then I:

Download the build cgminer-hex16a-3.6.1.tar.gz with: wget https://dl.dropboxusercontent.com/u/8082585/cg/cgminer-hex16a-3.6.1.tar.gz 

I extract the archive with: tar -xvf cgminer-hex16a-3.6.1.tar.gz

But the tutorial then says to "Edit cgminer.conf - it is preconfigured for speeds 480Mhz @ 1440mV"
I have no idea what to do so I type: "edit cgminer.conf" and all it says is:

Warning: unknown mime-type for "cgminer.conf" -- using "application/octet-stream"
Error: no "edit" mailcap rules found for type "application/octet-stream"

I change directory by: cd cgminer-hex16a-3.6.1 and try again, but with the same result

Assuming I need some sort of editor to do this AND assuming that the preconfigured file should be OK for now I run cgminer with:
sudo ./cgminer -c ./cgminer.conf

But I get this message:
./cgminer: 1: ./cgminer: Syntax error: word unexpected (expecting ")")

Undeterred I continue with the tutorial (thinking maybe I should run the patch before this actually works), and I: cd

Then I: apt-get install autoconf libtool libcurl4-openssl-dev libncurses5-dev pkg-config yasm make

AND HERE IT STOPS FOR ME WITH THE MESSAGE:
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?



Just to be complete, the rest of the tutorial says to:
wget https://github.com/ckolivas/cgminer/archive/v3.6.1.tar.gz
tar -xvf v3.6.1.tar.gz
cd cgminer-3.6.1
wget https://dl.dropboxusercontent.com/u/8082585/cg/cgminer_3_6_1_rev_fe5da9672767e18116444dad18db54638936490a.patch
patch < cgminer_3_6_1_rev_fe5da9672767e18116444dad18db54638936490a.patch
./autogen.sh --disable-opencl --disable-adl --enable-avalon --enable-hexminer --enable-bflsc --enable-icarus
make
sudo ./cgminer -n
to check the HEX board is detected

Could you please help me get this Technobit HEX16 on a Raspberry with a clean install of Raspbian / Debian to work?
2964  Other / Beginners & Help / Can't get a Technobit HEX16 on a Raspberry with Raspbian / Debian to work on: January 11, 2014, 03:13:05 PM
Dear readers,

After a substantial amount of time on this forum (and others) I tried to get my Technobit HEX16 to work on a Raspberry. It works on a Windows machine in combination with HEXminer but I am not impressed by it's stability...

Being a total newbie on Linux I followed several "tutorials" I found on the fora. The one I had the "best" result with (and being quoted by others as working) is the one described by 2GOOD [https://bitcointalk.org/index.php?topic=303538.msg3371198#msg3371198] (BIG thank you for that one 2GOOD, BTW!).

But after I:

sudo apt-get update

and I:

sudo apt-get install autoconf yasm pkg-config make libusb-1.0-0-dev libusb-1.0-0 libcurl4-openssl-dev libncurses5-dev libudev-dev

succesfully, then I:

Download the build cgminer-hex16a-3.6.1.tar.gz with: wget https://dl.dropboxusercontent.com/u/8082585/cg/cgminer-hex16a-3.6.1.tar.gz  

I extract the archive with: tar -xvf cgminer-hex16a-3.6.1.tar.gz

But the tutorial then says to "Edit cgminer.conf - it is preconfigured for speeds 480Mhz @ 1440mV"
I have no idea what to do so I type: "edit cgminer.conf" and all it says is:

Warning: unknown mime-type for "cgminer.conf" -- using "application/octet-stream"
Error: no "edit" mailcap rules found for type "application/octet-stream"

I change directory by: cd cgminer-hex16a-3.6.1 and try again, but with the same result

Assuming I need some sort of editor to do this AND assuming that the preconfigured file should be OK for now I run cgminer with:
sudo ./cgminer -c ./cgminer.conf

But I get this message:
./cgminer: 1: ./cgminer: Syntax error: word unexpected (expecting ")")

Undeterred I continue with the tutorial (thinking maybe I should run the patch before this actually works), and I: cd

Then I: apt-get install autoconf libtool libcurl4-openssl-dev libncurses5-dev pkg-config yasm make

AND HERE IT STOPS FOR ME WITH THE MESSAGE:
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?



Just to be complete, the rest of the tutorial says to:
wget https://github.com/ckolivas/cgminer/archive/v3.6.1.tar.gz
tar -xvf v3.6.1.tar.gz
cd cgminer-3.6.1
wget https://dl.dropboxusercontent.com/u/8082585/cg/cgminer_3_6_1_rev_fe5da9672767e18116444dad18db54638936490a.patch
patch < cgminer_3_6_1_rev_fe5da9672767e18116444dad18db54638936490a.patch
./autogen.sh --disable-opencl --disable-adl --enable-avalon --enable-hexminer --enable-bflsc --enable-icarus
make
sudo ./cgminer -n
to check the HEX board is detected

Could you please help me get this Technobit HEX16 on a Raspberry with a clean install of Raspbian / Debian to work?
Pages: « 1 ... 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 [149]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!