Bitcoin Forum
November 10, 2024, 11:06:34 AM *
News: Latest Bitcoin Core release: 28.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 ... 76 »
  Print  
Author Topic: LinuxCoin A lightweight Debian based OS with everything ready to go.  (Read 285113 times)
organofcorti
Donator
Legendary
*
Offline Offline

Activity: 2058
Merit: 1007


Poor impulse control.


View Profile WWW
June 09, 2011, 03:33:16 AM
 #341

I just need someone to show me how to do it I plan to do this across 3 different machines but I can't even get it on the 1 machine.

But have you tried doing it on one machine via local access? If you can do it locally, might be easier to install manually on all three, or even better just clone the one that works and copy to 2 other flash drives. You can than manage them by remote.

Bitcoin network and pool analysis 12QxPHEuxDrs7mCyGSx1iVSozTwtquDB3r
follow @oocBlog for new post notifications
Ibisy
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
June 09, 2011, 10:18:51 AM
 #342

Can someone please tell me how i can remote control my machine? Not a step by step thing (unless you want it  Wink) but tell me where to go and start so i can control this 50km away on my windows machine.

The rest is working 100% ok and I'm mining having zero problems. I just need some help starting the remote control thing. I have read a lot but the truth is I'm not a Linux expert and i got kinda confused on this particular part even reading past posts  Undecided

Thank you
mineority
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
June 09, 2011, 10:32:43 AM
 #343

hey,

I'm expecting my rig hardware any minute now and want to prepare the OS in the meantime. The rig should run on a simple old 200 MB IDE hard drive. So no, I have no usb drive. How can I install the iso on the hard drive and be bootable? Just unpacking the files won't work, i guess....

Is it anyway a good idea in this scenario to use LinuxCoin? I heard that it is hardly modifyable and has to be reconfigured on reboot (sounds like a myth to me).

bye
mineority
um0rion
Member
**
Offline Offline

Activity: 91
Merit: 10



View Profile
June 09, 2011, 10:55:48 PM
 #344

Wow I need some help... right now im trying to connect to the internet, but I dont have a lan port in the upstairs of my house, all computers are wireless. I bought a wifi adapter for this rig, the tp-link TL-WN722N. Its supposedly incorporated into the linux kernel, and most posts IVe seen says it works right off when they plug it in. It doesnt work with linuxcoin however. Is there something I need to install, or ? Any help would be greatly appreciated, Thanks
Coma
Full Member
***
Offline Offline

Activity: 140
Merit: 100


View Profile
June 10, 2011, 02:09:15 AM
 #345

Had the:
[Errno 13] Permission denied

CHMODed the miners directory and worked ok.
I guess I should find a better solution...
Karmicads
Full Member
***
Offline Offline

Activity: 185
Merit: 121



View Profile
June 10, 2011, 06:29:47 AM
 #346

Can someone please tell me how i can remote control my machine? Not a step by step thing (unless you want it  Wink) but tell me where to go and start so i can control this 50km away on my windows machine.

*Sigh* I cant help thinking of somebody trying to control a nuclear power plant, with a Fisher Price activity table. Tongue


Oh well, nevermind. Firstly you'll need either an internet conection each end, or 50 km of network cable. Cheesy If you are happy to just use a command line for basic control, then you could just telnet to the machine using any old terminal emulator on Fish... er windoze. Otherwise just use a VNC client / server. I haven't installed Linuxcoin yet, so I dont know what VNC software it comes packaged with, but it should have a software installer like synaptic, which makes installing almost anything a piece of cake. Just type VNC into its search window and look for a server on the linux end then install a client on the windows machine and just follow the instructions in the help/documentation for each of them. The VNC will give you full desktop access once you have it working.

Good luck with that.
sunbreak
Member
**
Offline Offline

Activity: 107
Merit: 30


View Profile
June 10, 2011, 10:00:06 AM
 #347

Great work, I put some ram on a MB, plugged a CPU in, a VideoCard and a thumbdrive with your sweet sweet LinuxCoin and *bam* mining in under 10 minutes.

Suggestionss:

 - Anything to make this more headless: Start / stop mining over SSH, see status.  ( I use ssh from my Android and would be able to monitor this stuff from the road)
 - Rename this to something sweeter like Coinux or something :p
 

Anyway, once my coins start coming in I'll be donating.




Once you get booted up and logged into the X session you can execute 'xhost +' which will disable access control. You can also do 'xhost +192.168.1.xxx' to give access to a single IP address.

Then when you ssh to the machine remotely you need to ensure you set your environment variable for X before running the 'aticonfig' tool. So;

ssh -l user linuxcoin-host

user@linuxcoin:~$ export DISPLAY=:0
user@linuxcoin:~$ while true; do for n in 5 4 3 2 1 0; do aticonfig --odgt --adapter=$n | grep Sensor; done; echo; sleep 3; done

            Sensor 0: Temperature - 85.50 C
            Sensor 0: Temperature - 88.50 C
            Sensor 0: Temperature - 80.50 C
            Sensor 0: Temperature - 82.50 C
            Sensor 0: Temperature - 75.00 C
            Sensor 0: Temperature - 82.00 C


You can also start and stop the mining application remotely. If you want to use screen to run mining sessions on remote virtual terminals; easy just install it. You of course will need to repeat this is you reboot.

user@linuxcoin:~$ sudo /bin/bash
root@linuxcoin:/home/user# apt-get install screen

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  screen
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 624 kB of archives.
After this operation, 975 kB of additional disk space will be used.
Get:1 http://cdn.debian.net/debian/ wheezy/main screen amd64 4.0.3-14 [624 kB]
Fetched 624 kB in 5s (119 kB/s) 
Selecting previously deselected package screen.
(Reading database ... 69169 files and directories currently installed.)
Unpacking screen (from .../screen_4.0.3-14_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for install-info ...
Setting up screen (4.0.3-14) ...
kjj
Legendary
*
Offline Offline

Activity: 1302
Merit: 1026



View Profile
June 10, 2011, 10:38:25 AM
 #348

My solution to the headless operation was to set a watchdog that can reboot the server if shares stop coming in.  In my experience, when shares stop coming in, the problem is that the box is locked up solid, beyond the help of SSH.

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

Activity: 484
Merit: 500



View Profile
June 10, 2011, 01:54:56 PM
 #349

Hey guys,

Just a quick update. I'll be working on the wiki tonight. Now we have a working base for linuxcoin I'm comfortable that there will be no core changes for a while Wink Just small bits and bobs.

I would encourage people to sign up and add content to help out the community Wink More info on things later.

My mirror is back up, and two 100 meg connections are feeding the torrent. http://www.fastspeedtest.net/mirrors/linuxcoin/LinuxCoin-v0.2a.torrent

Should be plenty of bandwidth.
Hmm weird. My dedicated box was downloading at 4MB/s, not at the full 10MB/s I was hoping for Tongue
Seeding too!

There are 8 people seeding now with my two on there. Chalk it up to local network issues or inefficient peers. My boxes are still yawning. Not too much load from 100 iso downloads via http and half that on the torrent.
Heh, drgr33n should only provide BitTorrent downloads.


lol

You don't need a linux machine ! I've said about 5 times lol

Partition your drive using whatever OS you like. Just make sure you have two partitions. The first needs to be at least 1G the second can be as large or as small as you like.

How do you partition a USB flash drive? Windows 7 doesn't seem to allow that.

I can't get persistence working with unetbootin.

You should be able to, but not with the simple format tool, that just formats partitions. Using gparted on linux is easier. Make a 700MB vfat/fat32 partition for LinuxCoin to be installed to, then format the rest as ext2/3/4 and name it "live-rw". You won't be able to format that with Windows anyway...

To partition in Windows you have to open up the hard disk manager and do it there. But you still won't be able to format as a Linux filesystem. And as greenlander said, you can just use a second drive as the persistent drive, just label it as "live-rw".

1) Plug your dongle into your windows machine.
2) Load your favorite browser
3) Click here >> http://lmgtfy.com/?q=windows+disk+manager
4) Follow a guide on how to create 1 partition. You only need to create 1 partition in windows. Make it around 1G
5) Install linuxcoin via unetbootin or any other tool
6) Boot from your stick.
7) Load a root terminal
Cool Find what LinuxCoin has listed your USB stick as. HINT you will only have 1 1G partition on this device. You can do this by using

Code:
fdisk -l

and you should see something like

Code:
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xd760019a

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1              63   943738424   471869181   83  Linux
/dev/sda2       943738425   976768064    16514820   82  Linux swap

Disk /dev/sdb: 1977 MB, 1977614336 bytes
8 heads, 20 sectors/track, 24140 cylinders, total 3862528 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xb0bcd68e

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1            2048     2099199     1048576   83  Linux

That tells me my stick has been listed as sdb

9) Now lets create some persistence space with fdisk. Here's the output of my shell and what I typed.

Code:
bash-4.1# fdisk /dev/sdb

Command (m for help): p

Disk /dev/sdb: 1977 MB, 1977614336 bytes
8 heads, 20 sectors/track, 24140 cylinders, total 3862528 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xb0bcd68e

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1            2048     2099199     1048576   83  Linux

Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4, default 2):
Using default value 2
First sector (2099200-3862527, default 2099200):
Using default value 2099200
Last sector, +sectors or +size{K,M,G} (2099200-3862527, default 3862527):
Using default value 3862527

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.
bash-4.1#

If you really can't be bothered to work out what went on just follow this to use the rest of your stick for persistence. Obviously changing sdb for your stick.

Code:
fdisk /dev/sdb [enter]
n [enter]
p [enter]
2 [enter]
[enter]
[enter]
w

10) Give yourself a pat on the back, your a computer genius.
11) format the partition you just created with this command.

Code:
mkfs.ext4 /dev/sdb2 -L live-rw 

Yes I did type ext4 lol we are in 2011 Wink You should see something like this ..

Code:
bash-4.1# mkfs.ext4 /dev/sdb2 -L live-rw
mke2fs 1.41.14 (22-Dec-2010)
Filesystem label=live-rw
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
55104 inodes, 220416 blocks
11020 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=226492416
7 block groups
32768 blocks per group, 32768 fragments per group
7872 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840

Writing inode tables: done                           
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 38 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.

Reboot and load linuxcoin with persistence and your golden Cheesy







thank u very much ! I really had a problem with this ! now just the following question..

if i read out the usb stick afterwards as iso can i then write new usb sticks with the same settings??

because i need to do that on 10 usb sticks..but its really a hassle going through all these steps 10times Cheesy

also which program best to read the iso?? poweriso??

"Money needs to be depoliticized, and the time has come for the separation of money and state to be accomplished."
kjj
Legendary
*
Offline Offline

Activity: 1302
Merit: 1026



View Profile
June 10, 2011, 02:08:55 PM
 #350

Sure.  Just plug the working stick in, note which drive it is, then plug the other in, check which drive it is.  Unmount them both.

If the good drive is /dev/sdb and the new drive is /dev/sdc, use this:

Code:
dd if=/dev/sdb of=/dev/sdc

It'll take a while, probably much longer than just doing the setup.

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

Activity: 484
Merit: 500



View Profile
June 10, 2011, 02:10:44 PM
 #351

Sure.  Just plug the working stick in, note which drive it is, then plug the other in, check which drive it is.  Unmount them both.

If the good drive is /dev/sdb and the new drive is /dev/sdc, use this:

Code:
dd if=/dev/sdb of=/dev/sdc

It'll take a while, probably much longer than just doing the setup.

thank u very much! and if i di it via windows?? how to do it there..probably it will be faster then !

"Money needs to be depoliticized, and the time has come for the separation of money and state to be accomplished."
kjj
Legendary
*
Offline Offline

Activity: 1302
Merit: 1026



View Profile
June 10, 2011, 02:16:38 PM
 #352

I think you would need something like Ghost.  Remember that you need to clone the entire block device.

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

Activity: 484
Merit: 500



View Profile
June 10, 2011, 02:28:54 PM
 #353

thats clear ! thx


u thin clonezilla is viable?? 

does it work with nortin ghost?? i have both of them but want to make 100% sure one of them works Cheesy

"Money needs to be depoliticized, and the time has come for the separation of money and state to be accomplished."
kjj
Legendary
*
Offline Offline

Activity: 1302
Merit: 1026



View Profile
June 10, 2011, 03:22:57 PM
 #354

If Ghost treats a USB stick as a generic block device, it should work.  It deals with real hard drives in this way, so I think it would be likely, but I haven't tried it with USB flash drives.

Never used Clonezilla, so I have no idea.

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

Activity: 8
Merit: 0


View Profile
June 10, 2011, 04:30:32 PM
 #355

Awesome. I was able to get this up and running in 10(ish)minutes. I will donate as soon as I actually have a few BTC in my wallet  Grin

i'd like some help tuning the cards and such, but that's another post.

Here's my humble recommendations for LinuxCoin:

1. It'd be cool to have a 'List Devices' option on the Start_Miner menu
2. Maybe make the miners easily available to run from the command line w/o the menu program and w/o root

Other than that, way awesome. Thanks for this!

. . .shelbydz
CoinSpeculator
Sr. Member
****
Offline Offline

Activity: 420
Merit: 250



View Profile
June 10, 2011, 04:37:22 PM
 #356

So windows disk manager in windows 7 doesn't seem to allow you to partition your USB drive with just 1GB.  It's all or nothing...

Anyway, I put together some instructions to do it using diskpart and this website: http://support.microsoft.com/kb/300415

1)  Seach for diskpart (using windows 7 search command). Start it.

2)  You should see this:

DISKPART>

3)  We want to find the usb drive.  type:

"list disk"

It will be fairly obvious which one is the usb (several thousand MB)

4)  Next we need to select one of those disk.  For my computer I wanted disk 1 and typed:

"select disk=1"

5)  Once we have the disk selected we need to look at the partitions. type:

"list partition"

6)  We need to delete all these.  First we must select the partition by typing:

"select partition=n"  (n is whatever partition you want to screw with)

Then we need to make this partition active by typing"

"active"

Once it is active we may delete it by typing:

"delete partition"

A faster way to do all of this is to just clean the entire disk/usb when it is selected.  This can be done by typing:

"clean"

7) Creating a partition is pretty trivial.  Just type:

"create partition primary size=n" (n being the size we desire in MB, I chose 1024 for 1 GB)

check the partitions again by typing:

"list partition"

And it should be there.

I believe you also need to format the USB drive.  I'm not really sure what is best.  I just used FAT32 because it was the default.

After this you can just continue with the instructions in post 217 (http://forum.bitcoin.org/index.php?PHPSESSID=be391a7809c32f5b3f87a193acc32e10&topic=7374.msg136868#msg136868)

Anyway, that's it.  This took me an hour to figure out, hope it was helpful.  If you have any extra bit cents to throw my way I would appreciate it:
15FDs88rwdnvsEwJSf6tcdLEmhimqBFbhX


kjj
Legendary
*
Offline Offline

Activity: 1302
Merit: 1026



View Profile
June 10, 2011, 04:50:16 PM
 #357

6)  We need to delete all these.  First we must select the partition by typing:

"select partition=n"  (n is whatever partition you want to screw with)

Then we need to make this partition active by typing"

"active"

Once it is active we may delete it by typing:

"delete partition"

A faster way to do all of this is to just clean the entire disk/usb when it is selected.  This can be done by typing:

"clean"

Does it really work in this order?  I would expect the active flag to get cleared when the partition is deleted.

I wrote up some notes on this too, including tips for automatic mining startup, but I used a linux box (booted from the CD) for the partitioning step.  It is a real time saver, since you can do it and the ext4 creation at the same time.

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 10, 2011, 06:10:08 PM
 #358

Sorry guys I'm really bogged down with work and compiling the final version of linuxcoin. I will start answering questions once the final version is released. The final version is coming along nicely and will have some great features like a pxe server so you can boot several machines from one USB stick + much more. I'll try and keep everyone posted as I go along.

Its going to be a small wait for the final version as I'm trying to make this as distro like as possible and much more user friendly. I'm looking for people to help out for a cut of the donations. If you have some spare time and would like to make linuxcoin awesome please PM me. Any help is greatly appreciated !!

PS: Thanks guys for all the donations !! 
seeARMS @ Bit-Bank
Copper Member
Newbie
*
Offline Offline

Activity: 62
Merit: 0


View Profile WWW
June 10, 2011, 07:08:50 PM
 #359

I've been playing around with this for a few days and it's been great - able to overclock both my GPUs on my 5970, increase fan speeds, and easily run the miner.

However, I've been encountering one problem - I've been unable to run my computer for longer than a day. It seems every 7 hours or so the GPU locks up and the computer becomes unresponsive. I'm going to try underclocking by 100MHz and see if it gives me the same problem.

Any ideas?

Thanks.
jonnynogood
Newbie
*
Offline Offline

Activity: 39
Merit: 0


View Profile
June 10, 2011, 07:46:32 PM
Last edit: June 10, 2011, 07:57:14 PM by jonnynogood
 #360

can anyone help me with this?


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: 'a1e83b97617e24d438cfc4107fb4f147.elf'


i am using a USB stick, this is the first time i have tried linux and cant figure out how to get the miners started, everythin gelse seems to be working great, it has to be the fastest and easiest install of an OS ever, i just cat get the miners running

is there a GUI to get miners started for linux?  seems insane i have to type in all my account, server, flags, etc.. for each miner every time i want to get this started.  what takes me 10 min of typing in archaic strings of text takes me 1 second in windows  to start up an app.

(i do not want to run windows anymore so i am trying to learn this stuff)

thanks
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 ... 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!