Pages:
Author

Topic: [FIXED] Avalon URGENT ISSUE: both of my avalon do not work any more (Read 11845 times)

legendary
Activity: 1834
Merit: 1003


If you are not familiar, you'll have plenty of fun trying to master vi first though ;-)
Fun....yes....lots of um fun.  Grin
legendary
Activity: 1834
Merit: 1003
With your collective help I got it going.

Despite following the Wiki's instructions I did not know I had to restart the cgminer process.

Like JohnyJ I assume it would automatically "work" if you just plugged it in. Strangely, even with a hard reset it still didn't work. If I manually reset the process it did pick up the changes.
sr. member
Activity: 336
Merit: 251
Avalon ASIC Team
the easyest way is to flash it without keep settings(you just need te add the pool and user)
the other way if you upgraded the firmware
after you set the password
use winscp and connect to the ip of the avalon using scp connection + user root  + passsword that you set
navigate to folder /etc/init.d/ select cgminer press F4 for edit add ip save
from system stop start process cgminer.

No need, flashing new firmware does NOT overwrite existing settings.
legendary
Activity: 1112
Merit: 1000
had the same problem
if you flash without keep settings you need to change the the cgminer file in  /etc/init.d/ and add "W:127.0.0.1"
https://en.bitcoin.it/wiki/Avalon#20130321

How do I go about doing that? (I don't know the linux system very well)

You don't need to log into the system as root with SSH if you don't feel like it, you can add the W:127.0.0.1 value in
the Cgminer Configuration tab, the bottom field "API Allow"

If you want to do it by hand, then log into the system with SSH as user root, go to /etc/config/
and edit the file cgminer by adding at the end of the file:

Quote
   option api_allow 'W:127.0.0.1'

if you restart cgminer it should pick up the new config values

Check the wiki for instructions

If you are not familiar, you'll have plenty of fun trying to master vi first though ;-)
sr. member
Activity: 388
Merit: 250
the easyest way is to flash it without keep settings(you just need te add the pool and user)
the other way if you upgraded the firmware
after you set the password
use winscp and connect to the ip of the avalon using scp connection + user root  + passsword that you set
navigate to folder /etc/init.d/ select cgminer press F4 for edit add ip save
from system stop start process cgminer.
sr. member
Activity: 249
Merit: 250
had the same problem
if you flash without keep settings you need to change the the cgminer file in  /etc/init.d/ and add "W:127.0.0.1"
https://en.bitcoin.it/wiki/Avalon#20130321

How do I go about doing that? (I don't know the linux system very well)

LuCI Web Upgrade Process
Download a suitable OpenWrt firmware image file
Login to the WebInterface of the router (default: http://192.168.1.1)
Select System ⇒ System ⇒ Custom Files
Select System ⇒ Flash Firmware
Upload the OpenWrt image file you downloaded to your PC at step 1 to your router via LuCI
LuCI will calculate the MD5 checksum of the file, if it's correct, you are green to go
wait until the router comes back online

Edit: Bitsyncom beat me to it lol.
sr. member
Activity: 336
Merit: 251
Avalon ASIC Team
had the same problem
if you flash without keep settings you need to change the the cgminer file in  /etc/init.d/ and add "W:127.0.0.1"
https://en.bitcoin.it/wiki/Avalon#20130321

How do I go about doing that? (I don't know the linux system very well)

http://wiki.openwrt.org/doc/howto/generic.sysupgrade#luci.web.upgrade.process
legendary
Activity: 1834
Merit: 1003
had the same problem
if you flash without keep settings you need to change the the cgminer file in  /etc/init.d/ and add "W:127.0.0.1"
https://en.bitcoin.it/wiki/Avalon#20130321

How do I go about doing that? (I don't know the linux system very well)
sr. member
Activity: 388
Merit: 250
had the same problem
if you flash without keep settings you just need to add the pool and user
if not you need to change the the cgminer file in  /etc/init.d/ and add "W:127.0.0.1"
https://en.bitcoin.it/wiki/Avalon#20130321
hero member
Activity: 798
Merit: 1000
try different pool and/or different protocol?
check all internal connections?
try to change PS?
legendary
Activity: 1834
Merit: 1003
I applied the API allow fix, didn't work.

I reflashed the firmware without saving the previous configuration. It started to hash away on the default settings that come with the firmware.

Soon as I changed the settings to BTCGuild (with stratum) it went right back into the same error.

------------------------

Any ideas?
legendary
Activity: 1834
Merit: 1003
I also find these lines in the Kernel Log:

[   27.800000] br-lan: received packet on eth0 with own address as source address
[   30.800000] br-lan: received packet on eth0 with own address as source address
[   30.830000] br-lan: received packet on eth0 with own address as source address
[   31.030000] br-lan: received packet on eth0 with own address as source address
[  961.170000] br-lan: received packet on eth0 with own address as source address
[ 1090.480000] br-lan: received packet on eth0 with own address as source address
legendary
Activity: 1834
Merit: 1003
I ran into the same problem tonight, it is caused first by 30 minutes of no internet connectivity due to my ISP's problem with their gateway (20 minutes), then cgminer restarted itself several times by cron and eventually entered into a mode that only throw error message like this in status page:

Socket connect failed: Connection refused
Socket connect failed: Connection refused
Socket connect failed: Connection refused
Socket connect failed: Connection refused

After network connection alive again, even a hard restart won't change the cgminer's error, so flash the firmware is the only choice and it fixed the problem for now
I have come across the exact same problem. It won't mine.

Did you flash the firmware without the previous configuration?
legendary
Activity: 1988
Merit: 1012
Beyond Imagination
I ran into the same problem tonight, it is caused first by 30 minutes of no internet connectivity due to my ISP's problem with their gateway (20 minutes), then cgminer restarted itself several times by cron and eventually entered into a mode that only throw error message like this in status page:

Socket connect failed: Connection refused
Socket connect failed: Connection refused
Socket connect failed: Connection refused
Socket connect failed: Connection refused

After network connection alive again, even a hard restart won't change the cgminer's error, so flash the firmware is the only choice and it fixed the problem for now
hero member
Activity: 896
Merit: 532
Former curator of The Bitcoin Museum
Thanks for your sharing.
but not everyone will have this problem, seems you are unlucky. Sad

Shouldn't 297 other people have this problem?
full member
Activity: 120
Merit: 100
legendary
Activity: 1064
Merit: 1000
so what happened, why did the firmware need to be reinstalled/upgraded?

due to early shipment. they release a patch after that particular unit had been shipped.
sr. member
Activity: 379
Merit: 250
Thanks for your sharing.
but not everyone will have this problem, seems you are unlucky. Sad
hero member
Activity: 675
Merit: 507
Freedom to choose
so what happened, why did the firmware need to be reinstalled/upgraded?
legendary
Activity: 1064
Merit: 1000
firmware updated: problem fixed.
Pages:
Jump to: