Back online...
I mean i cant edit. I tried vi the file but then i cant do anything else
How do i edit?
Well, actually forcing linux noob to use vi is a well known method of generating random keystrokes (its a hermetic joke ;-).
I'm advanced linux user, so I am able to close vi without that (its autoirony).
Try to use
nano editor (its actual advice). Should work nowdays (pros of vi is compability with every wickest console).
1.Do i really have to change the catalog that this stores the log files?
Yes, unless patch
/home/arkhebuz/datacoin exist on your system. If not, you will get only errors... You should store logs in a separate catalog for clarity.
2.What about the network interface...
i am confused
You should have folder in
/sys/class/net catalog, named like your network interface (using linux convention, look here for a second
http://rhinoceros.hubpages.com/hub/Arch-Linux-Network-Setup-for-Beginners under "Available Network Interfaces"). There are all accesible network interfaces there in fact, loopback too. You can view them just using
ls /sys/class/net (paste here the output if you still don't know wtf is this).
3. 4. 5. How do i edit !?
Have you ever looked at the code? I guess not, because changing sleeptime is very easy and intuitive I think... (Hint - there are important comments there too)
However you might still have problems with 4&5, you need to edit in script everything what is NOT bolded here:
./primeminer -poolip=$ip -poolport=$port -poolshare=6 -pooluser=DMy7cMjzWycNUB4FWz2YJEmh8EET2XDvqz -genproclimit="8" -sievesize="1000000" -sieveextensions="10" -sievepercentage="9" 2>&1 | tee -a $logkat/$filename &
./primeminer is a binary location. If you have it under /home/greekbitcoin/datatacoin/primeminer, then paste there this patch.
-poolshare=6 - no need to change with current pools.
-pooluser=DMy7cMjzWycNUB4FWz2YJEmh8EET2XDvqz - set your own address, lets say xxxxxxxxxxxxxxxxxxxx.
-genproclimit="8" - number of threads to use, lest say 2.
-sievesize="1000000" -sieveextensions="10" -sievepercentage="9" - well, cut this three out
So, you end up with:
/home/greekbitcoin/datatacoin/primeminer -poolip=$ip -poolport=$port -poolshare=6 -pooluser=xxxxxxxxxxxxxxxxxxxx -genproclimit="2" 2>&1 | tee -a $logkat/$filename &(you can view sourcecode online: https://github.com/arkhebuz/datawatch/blob/master/datawatch.sh)