I use BAMT for my mining setup. I recently wanted to use these rigs for VertCoin. Here is how I managed it fairly easily:


cd /home/user
git clone https://github.com/Bufius/vertminer-gpu.git
cd vertminer-gpu
cp /opt/miners/cgminer/ADL_SDK/*.h /home/user/vertminer-gpu/ADL_SDK/
./autogen.sh
CFLAGS="-O2 -Wall -march=native" ./configure
make
make install
mv /opt/miners/cgminer /opt/miners/cgminer-current
mkdir /opt/miners/cgminer
cp -R /home/user/vertminer-gpu/* /opt/miners/cgminer/
ln -s /opt/miners/cgminer/vertminer /opt/miners/cgminer/cgminer
cp /etc/bamt/cgminer.conf /etc/bamt/cgminer.conf.SCRYPT
export DISPLAY=:0
export GPU_USE_SYNC_OBJECTS=1
export GPU_MAX_ALLOC_PERCENT=100

Now write to /etc/bamt/cgminer.conf and put in your correct settings. On my R9 280X I use the following to connect to my p2pool node:


{
"pools" : [
{
"url" : "stratum+tcp://vertcoinpool.com:9171",
"user" : "Vwtr2b2RxYxu7gY429H7nbry95nWzgC245+0.001/0.0001",
"pass" : "x"
},
{
"url" : "stratum+tcp://europe.vertcoinpool.com:9171",
"user" : "Vwtr2b2RxYxu7gY429H7nbry95nWzgC245+0.001/0.0001",
"pass" : "x"
}
]
,
"intensity" : "13",
"vectors" : "1",
"worksize" : "256",
"lookup-gap" : "2",
"shaders" : "0",
"api-port" : "4028",
"expiry" : "120",
"gpu-dyninterval" : "7",
"gpu-platform" : "0",
"gpu-threads" : "2",
"gpu-engine" : "1020",
"gpu-memclock" : "1500",
"gpu-powertune" : "-20",
"thread-concurrency" : "8191",
"log" : "5",
"no-pool-disable" : true,
"queue" : "1",
"scan-time" : "60",
"shares" : "0",
"kernel-path" : "/usr/local/bin"
}

Now to get started.

service mine restart

And use

screen -r

to see how you’re doing.

You can use my p2pool node at www.vertcoinpool.com for mining VertCoin (VTC) on the p2pool network.

Copied from: https://litecointalk.org/index.php?topic=2542.0

Running with all ATI Cards, most of this guide can be used for any linux

Download: (x86!)
Catalyst 13.4
http://support.amd.com/de/gpudownload/linux/Pages/radeon_linux.aspx?type=2.4.1&product=2.4.1.3.42&lang=English

APP-SDK 2.8
http://developer.amd.com/tools/heterogeneous-computing/amd-accelerated-parallel-processing-app-sdk/downloads/

and ADL 5.0
http://developer.amd.com/tools/graphics-development/display-library-adl-sdk/

Uninstall current driver (might not be necessary)

apt-get update
apt-get install ftpd
/usr/share/ati/fglrx-uninstall.sh --force
coldreboot

FTP catalyst driver to /tmp/

cd /tmp
unzip amd-catalyst-13.4-linux-x86.x86_64.zip
chmod +x amd-catalyst-13.4-linux-x86.x86_64.run
./amd-catalyst-13.4-linux-x86.x86_64.run --force
aticonfig --adapter=all --initial
coldreboot

FTP app-sdk to /tmp/

cd /tmp
tar xfvz AMD-APP-SDK-v2.8-lnx32.tgz
chmod +x Install-AMD-APP.sh
./Install-AMD-APP.sh
rm -rf /opt/AMD-APP-SDK-v2.4-lnx32/
coldreboot

FTP adl include/ folder to /tmp/


ln -sf /opt/AMDAPP/include/CL /usr/include
ln -sf /opt/AMDAPP/lib/x86/* /usr/lib/
ldconfig

cd /opt/miners
rm -rf cgminer
git clone https://github.com/ckolivas/cgminer.git
cp /tmp/include/* cgminer/ADL_SDK/
cd cgminer
./autogen.sh

CFLAGS="-O2 -Wall -march=native -I/usr/include/CL" LDFLAGS="-L/usr/lib" ./configure --enable-scrypt
make

and done 8)

Run:


export DISPLAY=:0
export GPU_USE_SYNC_OBJECTS=1
export GPU_MAX_ALLOC_PERCENT=100
./cgminer -n

to check if your card is listed and everything went as planned…

Add these into /etc/init.d/mine

export DISPLAY=:0
export GPU_USE_SYNC_OBJECTS=1
export GPU_MAX_ALLOC_PERCENT=100

To resize a disk I had to use Carbon Copy Cloner, cloning the existing disk to another drive, then booting up in to it.

1. VMWare Edit Settings on VM you want to change
2. Add 2nd hard drive with new primary partition size you want
3. Restart the VM to pick up the new drive
4. Open Disk Utility select new hard drive and partition as GUID
5. Run CCC and copy old hard drive to new one. You will be prompted and asked if you would like to create a recovery drive. Select YES if you want to use this feature.
6. Run Systems Preferences and change startup disk to new one and restart VM (confirm that it works)
7. Un-mount old hard drive
8. WMWare Edit Settings remove the old hard drive.
9. Power cycle the VM. And then finally delete the old drive from disk.

This did the trick for me.

I need to connect to a VNC server but do not have a firewall rule to allow that traffic by default.

I do however have an OpenSSH server running which I can connect to through the firewall. To achieve this I issue the following command on my local mac osx in a terminal window

ssh -L 5900:[internal server IP]:5900 username@my-remote-server-ipaddress

After it prompts for a password I then issue the following in Finder -> Go

vnc://127.0.0.1:5900

Connecting to my self on port 5900 forwards to the remote server, and then on to the internal IP. I can then login to the VNC Server as usual.

For a short time I’m having to use a Technicolor TF582n FTTC router whilst I rule out a hardware issue affecting my fibre connection.

THe DNS servers picked up by default don’t tend to be that great, so I prefer to use Google DNS servers. Here’s how I changed the addresses quickly via a telnet session.

Taken from:
http://www.petecooper.org/tutorials/changing-dns-servers-on-a-technicolor-tg582n-fttc

dns server route list
dns server route flush
dns server route add dns=8.8.8.8 metric=10 intf=Internet
dns server route add dns=8.8.8.8 metric=10 intf=Internet
dns server route list

if happy

saveall

No need to reboot the router.

I often need to export from Excel to a CSV and Excel cannot naively export with quote delimiters.

This handy macro does the trick:

http://support.microsoft.com/kb/291296/en-us

Sub QuoteCommaExport()
' Dimension all variables.
Dim DestFile As String
Dim FileNum As Integer
Dim ColumnCount As Integer
Dim RowCount As Integer

' Prompt user for destination file name.
DestFile = InputBox("Enter the destination filename" _
& Chr(10) & "(with complete path):", "Quote-Comma Exporter")

' Obtain next free file handle number.
FileNum = FreeFile()

' Turn error checking off.
On Error Resume Next

' Attempt to open destination file for output.
Open DestFile For Output As #FileNum

' If an error occurs report it and end.
If Err <> 0 Then
MsgBox "Cannot open filename " & DestFile
End
End If

' Turn error checking on.
On Error GoTo 0

' Loop for each row in selection.
For RowCount = 1 To Selection.Rows.Count

' Loop for each column in selection.
For ColumnCount = 1 To Selection.Columns.Count

' Write current cell's text to file with quotation marks.
Print #FileNum, """" & Selection.Cells(RowCount, _
ColumnCount).Text & """";

' Check if cell is in last column.
If ColumnCount = Selection.Columns.Count Then
' If so, then write a blank line.
Print #FileNum,
Else
' Otherwise, write a comma.
Print #FileNum, ",";
End If
' Start next iteration of ColumnCount loop.
Next ColumnCount
' Start next iteration of RowCount loop.
Next RowCount

' Close destination file.
Close #FileNum
End Sub