Pages:
Author

Topic: BAMT - Easy persistent USB key based linux for dedicated miners/mining farms - page 33. (Read 167468 times)

donator
Activity: 798
Merit: 500

Question: Is there an easy was to figure out which GPU is locking up on a rig? I can still log into the box and can run the top command and can see that a phoenix thread is defunct. But how can I correlate that to a specific GPU?

I usually just run stop_mining and look for the card still stuck at 99% load with atitweak -s.  Doesn't gpumon and mgpumon show 0mhs with 99% load on a locked card though? I haven't locked one up in awhile.
vip
Activity: 1358
Merit: 1000
AKA: gigavps

28" Huh only resolution matters

I'd use a display that rotate,  1080x1920 is almost double.

the resolutions is 1920x1200. They are mounted on the wall but are not able to swivel with the position of the desk at the moment.

Question: Is there an easy was to figure out which GPU is locking up on a rig? I can still log into the box and can run the top command and can see that a phoenix thread is defunct. But how can I correlate that to a specific GPU?
donator
Activity: 1731
Merit: 1008


no..  i just make the window bigger.

I have tried this. My monitors are not large enough. I have 28" monitors. Is this something that can be added into mgpumon?
28" Huh only resolution matters

I'd use a display that rotate,  1080x1920 is almost double.
hero member
Activity: 616
Merit: 506
It would be a fair amount of work.  If you are offering to pay, sure.

What is your price?

$50 usd, or btc equiv
vip
Activity: 1358
Merit: 1000
AKA: gigavps
It would be a fair amount of work.  If you are offering to pay, sure.

What is your price?
hero member
Activity: 616
Merit: 506


no..  i just make the window bigger.

I have tried this. My monitors are not large enough. I have 28" monitors. Is this something that can be added into mgpumon?

It would be a fair amount of work.  If you are offering to pay, sure.
vip
Activity: 1358
Merit: 1000
AKA: gigavps


no..  i just make the window bigger.

I have tried this. My monitors are not large enough. I have 28" monitors. Is this something that can be added into mgpumon?
hero member
Activity: 616
Merit: 506
Is there anyway to scroll down in mgpumon?  Grin

When I pull it up, there are too many computers and cards on the screen so they fall below the bottom of the display.

no..  i just make the window bigger.
vip
Activity: 1358
Merit: 1000
AKA: gigavps
Is there anyway to scroll down in mgpumon?  Grin

When I pull it up, there are too many computers and cards on the screen so they fall below the bottom of the display.
newbie
Activity: 37
Merit: 0
hi,

I intall this on a USB. The desktop does not show automatically, so when i try to "STARTX", i have this error: "bad display name "miner:0" in remove command".

Know why ? Thanks in advance. 
donator
Activity: 1731
Merit: 1008
Ops , This, is what killed all my drives ,,,

config_update_cmd: wget http://dl.dropbox.com/u/xxxxxxx/Mineconf/poolsL.txt -O /etc/bamt/pools
could be.  maybe there is a switch to wget to tell it to only overwrite if the source is different than the existing file.  rsync is good that way.  
wget --timestamping

Code:
"With this option, for each file it intends to download, Wget will check whether a local file of the same name exists. If it does, and the remote file is not newer, Wget will not download it. 
...
As an additional check, Wget will look at the Content-Length header, and compare the sizes; if they are not the same, the remote file will be downloaded no matter what the time-stamp says."
http://www.gnu.org/software/wget/manual/wget.html#fnd-2


I was not even using it / aware of it, was changing my pool via a proxy.

I feel so dumb, ... the numerous times I logged onto my machines to apply change to pools file while I could have just waited 1 min.

me think I have 2-3 Rsync server running on my win machine, too much of pain to configure, I dropped the project.  Kept the wget method as it's easier for miners at remote locations.
hero member
Activity: 616
Merit: 506
Ops , This, is what killed all my drives ,,,

config_update_cmd: wget http://dl.dropbox.com/u/xxxxxxx/Mineconf/poolsL.txt -O /etc/bamt/pools

could be.  maybe there is a switch to wget to tell it to only overwrite if the source is different than the existing file.  rsync is good that way. 

you could also just do it less, by default mother runs every minute.  to change it to, say every 10 minutes:

crontab -e

go to line that looks like:

* * * * *       /opt/bamt/mother

change to:

*/10 * * * *       /opt/bamt/mother

then ctrl-x, y, enter

!aware to cron -> http://en.wikipedia.org/wiki/Cron

donator
Activity: 1731
Merit: 1008
Ops , This, is what killed all my drives prematurely,,,

config_update_cmd: wget http://dl.dropbox.com/u/xxxxxxx/Mineconf/poolsL.txt -O /etc/bamt/pools

An early failed experiment I didn't knew was working.  Effectively overwriting the pool file every minute.
donator
Activity: 1731
Merit: 1008
Got a weird problem, Can't mkdir, (no space left) but one GPU out of 3 is mining perfectly.
I see all gpu in gpumon but only one doing "screen -ls"

This is usually the kind of problem I would diagnose as a stability issue, How can this happen don`t GPUs start the same way and use the same driver files ?

To everyone having problem with BAMT, first try writing to the USB key, if it's can't, it's dead.

That PC stayed on 24/7 for 1 month before two of the miners failed .
hero member
Activity: 616
Merit: 506
...so I guess I'll have to change over to Linuxcoin, which thankfully does see the wireless adapter.

Not a bad plan, probably the easiest way to go.

Since bamt and linuxcoin (last i checked) are both just Debian with some stuff added on, anything that can be done in one can certainly be done in the other.  Even if they weren't the same distribution this would be true, but since they are it is easier.

For instance, all of the bamt scripts and tools will run fine on a linuxcoin machine.  Any of the various software packages you find in a linuxcoin machine could be installed on bamt.  Any networking that works in linuxcoin can work in bamt as well.  However, doing any of these things will require some amount of time and skill, and that is probably why nobody does them much Smiley

The goal of bamt is to provide a 60 second install for people who need to deploy lots of rigs.  If you have to spend more than a few minutes on it, it's probably not going to be a good fit for your needs.  If somebody wants to do the work to get wireless stuff working and share it, I'll add to the image.  Otherwise, you'll almost definitely save time by using linuxcoin.
hero member
Activity: 988
Merit: 1000
@The--Captain,

I modified the /etc/init.d/networking file as described in your post--thanks for that info. However, while the wired network still works, if I try to go wireless BAMT still does not see the wireless adapter :-/

I must move my two rigs out of the guest bedroom for company starting tomorrow, so I guess I'll have to change over to Linuxcoin, which thankfully does see the wireless adapter.

Just setup a cheap wireless bridge that can handle dd-wrt - instructions are on their site or search via google
sr. member
Activity: 308
Merit: 251
Maybe this script will help you connect to unsecured / wep encrypted networks.

Code:
#!/bin/bash

wep_secured() {
  echo "Type your network adapter ID and press enter: "
  read  ADAPTER
  echo "Type the essid of your network and press enter: "
  read  NETWORK_ID
  echo "Type your WEP key and press enter: "
  read  WIRELESS_KEY
  ifconfig $ADAPTER
  iwconfig $ADAPTER essid $NETWORK_ID key $WIRELESS_KEY
  dhclient $ADAPTER
}

unsecured() {
  echo "Type your network adapter ID and press enter: "
  read  ADAPTER
  echo "Type the essid of your network and press enter: "
  read  NETWORK_ID
  ifconfig $ADAPTER
  iwconfig $ADAPTER essid $NETWORK_ID
  dhclient $ADAPTER
}

while [ CHOICE != "3" ]
do
clear
echo "Please select an option..."
echo "1 - Connect to a unsecured network"
echo "2 - Connect to a WEP secured network"
echo "3 - Quit"
echo
read -p "Enter a number: " CHOICE
        case "$CHOICE" in
                "1")
                        unsecured
                        ;;
                "2")
                        wep_secured
                        ;;
                "3")
                        exit
                        ;;
        esac
done

Or this one with wpa added Wink this is untested though so might be worth trying it and see how you get on.

Code:
#!/bin/bash

wep_secured() {
  echo "Type your network adapter ID and press enter: "
  read  ADAPTER
  echo "Type the essid of your network and press enter: "
  read  NETWORK_ID
  echo "Type your WEP key and press enter: "
  read  WIRELESS_KEY
  ifconfig $ADAPTER
  iwconfig $ADAPTER essid $NETWORK_ID key $WIRELESS_KEY
  dhclient $ADAPTER
}

unsecured() {
  echo "Type your network adapter ID and press enter: "
  read  ADAPTER
  echo "Type the essid of your network and press enter: "
  read  NETWORK_ID
  ifconfig $ADAPTER
  iwconfig $ADAPTER essid $NETWORK_ID
  dhclient $ADAPTER
}

wpa_secured() {
  echo "Type your network adapter ID and press enter: "
  read  ADAPTER
  echo "Type the essid of your network and press enter: "
  read  NETWORK_ID
  echo "Type your WPA key and press enter: "
  read  WPA_KEY
  echo "ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1
network={
  scan_ssid=0
  ssid="$NETWORK_ID"
  proto=WPA RSN
  key_mgmt=WPA-PSK
  pairwise=CCMP TKIP
  group=CCMP TKIP WEP104 WEP40
  psk=$WPA_KEY
  priority=10
}" >> wpa_supplicant.conf
  wpa_supplicant -Dwext -c ./wpa_supplicant.conf -i$ADAPTER &
  sleep 3
  dhclient $ADAPTER
}

install_dep() {
  apt-get update
  apt-get install wpasupplicant
}

while [ CHOICE != "5" ]
do
clear
echo "Please select an option..."
echo "1 - Connect to a unsecured network"
echo "2 - Connect to a WEP secured network"
echo "3 - Connect to a WPA secured network"
echo "4 - Install wpa_supplicant"
echo "5 - Quit"
echo
read -p "Enter a number: " CHOICE
        case "$CHOICE" in
                "1")
                        unsecured
                        ;;
                "2")
                        wep_secured
                        ;;
                "3")
                        wpa_secured
                        ;;
                "4")
                        install_dep
                        ;;
                "5")
                        exit
                        ;;
        esac
done
hero member
Activity: 616
Merit: 506
Rule of thumb always use sudo with administrative tasks Wink

rule of thumb for BAMT:

be root. always.
sr. member
Activity: 308
Merit: 251
Rule of thumb always use sudo with administrative tasks Wink
full member
Activity: 196
Merit: 100
Oikos.cash | Decentralized Finance on Tron
@The--Captain,

I modified the /etc/init.d/networking file as described in your post--thanks for that info. However, while the wired network still works, if I try to go wireless BAMT still does not see the wireless adapter :-/

I must move my two rigs out of the guest bedroom for company starting tomorrow, so I guess I'll have to change over to Linuxcoin, which thankfully does see the wireless adapter.

Whats the output of

Code:
ifconfig

If you see something like wlan0 you can use the command line to connect to your wireless router ?
Wow, Dr. Green, now you're supporting BAMT as well as Linuxcoin? What a guy!

I'll try ifconfig. Do I need to sudo that command?
Pages:
Jump to: