Pages:
Author

Topic: Beginner needs help. (Read 3193 times)

full member
Activity: 125
Merit: 100
June 05, 2011, 02:06:22 PM
#21
Sweet!  I just dropped a BTC address in my signature, fire at will Smiley

Regarding dummy connectors, they're not needed on Linux since X initializes all of the adapters automagically, regardless of whether it thinks there is a monitor connected, or not.  When you add the additional video cards, you'll just need to reinitialize your xwindows config like this:

Code:
aticonfig --adapter=all --initial --force

I still highly recommend pooled mining though.. you'll be able to realize instantaneous benefits (in received bitcoins from the pool) in proportion to the amount of computing power you contribute to the pool, ratioed to the total.  For example, on deepbit at today's difficulty, you'd get like 8 BTC/day with 4 Ghash/sec.  Essentially it's exactly the same thing as you'd get mining solo, without the wild time variance between blocks found.  Hopefully that makes sense.
full member
Activity: 154
Merit: 100
June 05, 2011, 01:41:07 PM
#20
I just finish downloading the block chain. It took a bit more than 3 hours. I can now say Im hashing at 347000 kh. Woohoo. Thank you to all that have helped me... One concern. I get this message:

05/06/2011 13:14:05, warning: job finished, miner is idle

Im going to assume that is normal.

Now for some goodness. SomeoneWeird, pwnyboy, Monoquark please message me with your addresses. That way it will be easy to find your addresses later. I will pay you a bounty based on your level of help when I mine my first block. So I guess somewhere between 10-60 days. As a measure of good faith I will send you a token amount, as I only have a token amount of bitcoins at this point. Ok, truth be told, I only have .05. And that was from a donation to M.A.R.S. Radio.

My next task is to get the other two 5870s installed and mining.. I know I need to make some kind of null connector for the video cards without a monitor connected. I think it uses 68 ohm resistors. If you know the pins to use or a url that has that info would you post it here?

Finally in the coming days I will write some kind of wiki entry that walks others through a diagnostic process from the info gathered in this thread.

Any last words of wisdom is also appreciated. Once again I think you for such quick responses to my posting.

May the next block solved be with you.
full member
Activity: 154
Merit: 100
June 05, 2011, 08:39:30 AM
#19
Smiley I just did it before you made that posting. I forwarded both ports 8333 and 8332 to the btc box. I'll update ya in 30 minutes. Will be 08:39 at the bell.. Ding! 

Thank you all for such fast replies.
hero member
Activity: 700
Merit: 500
June 05, 2011, 08:35:00 AM
#18
I think we are getting somewhere.
[me@btc 64]$ ./bitcoind getblockcount
0
[me@btc 64]$ ./bitcoind getwork
error: {"code":-9,"message":"Bitcoin is not connected!"}

is this a problem with my upstream firewall? I wouldnt think so sense Im connecting to the forum on the same box.


Ah, I think that the daemon can't download the blockchain, that would make sense. Open port 8332 on your firewall and wait a while, running getblockcount periodically Smiley
full member
Activity: 154
Merit: 100
June 05, 2011, 08:26:05 AM
#17
I think we are getting somewhere.
[me@btc 64]$ ./bitcoind getblockcount
0
[me@btc 64]$ ./bitcoind getwork
error: {"code":-9,"message":"Bitcoin is not connected!"}

is this a problem with my upstream firewall? I wouldnt think so sense Im connecting to the forum on the same box.
hero member
Activity: 700
Merit: 500
June 05, 2011, 08:23:35 AM
#16
Is there a way test that the daemon is responding other than trying to start a miner?

yes, there is:

bitcoind getblockcount

or better

bitcoind getwork

Remember to background the daemon while doing those, or just open a new terminal and run them.
full member
Activity: 154
Merit: 100
June 05, 2011, 08:19:30 AM
#15
Oh, ther is also this: 

[root@btc ~]# netstat -nl|grep 833
tcp        0      0 127.0.0.1:8332              0.0.0.0:*                   LISTEN     
tcp        0      0 0.0.0.0:8333                0.0.0.0:*                   LISTEN 
full member
Activity: 154
Merit: 100
June 05, 2011, 08:18:06 AM
#14
Im sure its running:

[me@btc 64]$ ps aux | grep bitcoin
me        2718  0.0  0.2 641284  9688 ?        Ssl  07:11   0:03 ./bitcoind -daemon
me        3007  0.0  0.0 103376   824 pts/1    S+   08:13   0:00 grep --color=auto bitcoin

Is there a way test that the daemon is responding other than trying to start a miner?
hero member
Activity: 700
Merit: 500
June 05, 2011, 08:12:38 AM
#13
I tried that and get: Bitcoin is not connected! But I replaced .exe with .py..
Wow, That was a quick reply. Thanks!! Wink

Make sure your running "bitcoin -daemon", check it with "ps aux | grep bitcoin" and it should be running (also netstat it if you want)
then try that again.
full member
Activity: 154
Merit: 100
June 05, 2011, 08:09:16 AM
#12
I tried that and get: Bitcoin is not connected! But I replaced .exe with .py..
Wow, That was a quick reply. Thanks!! Wink
hero member
Activity: 700
Merit: 500
June 05, 2011, 08:03:31 AM
#11
Thanks for the replies. So now i have some free time Im back to working on my rig. Im getting closer but am still having troubles. Ive dumped Ubuntu for Fedora14. I am now getting 'Wrong username or password' message when trying to start poclbm. I have tried changing the bitcoin.conf file and still get the error. Ok... So this is what my bitcoin.conf file looks like:

rpcuser=a
rpcpassword=a

I have tried to start the daemon these two ways: ./bitcoind -daemon  and  ./bitcoind -daemon -rpcuser=a -rpcpassword=a

I have tried to connect these two ways: ./poclbm.py http://a:[email protected]:8332 -d 0  and ./poclbm.py --user=a --pass=a -o 127.0.0.1 -p 8332 -d 0
With the later I get this message: Bitcoin is not connected!

I have made sure the daemon is running and listening on ports 8333 and 8332. I have also shut down iptables with service iptables stop. Finally Ive made sure that pocblm does find my gpu. I am unsure what to do next.

I await your wisdom and advice. And I thank you for taking the time to help me.



Code:
poclbm.exe -d0 --host=127.0.0.1 --port=8332 --user=a --pass=a -v -f 1

full member
Activity: 154
Merit: 100
June 05, 2011, 08:01:52 AM
#10
Thanks for the replies. So now i have some free time Im back to working on my rig. Im getting closer but am still having troubles. Ive dumped Ubuntu for Fedora14. I am now getting 'Wrong username or password' message when trying to start poclbm. I have tried changing the bitcoin.conf file and still get the error. Ok... So this is what my bitcoin.conf file looks like:

rpcuser=a
rpcpassword=a

I have tried to start the daemon these two ways: ./bitcoind -daemon  and  ./bitcoind -daemon -rpcuser=a -rpcpassword=a

I have tried to connect these two ways: ./poclbm.py http://a:[email protected]:8332 -d 0  and ./poclbm.py --user=a --pass=a -o 127.0.0.1 -p 8332 -d 0
With the later I get this message: Bitcoin is not connected!

I have made sure the daemon is running and listening on ports 8333 and 8332. I have also shut down iptables with service iptables stop. Finally Ive made sure that pocblm does find my gpu. I am unsure what to do next.

I await your wisdom and advice. And I thank you for taking the time to help me.

full member
Activity: 125
Merit: 100
May 31, 2011, 07:04:47 AM
#9
Also, I believe you should be hitting the daemon on port 8332.
full member
Activity: 125
Merit: 100
May 31, 2011, 07:03:48 AM
#8
I hope that someone can give me some advice as to what I am doing wrong.


Start by verifying that the daemon is running:

Code:
'ps aux|grep bitcoin'

If so, make sure it's listening:

Code:
(07:58:48)[root@shellx2(~)]: netstat -nl|grep 833
tcp        0      0 0.0.0.0:8332            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:8333            0.0.0.0:*               LISTEN
(07:58:51)[root@shellx2(~)]:

Verify that your iptables (firewall) is empty:

Code:
(07:56:56)[root@shellx2(~)]: iptables -nxvL
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
    pkts      bytes target     prot opt in     out     source               destination

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
    pkts      bytes target     prot opt in     out     source               destination

Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
    pkts      bytes target     prot opt in     out     source               destination
(07:56:59)[root@shellx2(~)]:

If you see entries in there, flush it with 'iptables -F'.

hero member
Activity: 700
Merit: 500
May 31, 2011, 05:34:41 AM
#7
Thank you for your quick replies. So I tried to use
./bitcoind -rpcallowip=192.168.*.* -rpcuser=lolz -rpcpassword=lolz &
That started the server and was verified with ps aux | grep bitcoind .. I even tried ./bitcoind -deamon  and that seamed to start the deamon as well. I used
http://lolz:lolz@localhost:8333/ -k poclbm DEVICE=0 VECTORS BFI_INT AGGRESSION=7
to connect but got a failure message. I even tried the eth0 address checked with ifconfig. I hope that someone can give me some advice as to what I am doing wrong.

I thank you for your time and patients. I look forward to trying your solutions. And may the next block be with you.

Code:
./bitcoind -daemon

Add rpcuser and rpcpassword to the bitcoin.conf file, then connect to 127.0.0.1;
full member
Activity: 154
Merit: 100
May 31, 2011, 05:31:35 AM
#6
Thank you for your quick replies. So I tried to use
./bitcoind -rpcallowip=192.168.*.* -rpcuser=lolz -rpcpassword=lolz &
That started the server and was verified with ps aux | grep bitcoind .. I even tried ./bitcoind -deamon  and that seamed to start the deamon as well. I used
http://lolz:lolz@localhost:8333/ -k poclbm DEVICE=0 VECTORS BFI_INT AGGRESSION=7
to connect but got a failure message. I even tried the eth0 address checked with ifconfig. I hope that someone can give me some advice as to what I am doing wrong.

I thank you for your time and patients. I look forward to trying your solutions. And may the next block be with you.
full member
Activity: 125
Merit: 100
May 31, 2011, 02:49:05 AM
#5
And may the next block be with you.

loooool

First to what you said about CentOS, I covered this in the CentOS 5.5 Mining Guide thread.  Lately I've been building/rebuilding my mining rigs around FC14 though, for the sheer simplicity of kickstarted (scripted) installs which are much simpler to get going than the CentOS variety.  FC14 also plays nice with diskless PXE/nfsroot, and aren't plagued by the problem of jackass developers as Cent is.  *shakes fist at kbsingh*

Regarding linuxcoin, lol @ drivers.  I think what you're referring to is the fact that the ATI drivers "taint" the Linux kernel.  That's not a bad thing, it just means that the ATI folks don't play nice with Linus and crew.

As for solo mining, I *highly* recommend joining a pool with only 4 cards.  The chance of you finding a block is roughly one per 25 to 60 days, based on how powerful the four are.  You can solve the unreachability problem with scripting (there have been several posted to these forums already which restart and/or jump your miners to working pools).  But if you insist on solo:

Code:
./bitcoind -rpcallowip=192.168.*.* -rpcuser=lolz -rpcpassword=lolz
newbie
Activity: 18
Merit: 0
May 31, 2011, 02:48:27 AM
#4
I wouldn't be sure that solo mining is the way to go, unless you are an extremely patient person.

Put your expected numbers in here: http://www.alloscomp.com/bitcoin/old_calculator.php - note that this also doesn't take inevitable increases in difficulty into account.

If you are set on solo mining, you'll want to run bitcoind with the -server flag (`./bitcoind -server`). Then you'll be able to set the host in your miner to localhost. Then once you have set your rpcuser and rpcpassword in ~/.bitcoin/bitcoin.conf you should be able to connect to your local bitcoin server. I'd give you some wiki links, but the wiki is throwing a 403 at the moment (https://bitcoin.it/).

Good luck!
full member
Activity: 154
Merit: 100
May 31, 2011, 02:34:55 AM
#3
Ok, I dumped Centos and used Ubuntu following the tutorials on the forum. I wont use LinuxCoin because there might be some legal issues with proprietary divers being included. I dont know so I wont take the chance of infringing on someone elses intellectual  properties. Ethics, their a funny thing, right? Not to mention its a 'no name' linux without effective linux community vetting and is only alpha quality. Hell as far as I know there is a bitcoin stealing script hidden somewhere. Plus using LinuxCoin keeps people ignorant. I am trying to learn. I maybe new to Bitcoin but Im not new to linux. But my training was from Radhat at Durhan, NC.  so Im only comfortable using Redhat based distros. Im no guru but Im no linux noob.

Ok, so Im at a new crux. The tutorials I have found so far only refer to pool mining. Im not sure Im going to do any pool mining. But before I do any pool mining, if I do, Im am going to have a functional solo mining rig. With recent DDOS attacks on some mining pools Im paranoid. Not to mention the new anonymous threat ( <-- lol )..

So my crux is I dont understand how to start the miner for solo mining. If someone could provide me a 'string' to get the miner started that would be helpful, or a url to a solo mining howto would be great too. I might even write a formal solo mining howto once I understand what is needed to be done, if one doesnt already exists.

I thank you for your time and patients. I look forward to trying your solutions. And may the next block be with you.
hero member
Activity: 700
Merit: 500
May 30, 2011, 02:19:50 AM
#2
Download LinuxCoin, works as soon as you boot.
Pages:
Jump to: