# --------------------------------------------------------
# Router Upgrade Check Script 1.1
#  Neo : www.routertech.org
#
# Please change the host IP, login and password to suit
# your router. If your router requires the SHELL command
# please follow the instructions below
# --------------------------------------------------------

HOST 192.168.1.1
WAIT "login"
SEND "root\n"
WAIT "password"
SEND "Admin\n"

# Comment-out the following WAIT line, if your router requires
# the SHELL command to enable the shell

WAIT "#"

# If your router requires the SHELL command to enable the shell
# uncomment the following 4 lines: 

# WAIT "cli"
# DELAY 3
# SEND "shell\n"
# WAIT "#"

# --- Do NOT change any of the text below --- #

SEND "cat /proc/ticfg/env\n"
WAIT "#"
SEND "cat /proc/sys/dev/adam2/environment\n"
WAIT "#"
SEND "cat /proc/version\n"
WAIT "#"
SEND "cat /etc/versions\n"
WAIT "#"
SEND "cat /proc/cpuinfo\n"
WAIT "#"
SEND "cat /proc/avalanche/avsar_ver\n"
WAIT "#"
SEND "cat /proc/interrupts\n"
WAIT "#"
SEND "echo \"logic:status/has_marvell\" | /var/cm_cli_tty\n"
WAIT "#"
SEND "cat /proc/modules\n"
WAIT "#"
SEND "echo \"logic:status/nspver\" | /var/cm_cli_tty\n"
WAIT "#"
SEND "cd /proc/wlan\n"
WAIT "#"
SEND "cd /usr/sbin/wlan\n"
WAIT "#"