Bitcoin Forum
May 01, 2024, 01:00:14 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: broke my avalon controller and can't find cgminer anywhere  (Read 316 times)
deusopus (OP)
Jr. Member
*
Offline Offline

Activity: 56
Merit: 1


View Profile WWW
March 29, 2024, 03:51:40 AM
 #1

i accidentally broke my raspberry pi controller for my avalon miners trying to direct them to a different pool. now the disk is corrupt and i can't find cgminer anywhere anyway. can someone help please? any alternatives are welcome.
1714525214
Hero Member
*
Offline Offline

Posts: 1714525214

View Profile Personal Message (Offline)

Ignore
1714525214
Reply with quote  #2

1714525214
Report to moderator
1714525214
Hero Member
*
Offline Offline

Posts: 1714525214

View Profile Personal Message (Offline)

Ignore
1714525214
Reply with quote  #2

1714525214
Report to moderator
I HATE TABLES I HATE TABLES I HA(╯°□°)╯︵ ┻━┻ TABLES I HATE TABLES I HATE TABLES
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
JessieJames13
Jr. Member
*
Offline Offline

Activity: 41
Merit: 5


View Profile
March 29, 2024, 04:47:52 AM
Merited by JayJuanGee (1)
 #2

i accidentally broke my raspberry pi controller for my avalon miners trying to direct them to a different pool. now the disk is corrupt and i can't find cgminer anywhere anyway. can someone help please? any alternatives are welcome.

What about downloading official avalon firmware and updating?

https://www.canaan.io/supports/
deusopus (OP)
Jr. Member
*
Offline Offline

Activity: 56
Merit: 1


View Profile WWW
March 29, 2024, 05:27:42 AM
 #3

i accidentally broke my raspberry pi controller for my avalon miners trying to direct them to a different pool. now the disk is corrupt and i can't find cgminer anywhere anyway. can someone help please? any alternatives are welcome.

What about downloading official avalon firmware and updating?

https://www.canaan.io/supports/

that's for windows. the controllers i was running had openwrt on them and cgminer.
philipma1957
Legendary
*
Online Online

Activity: 4102
Merit: 7821


'The right to privacy matters'


View Profile WWW
March 29, 2024, 03:11:31 PM
 #4

i accidentally broke my raspberry pi controller for my avalon miners trying to direct them to a different pool. now the disk is corrupt and i can't find cgminer anywhere anyway. can someone help please? any alternatives are welcome.

i might have an raspberry pi for the model 9

what model do you have.

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
deusopus (OP)
Jr. Member
*
Offline Offline

Activity: 56
Merit: 1


View Profile WWW
March 29, 2024, 07:26:12 PM
 #5

i accidentally broke my raspberry pi controller for my avalon miners trying to direct them to a different pool. now the disk is corrupt and i can't find cgminer anywhere anyway. can someone help please? any alternatives are welcome.

i might have an raspberry pi for the model 9

what model do you have.

i have four avalon 821s. there is a guy on telegram that has a firmware image that i can flash to a sd card but its like 400 bucks for his custom firmware. it seems like there should be a free solution somewhere.
NotFuzzyWarm
Legendary
*
Online Online

Activity: 3612
Merit: 2509


Evil beware: We have waffles!


View Profile
March 29, 2024, 08:21:51 PM
Last edit: March 29, 2024, 09:23:39 PM by NotFuzzyWarm
Merited by philipma1957 (3), ABCbits (3)
 #6

A8xx 'custom firmware'Huh? SCREW THAT! $400!! Even more screw that! Sounds like a typical Telegram scam...
The Avalon A6xx-A9xx firmware/software already allows you to tweak a myriad of things using the Cgminer API and the More Options box.

I poked around the bookmarked links I have for the Avalon's firmware/software and it seems that Canaan has taken down their pages.
I still have my old 821's so let me find my backup images for them and I can mail you a sdcard with them. Free.

One thing to keep in mind is that the miner firmware (.mcs file) version MUST match the OpenWrT software version. If I can find them I'll DM you for mailing address.

- For bitcoin to succeed the community must police itself -    My info useful? Donations welcome! 1FuzzyWc2J8TMqeUQZ8yjE43Rwr7K3cxs9
 -Sole remaining active developer of cgminer, Kano's repo is here
-Support Sidehacks miner development. Donations to:   1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
DaveF
Legendary
*
Offline Offline

Activity: 3458
Merit: 6254


Crypto Swap Exchange


View Profile WWW
March 29, 2024, 08:50:54 PM
Merited by ABCbits (3), NotFuzzyWarm (2)
 #7

Did you look here: https://download.canaan-creative.com/avalon821/openwrt/
It has the full firmware for the RPi which is what the avalon controller is.
Depending on what version of the controller it may be a Pi 1 or 2 or 3

But you should be able to flash a new SD card and be fine.

-Dave

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
NotFuzzyWarm
Legendary
*
Online Online

Activity: 3612
Merit: 2509


Evil beware: We have waffles!


View Profile
March 29, 2024, 08:55:08 PM
Last edit: March 29, 2024, 09:25:54 PM by NotFuzzyWarm
 #8

That's ^^ one of the pages I was looking for! Now bookmarked.
From that page you can click on ../ to get to the firmware .mcs files. Keep clicking it to go higher up for their other miners.
The most recent version of the .mcs and OpenWrT.img files I have are March and April 2018.

edit: Link to my post for Avalon settings I've used

- For bitcoin to succeed the community must police itself -    My info useful? Donations welcome! 1FuzzyWc2J8TMqeUQZ8yjE43Rwr7K3cxs9
 -Sole remaining active developer of cgminer, Kano's repo is here
-Support Sidehacks miner development. Donations to:   1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
deusopus (OP)
Jr. Member
*
Offline Offline

Activity: 56
Merit: 1


View Profile WWW
March 29, 2024, 11:09:06 PM
 #9

A8xx 'custom firmware'Huh? SCREW THAT! $400!! Even more screw that! Sounds like a typical Telegram scam...
The Avalon A6xx-A9xx firmware/software already allows you to tweak a myriad of things using the Cgminer API and the More Options box.

I poked around the bookmarked links I have for the Avalon's firmware/software and it seems that Canaan has taken down their pages.
I still have my old 821's so let me find my backup images for them and I can mail you a sdcard with them. Free.

One thing to keep in mind is that the miner firmware (.mcs file) version MUST match the OpenWrT software version. If I can find them I'll DM you for mailing address.


right on dude
here's my email m5ckn0vt@duck.com
deusopus (OP)
Jr. Member
*
Offline Offline

Activity: 56
Merit: 1


View Profile WWW
March 29, 2024, 11:31:01 PM
Last edit: March 29, 2024, 11:41:08 PM by deusopus
 #10

Did you look here: https://download.canaan-creative.com/avalon821/openwrt/
It has the full firmware for the RPi which is what the avalon controller is.
Depending on what version of the controller it may be a Pi 1 or 2 or 3

But you should be able to flash a new SD card and be fine.

-Dave


so i flashed the sd card with this image https://download.canaan-creative.com/avalon821/openwrt/20191114/rpi3-modelb/

now what? sorry im a little slow

edit:
i found the packages and there is a cgminer in there but its not letting me upload it to the openwrt install on the raspberry pi because it says:

Quote
Collected errors:
 * pkg_hash_fetch_best_installation_candidate: Packages for cgminer found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package cgminer.
NotFuzzyWarm
Legendary
*
Online Online

Activity: 3612
Merit: 2509


Evil beware: We have waffles!


View Profile
March 29, 2024, 11:56:36 PM
 #11

You use an imaging tool such as RasPi's own or Win32Diskimager to burn the img files onto the sd card. It creates the bootable disk image on the card and auto runs the LuCi interface to cgminer & everything else.

Its default address is 192.168.0.100 Initially, change is the IP address to what you want, either a static one or use DHCP and let your router figure it out. Save & apply. If you used DHCP look for what address the router assigned to it and go there. Enter your user info, save & apply again and you should be in business.

- For bitcoin to succeed the community must police itself -    My info useful? Donations welcome! 1FuzzyWc2J8TMqeUQZ8yjE43Rwr7K3cxs9
 -Sole remaining active developer of cgminer, Kano's repo is here
-Support Sidehacks miner development. Donations to:   1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
deusopus (OP)
Jr. Member
*
Offline Offline

Activity: 56
Merit: 1


View Profile WWW
March 30, 2024, 12:51:15 AM
 #12

You use an imaging tool such as RasPi's own or Win32Diskimager to burn the img files onto the sd card. It creates the bootable disk image on the card and auto runs the LuCi interface to cgminer & everything else.

Its default address is 192.168.0.100 Initially, change is the IP address to what you want, either a static one or use DHCP and let your router figure it out. Save & apply. If you used DHCP look for what address the router assigned to it and go there. Enter your user info, save & apply again and you should be in business.

i get that part. but there are a lot of images to choose from and cgminer is a separate package that you have to install after you flash img file. right? is there a certain one that has cgminer included?

these are the openwrt images https://download.canaan-creative.com/avalon821/openwrt/

and then you have cgminer in the packages directory within the different release dates of openwrt...
deusopus (OP)
Jr. Member
*
Offline Offline

Activity: 56
Merit: 1


View Profile WWW
March 30, 2024, 01:29:03 AM
Last edit: March 30, 2024, 02:55:39 AM by deusopus
 #13

edit:

i got the image burned and flashed to the sd card and im able to access it over ethernet and adjust the settings but i don't i have it set right because my miners just sit there and idle and then power cycle and then go back to idle.... can somebody please walk me through this or show me a thread where this is done? thanks
deusopus (OP)
Jr. Member
*
Offline Offline

Activity: 56
Merit: 1


View Profile WWW
March 30, 2024, 05:15:11 AM
 #14

https://youtu.be/YMr9G21jbUM?si=zqXo4GaXom56vfme
DaveF
Legendary
*
Offline Offline

Activity: 3458
Merit: 6254


Crypto Swap Exchange


View Profile WWW
March 30, 2024, 10:05:09 AM
 #15

Did you make sure the firmware in the miner is the same as firmware you are now running on your controller?

One thing to keep in mind is that the miner firmware (.mcs file) version MUST match the OpenWrT software version. If I can find them I'll DM you for mailing address.

Do you remember the version you were running before?

What does it say in your log? Any errors or other information?

-Dave

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
deusopus (OP)
Jr. Member
*
Offline Offline

Activity: 56
Merit: 1


View Profile WWW
March 30, 2024, 02:27:10 PM
 #16

no i did not. i do not know where to find that information.
deusopus (OP)
Jr. Member
*
Offline Offline

Activity: 56
Merit: 1


View Profile WWW
March 30, 2024, 02:53:05 PM
 #17

this is what i have for my openwrt setup checklist....

Code:
uci set wireless.@wifi-iface[0].disabled='0'                    # Ensure the WiFi interface is enabled

uci set wireless.@wifi-iface[0].ssid='xxxxx'                     # Set the SSID to 'xxxxxx'
uci set wireless.@wifi-iface[0].key='xxxxxxxxxxxx'               # Set the WiFi key to 'xxxxxxxxxxxxx'
uci set wireless.@wifi-iface[0].encryption='psk2'                # Set encryption to WPA2 PSK
uci set wireless.@wifi-iface[0].mode='sta'                       # Set the mode to station (client)
uci set wireless.@wifi-iface[0].network='wwan'                   # Bind the WiFi interface to the 'wwan' network

uci set network.wwan=interface                                   # Define 'wwan' as an interface
uci set network.wwa.proto=dhcp                                  # Set the 'wwan' interface to use DHCP

uci commit wireless                                              # Save the wireless configuration
uci commit network                                               # Save the network configuration
/etc/init.d/network restart                                      # Restart the network service to apply changes
wifi                                                             # Restart the WiFi to apply the new settings



uci set network.wwan.ipaddr='10.3.0.9' # Set the static IP address


uci set network.wwan.netmask='255.255.255.0' # Set the netmask


uci set network.wwan.gateway='10.3.0.1' # Adjust to your network's gateway


uci set network.wwan.dns='208.67.222.222 208.67.220.220' # Set DNS servers to OpenDNS


uci set network.wwan.broadcast='10.3.0.255' # Set the broadcast address


uci set network.wwa[Suspicious link removed]oto='static' # Set the interface to static protocol


uci commit network # Commit the network changes


/etc/init.d/network restart # Restart the network to apply changes


# Basic Pool Configuration
uci set cgminer.default.pool1url='stratum+tcp://stratum.braiins.com:3333'    # Set the URL for the first mining pool
uci set cgminer.default.pool1user='deusopus.worker100'                       # Set the username for the first mining pool
uci set cgminer.default.pool1pw='1234'                                       # Set the password for the first mining pool

# Avalon 821 Specific Settings
uci set cgminer.default.avalon_freq='600'                                    # Set frequency to 600 MHz, as recommended
uci set cgminer.default.avalon_voltage='6500'                                # Set voltage to 6500 mV, proceed with caution

# Power Mode Settings
uci set cgminer.default.power_mode='high'                                    # Set power mode to high for maximum output

# Fan and Temperature Settings
uci set cgminer.default.avalon_temp_target='70'                              # Target temperature set to 70°C
uci set cgminer.default.avalon_fan_speed='80'                                # Fan speed set to 80%

# API Settings for Local Monitoring
uci set cgminer.default.api_allow='W:127.0.0.1'                              # Allow local API access
uci set cgminer.default.api_listen='1'                                       # Enable API listening
uci set cgminer.default.api_port='4028'                                      # Set API port to 4028

# Other Settings
uci set cgminer.default.more_options='--avalon-freq=600,--avalon-voltage=8500,--avalon-fan=50-100,--avalon-temp-target=60,--avalon-auto-tune=1' # Additional command line options
uci set cgminer.default.ntp_enable='disable'                                 # Disable NTP time synchronization

# Save and apply changes
uci commit cgminer







NotFuzzyWarm
Legendary
*
Online Online

Activity: 3612
Merit: 2509


Evil beware: We have waffles!


View Profile
March 30, 2024, 03:00:39 PM
 #18

Here is the link to HaggsFin 821 setup guide https://bitcointalk.org/index.php?topic=2937129.msg30172375#msg30172375

Unless you use WiFi (not recommended) I don't remember having to do anything directly with OpenWrT. I accessed everything through the LuCl GUI/

- For bitcoin to succeed the community must police itself -    My info useful? Donations welcome! 1FuzzyWc2J8TMqeUQZ8yjE43Rwr7K3cxs9
 -Sole remaining active developer of cgminer, Kano's repo is here
-Support Sidehacks miner development. Donations to:   1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
deusopus (OP)
Jr. Member
*
Offline Offline

Activity: 56
Merit: 1


View Profile WWW
March 30, 2024, 05:30:53 PM
 #19

Here is the link to HaggsFin 821 setup guide https://bitcointalk.org/index.php?topic=2937129.msg30172375#msg30172375

Unless you use WiFi (not recommended) I don't remember having to do anything directly with OpenWrT. I accessed everything through the LuCl GUI/

wifi is my only current option at the moment. i finally got it to accept work but the miners are just idling still. im gonna let it go for a while and see what happens. further revision risks total destruction.

these are my settings. do they look okay?




these are the settings i have in the "more options" field...

Code:
--avalon-freq=600,--avalon-voltage=8500,--avalon-fan=50-100,--avalon-temp-target=60,--avalon-auto-tune=1
NotFuzzyWarm
Legendary
*
Online Online

Activity: 3612
Merit: 2509


Evil beware: We have waffles!


View Profile
March 30, 2024, 11:40:06 PM
 #20

Did you follow that link to Hagg's setup & use guide?
Start at section 4)2. which where you start by burning a disk image to the micro SD card. It then takes you through al of the remaining config steps.
The links in his guide for software are shut down so use the files you get from the link DaveF gave.
As for you choice in More Options: Lose the auto tune for one. The miner does it already. For the rest of the commands, use the ones in the forum link I gave earlier where I gives many different settings to use.

- For bitcoin to succeed the community must police itself -    My info useful? Donations welcome! 1FuzzyWc2J8TMqeUQZ8yjE43Rwr7K3cxs9
 -Sole remaining active developer of cgminer, Kano's repo is here
-Support Sidehacks miner development. Donations to:   1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
Pages: [1] 2 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!