WZR-HP-AG300Hが不調(その2)

結局、原因不明ですが一旦復旧させました。
WZR-HP-AG300Hにssh/httpでアクセスできなくなった場合の復旧手順は以下の通り。
(1) WZR-HP-AG300HをLANから切り離す。
(2) WZR-HP-AG300Hの底面のリセットスイッチを押下してリブートする。
(3) 赤ランプが点滅し始めたら底面のリセットスイッチを押しっぱなしにして、赤ランプの点滅速度が速くなったら(failsafeモード)リセットスイッチを離す。
(4) PCを直結する。
(5) PCの~/.ssh/known_hostsの192.168.1.1のエントリーをコメントアウトする。
(6) PCからsshでWZR-HP-AG300Hへログインする。(パスワード不要。)
 # ssh root@192.168.1.1
(7) ssh# mount_root
(8) ssh# vi /etc/config/networkでコンフィグを以下の感じで修正してreboot。
  config interface 'lan'
    option proto 'static'
    option netmask '255.255.xxx.xxx'
    option delegate '0'
    option ipaddr '192.168.xxx.xxx'
    option ifname 'eth0'
    option gateway '192.168.xxx.xxx'
    option broadcast '192.168.xxx.xxx'
    option dns '192.168.xxx.xxx'
    option type 'bridge'

(9) PCの~/.ssh/known_hostsの192.168.1.1のエントリーを元に戻す。

 結局、なぜarpが死んだのか不明ですが、一応回復しました。

その1へ戻る [関連項目] openwrtのupgradeへ行く

カテゴリーmisc