Bitcoin Forum

Alternate cryptocurrencies => Mining (Altcoins) => Topic started by: usao on June 26, 2016, 10:19:09 PM



Title: How to find ip/netmask for A2?
Post by: usao on June 26, 2016, 10:19:09 PM
I bought an  A2, but I cannot locate the default network config.
IP scanners are not seeing anything.
I tried using a network of: 192.168.1.0/24
Is the netmask 24 or 16? Any other ideas?


Title: Re: How to find ip/netmask for A2?
Post by: GenTarkin on June 26, 2016, 11:03:03 PM
if you login to your router and if its a decent one, it will show all connected devices. From there you will have to figure out which one it is.
If it doesnt show up then its most likely not using DHCP and is set statically. Then it becomes a bit trickier, it maybe would be easiest to perform a 'factory defaults reset' if thats an option on the A2.


Title: Re: How to find ip/netmask for A2?
Post by: usao on June 26, 2016, 11:14:15 PM
It does not show up on the router. Im wondering if it even boots the PI.
I was going to try and locate the software image and burn a new SD card and see if that makes any difference, but I hanent located thay yet.


Title: Re: How to find ip/netmask for A2?
Post by: QuintLeo on June 27, 2016, 09:06:07 AM
I had a similar issue with the A2 units I bought from Zoomhash a while back.

 I pulled the SD card, put it on a reader attached to a LINUX system, mounted the card, then poked around in the networking config stuff to find the IP address - which was on a 10.x.x.x subnet as I recall, NOT the 192.168.x.x that Zoomhash CLAIMED the miners were on.

 Default netmask on a 192.168.x x subnet is /24 - you can use /16 under LINUX but that sometimes breaks some "picky" software.


Title: Re: How to find ip/netmask for A2?
Post by: mjgraham on June 28, 2016, 03:11:33 AM
Here is what I do and it can be done in windows if you put the SD card in windows you get a partition that has some files in it, this would be the /boot in the linux machine, look for the cmdline.txt file and open it in write or notepad , should have one line in it something like.

dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait

add this after the console line

ip=192.168.x.x::192.168.x.x:255.255.255.0:rpi:eth0:off

basically it is this
ip=<client-ip>:<server-ip>:<gw-ip>:<netmask>:<hostname>:<device>:<autoconf>

you don't have to use a server-ip that is if you want to net boot the root filesystem so lets say
ip=192.168.1.200::192.168.1.1:255.255.255.0:rpi:eth0:off

should set it to 192.168.1.200 with a gateway if 192.168.1.1 , etc, this overrides anything in the /etc/networking
give that a try, else you are going to need something that will scan MAC addresses if you not on the same subnet normally your not going to scan them

Anyway that is a very handy line to use, I NFS boot all my miners, that way shouldn't have any SD card failures.

But I guess how to find them is to hook a monitor and keyboard to the pi and after it boots login and look in the /etc/network/interfaces file should tell you.




Title: Re: How to find ip/netmask for A2?
Post by: usao on June 28, 2016, 04:29:36 AM
I have tried 2 different rpi images, but neither are bootinh up far enough to get an IP address.

Im wondering if I can remove the PI from the A2 and try to boot the PI with a HDMI video connected so I can see what's actually going on.
This would be with the miner cards detached, so it would just be the PI by itself.

Im trying to see if the physical PI is bad, but can't tell anything if I can't get anything out of the box. That's why im hoping I can see something on the console.

Will the PI boot the A2 image even if I have it removed from the A2?


Title: Re: How to find ip/netmask for A2?
Post by: mjgraham on June 28, 2016, 04:34:22 AM
Yea it will boot , just take it out and hook up your stuff will let you know real quick. if I remember right you may be able to hook the HDMI while it is still in there , pull the top off and hook it up.


Title: Re: How to find ip/netmask for A2?
Post by: usao on June 28, 2016, 10:53:51 PM
Got it booted using HDMI console, does anyone know the unix console login?


Title: Re: How to find ip/netmask for A2?
Post by: mjgraham on June 29, 2016, 12:46:04 AM
yea should be user:pi password: innosilicon
is the norm


Title: Re: How to find ip/netmask for A2?
Post by: usao on June 29, 2016, 12:53:01 AM
Thanks. I got logged in and found the IP address was set to something wierd, not even in my network.
I setup a static IP and am currently re-assembling the A2. Hopefully it will work.


Title: Re: How to find ip/netmask for A2?
Post by: usao on June 29, 2016, 03:30:19 AM
Working now. Thanks for all the advice.
There is one bad blade, but got up to 70MHs eith the other 5.