Bitcoin Forum
April 27, 2024, 09:13:37 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 [23] 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 ... 76 »
  Print  
Author Topic: LinuxCoin A lightweight Debian based OS with everything ready to go.  (Read 285063 times)
kjj
Legendary
*
Offline Offline

Activity: 1302
Merit: 1024



View Profile
June 17, 2011, 08:07:54 PM
 #441

Yes, currently I have 8 different bash scripts.  2 per miner, 1 per pool.  I'm only using 2 pools at the moment.  Will probably switch to 3 once I get this figured out, and switching to poclbm might be worth the easy setup of reduncancy.
My cards are overclocked in the bios, so I do not mess with scripts and overclocking.

Currently I just open 8 different terminals and type ./miner0.sh in one.  ./mine1.sh into another etc.  This starts one miner per terminal and allows me to see their progress.


Yes, kjj, I read that post, but what it fails to mention is the code inside shell_script.sh
And when i tried using the first half of the bash script i found by googling, it would only start one miner in a screen session, which was hidden, so I couldn't even see if it was working or idle.  Is there a way to remotely connect to the screen sessions?  

So, basically, I'm not sure if he's using the same script of if it's custom.

For most people, the contents of the shell script will just cd into /opt/miners/phoenix or whatever, and run the miner with their args.

For you though, you need a shell script that has 8 lines that look like this:

lxterminal --command="script_to_start_miner_1.sh"
lxterminal --command="script_to_start_miner_2.sh"
etc.

And yes, you can remotely connect screen sessions.

CTRL-A, d will detach a running screen session (if any).  CTRL-A, n and CTRL-A, p will cycle through them.  If no session is connected, "screen -ls" will list sessions.  "screen -r SESSION_NAME" will connect.  If the session you want isn't detached, "screen -r SESSION_NAME -d" will detach it, and connect you to it.  Also try "man screen".

17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8
I routinely ignore posters with paid advertising in their sigs.  You should too.
"With e-currency based on cryptographic proof, without the need to trust a third party middleman, money can be secure and transactions effortless." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714209217
Hero Member
*
Offline Offline

Posts: 1714209217

View Profile Personal Message (Offline)

Ignore
1714209217
Reply with quote  #2

1714209217
Report to moderator
no_alone
Member
**
Offline Offline

Activity: 84
Merit: 10


View Profile
June 17, 2011, 09:06:17 PM
 #442

Anyone can help me connect to the internet?
I used all my router ports soo I'm trying to get linuxcoin internet conenction via connecting it to a windows 7 machine that is connected to the internet... and has 2 network cards..
But I dont manage to do it..
Can anyone help me... Thank you


EDIT: I managed to fix the problem.. I just bridged the connection
Thank you

Mine only when pc is IDLE totally indivisible...
http://forum.bitcoin.org/index.php?topic=9851.0
Mine on family computer without disturbing them

Donation : 1GjpJnLU8zdfEHW7FoCx2UUosJgc9prXN4
evlew
Sr. Member
****
Offline Offline

Activity: 406
Merit: 250



View Profile
June 17, 2011, 09:35:12 PM
 #443

For most people, the contents of the shell script will just cd into /opt/miners/phoenix or whatever, and run the miner with their args.

For you though, you need a shell script that has 8 lines that look like this:

lxterminal --command="script_to_start_miner_1.sh"
lxterminal --command="script_to_start_miner_2.sh"
etc.

And yes, you can remotely connect screen sessions.

CTRL-A, d will detach a running screen session (if any).  CTRL-A, n and CTRL-A, p will cycle through them.  If no session is connected, "screen -ls" will list sessions.  "screen -r SESSION_NAME" will connect.  If the session you want isn't detached, "screen -r SESSION_NAME -d" will detach it, and connect you to it.  Also try "man screen".

So I just SSH to it and then I can use those commands to see the different screen sessions?  Is there a password for the user account?  Or do I use root?  and what is the password for root if so?

I wouldn't want to launch them in lxterminal if I want to remotely monitor them right?  

would this script work?

apt-get install screen
cd /opt/miners/poclbm
screen -mdS d0 python /opt/miners/poclbm/poclbm.py -d0 --host=blah blah args
screen -mdS d1 python /opt/miners/poclbm/poclbm.py -d1 --host=blah blah args
screen -mdS d2 python /opt/miners/poclbm/poclbm.py -d2 --host=blah blah args
screen -mdS d3 python /opt/miners/poclbm/poclbm.py -d3 --host=blah blah args

that is what i tried but it would only start one session.  am i missing something?
kjj
Legendary
*
Offline Offline

Activity: 1302
Merit: 1024



View Profile
June 17, 2011, 10:38:00 PM
 #444

I don't think screen likes it when the command to run has args.  It gets hard to tell where one ends and the next begins.  Try making a script to run poclbm, and calling that on your screen line.

Code: (/home/user/startup.sh)
screen -dmS d0 /home/user/miner_0.sh
screen -dmS d1 /home/user/miner_1.sh

Code: (/home/user/miner_0.sh)
cd /opt/miners/poclbm
python /opt/miners/poclbm/poclbm.py -d0 --host=blah blah args

The other way to do it (with multiple lxterminal windows) is if you want them all to show up on the monitor.

17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8
I routinely ignore posters with paid advertising in their sigs.  You should too.
SchizophrenicX
Member
**
Offline Offline

Activity: 112
Merit: 100

"I'm not psychic; I'm just damn good"


View Profile
June 17, 2011, 10:47:50 PM
 #445

u have to be in the right dir to run

screen -d -m -S miner1 ./poclbm.py blah blahblah (or ./phoenix)
use screen -ls to list the miners u have
use screen -X -S miner1 quit
to stop the mining.

I use these few commands in a script and put them on startup applications in ubuntu to auto run headlessly. everytime i can't ssh into the machine i assume it hang or froze i just restart it. but this seldom happens.

I'm having problems controlling my miners on linuxcoin. i SSH into it perfectly fine but I realize when i tried to run poclbm or phoenix, the device list only shows me the processors. however when i do aticonfig --lsa, i see my GPUs.

Anyone have this problem and know how to solve it?

evlew
Sr. Member
****
Offline Offline

Activity: 406
Merit: 250



View Profile
June 17, 2011, 11:52:01 PM
 #446

thanks guys.
i am going to mess around with this for a a little bit.
I will let you know if I have that problem

haha i realized the username and pass is right on the front page as well Wink


hugolp
Legendary
*
Offline Offline

Activity: 1148
Merit: 1001


Radix-The Decentralized Finance Protocol


View Profile
June 18, 2011, 09:46:19 AM
 #447

Hi

Im trying to get LinuxCoin working but I am failing. This is what I do:

(Im basically following this instructions: http://forum.bitcoin.org/index.php?topic=7374.msg136868#msg136868
- From Ubuntu, I create a 1Gb FAT partition on my USB and leave the rest unformated.
- Using unetbootin I install LinuxCoin in that partition.
- Reboot into LinuxCoin.
- This order: "fdisk /dev/sdb" ask me to reboot again with a warning about some DOS something being deprecated. I suspect it has to do with the format, because this info is different for me:

This is the example:
Quote
  Device Boot      Start         End      Blocks   Id  System
/dev/sdb1            2048     2099199     1048576   83  Linux

My System is FAT32 instead of Linux. If I try to run the next order it fails.

- I reboot again into LinuxCoin and "mkfs.ext4 /dev/sdb2 -L live-rw" now works.
- Reboot again per instructions, check if persitence works by saving a file in the Desktop and resbooting. It does not.

Any idea?


               ▄████████▄
               ██▀▀▀▀▀▀▀▀
              ██▀
             ███
▄▄▄▄▄       ███
██████     ███
    ▀██▄  ▄██
     ▀██▄▄██▀
       ████▀
        ▀█▀
The Radix DeFi Protocol is
R A D I X

███████████████████████████████████

The Decentralized

Finance Protocol
Scalable
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
██▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀██
██                   ██
██                   ██
████████████████     ██
██            ██     ██
██            ██     ██
██▄▄▄▄▄▄      ██     ██
██▀▀▀▀██      ██     ██
██    ██      ██     
██    ██      ██
███████████████████████

███
Secure
      ▄▄▄▄▄
    █████████
   ██▀     ▀██
  ███       ███

▄▄███▄▄▄▄▄▄▄███▄▄
██▀▀▀▀▀▀▀▀▀▀▀▀▀██
██             ██
██             ██
██             ██
██             ██
██             ██
██    ███████████

███
Community Driven
      ▄█   ▄▄
      ██ ██████▄▄
      ▀▀▄█▀   ▀▀██▄
     ▄▄ ██       ▀███▄▄██
    ██ ██▀          ▀▀██▀
    ██ ██▄            ██
   ██ ██████▄▄       ██▀
  ▄██       ▀██▄     ██
  ██▀         ▀███▄▄██▀
 ▄██             ▀▀▀▀
 ██▀
▄██
▄▄
██
███▄
▀███▄
 ▀███▄
  ▀████
    ████
     ████▄
      ▀███▄
       ▀███▄
        ▀████
          ███
           ██
           ▀▀

███
Radix is using our significant technology
innovations to be the first layer 1 protocol
specifically built to serve the rapidly growing DeFi.
Radix is the future of DeFi
█████████████████████████████████████

   ▄▄█████
  ▄████▀▀▀
  █████
█████████▀
▀▀█████▀▀
  ████
  ████
  ████

Facebook

███

             ▄▄
       ▄▄▄█████
  ▄▄▄███▀▀▄███
▀▀███▀ ▄██████
    █ ███████
     ██▀▀▀███
           ▀▀

Telegram

███

▄      ▄███▄▄
██▄▄▄ ██████▀
████████████
 ██████████▀
   ███████▀
 ▄█████▀▀

Twitter

██████

...Get Tokens...
mintymark
Sr. Member
****
Offline Offline

Activity: 286
Merit: 251


View Profile
June 18, 2011, 01:35:41 PM
 #448

kjj,

I have been trying to get auto mining working but this seems to be quite a problem with this distribution.

First, I tried adding an entry to /etc/init.d and making a called  to /etc/rc2.d/S99mine.pl   but this did not seem to work.

next I tried what you sugested with /home/user/.config/autostart/auto.desktop, even tried changing ownership and execute perms, but it didn't work. The directory autostart did not exist which I thought was odd.

I have also tried putting things in /etc/rc.local but this also did not work.

I can start it through cron, but this is not ideal.

I have a simple script (which I can share if there is interest) which will start and stop all necessary miners but the only way I can start this seems to be from ths ssh command line.

Any other suggestions as to what my problem is here ?  Surely the best way would be through init.d but I'll settle for anything that works!

[[ All Tips gratefully received!!  ]]
15ta5d1N8mKkgC47SRWmnZABEFyP55RrqD
drgr33n (OP)
Sr. Member
****
Offline Offline

Activity: 308
Merit: 251



View Profile
June 18, 2011, 02:00:03 PM
 #449

Sorry guys I've been incognito due to my slu* bag ex gf doing the dirty on me and emptying my bank Sad now I have £1000 to pay by the 28th or I have no fixed abode Sad. I'll let you guys know when work restarts.

Sorry people but this one was out of my control and unforeseen Sad
evlew
Sr. Member
****
Offline Offline

Activity: 406
Merit: 250



View Profile
June 18, 2011, 03:27:57 PM
 #450

Sorry guys I've been incognito due to my slu* bag ex gf doing the dirty on me and emptying my bank Sad now I have £1000 to pay by the 28th or I have no fixed abode Sad. I'll let you guys know when work restarts.

Sorry people but this one was out of my control and unforeseen Sad

was she jealous of the miners?
I think mines starting to get there.
She didn't empty your bitcoin wallet did she?

In all seriousness.... Sorry dude.... women can be down right brutal when they want to be.
kjj
Legendary
*
Offline Offline

Activity: 1302
Merit: 1024



View Profile
June 18, 2011, 04:06:37 PM
 #451

Hi

Im trying to get LinuxCoin working but I am failing. This is what I do:

(Im basically following this instructions: http://forum.bitcoin.org/index.php?topic=7374.msg136868#msg136868
- From Ubuntu, I create a 1Gb FAT partition on my USB and leave the rest unformated.
- Using unetbootin I install LinuxCoin in that partition.
- Reboot into LinuxCoin.
- This order: "fdisk /dev/sdb" ask me to reboot again with a warning about some DOS something being deprecated. I suspect it has to do with the format, because this info is different for me:

This is the example:
Quote
  Device Boot      Start         End      Blocks   Id  System
/dev/sdb1            2048     2099199     1048576   83  Linux

My System is FAT32 instead of Linux. If I try to run the next order it fails.

- I reboot again into LinuxCoin and "mkfs.ext4 /dev/sdb2 -L live-rw" now works.
- Reboot again per instructions, check if persitence works by saving a file in the Desktop and resbooting. It does not.

Any idea?

If you use unetbootin, you need to edit syslinux.cfg and add "persistent" to the first append line.

17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8
I routinely ignore posters with paid advertising in their sigs.  You should too.
drgr33n (OP)
Sr. Member
****
Offline Offline

Activity: 308
Merit: 251



View Profile
June 18, 2011, 04:42:23 PM
 #452

Sorry guys I've been incognito due to my slu* bag ex gf doing the dirty on me and emptying my bank Sad now I have £1000 to pay by the 28th or I have no fixed abode Sad. I'll let you guys know when work restarts.

Sorry people but this one was out of my control and unforeseen Sad

was she jealous of the miners?
I think mines starting to get there.
She didn't empty your bitcoin wallet did she?

In all seriousness.... Sorry dude.... women can be down right brutal when they want to be.

Nope totally bitcoin unrelated she ran off with an old friend Sad well ex friend lol wish me luck Wink
max in montreal
Hero Member
*****
Offline Offline

Activity: 504
Merit: 500


View Profile
June 19, 2011, 12:36:00 AM
 #453

Quote
Nope totally bitcoin unrelated she ran off with an old friend  well ex friend lol wish me luck


Consider yourself lucky. She could have stuck around for another year or 2...
harm
Member
**
Offline Offline

Activity: 238
Merit: 10


View Profile
June 19, 2011, 01:17:36 PM
 #454

I feel sorry for you, that is very sad. I wish you the best luck!!


My question:
Is anyone able to start mining remotely with ssh?

user@linuxcoin:/opt/miners/phoenix$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH":/opt/AMD-APP-SDK-v2.4-lnx64/lib/x86_64/"user@linuxcoin:/opt/miners/phoenix$ export DISPLAY=:0
user@linuxcoin:/opt/miners/phoenix$ sudo python phoenix.py -u http://url -k phatk DEVICE=0 VECTORS BFI_INT AGGRESSION=11 FASTLOOP=false WORKSIZE=256
No protocol specified
No device specified or device not found, use DEVICE=ID to specify one of the following

   
  • AMD Athlon(tm) II X2 250 Processor
[0 Khash/sec] [0 Accepted] [0 Rejected]user@linuxcoin:/opt/miners/phoenix$


Obviously I am missing an environment variable, right?
can anybody help, please?
dishwara
Legendary
*
Offline Offline

Activity: 1855
Merit: 1016



View Profile
June 19, 2011, 01:43:23 PM
 #455

I am new to mining (I have 3 5850's delivering today!) and I am looking for a good linux distro to use for my miner.  I was thinking ubuntu....till I saw this Smiley

I was wondering if there was a how-to or a tutorial I could read to learn how to install this to a local hard drive and run it.

In progress Wink

I'm getting the exact same error as REF was having. I don't see the solution here. Any ideas of what it could be? Thanks.


it pops up for not even a second and then closes

okay i tried what you said.
Code:
 Welcome to LinuxCoin's bitcoin mining script !!

0 exit
1 Start a poclbm mining session
2 Start a phoenix mining session
3 Set fan speed on ATI cards
 ?1
Starting a poclbm mining session....
Enter your DEVICE number and press [ENTER]:
0
Enter your URL and press [ENTER]:
btcguild.com
Enter your USERNAME and press [ENTER]:
ref_xx1
Enter your PASSWORD and press [ENTER]:
xxxxxx
Enter your FLAGS and press [ENTER]:
-w128 -v
press [ENTER] for menu

gives me this error
Code:
Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.6/threading.py", line 484, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/opt/miners/poclbm/BitcoinMiner.py", line 272, in miningThread
    self.loadKernel()
  File "/opt/miners/poclbm/BitcoinMiner.py", line 373, in loadKernel
    binaryW = open(cacheName, 'wb')
IOError: [Errno 13] Permission denied: 'cf3403e6e93974c01918bf40f386b25f.elf'

when i try using phoenix the second window only pops up for a second


Use a root terminal.

props on this awesome project!
Thanks man Cheesy !!

I had same permission error & i searched this thread & i see more than 4-5 times asked , still root password is never given out.

user & its password live won't work with root .

What is the password for "root" user?
kjj
Legendary
*
Offline Offline

Activity: 1302
Merit: 1024



View Profile
June 19, 2011, 03:46:20 PM
 #456

There isn't a root password.  Take a look in /etc/shadow.

Easy enough to become root though.  On the command line you can just type "sudo su".  In the GUI, you can just open one marked "root terminal".

17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8
I routinely ignore posters with paid advertising in their sigs.  You should too.
dishwara
Legendary
*
Offline Offline

Activity: 1855
Merit: 1016



View Profile
June 19, 2011, 04:16:10 PM
 #457

The file manager never opens & also if i triple click or do some clicks then it logs out automatically & asks user name & password.
There user & live works.
But root not.
evlew
Sr. Member
****
Offline Offline

Activity: 406
Merit: 250



View Profile
June 19, 2011, 04:53:34 PM
 #458

The file manager never opens & also if i triple click or do some clicks then it logs out automatically & asks user name & password.
There user & live works.
But root not.

I have discovered these same issues.  unfortunately unless someone takes over the project, it looks like 0.2a just became final. 

Here's my work around....

for the file manager.  right click desktop > new folder > name it whatever you want
file manager will open whenever you open that folder. 

I have the same issue with the mouse.  I'm not sure what is causing it or what the other login session is for, i've never bothered.  I just press tab and it brings me back to the linuccoin desktop with welcome message and license agreement as if I just logged in.  the sucky part is that the miners don't stay running and need to be relaunched.
dishwara
Legendary
*
Offline Offline

Activity: 1855
Merit: 1016



View Profile
June 19, 2011, 08:44:08 PM
 #459

The file manager never opens & also if i triple click or do some clicks then it logs out automatically & asks user name & password.
There user & live works.
But root not.

I have discovered these same issues.  unfortunately unless someone takes over the project, it looks like 0.2a just became final. 

Here's my work around....

for the file manager.  right click desktop > new folder > name it whatever you want
file manager will open whenever you open that folder. 

I have the same issue with the mouse.  I'm not sure what is causing it or what the other login session is for, i've never bothered.  I just press tab and it brings me back to the linuccoin desktop with welcome message and license agreement as if I just logged in.  the sucky part is that the miners don't stay running and need to be relaunched.

Thanks for work around.
Bitcoin Swami
Full Member
***
Offline Offline

Activity: 182
Merit: 100


View Profile
June 20, 2011, 04:21:36 AM
 #460

Sorry kinda new at this.  Isn't persistent mode supposed to save the things onto your flash drive during your session instead of a total clean slate every time you reboot your computer?  If not then how do i save things to my flash without having them erased.  Thanks I'm pretty new to linux but learning very fast especially with your linuxcoin.

Peace
Mike
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 [23] 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 ... 76 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!