Post
Topic
Board Hardware
Re: Avalon ASIC users thread
by
smoothrunnings
on 30/10/2013, 11:17:44 UTC
So here is the output from 'more /etc/config/network' on telnet. What IP would I connect to in the browser to get web interface?
Miners been down for 3 days for this "upgrade." If anyone can give me the details to get back online I will send you the equiv of 1 days hashing. Thanks.

Quote
$ telnet 192.168.1.1
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.


config 'interface' 'loopback'
      option 'ifname' 'lo'
      option 'proto' 'static'
      option 'ipaddr' '127.0.0.1'
      option 'netmask' '255.0.0.0'

config 'interface' 'lan'
      option 'ifname' 'eth0'
      option 'type' 'bridge'
      option 'proto' 'static'
      option 'netmask' '255.255.255.0'
      option 'ipaddr' '192.168.0.100'
      option 'gateway' '192.168.0.1'
      option dns '192.168.0.1'
      option broadcast '192.168.0.255'


So I have managed to get failsafe working (thru telnet), but running into problems when trying to ssh.
Quote
root@(none):/# ssh 192.168.1.1 -l root
ssh: Exited: Error connecting: Connection timed out
root@(none):/# ssh 192.168.1.2 -l root
ssh: Exited: Error connecting: Connection refused

Here's the full and very confusing link

http://wiki.openwrt.org/doc/howto/generic.failsafe

But yes, telnet is supposed to work first after a reset before you need ssh.


Hm, if you are logged in on telnet, where are you trying to connect with ssh? i mean, the failsafe is already running on telnet for you to access. and it shows that you are logged in..

I suggest you, when logged in on telnet do:
more /etc/config/network

Show the output here. I assume it is a fixed ip-address you set a while back.
Put your pc on an ip on the same subnet, with that, you will be able to access the web admin using the ip you got from the above command and configure the unit again.


This is the current config of your LAN (wired) connection:

config 'interface' 'lan'
      option 'ifname' 'eth0'
      option 'type' 'bridge'
      option 'proto' 'static'
      option 'netmask' '255.255.255.0'
      option 'ipaddr' '192.168.0.100'
      option 'gateway' '192.168.0.1'
      option dns '192.168.0.1'
      option broadcast '192.168.0.255'

You need to set your computer IP address to 192.168.0.10, subnet 255.255.255.0 and leave everything else blank. Then apply the settings, and make sure your computer and the Avalon are plugged into the same network and then open up IE or Chrome and go to 192.168.0.100 or http://192.168.0.100/ and you should be able to log into your Avalon.

I believe if you have a look at the Avalon Wiki it explains how to log into the Avalon with the default settings.