Bitcoin Forum
April 23, 2024, 12:02:29 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to find ip/netmask for A2?  (Read 516 times)
usao (OP)
Legendary
*
Offline Offline

Activity: 1109
Merit: 1000



View Profile
June 26, 2016, 10:19:09 PM
 #1

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?
1713873749
Hero Member
*
Offline Offline

Posts: 1713873749

View Profile Personal Message (Offline)

Ignore
1713873749
Reply with quote  #2

1713873749
Report to moderator
1713873749
Hero Member
*
Offline Offline

Posts: 1713873749

View Profile Personal Message (Offline)

Ignore
1713873749
Reply with quote  #2

1713873749
Report to moderator
Each block is stacked on top of the previous one. Adding another block to the top makes all lower blocks more difficult to remove: there is more "weight" above each block. A transaction in a block 6 blocks deep (6 confirmations) will be very difficult to remove.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
GenTarkin
Legendary
*
Offline Offline

Activity: 2450
Merit: 1002


View Profile
June 26, 2016, 11:03:03 PM
 #2

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.

GenTarkin's MOD Kncminer Titan custom firmware! v1.0.4! -- !!NO LONGER AVAILABLE!!
Donations: bitcoin- 1Px71mWNQNKW19xuARqrmnbcem1dXqJ3At || litecoin- LYXrLis3ik6TRn8tdvzAyJ264DRvwYVeEw
usao (OP)
Legendary
*
Offline Offline

Activity: 1109
Merit: 1000



View Profile
June 26, 2016, 11:14:15 PM
 #3

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.
QuintLeo
Legendary
*
Offline Offline

Activity: 1498
Merit: 1030


View Profile
June 27, 2016, 09:06:07 AM
 #4

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.

I'm no longer legendary just in my own mind!
Like something I said? Donations gratefully accepted. LYLnTKvLefz9izJFUvEGQEZzSkz34b3N6U (Litecoin)
1GYbjMTPdCuV7dci3iCUiaRrcNuaiQrVYY (Bitcoin)
mjgraham
Full Member
***
Offline Offline

Activity: 188
Merit: 100


View Profile
June 28, 2016, 03:11:33 AM
 #5

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.



usao (OP)
Legendary
*
Offline Offline

Activity: 1109
Merit: 1000



View Profile
June 28, 2016, 04:29:36 AM
 #6

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?
mjgraham
Full Member
***
Offline Offline

Activity: 188
Merit: 100


View Profile
June 28, 2016, 04:34:22 AM
 #7

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.

usao (OP)
Legendary
*
Offline Offline

Activity: 1109
Merit: 1000



View Profile
June 28, 2016, 10:53:51 PM
 #8

Got it booted using HDMI console, does anyone know the unix console login?
mjgraham
Full Member
***
Offline Offline

Activity: 188
Merit: 100


View Profile
June 29, 2016, 12:46:04 AM
 #9

yea should be user:pi password: innosilicon
is the norm

usao (OP)
Legendary
*
Offline Offline

Activity: 1109
Merit: 1000



View Profile
June 29, 2016, 12:53:01 AM
 #10

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.
usao (OP)
Legendary
*
Offline Offline

Activity: 1109
Merit: 1000



View Profile
June 29, 2016, 03:30:19 AM
 #11

Working now. Thanks for all the advice.
There is one bad blade, but got up to 70MHs eith the other 5.
Pages: [1]
  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!