Pages:
Author

Topic: LinuxCoin A lightweight Debian based OS with everything ready to go. - page 31. (Read 285113 times)

sr. member
Activity: 383
Merit: 250

I'm mining with linuxcoin and would like to go headless with ssh to an old netbook I haven't been using. Does it matter at all what linux distro I use (aside from finding one that runs well on the netbook)? I'm currently testing linux peppermint, and really like it. This distro is very fast and has 0 installation issues for me. If it is just a matter of personal taste, I'll probably go with this. But I would appreciate anyone pointing out features other distros have that might make them better for my purposes. For example, is there any advantage to just running another copy of linuxcoin?

Also, is it possible to ssh (or something like it) directly to another computer by ethernet cable? If so would that be more secure than ssh over the network? I hope these question aren't too pathetically newbish, but, well, I'm a newb. Thanks.

You can ssh into linuxcoin from whatever OS you desire. Check out the wiki for instructions on how to take control of your cards via ssh.

So I have been running the latest version of linuxcoin, and am mining away, but I have noticed a few problems that I need help with.

-When I try to make the backround a solid colour, I get logged off.

-When I am using 2 video cards, 2 X 5970 and I move my mous off the screen, I cannot get it to come back, but if I use one 5870 and one 5970, with the monitor plugged into the 5870 all is fine.

-When I create a text file in leafpad and make it an executable using the properties window, I can run the miners but there is no terminal, even if i select run in terminal.

Anyone else seeing these problems, or any ideas on how to solve?


1) I'll look into it very soon
2) I've not experienced this ? Are you sure it won't come back ? lol I've lost mine a few times lol
3) Post your script and I'll take a look

Sneek preview Cheesy Smartcoin munin monitor plugins ... Work in progress Wink



Me want now Smiley
legendary
Activity: 2492
Merit: 1473
LEALANA Bitcoin Grim Reaper

Sneek preview Cheesy Smartcoin munin monitor plugins ... Work in progress Wink


[/quote]

OOH I LIKEY! RELEASE DATE?
hero member
Activity: 504
Merit: 500
sr. member
Activity: 308
Merit: 251
Code:
cd /opt/miners/phoenix

python ./phoenix.py -u http://maxinmontreal.122:[email protected]:8332/ -k phatk VECTORS BFI_INT AGGRESSION=7 FASTLOOP=false WORKSIZE=128 DEVICE=0


try

Code:
cd /opt/miners/phoenix

lxterminal -e "python ./phoenix.py -u http://maxinmontreal.122:[email protected]:8332/ -k phatk VECTORS BFI_INT AGGRESSION=7 FASTLOOP=false WORKSIZE=128 DEVICE=0"
hero member
Activity: 504
Merit: 500
Code:
cd /opt/miners/phoenix

python ./phoenix.py -u http://maxinmontreal.122:[email protected]:8332/ -k phatk VECTORS BFI_INT AGGRESSION=7 FASTLOOP=false WORKSIZE=128 DEVICE=0
sr. member
Activity: 308
Merit: 251

I'm mining with linuxcoin and would like to go headless with ssh to an old netbook I haven't been using. Does it matter at all what linux distro I use (aside from finding one that runs well on the netbook)? I'm currently testing linux peppermint, and really like it. This distro is very fast and has 0 installation issues for me. If it is just a matter of personal taste, I'll probably go with this. But I would appreciate anyone pointing out features other distros have that might make them better for my purposes. For example, is there any advantage to just running another copy of linuxcoin?

Also, is it possible to ssh (or something like it) directly to another computer by ethernet cable? If so would that be more secure than ssh over the network? I hope these question aren't too pathetically newbish, but, well, I'm a newb. Thanks.

You can ssh into linuxcoin from whatever OS you desire. Check out the wiki for instructions on how to take control of your cards via ssh.

So I have been running the latest version of linuxcoin, and am mining away, but I have noticed a few problems that I need help with.

-When I try to make the backround a solid colour, I get logged off.

-When I am using 2 video cards, 2 X 5970 and I move my mous off the screen, I cannot get it to come back, but if I use one 5870 and one 5970, with the monitor plugged into the 5870 all is fine.

-When I create a text file in leafpad and make it an executable using the properties window, I can run the miners but there is no terminal, even if i select run in terminal.

Anyone else seeing these problems, or any ideas on how to solve?


1) I'll look into it very soon
2) I've not experienced this ? Are you sure it won't come back ? lol I've lost mine a few times lol
3) Post your script and I'll take a look

Sneek preview Cheesy Smartcoin munin monitor plugins ... Work in progress Wink

full member
Activity: 150
Merit: 100
Got to say I've never experienced this before. I can confirm the smartcoin is working great in 0.2-final and I'm working with the author to add additional features to smartcoin/linuxcoin. More info to follow.

Thanks for the reply. 

I am going to hold off on putting any more effort into SmartCoin until 0.2-final is released.  I tried everything that I can think of to get SmartCoin working.  It's a pretty strange problem considering I've purged sqlite3 and re-installed.
hero member
Activity: 504
Merit: 500
So I have been running the latest version of linuxcoin, and am mining away, but I have noticed a few problems that I need help with.

-When I try to make the backround a solid colour, I get logged off.

-When I am using 2 video cards, 2 X 5970 and I move my mous off the screen, I cannot get it to come back, but if I use one 5870 and one 5970, with the monitor plugged into the 5870 all is fine.

-When I create a text file in leafpad and make it an executable using the properties window, I can run the miners but there is no terminal, even if i select run in terminal.

Anyone else seeing these problems, or any ideas on how to solve?
legendary
Activity: 1820
Merit: 1000

I'm mining with linuxcoin and would like to go headless with ssh to an old netbook I haven't been using. Does it matter at all what linux distro I use (aside from finding one that runs well on the netbook)? I'm currently testing linux peppermint, and really like it. This distro is very fast and has 0 installation issues for me. If it is just a matter of personal taste, I'll probably go with this. But I would appreciate anyone pointing out features other distros have that might make them better for my purposes. For example, is there any advantage to just running another copy of linuxcoin?

Also, is it possible to ssh (or something like it) directly to another computer by ethernet cable? If so would that be more secure than ssh over the network? I hope these question aren't too pathetically newbish, but, well, I'm a newb. Thanks.
sr. member
Activity: 308
Merit: 251
Just wanted to say to say thank you thank you thank you.

Without this thread and the op taking the time to do all he has done my mining would have died b4 it had a chance to come alive.

2 rigs up and running with this now and once I have a few more will defo donate  Wink

Lol 3 weeks ago I didnt even know what linux really was and now look at me go.




lol Thanks !! Glad your enjoying linuxcoin !!

Anybody found a way to set Powertune via line command instead of AMDOverdriveCtrl for multiple adapters?  I found this, but not sure I can run/compile it under Linuxcoin:

@krumplee: how do you use this undocumented function?

Download ADL SDK from http://developer.amd.com/Downloads/ADL_SDK_3.0.zip
It is enough to copy adl_sdk.h into /usr/include

Save the following code as powercontrol.cpp

Code:
#include 
#include
#include

using namespace std;

extern "C"
{
    int ADL_Main_Control_Create (ADL_MAIN_MALLOC_CALLBACK, int);
    int ADL_Adapter_NumberOfAdapters_Get(int *);
    int ADL_Overdrive5_PowerControl_Set(int, int);
    int ADL_Overdrive5_PowerControl_Get(int, int *, int *);
}

void* __stdcall Alloc ( int iSize )
{
    void* lpBuffer = malloc ( iSize );
    return lpBuffer;
}

void __stdcall ADL_Main_Memory_Free ( void** lpBuffer )
{
    if ( NULL != *lpBuffer )
    {
        free ( *lpBuffer );
        *lpBuffer = NULL;
    }
}

int main()
{
        int adapters, a=99, b=99;
        if(ADL_Main_Control_Create (Alloc, 1) != ADL_OK)
        {
                cout << "ADL initialization error!" << endl;
                return -1;
        }
       
        if(ADL_Adapter_NumberOfAdapters_Get(&adapters) != ADL_OK)
        {
                cout << "Cannot get the number of adapters!" << endl;
                return -1;
        }
        cout << "Found " << adapters << " adapters" << endl;
        for(int i=0; i        {
                if(ADL_Overdrive5_PowerControl_Set(i, 20) != ADL_OK)
                {
                        cout << "Failed to set " << i << " power control" << endl;
                        return -1;
                } else { cout << "Value set for " << i << endl; }
               
                if(ADL_Overdrive5_PowerControl_Get(i, &a, &b) != ADL_OK)
                {
                        cout << "Failed to get " << i << " power control" << endl;
                        return -1;
                }
                cout << "result: " << a << "%, b: " << b << endl;
        }
        return 0;
}

Finally compile:
g++ -DLINUX -o powercontrol powercontrol.cpp -latiadlxx


Should compile ? You should try it out and let us know. If it does you or I could add it to the wiki.


Should there be an associated block chain that distributes linuxcoins via mining?

Depends how you are mining. If your solo you will need to download the blockchain. If your in a pool then no.

Hi,

I want to run my mining script at startup. I'm using Linuxcoin 0.21b persistent on a thumb drive.

I put my script file (miner.sh) in /etc/init.d directory and used update-rc to register it. But nothing happen when linuxcoin finished booting.

I also tried to put the script in to local.rc but no luck.

Please help.

Here is miner.sh:
Quote
atitweak -m 300
atitweak -e 960
DISPLAY=0.0 aticonfig --pplib-cmd="set fanspeed 0 75"
DISPLAY=0.1 aticonfig --pplib-cmd="set fanspeed 0 75"
DISPLAY=0.2 aticonfig --pplib-cmd="set fanspeed 0 75"
DISPLAY=0.3 aticonfig --pplib-cmd="set fanspeed 0 75"
/usr/bin/x-terminal-emulator -t "worker0" -e /home/user/Desktop/deepbit0.sh
/usr/bin/x-terminal-emulator -t "worker1" -e /home/user/Desktop/deepbit1.sh
/usr/bin/x-terminal-emulator -t "worker2" -e /home/user/Desktop/deepbit2.sh
/usr/bin/x-terminal-emulator -t "worker3" -e /home/user/Desktop/deepbit3.sh

Each deepbit file has the same content:
Quote
cd /opt/miners/phoenix
./phoenix.py -u http://makietN:[email protected]:8332/ -k phatk VECTORS BFI_INT AGGRESSION=13 WORKSIZE=128 DEVICE=n

If I run the miner.sh file in the root terminal manually, it run perfectly.

Please help me to resolve this problem.


copy and paste the following into a text file and call it mining.desktop

Code:
[Desktop Entry]
Name=start-miners
Comment=Simple script to start my miners
Type=Application
Exec=/path/to/youscript.sh
Terminal=false

Move that file into ~/.config/autostart and make your script executable.

Code:
mv mining.desktop ~/.config/autostart
chmod 777 /path/to/yourscript.sh

Reboot and your good to go. The reason your scripts not working when added to sysvinit  is because your cards haven't been initialized until LXDE has started.

Has anyone else run into these problems with SmartCoin and LinuxCoin together?  I tried the SmartCoin forum, but the developed said he'd never seen a problem like this.

I am running LinuxCoin 0.2b from a SSD with /home installed on a different partition.  I have difficulties immediately when installing SmartCoin.

When I try to install SmartCoin from either ssh or using a vnc client, I get the below message before being asked for root permissions.

Code:
./smartcoin_install.sh: line 39: Log: command not found
SQLite header and source version mismatch
2011-05-19 13:26:54 ed1da510a239ea767a01dc332b667119fa3c908e
2011-06-23 19:49:22 4374b7e83ea0a3fbc3691f9c0c936272862f32f2
SQLite header and source version mismatch
2011-05-19 13:26:54 ed1da510a239ea767a01dc332b667119fa3c908e
2011-06-23 19:49:22 4374b7e83ea0a3fbc3691f9c0c936272862f32f2
SQLite header and source version mismatch
2011-05-19 13:26:54 ed1da510a239ea767a01dc332b667119fa3c908e
2011-06-23 19:49:22 4374b7e83ea0a3fbc3691f9c0c936272862f32f2

Everything is okay with 'updatedb' and installing dependencies.  I manually checked that procmail, sqlite3, bc, sysstat, openssh-server are installed and updated.

Then I get this.
Code:
Setting up local machine in database...
SQLite header and source version mismatch
2011-05-19 13:26:54 ed1da510a239ea767a01dc332b667119fa3c908e
2011-06-23 19:49:22 4374b7e83ea0a3fbc3691f9c0c936272862f32f2

done.

Then it throws up the same SQlite header and source version mismatch error dozens of times and continues to give the same error when trying to auto-detect the GPUs and miners.

Locating the SDK path automatically works just fine.

If I decline the auto-detect and later manually try to add GPUs and miners manually, I get the following
Code:
SQLite header and source version mismatch
2011-05-19 13:26:54 ed1da510a239ea767a01dc332b667119fa3c908e
2011-06-23 19:49:22 4374b7e83ea0a3fbc3691f9c0c936272862f32f2
Please select the machine from the list above that is hosting this miner

I've tried purging sqlite3 and installing again to no avail.  I'm stuck and don't know what to do.  Any ideas?


Got to say I've never experienced this before. I can confirm the smartcoin is working great in 0.2-final and I'm working with the author to add additional features to smartcoin/linuxcoin. More info to follow.
newbie
Activity: 20
Merit: 0
Hi,

I want to run my mining script at startup. I'm using Linuxcoin 0.21b persistent on a thumb drive.

I put my script file (miner.sh) in /etc/init.d directory and used update-rc to register it. But nothing happen when linuxcoin finished booting.

I also tried to put the script in to local.rc but no luck.

Please help.

Here is miner.sh:
Quote
atitweak -m 300
atitweak -e 960
DISPLAY=0.0 aticonfig --pplib-cmd="set fanspeed 0 75"
DISPLAY=0.1 aticonfig --pplib-cmd="set fanspeed 0 75"
DISPLAY=0.2 aticonfig --pplib-cmd="set fanspeed 0 75"
DISPLAY=0.3 aticonfig --pplib-cmd="set fanspeed 0 75"
/usr/bin/x-terminal-emulator -t "worker0" -e /home/user/Desktop/deepbit0.sh
/usr/bin/x-terminal-emulator -t "worker1" -e /home/user/Desktop/deepbit1.sh
/usr/bin/x-terminal-emulator -t "worker2" -e /home/user/Desktop/deepbit2.sh
/usr/bin/x-terminal-emulator -t "worker3" -e /home/user/Desktop/deepbit3.sh

Each deepbit file has the same content:
Quote
cd /opt/miners/phoenix
./phoenix.py -u http://makietN:[email protected]:8332/ -k phatk VECTORS BFI_INT AGGRESSION=13 WORKSIZE=128 DEVICE=n

If I run the miner.sh file in the root terminal manually, it run perfectly.

Please help me to resolve this problem.


 
legendary
Activity: 2492
Merit: 1473
LEALANA Bitcoin Grim Reaper
Should there be an associated block chain that distributes linuxcoins via mining?
full member
Activity: 150
Merit: 100
Has anyone else run into these problems with SmartCoin and LinuxCoin together?  I tried the SmartCoin forum, but the developed said he'd never seen a problem like this.

I am running LinuxCoin 0.2b from a SSD with /home installed on a different partition.  I have difficulties immediately when installing SmartCoin.

When I try to install SmartCoin from either ssh or using a vnc client, I get the below message before being asked for root permissions.

Code:
./smartcoin_install.sh: line 39: Log: command not found
SQLite header and source version mismatch
2011-05-19 13:26:54 ed1da510a239ea767a01dc332b667119fa3c908e
2011-06-23 19:49:22 4374b7e83ea0a3fbc3691f9c0c936272862f32f2
SQLite header and source version mismatch
2011-05-19 13:26:54 ed1da510a239ea767a01dc332b667119fa3c908e
2011-06-23 19:49:22 4374b7e83ea0a3fbc3691f9c0c936272862f32f2
SQLite header and source version mismatch
2011-05-19 13:26:54 ed1da510a239ea767a01dc332b667119fa3c908e
2011-06-23 19:49:22 4374b7e83ea0a3fbc3691f9c0c936272862f32f2

Everything is okay with 'updatedb' and installing dependencies.  I manually checked that procmail, sqlite3, bc, sysstat, openssh-server are installed and updated.

Then I get this.
Code:
Setting up local machine in database...
SQLite header and source version mismatch
2011-05-19 13:26:54 ed1da510a239ea767a01dc332b667119fa3c908e
2011-06-23 19:49:22 4374b7e83ea0a3fbc3691f9c0c936272862f32f2

done.

Then it throws up the same SQlite header and source version mismatch error dozens of times and continues to give the same error when trying to auto-detect the GPUs and miners.

Locating the SDK path automatically works just fine.

If I decline the auto-detect and later manually try to add GPUs and miners manually, I get the following
Code:
SQLite header and source version mismatch
2011-05-19 13:26:54 ed1da510a239ea767a01dc332b667119fa3c908e
2011-06-23 19:49:22 4374b7e83ea0a3fbc3691f9c0c936272862f32f2
Please select the machine from the list above that is hosting this miner

I've tried purging sqlite3 and installing again to no avail.  I'm stuck and don't know what to do.  Any ideas?
member
Activity: 90
Merit: 10
Anybody found a way to set Powertune via line command instead of AMDOverdriveCtrl for multiple adapters?  I found this, but not sure I can run/compile it under Linuxcoin:

@krumplee: how do you use this undocumented function?

Download ADL SDK from http://developer.amd.com/Downloads/ADL_SDK_3.0.zip
It is enough to copy adl_sdk.h into /usr/include

Save the following code as powercontrol.cpp

Code:
#include 
#include
#include

using namespace std;

extern "C"
{
    int ADL_Main_Control_Create (ADL_MAIN_MALLOC_CALLBACK, int);
    int ADL_Adapter_NumberOfAdapters_Get(int *);
    int ADL_Overdrive5_PowerControl_Set(int, int);
    int ADL_Overdrive5_PowerControl_Get(int, int *, int *);
}

void* __stdcall Alloc ( int iSize )
{
    void* lpBuffer = malloc ( iSize );
    return lpBuffer;
}

void __stdcall ADL_Main_Memory_Free ( void** lpBuffer )
{
    if ( NULL != *lpBuffer )
    {
        free ( *lpBuffer );
        *lpBuffer = NULL;
    }
}

int main()
{
        int adapters, a=99, b=99;
        if(ADL_Main_Control_Create (Alloc, 1) != ADL_OK)
        {
                cout << "ADL initialization error!" << endl;
                return -1;
        }
        
        if(ADL_Adapter_NumberOfAdapters_Get(&adapters) != ADL_OK)
        {
                cout << "Cannot get the number of adapters!" << endl;
                return -1;
        }
        cout << "Found " << adapters << " adapters" << endl;
        for(int i=0; i        {
                if(ADL_Overdrive5_PowerControl_Set(i, 20) != ADL_OK)
                {
                        cout << "Failed to set " << i << " power control" << endl;
                        return -1;
                } else { cout << "Value set for " << i << endl; }
                
                if(ADL_Overdrive5_PowerControl_Get(i, &a, &b) != ADL_OK)
                {
                        cout << "Failed to get " << i << " power control" << endl;
                        return -1;
                }
                cout << "result: " << a << "%, b: " << b << endl;
        }
        return 0;
}

Finally compile:
g++ -DLINUX -o powercontrol powercontrol.cpp -latiadlxx

sr. member
Activity: 294
Merit: 250
Just wanted to say to say thank you thank you thank you.

Without this thread and the op taking the time to do all he has done my mining would have died b4 it had a chance to come alive.

2 rigs up and running with this now and once I have a few more will defo donate  Wink

Lol 3 weeks ago I didnt even know what linux really was and now look at me go.


sr. member
Activity: 308
Merit: 251
Is anyone using GUI miner?  I was using it for a while but ssh is more stable than vnc - especially when straining the GPU for mining.  Just seems like a GUI interface may be easier for a lot of people who are unfamiliar with linux.  It was for me anyway.  May be something to think about adding???

I've been fiddling with it to no avail so far in LinuxCoin.

I read where someone got it working using wine but so far I have failed to do so

It would be very beneficial to my efforts to educate my peers to have it running as the linux command line generates instant hostility whenever I mention or show it.

So for now I have to start my show and tell in windows to show the GUIminer.

I'm sure others can improve on this but this is how I installed it:
- Use Synaptic or apt-get to install python-wxgtk2.8 (I just searched python wx in Synaptic and clicked the box)
- in root terminal
Code:
git clone https://github.com/Kiv/poclbm.git
(this will create poclbm directory so don't be in /opt/miners/ when you run it)

- cd into the poclbm directory you just created and run
Code:
python guiminer.py

I have no idea how to make an icon or run it without a terminal window but it's a great program for beginners, as long as you're not using remote access.


Great post !!! If anyone has little gems like this please put them on the wiki !!!
donator
Activity: 798
Merit: 500
Is anyone using GUI miner?  I was using it for a while but ssh is more stable than vnc - especially when straining the GPU for mining.  Just seems like a GUI interface may be easier for a lot of people who are unfamiliar with linux.  It was for me anyway.  May be something to think about adding???

I've been fiddling with it to no avail so far in LinuxCoin.

I read where someone got it working using wine but so far I have failed to do so

It would be very beneficial to my efforts to educate my peers to have it running as the linux command line generates instant hostility whenever I mention or show it.

So for now I have to start my show and tell in windows to show the GUIminer.

I'm sure others can improve on this but this is how I installed it:
- Use Synaptic or apt-get to install python-wxgtk2.8 (I just searched python wx in Synaptic and clicked the box)
- in root terminal
Code:
git clone https://github.com/Kiv/poclbm.git
(this will create poclbm directory so don't be in /opt/miners/ when you run it)

- cd into the poclbm directory you just created and run
Code:
python guiminer.py

I have no idea how to make an icon or run it without a terminal window but it's a great program for beginners, as long as you're not using remote access.
member
Activity: 84
Merit: 10
I yam what I yam. - Popeye
Announcing:

NoobHowTo [A soup to nuts newbee system for a secure, portable USB wallet]

The Goal:

If you follow these steps in order you too will have:

A Portable and Reasonably Secure BitCoin Wallet System.


Pick the bottom link in my sig if you have any interest in a complete system built on Dr green's awesome LinuxCoin that includes simple to use encryption for your portable wallet.
member
Activity: 84
Merit: 10
I yam what I yam. - Popeye
Is anyone using GUI miner?  I was using it for a while but ssh is more stable than vnc - especially when straining the GPU for mining.  Just seems like a GUI interface may be easier for a lot of people who are unfamiliar with linux.  It was for me anyway.  May be something to think about adding???

I've been fiddling with it to no avail so far in LinuxCoin.

I read where someone got it working using wine but so far I have failed to do so

It would be very beneficial to my efforts to educate my peers to have it running as the linux command line generates instant hostility whenever I mention or show it.

So for now I have to start my show and tell in windows to show the GUIminer.
donator
Activity: 798
Merit: 500
Is anyone using GUI miner?  I was using it for a while but ssh is more stable than vnc - especially when straining the GPU for mining.  Just seems like a GUI interface may be easier for a lot of people who are unfamiliar with linux.  It was for me anyway.  May be something to think about adding???
Pages:
Jump to: