[9fans] getting xen 3 working for me: part 1
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
(vif-script 'vif-nat dhcp=yes')
Here is me /etc/xen/plan9
kernel = "/usr/xen9/9xenpccpuf.gz"
memory = 96
name = "plan9"
# 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:
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.
srv -APW noperm
mount /srv/noperm /n/noperm
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
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
To all of you at iwp9, hope it is going well.