plan9メモ
This content is a draft and will not be included in production builds.
drawterm:secstoreパスワードを2回聞かれる 1回目はdrawterm:secstorefetchから: 省略するとuser@domainパスワードが聞かれる 今の環境をエクスポートしようとするので、chdir c:¥..が失敗する 2回目は$home/lib/profile:auth/factotumから。
1回目で認証が成功すれば、secstoreにユーザーパスワードがあれば聞かれない。 2回目は省略してもいい。
aquarela aquarela -p -d allcmdsで起動した場合に、
smbnegotiate: couldn't get mschap challenge reply: error 2/1 ... nativelanman: Windows 2002 5.1 aquarela 657: suicide: sys: trap: fault write addr=0x0 pc=0x00008cdb
このようなエラーが出る場合は、認証サーバがうまく設定されてない auth/debugで認証サーバの状態を確認できる
/lib/namespace.localを編集 >>bind -c /usr/$user/pub /n/local
/bin/service/tcp445を作成(実行はnone) (/bin/service.auth/tcp445は実行ユーザがbootesになるだけ?) →無限ループっぽい現象が出ていたので、bootesが手動で実行するよう変更 # aquarela -u1 →デーモン型とlisten型の2種類あるみたい。
hostannounce failed: dgram send failed このエラーはdnsdomainを/lib/ndb/localに設定しても消えない # オプション-wまたは-nを与えなければ出ない?
dryad: create /sys/log/aquarela sys sys 666 a % echo '@{auth/none aquarela -u1}' >>/bin/cpurc
BUG: ファイルの削除、名前の変更ができない。他にもたぶん。
net sys=$sysname ether=$ether これだけでは、ip/ping $sysnameのときに、 なぜかDNSサーバ(ルーター)に問い合わせを行わないで失敗する。 他のホスト名の場合は問題ない。 →固定IPに戻す?
結局戻した。/bin/cpurcのip/ipconfig行を以下に変更 eval `{ndb/ipquery sys $sysname ip ipgw ipmask} ip/ipconfig -g $ipgw ether /net/ether0 add $ip $ipmask
内部ネットワークには到達するのに、外部にパケットが飛ばなくなった。 →ipgwはIPアドレスしか受け付けない?名前を登録するとip/ipconfigで変になる (f::ffff:(r
DMA echo dma on >/dev/sdC0/ctl
ssh # aux/ssh_genkeyを使うタイプだと、factotumにsshrsaなんて無いと怒られた cd $home mkdir x auth/rsagen -t 'service=ssh' >key auth/rsa2ssh key >key.pub cat key.pub >>/unix/home/$user/.ssh/authorized_keys cat key >/mnt/factotum/ctl [http://plan9.bell-labs.com/wiki/plan9/SSH_configuration/index.html]