Bitcoin Forum
December 09, 2016, 02:10:06 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]
  Print  
Author Topic: I am a newbie to bitcoin, cannot get ANYTHING to mine on my archlinux box?  (Read 3480 times)
betarepeating
Newbie
*
Offline Offline

Activity: 1


View Profile
April 04, 2011, 01:20:27 AM
 #1

I'm running ArchLinux on an old acer aspire, and i'm trying to connect it to the DeepBit pool. Does anyone have any working implementations i could see? Honestly, any help or code you can throw at me would be appreciated. I've been tinkering with this for a few hours now and i'm at my wits end.

Code:
[ryan@acer1 ~]$ dmesg | grep CPU
SMP: Allowing 4 CPUs, 2 hotplug CPUs
setup_percpu: NR_CPUS:64 nr_cpumask_bits:64 nr_cpu_ids:4 nr_node_ids:1
...
CPU0: Intel(R) Pentium(R) Dual  CPU  T3400  @ 2.16GHz stepping 0d
...
[ryan@acer1 ~]$ cat /proc/version
Linux version 2.6.37-ARCH (tobias@T-POWA-LX) (gcc version 4.5.2 20110127 (prerelease) (GCC) ) #1 SMP PREEMPT Fri Feb 18 18:32:16 CET 2011

some attempts:
Code:
[ryan@acer1 DiabloMiner]$ ./DiabloMiner-Linux.sh -u <redacted> -p <redacted> -o deepbit.net -r 8332 -g 5
[4/3/11 9:17:16 PM] Started
[4/3/11 9:17:16 PM] Connecting to: http://deepbit.net:8332/
Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using '' as the value of the DISPLAY variable.
        at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
        at sun.awt.X11GraphicsEnvironment.access$200(X11GraphicsEnvironment.java:62)
        at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:178)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:142)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:186)
        at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:82)
        at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:112)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:186)
        at java.awt.Toolkit$2.run(Toolkit.java:849)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:841)
        at org.lwjgl.LinuxSysImplementation.<clinit>(LinuxSysImplementation.java:45)
        at org.lwjgl.Sys.createImplementation(Sys.java:113)
        at org.lwjgl.Sys.<clinit>(Sys.java:98)
        at org.lwjgl.opencl.CL.<clinit>(CL.java:51)
        at com.diablominer.DiabloMiner.DiabloMiner.execute(DiabloMiner.java:234)
        at com.diablominer.DiabloMiner.DiabloMiner.main(DiabloMiner.java:103)
(i'm not running X11. i get why this one failed.  can i run DiabloMiner without X11???)

Code:
[ryan@acer1 ~]$ minerd --url http://deepbit.net:8332 -P --userpass <redacted>:<redacted>
JSON protocol request:
{"method": "getwork", "params": [], "id":0}

* About to connect() to deepbit.net port 8332 (#0)
*   Trying 66.197.153.199... * TCP_NODELAY set
* connected
* Connected to deepbit.net (66.197.153.199) port 8332 (#0)
* Server auth using Basic with user '<redacted>'
> POST / HTTP/1.1
Authorization: Basic [removed]
Host: deepbit.net:8332
Accept: */*
Accept-Encoding: deflate, gzip
Content-type: application/json
Content-Length: 45

< HTTP/1.1 200 OK
< Server: nginx/0.8.54
< Date: Mon, 04 Apr 2011 01:18:35 GMT
< Content-Type: application/json; charset=utf-8
< Connection: keep-alive
< Content-Length: 80
< X-Lift-Version: 2.3-SNAPSHOT
<
* Connection #0 to host deepbit.net left intact
JSON protocol response:
{
   "error": {
      "code": -1,
      "message": "wrong login or password"
   },
   "result": null,
   "id": "1"
}
JSON-RPC call failed: {
   "code": -1,
   "message": "wrong login or password"
}
json_rpc_call failed, retry after 30 seconds
1 miner threads started, using SHA256 'c' algorithm.
^C
(i was using the right password)

Code:
[ryan@acer1 ~]$ bitcoind -gen -rpcconnect=deepbit.net -rpcport=8332 --rpcuser=<redacted> -rpcpassword=<redacted>
bitcoin server starting
(then it does nothing)


thanks in advance.
1481249406
Hero Member
*
Offline Offline

Posts: 1481249406

View Profile Personal Message (Offline)

Ignore
1481249406
Reply with quote  #2

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

Posts: 1481249406

View Profile Personal Message (Offline)

Ignore
1481249406
Reply with quote  #2

1481249406
Report to moderator
cdhowie
Full Member
***
Offline Offline

Activity: 182



View Profile WWW
April 04, 2011, 01:33:43 AM
 #2

I'm running ArchLinux on an old acer aspire, and i'm trying to connect it to the DeepBit pool. Does anyone have any working implementations i could see? Honestly, any help or code you can throw at me would be appreciated. I've been tinkering with this for a few hours now and i'm at my wits end.
(i'm not running X11. i get why this one failed.  can i run DiabloMiner without X11???)
I don't think so.  It depends on an OpenCL implementation, and IIRC you can't talk to the video card on Linux (currently) without going through X.

(i was using the right password)
Try creating a miner account and see if that works instead of using your main account.

Also, you leaked your username and password in this post.  Change your password now.  Especially if your gmail account uses the same password, change it there too.  In other words, everywhere you have ever used this password, change it -- your password is now public knowledge.

Code:
[ryan@acer1 ~]$ bitcoind -gen -rpcconnect=deepbit.net -rpcport=8332 --rpcuser=<redacted> -rpcpassword=<redacted>
bitcoin server starting
(then it does nothing)
bitcoind is not a miner.  Well, with -gen it is, but it generates coins itself, not on a pool. Try "bitcoind getinfo" and you should see that the generate option is true.  Check "top" and you'll see it's using 100% of at least one CPU.

Tips are always welcome and can be sent to 1CZ8QgBWZSV3nLLqRk2BD3B4qDbpWAEDCZ

Thanks to ye, we have the final piece.

PGP key fingerprint: 2B7A B280 8B12 21CC 260A  DF65 6FCE 505A CF83 38F5

SerajewelKS @ #bitcoin-otc
theymos
Administrator
Legendary
*
Offline Offline

Activity: 2506


View Profile
April 04, 2011, 01:43:25 AM
 #3

I edited betarepeating's post to remove the password.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
cdhowie
Full Member
***
Offline Offline

Activity: 182



View Profile WWW
April 04, 2011, 01:47:13 AM
 #4

I edited betarepeating's post to remove the password.
Thank you.  Hopefully the user will still change their password.  Smiley

Tips are always welcome and can be sent to 1CZ8QgBWZSV3nLLqRk2BD3B4qDbpWAEDCZ

Thanks to ye, we have the final piece.

PGP key fingerprint: 2B7A B280 8B12 21CC 260A  DF65 6FCE 505A CF83 38F5

SerajewelKS @ #bitcoin-otc
[Tycho]
Hero Member
*****
Offline Offline

Activity: 742



View Profile WWW
April 04, 2011, 02:22:21 AM
 #5

(i was using the right password)
Please PM me your login name so i can check it on my side.
Also, check if your e-mail is shown correctly on the site. Try changing worker password (not the main one) to something alphanumeric to see if the problem was there.
When you change your worker password, it will be shown to you on your worker list, so you can check it too.

Welcome to my bitcoin mining pool: https://deepbit.net - Both payment schemes (including PPS), instant payout, no invalid blocks !
ICBIT Trading platform : USD/BTC futures trading, Bitcoin difficulty futures (NEW!). Third year in bitcoin business.
Pages: [1]
  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!