Pages:
Author

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

hero member
Activity: 588
Merit: 500
Noob question: Does the remote machine logging onto the LinuxCoin desktop have to be running Linux? How does the remote machine need to be setup?

No, and with your favorite VNC client, respectively.
full member
Activity: 196
Merit: 100
Oikos.cash | Decentralized Finance on Tron
Noob question: Does the remote machine logging onto the LinuxCoin desktop have to be running Linux? How does the remote machine need to be setup?
sr. member
Activity: 308
Merit: 251
Little image of what I've got running atm Grin LinuxCoin running from my laptop acting as a server. My home mining box has everything unpluged except GPGPU's / proc / memory Going to do some power consumption & stability tests over the next few days.

sr. member
Activity: 308
Merit: 251
Hi, i am pretty bad at configuring linux, how do i get 0.2.1b to work without physical display? ssh works  but i cant start anything gpu-related from it. I tried DISPLY=:0, 0.1, it doesnt work.
Currently i am running 0.2a, it workes fine there and i use x11vnc to monitor stuff(everything on one screen and keeping ssh open caused 30% stales (i dont know why...)). Cant get x11vnc to work on 0.2.1b too.

Remote desktop is pre setup you just need to tick the box to say you want to allow connections. Check out system in linuxcoin's menu. If you want to run ssh to monitor your cards there are a couple of things you need to do.

First I would change the password on the root account. Makes life easier and no security is needed really for a mining box.

Code:
ssh user@myip
sudo su
passwd root
xhost +
chmod uog+rw /dev/dri/card*

Now you can login as root and use your cards

Code:
ssh root@myip
newbie
Activity: 38
Merit: 0
Hi, i am pretty bad at configuring linux, how do i get 0.2.1b to work without physical display? ssh works  but i cant start anything gpu-related from it. I tried DISPLY=:0, 0.1, it doesnt work.
Currently i am running 0.2a, it workes fine there and i use x11vnc to monitor stuff(everything on one screen and keeping ssh open caused 30% stales (i dont know why...)). Cant get x11vnc to work on 0.2.1b too.
full member
Activity: 126
Merit: 100
AMDOverdriveCtrl is pretty buggy.  the -b flag doesn't engage the custom fan profile in the .ovdr file.  Also, when creating a custom .ovdr profile, the clock setting would revert back to whatver default level was set in the gui.  Settling on aticonfig commands ended up being the way to go.

AMDOverdriveCtrl is rock solid. As I said you need to set the fanspeed in the GUI in order to be saved in the profile, but you can edit the file and do it yourself.

The big advantage of AMDOverdriveCtrl is that it lets you change the voltage, either overvolting fro more speed or undervolting for less consumption, while aticonfig does not. Also, personally I find that being able to save a profile is more confortable and quick, but that is jus me.
This is also my experience: do your settings in the GUI, leave it running, save the profile, edit profile with leafpad and adjust the numbers outside the (BIOS) limits. Save, reload profile and you're good to go.
sr. member
Activity: 252
Merit: 250
I was trying to get the fan speed profile to work (auto control) based on temps.  Even though it was set in the .over file the -b flag would not engage it.  I did not try a static fan speed setting.  Another thing, I have one card that doesn't like being clocked at 1000 so I set a .over profile at 950, it would spit out that it was seting the clock at 950, followed by output stating it was set back to 1000.  Maybe I am doing something g wrong but I could not get different clock profiles to run concurrently on different cards.
legendary
Activity: 1148
Merit: 1001
Radix-The Decentralized Finance Protocol
AMDOverdriveCtrl is pretty buggy.  the -b flag doesn't engage the custom fan profile in the .ovdr file.  Also, when creating a custom .ovdr profile, the clock setting would revert back to whatver default level was set in the gui.  Settling on aticonfig commands ended up being the way to go.

AMDOverdriveCtrl is rock solid. As I said you need to set the fanspeed in the GUI in order to be saved in the profile, but you can edit the file and do it yourself.

The big advantage of AMDOverdriveCtrl is that it lets you change the voltage, either overvolting fro more speed or undervolting for less consumption, while aticonfig does not. Also, personally I find that being able to save a profile is more confortable and quick, but that is jus me.
full member
Activity: 182
Merit: 100
What kernel is this running?
sr. member
Activity: 252
Merit: 250
drgr33n, rock on!  LinuxCoin + SmartCoin makes for a sexy mining setup.

Things I noticed when messing with the ATI commands:

AMDOverdriveCtrl is pretty buggy.  the -b flag doesn't engage the custom fan profile in the .ovdr file.  Also, when creating a custom .ovdr profile, the clock setting would revert back to whatver default level was set in the gui.  Settling on aticonfig commands ended up being the way to go.

I gotta give a shout out to jaebird as well.  Very helpful posts on getting things rebooting and running on startup.  Look forward to future development.
sr. member
Activity: 308
Merit: 251
Been working on the wiki and PXE stuff today and made good progress. I'm going to be releasing a new version of the pxe scripts with the following changes.

Can now be run without persistence (I didn't realize but I can use a symlink to the filesystem)
Sets up the dhcpd server properly
Sets up software watchdog & auto reboot

Also have a video coming out right after showing you how to setup the PXE server, nodes and adding monitoring your nodes via munin. I have some plugins that you can use to monitor GPU temps / fan speeds / load and your hashrate Wink

Stand by for more info !!
sr. member
Activity: 252
Merit: 250
yeah see my edit above, Worked like a champ, thanks for the examples.  So I finally have my mem clocks down to 300 and my fans set....  Now my other question-  Where should i put these commands so all of this gets set on startup?  Can I cut and paste into /etc/rc.local?

*edit*: jaebird's post at  http://forum.bitcoin.org/index.php?topic=7374.msg312491#msg312491 helped me with my startup question.  Now just need to figure out how to get smartcoin to propoerly fire from that script and I will be good to go!

*edit*: stupid me, wasn't realizing the startup script was running as "user", a quick sudo did the trick!
sr. member
Activity: 308
Merit: 251
Try this out

Code:
sudo su
aticonfig --od-enable
aticonfig  --odsc=990,300 --adapter=all
aticonfig --odcc --adapter=all
aticonfig --pplib-cmd="set fanspeed 0 80"
DISPLAY=0.1 aticonfig --pplib-cmd="set fanspeed 0 80"
./phoenix.py -u http://USERNAME_miner1:[email protected]:8332/ -k phatk VECTORS BFI_INT AGGRESSION=9 WORKSIZE=256 DEVICE=0 FASTLOOP=false -a 5
./phoenix.py -u http://USERNAME_miner1:[email protected]:8332/ -k phatk VECTORS BFI_INT AGGRESSION=13 WORKSIZE=256 DEVICE=1 FASTLOOP=false -a 5

Thanks for this.  How do you set the fan speed for the other cards? aticonfig --pplib-cmd="set fanspeed 0 80" only affects adapter=0  In my case I have 3 6870's.  I tried adpater flags but that didn't seem to work...

For some reason pplib-cmd doesn't allow you to specify an adapter you have to run it on the display of choice. Thats why I add

DISPLAY=:0.1

to the next command. If you had four they would be listed as 0.0 0.1 0.2 0.3 so to set all of them at 80%

Code:
aticonfig --pplig-cmd="set fanspeed 0 80"
DISPLAY=:0.1 aticonfig --pplig-cmd="set fanspeed 0 80"
DISPLAY=:0.2 aticonfig --pplig-cmd="set fanspeed 0 80"
DISPLAY=:0.3 aticonfig --pplig-cmd="set fanspeed 0 80"
sr. member
Activity: 252
Merit: 250
Try this out

Code:
sudo su
aticonfig --od-enable
aticonfig  --odsc=990,300 --adapter=all
aticonfig --odcc --adapter=all
aticonfig --pplib-cmd="set fanspeed 0 80"
DISPLAY=0.1 aticonfig --pplib-cmd="set fanspeed 0 80"
./phoenix.py -u http://USERNAME_miner1:[email protected]:8332/ -k phatk VECTORS BFI_INT AGGRESSION=9 WORKSIZE=256 DEVICE=0 FASTLOOP=false -a 5
./phoenix.py -u http://USERNAME_miner1:[email protected]:8332/ -k phatk VECTORS BFI_INT AGGRESSION=13 WORKSIZE=256 DEVICE=1 FASTLOOP=false -a 5

Thanks for this.  How do you set the fan speed for the other cards? aticonfig --pplib-cmd="set fanspeed 0 80" only affects adapter=0  In my case I have 3 6870's.  I tried adpater flags but that didn't seem to work...

*EDIT*:  nevermind, it's been a while since I've been in a linux environment, but the cobwebs are slowly clearing.  I was going off of your example above, (DISPLAY=0.1) was missing the colon, so for myother 2 cards:

DISPLAY:=0.1 aticonfig --pplib-cmd="set fanspeed 0 70"
DISPLAY:=0.2 aticonfig --pplib-cmd="set fanspeed 0 70"

full member
Activity: 196
Merit: 100
Oikos.cash | Decentralized Finance on Tron
Try this out

Code:
sudo su
aticonfig --od-enable
aticonfig  --odsc=990,300 --adapter=all
aticonfig --odcc --adapter=all
aticonfig --pplib-cmd="set fanspeed 0 80"
DISPLAY=0.1 aticonfig --pplib-cmd="set fanspeed 0 80"
./phoenix.py -u http://USERNAME_miner1:[email protected]:8332/ -k phatk VECTORS BFI_INT AGGRESSION=9 WORKSIZE=256 DEVICE=0 FASTLOOP=false -a 5
./phoenix.py -u http://USERNAME_miner1:[email protected]:8332/ -k phatk VECTORS BFI_INT AGGRESSION=13 WORKSIZE=256 DEVICE=1 FASTLOOP=false -a 5

Good call, that brought the 5830s up to:

Adapter0
311.1 Mh/s, Usage=98%, Fanspeed=80%, Temp=69.5C

Adapter1
314.4 Mh/s, Usage=99%, Fanspeed=80%, Temp=61.0C

I'll run then overnight and see if they remain stable. Thanks again!
sr. member
Activity: 308
Merit: 251
probably being daft but cant seem to get osx's disk utility or dd to restore this image to a usb disk, has anyone got any pointers?

Guys everything need to do this really simple is included in linuxcoin. GParted will allow you to simply copy and paste partitions across drives. Next you want to restore the MBR to make your drive bootable. Fire up a terminal and to backup your MBR from the bootable drive

Code:
dd if=/dev/sdX of=backup-sdX.mbr count=1 bs=512

X = your drive letter WITHOUT THE PARTITION NUMBER Cheesy

Save it where you like and after you've copied the partition across

Code:
dd if=backup-sdX.mbr of=/dev/sdX

Now your drive is bootable Wink

I haven't tested this method but a friend just told me you can use sfdisk to clone a drive onto another. Apparently the thumb drives have to be exactly the same size though ?

Code:
sfdisk -d /dev/sdX < /dev/sdY

X = your master drive or the one you created
Y = your target drive

newbie
Activity: 47
Merit: 0
probably being daft but cant seem to get osx's disk utility or dd to restore this image to a usb disk, has anyone got any pointers?

http://www.ubuntu.com/download/ubuntu/download has instructions for taking a livecd image and putting it on a USB stick, even under OSX.  Haven't tried it myself however with a linuxcoin image but it should be the same steps.
newbie
Activity: 13
Merit: 0
probably being daft but cant seem to get osx's disk utility or dd to restore this image to a usb disk, has anyone got any pointers?
sr. member
Activity: 308
Merit: 251
There is no source config. It's been heavily customized by chrooting the filesystem and tweaking.  

I knew it was a long shot, but was hoping you used one of those Custom LiveCD creation tools Smiley

Anyway I guess I will have to just keep trying with this dual 6990 video card problem, I will probably just come back to LinuxCoin seeing as it works out of the box Cheesy

LinuxCoin is the way Cheesy If you do find something on your travels that will improve linuxcoin let me know and I'll add it to the next version.

I'm on the fence though. I like debian but its not my native linux distro. I use slackware and have done for years so i think to take linuxcoin to the next stage I might migrate over to slax and build the next livecd from scratch. This way I can add lots more security features and I can distribute updates etc via  a package manager Cheesy I did look into creating debs but got about two paragraphs into the documentation, rolled a fattie and logged into facebook hahaha Cheesy

These releases are far from final. To tell you the truth they were an experiment to test the water and to see if the bitcoin community was interested in a linux distro dedicated to bitcoin. I think the thread view count says it all there are lots of people interested Cheesy 

I can create slackware packages with my eyes closed. I'm having a little break from linuxcoin and going to try and code up some sort of GUI for mining and some other nice bits of software.

These will be separate from the linuxcoin development but will be features added and also available for download to use with other linux distros.
newbie
Activity: 13
Merit: 0
There is no source config. It's been heavily customized by chrooting the filesystem and tweaking. 

I knew it was a long shot, but was hoping you used one of those Custom LiveCD creation tools Smiley

Anyway I guess I will have to just keep trying with this dual 6990 video card problem, I will probably just come back to LinuxCoin seeing as it works out of the box Cheesy
Pages:
Jump to: