From: "ron minnich" <rminnich@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Subject: [9fans] getting xen 3 working for me: part 1
Date: Mon, 4 Dec 2006 15:05:43 -0700 [thread overview]
Message-ID: <13426df10612041405i3261a48cpb98d79d037328c9e@mail.gmail.com> (raw)
using the excellent tutorial and other resources, I have a few additions.
Here is my xend-config.sxp. I have move to nat-based networking
[root@q rminnich]# cat /etc/xen/xend-config.sxp
(loglevel NOTICE)
(xend-http-server yes)
(xend-port 3456)
(xend-address '')
(console-limit 2048)
#(network-script network-bridge)
(network-script network-nat)
#(network-script /bin/true)
#(vif-script vif-bridge)
(vif-script 'vif-nat dhcp=yes')
(dom0-min-mem 64)
(dom0-cpus 0)
(vnc-listen 0.0.0.0)
Here is me /etc/xen/plan9
===============
kernel = "/usr/xen9/9xenpccpuf.gz"
memory = 96
name = "plan9"
dhcp="1"
# for net nat
vif = [ '']
#vif = [ 'mac=50:6c:61:6e:39:xx']
disk = [ 'file:/usr/xen9/plan9.img,sda,w' ]
restart = 'never'
# This is the equivalent of plan9.ini:
extra="""
bootargs=local!#S/sd00/fossil
nobootprompt=local!#S/sd00/fossil
venti=/dev/sd00/arenas
"""
===============
With these mods, I can get to anywhere with a raw ip. I can not get
dns and I can not log in via drawterm And, I can not changeuser, as
there are still some problems: no bootes user, no /adm/keys in the
right state, etc.
con /srv/fscons
srv -APW noperm
^\>>>q
mount /srv/noperm /n/noperm
rm /n/noperm/adm/keys*
con /srv/fscons
create /active/adm/keys.who bootes adm 660
uname bootes bootes
create /active/adm/keys bootes adm 660
create /active/adm/secstore bootes sys d755
^\>>>q
Now I can auth/changeuser glenda and give her a password.
Now when I drawterm in, it is 'cannot get auth tickets in p9sk1:
connection refused' but it is better.
So remaining bits are getting dns working and fixing this. Can dns get
its resolver IP from a dhcp, and if so, how? or should I write a
script to cons up a /tmp/ndblocal and start up dns with that? This
latter is easy:
plan9# cat /net/ndb
ip=10.0.3.1 ipmask=255.255.0.0 ipgw=10.0.3.128
sys=plan9
To all of you at iwp9, hope it is going well.
ron
reply other threads:[~2006-12-04 22:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=13426df10612041405i3261a48cpb98d79d037328c9e@mail.gmail.com \
--to=rminnich@gmail.com \
--cc=9fans@cse.psu.edu \
/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).