RTX1200

新しいHWでDD-WRTを入れたら、毎日Rebootする超不安定Routerができあがったので、勢いでRTX1200買った(ぉ
YAで買ったのだが、以前のconfig丸々残ってるんですが・・・ VPNトンネル設定まで(ぷ


それは置いといて(ぉおお
いつものように初期設定とかしてみる


HWリセットで初期化して、Console接続して電源投入

RTX1200 BootROM Ver.1.01
  Copyright (c) 2009 Yamaha Corporation

Press 'Enter' or 'Return' to select a firmware and a configuration.
Default settings :  exec0 and config0

Starting with default settings.
Starting with exec0 and config0 ...

RTX1200 Rev.10.01.22 (Wed Apr 21 16:17:03 2010)
  Copyright (c) 1994-2010 Yamaha Corporation. All Rights Reserved.
  Copyright (c) 1991-1997 Regents of the University of California.
  Copyright (c) 1995-2004 Jean-loup Gailly and Mark Adler.
  Copyright (c) 1998-2000 Tokyo Institute of Technology.
  Copyright (c) 2000 Japan Advanced Institute of Science and Technology, HOKURIKU.
  Copyright (c) 2002 RSA Security Inc. All rights reserved.
  Copyright (c) 1997-2004 University of Cambridge. All rights reserved.
  Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura, All rights reserved.
  Copyright (c) 1995 Tatu Ylonen , Espoo, Finland All rights reserved.
  Copyright (c) 1998-2004 The OpenSSL Project.  All rights reserved.
  Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) All rights reserved.
  Copyright (c) 2006 Digital Arts Inc. All Rights Reserved.
  Copyright (C) 1994-2008 Lua.org, PUC-Rio.
00:a0:de:**:**:**, 00:a0:de:**:**:**, 00:a0:de:**:**:**
Memory 128Mbytes, 3LAN, 1BRI

Firmwareが 10.01.22 と古いのでいつものように最新版にUpdate
それとステータス確認

Password:

RTX1200 Rev.10.01.22 (Wed Apr 21 16:17:03 2010)
  Copyright (c) 1994-2010 Yamaha Corporation. All Rights Reserved.
  Copyright (c) 1991-1997 Regents of the University of California.
  Copyright (c) 1995-2004 Jean-loup Gailly and Mark Adler.
  Copyright (c) 1998-2000 Tokyo Institute of Technology.
  Copyright (c) 2000 Japan Advanced Institute of Science and Technology, HOKURIKU.
  Copyright (c) 2002 RSA Security Inc. All rights reserved.
  Copyright (c) 1997-2004 University of Cambridge. All rights reserved.
  Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura, All rights reserved.
  Copyright (c) 1995 Tatu Ylonen , Espoo, Finland All rights reserved.
  Copyright (c) 1998-2004 The OpenSSL Project.  All rights reserved.
  Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) All rights reserved.
  Copyright (c) 2006 Digital Arts Inc. All Rights Reserved.
  Copyright (C) 1994-2008 Lua.org, PUC-Rio.
00:a0:de:**:**:**, 00:a0:de:**:**:**, 00:a0:de:**:**:**
Memory 128Mbytes, 3LAN, 1BRI
>
> administrator
Password:
#
# show config
# RTX1200 Rev.10.01.22 (Wed Apr 21 16:17:03 2010)
# MAC Address : 00:a0:de:**:**:**, 00:a0:de:**:**:**, 00:a0:de:**:**:**
# Memory 128Mbytes, 3LAN, 1BRI
# main:  RTX1200 ver=b0 serial=********* MAC-Address=00:a0:de:**:**:** MAC-Address=00:a0:de:**:**:** MAC-Address=00:a0:de:**:**:**
# Reporting Date: Feb 21 01:04:13 2014
ip lan1 address 192.168.100.1/24
dhcp service server
dhcp server rfc2131 compliant except remain-silent
dhcp scope 1 192.168.100.2-192.168.100.191/24
#
# show environment
RTX1200 BootROM Ver.1.01
RTX1200 Rev.10.01.22 (Wed Apr 21 16:17:03 2010)
  main:  RTX1200 ver=b0 serial=********* MAC-Address=00:a0:de:**:**:** MAC-Address=00:a0:de:**:**:** MAC-Address=00:a0:de:**:**:**
CPU:   1%(5sec)   0%(1min)   0%(5min)    メモリ: 17% used
実行中ファームウェア: exec0  実行中設定ファイル: config0
デフォルトファームウェア: exec0  デフォルト設定ファイル: config0
起動時刻: 2014/02/21 01:02:16 +09:00
現在の時刻: 2014/02/21 01:04:23 +09:00
起動からの経過時間: 0日 00:02:07
セキュリティクラス レベル: 1, FORGET: ON, TELNET: OFF
筐体内温度(℃): 28
#

loginパスワードの変更

# login password
Old_Password:
New_Password:
New_Password:
#
# save
セーブ中... CONFIG0 終了
#

tftpの許可ホストを設定
デフォルトでDHCP動いてるから、LAN1にPC繋げば 192.168.100.2 に

# tftp host 192.168.100.2
#

Windows7からデフォルトでは tftp clientはインストールされないので
コントロールパネル -> プログラムと機能 -> Windowsの機能の有効化または無効化
ここから tftpクライアントをインストール
(ついでにtelnetクライアントもインストールしておいた)


コマンドプロンプトを開き、RTX1200の Firmwareがあるディレクトリに移動してコマンド実行

> tftp -i 192.168.100.1 put rtx1200.bin exec

Firmwareが転送されUpdateが完了すると自動的に再起動するので待つ

Update exec file receiving... Testing received file... Writing to Nonvolatile memory... done
Restarting ...


RTX1200 BootROM Ver.1.01
  Copyright (c) 2009 Yamaha Corporation

Press 'Enter' or 'Return' to select a firmware and a configuration.
Default settings :  exec0 and config0

Starting with default settings.
Starting with exec0 and config0 ...

RTX1200 Rev.10.01.53 (Mon Sep  9 15:23:58 2013)
  Copyright (c) 1994-2013 Yamaha Corporation. All Rights Reserved.
  Copyright (c) 1991-1997 Regents of the University of California.
  Copyright (c) 1995-2004 Jean-loup Gailly and Mark Adler.
  Copyright (c) 1998-2000 Tokyo Institute of Technology.
  Copyright (c) 2000 Japan Advanced Institute of Science and Technology, HOKURIKU.
  Copyright (c) 2002 RSA Security Inc. All rights reserved.
  Copyright (c) 1997-2010 University of Cambridge. All rights reserved.
  Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura, All rights reserved.
  Copyright (c) 1995 Tatu Ylonen , Espoo, Finland All rights reserved.
  Copyright (c) 1998-2004 The OpenSSL Project.  All rights reserved.
  Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) All rights reserved.
  Copyright (c) 2006 Digital Arts Inc. All Rights Reserved.
  Copyright (C) 1994-2012 Lua.org, PUC-Rio.
  Copyright (c) 1988-1992 Carnegie Mellon University All Rights Reserved.
  Copyright (C) 2004-2007 Diego Nehab. All rights reserved.
  Copyright (c) 2005 JSON.org
00:a0:de:**:**:**, 00:a0:de:**:**:**, 00:a0:de:**:**:**
Memory 128Mbytes, 3LAN, 1BRI

Password:
RTX1200 Rev.10.01.53 (Mon Sep  9 15:23:58 2013)
  Copyright (c) 1994-2013 Yamaha Corporation. All Rights Reserved.
  Copyright (c) 1991-1997 Regents of the University of California.
  Copyright (c) 1995-2004 Jean-loup Gailly and Mark Adler.
  Copyright (c) 1998-2000 Tokyo Institute of Technology.
  Copyright (c) 2000 Japan Advanced Institute of Science and Technology, HOKURIKU.
  Copyright (c) 2002 RSA Security Inc. All rights reserved.
  Copyright (c) 1997-2010 University of Cambridge. All rights reserved.
  Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura, All rights reserved.
  Copyright (c) 1995 Tatu Ylonen , Espoo, Finland All rights reserved.
  Copyright (c) 1998-2004 The OpenSSL Project.  All rights reserved.
  Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) All rights reserved.
  Copyright (c) 2006 Digital Arts Inc. All Rights Reserved.
  Copyright (C) 1994-2012 Lua.org, PUC-Rio.
  Copyright (c) 1988-1992 Carnegie Mellon University All Rights Reserved.
  Copyright (C) 2004-2007 Diego Nehab. All rights reserved.
  Copyright (c) 2005 JSON.org
00:a0:de:**:**:**, 00:a0:de:**:**:**, 00:a0:de:**:**:**
Memory 128Mbytes, 3LAN, 1BRI
>

セキュリティの為に tftp hostの設定を削除しておく

# show config
# RTX1200 Rev.10.01.53 (Mon Sep  9 15:23:58 2013)
# MAC Address : 00:a0:de:**:**:**, 00:a0:de:**:**:**, 00:a0:de:**:**:**
# Memory 128Mbytes, 3LAN, 1BRI
# main:  RTX1200 ver=b0 serial=********* MAC-Address=00:a0:de:**:**:** MAC-Address=00:a0:de:**:**:** MAC-Address=00:a0:de:**:**:**
# Reporting Date: Feb 21 01:44:25 2014
login password *
ip lan1 address 192.168.100.1/24
tftp host 192.168.100.2
dhcp service server
dhcp server rfc2131 compliant except remain-silent
dhcp scope 1 192.168.100.2-192.168.100.191/24
#

削除実行

# no tftp host
#
# show config
# RTX1200 Rev.10.01.53 (Mon Sep  9 15:23:58 2013)
# MAC Address : 00:a0:de:**:**:**, 00:a0:de:**:**:**, 00:a0:de:**:**:**
# Memory 128Mbytes, 3LAN, 1BRI
# main:  RTX1200 ver=b0 serial=********* MAC-Address=00:a0:de:**:**:** MAC-Address=00:a0:de:**:**:** MAC-Address=00:a0:de:**:**:**
# Reporting Date: Feb 21 01:44:36 2014
login password *
ip lan1 address 192.168.100.1/24
dhcp service server
dhcp server rfc2131 compliant except remain-silent
dhcp scope 1 192.168.100.2-192.168.100.191/24
#

後は LAN1のIPを作業用IPにして、DHCP Server機能を殺して一旦おわりっと

# ip lan1 address 192.168.0.100/24
# dhcp service relay
#
# show config
# RTX1200 Rev.10.01.53 (Mon Sep  9 15:23:58 2013)
# MAC Address : 00:a0:de:**:**:**, 00:a0:de:**:**:**, 00:a0:de:**:**:**
# Memory 128Mbytes, 3LAN, 1BRI
# main:  RTX1200 ver=b0 serial=********* MAC-Address=00:a0:de:**:**:** MAC-Address=00:a0:de:**:**:** MAC-Address=00:a0:de:**:**:**
# Reporting Date: Feb 21 02:02:19 2014
login password *
ip lan1 address 192.168.0.*/24
dhcp service relay
dhcp server rfc2131 compliant except remain-silent
dhcp scope 1 192.168.100.2-192.168.100.191/24
#
# save
セーブ中... CONFIG0 終了
#

これで自宅のネットワークにつなぎこんで、telnet で設定できるように
(デフォルトだと、telnet OK / ssh NG)

RTX1200色々

HWリセット(物理)
microSD + USB + DOWNLOAD を同時押ししながら電源投入
HWリセット(コマンド)
# cold start (管理者パスワード要)


RTXシリーズ デフォルトパスワード
w,lXlma (Console Only)

デフォルトパスワードはconfigで禁止することもできるので、禁止されているとログイン不可