deusopus (OP)
Jr. Member
Offline
Activity: 56
Merit: 1
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 29, 2024, 03:51:40 AM |
|
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.
|
|
|
|
JessieJames13
Jr. Member
Offline
Activity: 41
Merit: 5
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 29, 2024, 04:47:52 AM Merited by JayJuanGee (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.
What about downloading official avalon firmware and updating? https://www.canaan.io/supports/
|
|
|
|
deusopus (OP)
Jr. Member
Offline
Activity: 56
Merit: 1
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 29, 2024, 05:27:42 AM |
|
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
Offline
Activity: 4242
Merit: 8497
'The right to privacy matters'
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 29, 2024, 03:11:31 PM |
|
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.
|
|
|
|
deusopus (OP)
Jr. Member
Offline
Activity: 56
Merit: 1
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 29, 2024, 07:26:12 PM |
|
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
Offline
Activity: 3738
Merit: 2667
Evil beware: We have waffles!
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 29, 2024, 08:21:51 PM Last edit: March 29, 2024, 09:23:39 PM by NotFuzzyWarm Merited by philipma1957 (3), ABCbits (3) |
|
A8xx 'custom firmware' ![Huh](https://bitcointalk.org/Smileys/default/huh.gif) ? 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.
|
|
|
|
DaveF
Legendary
Offline
Activity: 3598
Merit: 6580
Crypto Swap Exchange
|
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
|
|
|
|
NotFuzzyWarm
Legendary
Offline
Activity: 3738
Merit: 2667
Evil beware: We have waffles!
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 29, 2024, 08:55:08 PM Last edit: March 29, 2024, 09:25:54 PM by NotFuzzyWarm |
|
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
|
|
|
|
deusopus (OP)
Jr. Member
Offline
Activity: 56
Merit: 1
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 29, 2024, 11:09:06 PM |
|
A8xx 'custom firmware' ![Huh](https://bitcointalk.org/Smileys/default/huh.gif) ? 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
Activity: 56
Merit: 1
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 29, 2024, 11:31:01 PM Last edit: March 29, 2024, 11:41:08 PM by deusopus |
|
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: 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
Offline
Activity: 3738
Merit: 2667
Evil beware: We have waffles!
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 29, 2024, 11:56:36 PM |
|
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.
|
|
|
|
deusopus (OP)
Jr. Member
Offline
Activity: 56
Merit: 1
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 30, 2024, 12:51:15 AM |
|
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
Activity: 56
Merit: 1
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 30, 2024, 01:29:03 AM Last edit: March 30, 2024, 02:55:39 AM by deusopus |
|
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
Activity: 56
Merit: 1
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 30, 2024, 05:15:11 AM |
|
|
|
|
|
DaveF
Legendary
Offline
Activity: 3598
Merit: 6580
Crypto Swap Exchange
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 30, 2024, 10:05:09 AM |
|
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
|
|
|
|
deusopus (OP)
Jr. Member
Offline
Activity: 56
Merit: 1
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 30, 2024, 02:27:10 PM |
|
no i did not. i do not know where to find that information.
|
|
|
|
deusopus (OP)
Jr. Member
Offline
Activity: 56
Merit: 1
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 30, 2024, 02:53:05 PM |
|
this is what i have for my openwrt setup checklist.... 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
|
|
|
|
|
deusopus (OP)
Jr. Member
Offline
Activity: 56
Merit: 1
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 30, 2024, 05:30:53 PM |
|
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? ![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.postimg.cc%2FTwYPPq1P%2FScreenshot-from-2024-03-30-10-37-40.png&t=665&c=ZwZAcXPc5VehHA) these are the settings i have in the "more options" field... --avalon-freq=600,--avalon-voltage=8500,--avalon-fan=50-100,--avalon-temp-target=60,--avalon-auto-tune=1
|
|
|
|
NotFuzzyWarm
Legendary
Offline
Activity: 3738
Merit: 2667
Evil beware: We have waffles!
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 30, 2024, 11:40:06 PM |
|
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.
|
|
|
|
|