FANDOM


(Manually updating CGMiner)
(Change Log)
 
(45 intermediate revisions by 11 users not shown)
Line 3: Line 3:
   
 
Litecoin-BAMT is a USB-bootable linux distro designed specifically for mining. It is a fork of the original BAMT project that supports scrypt mining and has been tested with Litecoin and other scrypt coins like Feathercoin.
 
Litecoin-BAMT is a USB-bootable linux distro designed specifically for mining. It is a fork of the original BAMT project that supports scrypt mining and has been tested with Litecoin and other scrypt coins like Feathercoin.
  +
  +
!!THIS PAGE IS ONLY INTENDED FOR OFFICIAL LITECOIN-BAMT VERSIONS!!
  +
  +
'''Visit the official Litecoin BAMT discussion thread here: https://litecointalk.org/index.php?topic=2924.0'''
   
   
Line 12: Line 16:
   
 
The "Litecoint BAMT Version" refers to the features in the change log.
 
The "Litecoint BAMT Version" refers to the features in the change log.
  +
  +
Please note, only officially released Litecoin-BAMT releases are supported by our community, we are unable to support the third party hacks created by just anyone off the street. Thanks!
 
{| border="0" cellpadding="1" cellspacing="1" class="article-table" style="width: 600px; height: 500px;"
 
{| border="0" cellpadding="1" cellspacing="1" class="article-table" style="width: 600px; height: 500px;"
 
|-
 
|-
 
! scope="col"|Litecoin BAMT Version
 
! scope="col"|Litecoin BAMT Version
! scope="col"|7xxx Series (Catalyst 12.8)
+
! scope="col"|7xxx Series 
! scope="col"|R9 Series (Catalyst 13.11)
+
! scope="col"|R7/R9 Series 
! scope="col"|
+
|-
R9 Series (Catalyst 14.1)
+
|1.6.2
  +
|n/a
  +
|13.12 [https://mega.co.nz/#!jMN00JSY!HXLBKudwrV8rod5h6B1WDaLmQEUqYWmQ_bSiIBVhxLk download]
 
|-
 
|-
 
|1.5
 
|1.5
 
|n/a
 
|n/a
|n/a
+
|14.1 [https://mega.co.nz/#!iIkGXBCK!m0MM-wgjrlD_YMq0zv9svBJdoLe2cXJHqzh6PfA3jaw download]
|
 
[https://mega.co.nz/#!iIkGXBCK!m0MM-wgjrlD_YMq0zv9svBJdoLe2cXJHqzh6PfA3jaw download]
 
 
|-
 
|-
 
|1.4.1
 
|1.4.1
 
|n/a
 
|n/a
|n/a
+
|14.1 [https://litecointalk.org/index.php?topic=2924.msg116877#msg116877 download]
|
 
[https://litecointalk.org/index.php?topic=2924.msg116877#msg116877 download]
 
 
|-
 
|-
 
|1.4
 
|1.4
 
|
 
|
[https://mega.co.nz/#!yUUnkATY!qwpcS_NU4sDXFNaL72v-okFvbQPBd1-CEkzR7kLKh88 download]
+
12.8 [https://mega.co.nz/#!yUUnkATY!qwpcS_NU4sDXFNaL72v-okFvbQPBd1-CEkzR7kLKh88 download]
|n/a
 
 
|n/a
 
|n/a
 
|-
 
|-
Line 36: Line 42:
 
|n/a
 
|n/a
 
|
 
|
[https://mega.co.nz/#!LMUUDSAZ!DtL-eTVbHU4Q9PEfH6YonninqLBNjJu-J8nGPlrzi8I download]
+
13.11 [https://mega.co.nz/#!LMUUDSAZ!DtL-eTVbHU4Q9PEfH6YonninqLBNjJu-J8nGPlrzi8I download]
|n/a
 
 
|-
 
|-
 
|1.2
 
|1.2
 
|n/a
 
|n/a
 
|
 
|
[https://mega.co.nz/#!qZ1TXRxD!Mcw8pkrP4SQE8D7bIfmZZEola01hxVFtbOBg6Cr3Zeo download]
+
13.11 [https://mega.co.nz/#!qZ1TXRxD!Mcw8pkrP4SQE8D7bIfmZZEola01hxVFtbOBg6Cr3Zeo download]
|n/a
 
 
|-
 
|-
 
|1.1.1
 
|1.1.1
 
|
 
|
[https://mega.co.nz/#!PBtRiRLJ!UVzn2T3u93YT2pqY6sn7BGzmmncyfLbmF3QCDLtDd9s download]
+
12.8 [https://mega.co.nz/#!PBtRiRLJ!UVzn2T3u93YT2pqY6sn7BGzmmncyfLbmF3QCDLtDd9s download]
|n/a
 
 
|n/a
 
|n/a
 
|}
 
|}
 
==='''7xxx Series'''===
 
Supports 7xxx and older radeon cards, but achieves higher hashrates.
 
 
*'''Litecoin BAMT 1.4 (Catalyst 12.8 )'''
 
 
: [https://mega.co.nz/#!yUUnkATY!qwpcS_NU4sDXFNaL72v-okFvbQPBd1-CEkzR7kLKh88 Download]
 
 
: Torrent: magnet:?xt=urn:btih:F75BDC98B827BEC46EF5BC3F4D0C671294A995AD&dn=litecoinbamt_7xxx_1.4.zip
 
 
MD5: 3C73DDFECE9D86BAD1DBDA59240306F1
 
 
 
 
==='''R9 Series'''===
 
supports all radeon cards, including the new R9 series.
 
 
*'''Litecoin BAMT 1.5 (Catalyst 14.1)'''
 
 
: [https://mega.co.nz/#!iIkGXBCK!m0MM-wgjrlD_YMq0zv9svBJdoLe2cXJHqzh6PfA3jaw Download]
 
 
MD5: F9039C6872FBE9504355F8D89C304A87
 
 
 
*'''Litecoin BAMT 1.3 (Catalyst 13.11)'''
 
 
: [https://mega.co.nz/#!LMUUDSAZ!DtL-eTVbHU4Q9PEfH6YonninqLBNjJu-J8nGPlrzi8I Download]
 
 
: Torrent: magnet:?xt=urn:btih:14E7C98FF1B2A43B8AE16F6CBA3BD8014BDF01DF&dn=litecoinbamt_r9_1.3.zip
 
 
MD5: 8903B2EA6F315371ABB1555FDA11A523
 
   
 
==Bugs==
 
==Bugs==
Line 86: Line 61:
   
 
==Change Log==
 
==Change Log==
  +
(1.6.2)
  +
*Disabled the auto restart and fixed a few small security concerns.
  +
*Shrunk image size
  +
  +
(1.6)
  +
*Added new miners!
  +
*-Vertminer 0.5.2 "the kev"
  +
*-Sgminer 4.0.0 "troky" - Scrypt-N Enabled
  +
*-Sgminer 4.1.0 "sph - DarkCoin/QubitCoin/Quark"
  +
*-Cgminer 3.7.2 "kalroth"
  +
*All miners and configs selectable from the bamt.conf file.
  +
*No need to set scrypt type flags inside the bamt.conf file.
  +
*Secondary USB drives now auto mount.
  +
 
(1.5)
 
(1.5)
 
*fixed broken gpumon/mgpumon scripts
 
*fixed broken gpumon/mgpumon scripts
Line 103: Line 92:
 
*support for 6 cards
 
*support for 6 cards
 
*modified scripts which support litecoin mining/monitoring
 
*modified scripts which support litecoin mining/monitoring
 
 
   
 
==Setup==
 
==Setup==
Line 146: Line 133:
 
==='''Manually updating CGMiner'''===
 
==='''Manually updating CGMiner'''===
   
run:
+
'''stop:'''
 
mine stop
 
mine stop
 
 
Line 152: Line 139:
 
 
 
mv cgminer cgminer_old
 
mv cgminer cgminer_old
download/clone new cgminer code to /opt/miners/cgminer:
+
  +
'''download/clone new cgminer code to /opt/miners/cgminer:'''
  +
  +
For CGMiner 3.7.2, the .zip is available [https://github.com/ckolivas/cgminer/archive/v3.7.2.zip here] and the .tar.gz is available [https://github.com/ckolivas/cgminer/archive/v3.7.2.tar.gz here]. Extract its contents to /opt/miners/cgminer.
  +
  +
''for sgminer only:''
 
mkdir cgminer
 
mkdir cgminer
 
 
Line 160: Line 147:
 
 
 
cd ..
 
cd ..
build:
+
'''build:'''
 
cp cgminer_old/ADL_SDK/*.h cgminer/ADL_SDK/
 
cp cgminer_old/ADL_SDK/*.h cgminer/ADL_SDK/
 
 
Line 170: Line 157:
 
 
 
make
 
make
for sgminer only:
+
''for sgminer only:''
 
mv sgminer cgminer
 
mv sgminer cgminer
then run:
+
'''then run:'''
 
mine start
 
mine start
[[Category:Browse]]
 
   
 
==='''Wireless LAN Setup'''===
 
==='''Wireless LAN Setup'''===
Line 223: Line 209:
   
 
1. uninstall old drivers:
 
1. uninstall old drivers:
  +
sudo su
  +
mine stop
 
cd /usr/share/ati
 
cd /usr/share/ati
 
./fglrx-uninstall.sh --force
 
./fglrx-uninstall.sh --force
   
 
2. Download here, www2.ati.com/drivers/linux/amd-driver-installer-catalyst-13.1-linux-x86.x86_64.zip
 
2. Download here, www2.ati.com/drivers/linux/amd-driver-installer-catalyst-13.1-linux-x86.x86_64.zip
<nowiki>wget --referrer=http://www.amd.com http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-13.1-linux-x86.x86_64.zip
+
cd /home/user/Downloads
</nowiki>
+
wget --referer=http://www.amd.com http://www2.ati.com/drivers/linux/amd-catalyst-13.12-linux-x86.x86_64.zip
  +
 
3. unpack,change to driver to be executable and stop xserver:
 
3. unpack,change to driver to be executable and stop xserver:
unzip amd-driver-installer-catalyst-13.1-linux-x86.x86_64.zip
+
unzip amd-catalyst-13.12-linux-x86.x86_64.zip
chmod +x amd-driver-installer-catalyst-13.1-linux-x86.x86_64.run
+
chmod +x amd-catalyst-13.12-linux-x86.x86_64.run
 
service gdm stop
 
service gdm stop
  +
rm amd-catalyst-13.12-linux-x86.x86_64.zip
   
 
4. Install drivers
 
4. Install drivers
./amd-driver-installer-catalyst-13.1-linux-x86.x86_64.run --force
+
./amd-catalyst-13.12-linux-x86.x86_64.run --force
   
 
5. Sync your usb drive
 
5. Sync your usb drive

Latest revision as of 16:13, April 2, 2014

Bamtpool

Litecoin-BAMT is a USB-bootable linux distro designed specifically for mining. It is a fork of the original BAMT project that supports scrypt mining and has been tested with Litecoin and other scrypt coins like Feathercoin.

!!THIS PAGE IS ONLY INTENDED FOR OFFICIAL LITECOIN-BAMT VERSIONS!!

Visit the official Litecoin BAMT discussion thread here: https://litecointalk.org/index.php?topic=2924.0



VersionsEdit

Litecoin BAMT is built with different versions of the AMD Catalyst drivers. It is not advised that you switch driver versions unless you are ready to re-tune your cgminer configurations.

The "Litecoint BAMT Version" refers to the features in the change log.

Please note, only officially released Litecoin-BAMT releases are supported by our community, we are unable to support the third party hacks created by just anyone off the street. Thanks!

Litecoin BAMT Version 7xxx Series  R7/R9 Series 
1.6.2 n/a 13.12 download
1.5 n/a 14.1 download
1.4.1 n/a 14.1 download
1.4

12.8 download

n/a
1.3 n/a

13.11 download

1.2 n/a

13.11 download

1.1.1

12.8 download

n/a

BugsEdit

Please visit the Bugs page to report or get help with a bug you find in BAMT.

Change LogEdit

(1.6.2)

  • Disabled the auto restart and fixed a few small security concerns.
  • Shrunk image size

(1.6)

  • Added new miners!
  • -Vertminer 0.5.2 "the kev"
  • -Sgminer 4.0.0 "troky" - Scrypt-N Enabled
  • -Sgminer 4.1.0 "sph - DarkCoin/QubitCoin/Quark"
  • -Cgminer 3.7.2 "kalroth"
  • All miners and configs selectable from the bamt.conf file.
  • No need to set scrypt type flags inside the bamt.conf file.
  • Secondary USB drives now auto mount.

(1.5)

(1.4.1) (community release by honeybee: https://litecointalk.org/index.php?topic=2924.msg116877#msg116877 )

  • AMD catalyst software Ver.14.1
  • AMD-APP-SDK-v2.9
  • ADL_SDK_6.0
  • Intel´s e1000e network driver

(1.3)

  • drivers for the latest radeon series cards
  • the latest sgminer (4.0.0)
  • support for 6 cards
  • modified scripts which support litecoin mining/monitoring

SetupEdit

Using win32 Disk Imager or dd, write the Litecoin-BAMT image you downloaded to a USB stick (2gb or larger).

Insert the USB stick into your mining rig and power it on. To run without a monitor, shut down first then start the machine with the monitor unplugged. Get the IP of your BAMT machine from your routers client list or from the BAMT desktop and connect to it using "Remote Desktop Connection" (or ssh) with the username 'user' and password 'live'.

Once connected to the BAMT desktop, open cgminer.conf (located in /etc/bamt) to edit the cgminer config:

Step1



To mine on the BAMT p2pool node, change the "user" to your LTC payment address:


Step2


The BAMT p2pool node (http://pool.sgminer.net:9327) features a low fee of 1% (lower than most competing pools), and income from this pool is invested in BAMT development!


Save your new config, and run "Restart mining sessions" to use the new settings:

Step3

What is a cgminer config? [1]

For getting the best hash rate, tweak your config: [2]

For some help with generating a config, try cgEasy

I've included my 620khash 7950 config in cgminer-7950oc.config. Make sure to edit the config the pool entries with your own!


Manually updating CGMinerEdit

stop:

mine stop

cd /opt/miners

mv cgminer cgminer_old

download/clone new cgminer code to /opt/miners/cgminer:

For CGMiner 3.7.2, the .zip is available here and the .tar.gz is available here. Extract its contents to /opt/miners/cgminer.

for sgminer only:

mkdir cgminer

cd cgminer

git clone https://github.com/veox/sgminer.git .

cd ..

build:

cp cgminer_old/ADL_SDK/*.h cgminer/ADL_SDK/

cd cgminer

autoreconf -i

CFLAGS="-O2 -Wall -march=native" ./configure

make

for sgminer only:

mv sgminer cgminer

then run:

mine start

Wireless LAN SetupEdit

Most Atheros chipsets are supported by default. If your Wireless LAN is not working out of the box, you may need to install drivers for it (and the associated firmware, as Debian does not include firmware for licensing reasons.)

If Linux drivers are not available for your chipset, you can try using ndiswrapper which is a container that allows you to use Windows drivers within Linux.

Resources: Aircrack-ng Compatibility Information: [3]


Debian Wi-fi Wiki: [4]

USB Linux Wireless: [5]

How To Compile Your Own Wireless Driver: (filenames and paths vary upon driver)

1. get linux source code from github

git clone --depth 1 git://github.com/raspberrypi/linux.git rpi-linux

2. get firmware from github

git clone --depth 1 git://github.com/raspberrypi/firmware.git rpi-firmware

3. Compile the kernel module (varies upon driver, read the README or INSTALL file usually in the archive!)

cd rpi-linux
make mrproper
zcat /proc/config.gz > .config
make modules_prepare

4. Install the kernel modules (varies upon driver, read the README or INSTALL file usually in the archive!)

cp /path/to/rpi-firmware/extra/Module.symvers .
cd /path/to/rtl-8188eu
CONFIG_RTL8188EU=m make -C /path/to/rpi-linux M=`pwd`
copy 8188eu.ko to /lib/modules/`uname -r`/kernel/driver/net/wireless
depmod -a
modprobe 8188eu

5. Check if the WLAN Interface is showing.

ifconfig
iwconfig


Manually updating Catalyst DriversEdit

1. uninstall old drivers:

sudo su
mine stop
cd /usr/share/ati
./fglrx-uninstall.sh --force

2. Download here, www2.ati.com/drivers/linux/amd-driver-installer-catalyst-13.1-linux-x86.x86_64.zip

cd /home/user/Downloads
wget  --referer=http://www.amd.com http://www2.ati.com/drivers/linux/amd-catalyst-13.12-linux-x86.x86_64.zip

3. unpack,change to driver to be executable and stop xserver:

unzip amd-catalyst-13.12-linux-x86.x86_64.zip
chmod +x amd-catalyst-13.12-linux-x86.x86_64.run
service gdm stop
rm amd-catalyst-13.12-linux-x86.x86_64.zip

4. Install drivers

./amd-catalyst-13.12-linux-x86.x86_64.run --force

5. Sync your usb drive

sync

6. reboot rig

coldreboot

Connect to BAMT RDP from a Linux boxEdit

You need rdesktop to connect to your BAMT rigs xrdp server,

  • Install rdesktop on your computer
sudo apt-get install rdesktop
  • Connect with rdesktop from terminal to your rigs IP with user name: user and password: live
(Type rdesktop in terminal to see more options)
rdesktop -u user -p live 192.168.1.xxx

Task Scheduling in BAMT (Auto-Reboot your Rig!)Edit

add this to the file you open with sudo crontab -e:

01 01 * * 0,4 /usr/bin/somedirectory/somecommand && /usr/bin/somedirectory/somecommand

that will run the specified command at 1 min past 01.00 on sunday and wednesday

VertCoin Mining with BAMTEdit

See the article on reddit:

http://www.reddit.com/r/VertcoinMining/comments/1xyvmr/ [6]

Edit

LTC: LRHxoNPBSVYhQL8u9cvVzdkJo7vvyhBDCE

BTC: 1Fo2iH6MFzDknoxZgSDMpdg3FNRC8w6hiN

IRCEdit

#litecoin-bamt on freenode

Rigs and ConfigsEdit

See the Rigs_and_Configs page for examples of our community BAMT miners and the settings!

Community content is available under CC-BY-SA unless otherwise noted.