Vyattaインストールmemo

IPnutsを置き換えるソフトウェアルータをして

Vyattaというのがあるようなので お試ししてみようと言う流れ
どうやらVMwareでつかえるようなので デプロイしてみる

Vyatta – VMware OVF Import

にあるovfを
VSphereClientからテンプレートデプロイ
test
test
自動で構成されてゆきます。

パソコンを業務用途にも耐えうる高性能ブロードバンドルータにしてしまう「Vyatta」 – GIGAZINE

コマンドからの設定めんどくせぇ・・・この状況から8IPのNat書くのは無茶だな・・・・

続きを読む

ぽたふぁい SSHメモ

186 :173:2010/12/20(月) 18:52:27 ID:PaHGGreD
sshdを起動する方法 
3つに分けてポストします。 

■必要なもの 

・adbが利用出来る状態のPortable Wi-Fi 
「どうすれば利用できるの?」という人は手を出さないこと。 

・sshdのバイナリ 
dropbearというSSH2 Serverを使います。 
バイナリはこちらのフォーラムにある。(要登録) 
ttp://forum.xda-developers.com/showpost.php?p=8095069&postcount=91 
登録が面倒な人はこちらからどぞ。 
ttp://www.megaupload.com/?d=0IEVMLTH 

・転んでも泣かない強い心 

187 :173:2010/12/20(月) 18:53:15 ID:PaHGGreD
■手順 

1. zipの中身をadb.exeが展開されている場所に解凍 
  今回使うのはdropbearとdropbearkeyの二つのみ 

2. ファイルをPortable Wi-Fiへ転送してパーミッション設定 
adb remount 
adb push dropbear /system/bin/dropbear 
adb push dropbearkey /system/bin/dropbearkey 
adb shell chmod 755 /system/bin/dropbear /system/bin/dropbearkey 

3.  ホスト鍵を作成 
adb shell 
busybox mount -o rw,remount / 
mkdir -p /system/etc/dropbear 
dropbearkey -t rsa -f /system/etc/dropbear/dropbear_rsa_host_key 
4. dropbearを起動 
dropbear -A root -C ‘root’ -R /system/etc/dropbear/dropbear_rsa_host_key -U0 -G0 
 -Cオプションの後ろの文字列が接続パスワードになる 

5. 正常に起動しているか確認 
・psしてdropbearが起動しているか 
・netstatしてport 22をLISTENしているか 
 tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 

続きを読む