Bitcoin Forum

Bitcoin => Mining support => Topic started by: mdude77 on September 28, 2017, 05:21:09 PM



Title: AvalonMiner controller using OpenWrt
Post by: mdude77 on September 28, 2017, 05:21:09 PM
Hello, I just got my first AvalonMiner controller off of eBay.  All the instructions I've found on the internet indicate it defaults to 192.168.0.100, and you should see a pretty Avalon Project UI through your browser when connecting to it.

Not so with mine.

Mine was configured with DHCP turned on, so I found it via my router's lease table.

When I connect, I get OpenWrt:

OpenWrt Designated Driver 50019 / LuCI trunk-38010-g851a890647 Release (git-17.114.43691-ffc1d59)

It looks like it has cgminer in it, and is preconfigured to point to kano.is.

Is this a legit firmware, or should I reflash it from canaan's git repository?

Thanks!

M


Title: Re: AvalonMiner controller using OpenWrt
Post by: NotFuzzyWarm on September 28, 2017, 05:26:01 PM
While the version is correct that fact that it was set to DCHP says that yes it has been changed from the factory static IP setting. OpenWRT is the gui that comes up because it is the 'Advanced' one you can switch to from the default Avalon one. Yes, by default the miners are pre-configured to point at Kano and should be using Canaan's standard worker name.

That said - as you rightly suspect/fear who knows if anything else has been changed or added.

Definitely would reflash the SC card with Canaan's official image!
Assuming you have a SD/microSD reader/writer follow Canaan's RasPi Imaging (https://canaan.io/question/how-do-i-connect-an-avalonminer-721-and-avalonminer-controller-including-raspberry-pi-1-2-and-3/) instructions.


Title: Re: AvalonMiner controller using OpenWrt
Post by: mellonballer on September 29, 2017, 03:18:17 AM
I would flash it with firmware directly from the manufacturer just to be sure. You can do it all from the command line
cd /tmp
wget https://firmware-location
mtd -r write filename.bin firmware

You can never be too careful


Title: Re: AvalonMiner controller using OpenWrt
Post by: Haterson915 on December 23, 2017, 02:44:40 AM
OpenWRT is the gui that comes up because it is the 'Advanced' one you can switch to from the default Avalon one.


Brilliant!!  My card came with the software, but all I could see is this OpenWRT interface when I entered the IP address.   Here I am thinking I need to re-flash the card.  But then I read this and switched to the other view and boom!  Avalon interface pops up.

Thanks a mil.