How to setup for Solo?
This is for POOLS that use stratum. Solo means no pool. So pretty much that I am aware of you can't do this solo mining.
you have a lot more control with BFGMiner
tkx for the guide elmohasacoin
tkx for the guide elmohasacoin
Correct. BFGMiner is modular and has more control on almost everything. The mining proxy from Slush is very basic. Its based on KISS(keep it simple stupid). It's very easy to set up. You pretty much set it and forget it. You can't really mess it up.
Is this works with wifi as well >?
with minepeon i am loosing connection, and will not reconnect itself.??
with minepeon i am loosing connection, and will not reconnect itself.??
If your using the cheap usb wireless N adapter that is a known issue. If its not PM me. but here is a work around for that problem.
In SSH
Linux Wifi Tools:
Code:
sudo apt-get install wireless-tools
Wifi Firmware:
Code:
apt-get install ralink-firmware
Settings for adapter:
Code:
iwconfig
Make sure power management is OFF.
Code:
lo no wireless extensions.
eth0 no wireless extensions.
sit0 no wireless extensions.
wlan0 unassociated ESSID:off/any
Mode:Managed Channel=0 Access Point: 00:00:00:00:00:00
Bit Rate=0 kb/s Tx-Power:off
Retry:on RTS thr:off Fragment thr:off
[b]Power Management:off[/b] <---- Make sure it's off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
Time to edit your interface settings:
Code:
sudo nano /etc/network/interfaces
Make sure you have wireless power-off.. This is a example config:
Code:
iface lo inet loopback
iface eth0 inet dhcp
auto wlan0
allow-hotplug wlan0
iface wlan0 inet static
address 192.168.0.20
netmask 255.255.255.0
gateway 192.168.0.1
[b]wireless-power off[/b]
wpa-ssid WLANSIID
wpa-psk WLANPASSWORD
If that doesn't work do this:
Code:
sudo nano /usr/local/bin/wificheck.sh
Copy and past this into it:
Code:
#!/bin/bash
##################################################################
# NOTE: THIS SCRIPT HAS BEEN MODIFIED FROM ITS ORIGINAL VERSION.
# SEE THE BELOW WEB SITE FOR THE ORIGINAL AUTHOR'S SCRIPT:
#
# A Project of TNET Services, Inc
#
# Title: WiFi_Check
# Author: Kevin Reed (Dweeber)
# dweeber.dweebs@gmail.com
# Project: Raspberry Pi Stuff
#
# Copyright: Copyright (c) 2012 Kevin Reed <kreed@tnet.com>
# https://github.com/dweeber/WiFi_Check
#
# Purpose:
#
# Script checks to see if WiFi has a network IP and if not
# restart WiFi
#
# Uses a lock file which prevents the script from running more
# than one at a time. If lockfile is old, it removes it
#
# Instructions:
#
# o Install where you want to run it from like /usr/local/bin
# o chmod 0755 /usr/local/bin/WiFi_Check
# o Add to crontab
#
# Run Every 5 mins - Seems like ever min is over kill unless
# this is a very common problem. If once a min change */5 to *
# once every 2 mins */5 to */2 ...
#
# */5 * * * * /usr/local/bin/WiFi_Check
#
##################################################################
# Settings
# Where and what you want to call the Lockfile
lockfile='/var/run/WiFi_Check.pid'
# Which Interface do you want to check/fix
wlan='wlan0'
# Which address do you want to ping to see if you can connect
pingip='192.168.1.1'
##################################################################
echo
echo "Starting WiFi check for $wlan"
date
echo
# Check to see if there is a lock file
if [ -e $lockfile ]; then
# A lockfile exists... Lets check to see if it is still valid
pid=`cat $lockfile`
if kill -0 &>1 > /dev/null $pid; then
# Still Valid... lets let it be...
#echo "Process still running, Lockfile valid"
exit 1
else
# Old Lockfile, Remove it
#echo "Old lockfile, Removing Lockfile"
rm $lockfile
fi
fi
# If we get here, set a lock file using our current PID#
#echo "Setting Lockfile"
echo $$ > $lockfile
# We can perform check
echo "Performing Network check for $wlan"
/bin/ping -c 2 -I $wlan $pingip > /dev/null 2> /dev/null
if [ $? -ge 1 ] ; then
echo "Network connection down! Attempting reconnection."
/sbin/ifdown $wlan
sleep 5
/sbin/ifup --force $wlan
else
echo "Network is Okay"
fi
# Check is complete, Remove Lock file and exit
#echo "process is complete, removing lockfile"
rm $lockfile
exit 0
##################################################################
# End of Script
Give the file chmod of 755:
Code:
sudo chmod 755 /usr/local/bin/wificheck.sh
Make sure the settings are correct for your network and adapter.
Time to make it a cron job.
Code:
sudo crontab -e
Add
Code:
* * * * * /usr/local/bin/wificheck.sh
Code:
Ctrl-O
Code:
Ctrl-X
Let me know what happens.