9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: ron minnich <rminnich@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] Fwd: nvram on a diskless cpu server
Date: Sun, 10 Jul 2011 16:45:00 -0700	[thread overview]
Message-ID: <CAP6exYKx5eJhuogJ8QAiJ48XS4MPdBndHB+3C0Z0uCcqT3nj7w@mail.gmail.com> (raw)
In-Reply-To: <CABwSpPBbCqzd5sn_OeQBMjXJrvVdPpn+_GAyaa3uwuYD=7r-ow@mail.gmail.com>

term% cd /tmp
term% dd -bs 512 -count 1 < /dev/zero > nvram
1+0 records in
1+0 records out
term% nvram=nvram
term%  xd nvram
0000000  00000000 00000000 00000000 00000000
0000010  00000000 00000000 00000000 00000000

etc.

term% auth/wrkey
bad nvram key
bad authentication id
bad authentication domain
authid: xyz
authdom: abc
secstore key:
password:
term% cat nvram
1�\f\x02�@�123�xyztabc/term%  xd nvram
0000000  31d90c00 028140e2 00000000 00000000
0000010  31323300 00000000 00000000 00009f78
0000020  797a0000 00000000 00000000 00000000
0000030  00000000 00000000 00000074 61626300
0000040  00000000 00000000 00000000 00000000

etc.

It pays to make the nvram file len 512 bytes or you have to set
nvramlen in plan9.ini and who wants to do that.

Note the nvram=nvram step ... it is needed.

ron
p.s. No points for guessing the password I used :-)



  reply	other threads:[~2011-07-10 23:45 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-10 21:49 [9fans] " Akshat Kumar
2011-07-10 21:55 ` ron minnich
2011-07-10 22:03   ` Akshat Kumar
     [not found] ` <CAP6exYLGYwhUnJy6LAWVqs25X+Gj9UNO+eTT+rC-rNrB2C1eOA@mail.gmail.c>
2011-07-10 22:04   ` erik quanstrom
2011-07-10 22:10     ` Akshat Kumar
2011-07-10 22:13       ` ron minnich
2011-07-10 22:20         ` Akshat Kumar
2011-07-10 22:34           ` Francisco J Ballesteros
2011-07-10 23:25             ` ron minnich
2011-07-11  7:19               ` Steve Simon
2011-07-11  9:28                 ` Akshat Kumar
2011-07-11  9:43                   ` Francisco J Ballesteros
2011-07-11 10:59                 ` hiro
     [not found]                 ` <CABwSpPCSWxe_9Xa2BJw=umEbDKok7GATQ64erKqVoxTaQrBsVA@mail.gmail.c>
2011-07-11 14:54                   ` erik quanstrom
     [not found]             ` <CABwSpPB3xm88pV5kDgKTTUYYJtgmiFqCi1Y57cLTp80W_BpwJw@mail.gmail.com>
2011-07-10 23:30               ` [9fans] Fwd: " Akshat Kumar
2011-07-10 23:45                 ` ron minnich [this message]
2011-07-10 22:11     ` [9fans] " ron minnich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAP6exYKx5eJhuogJ8QAiJ48XS4MPdBndHB+3C0Z0uCcqT3nj7w@mail.gmail.com \
    --to=rminnich@gmail.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).