Friday, April 30, 2010

Wednesday, April 28, 2010

Installing Paravirtual DomU

virt-install --paravirt --name test --ram 2048 --noautoconsole --wait=-1 --os-type=solaris --os-variant=opensolaris --disk path=/var/local/lib/xen/images/test,sparse=true,device=disk,size=12 --location /var/local/iso/textinstall-134-x86.iso --network bridge=stub0
virsh console test (inform the installer the terminal type is xterm)

Tuesday, April 27, 2010

Setting VNC Server Geometry

inetadm -m svc:/application/x11/xvnc-inetd:default exec="/usr/bin/Xvnc -inetd -query localhost -once securitytypes=none -geometry 1680x1050x24"

Host-only networking

dhcpconfig -D -r SUNWfiles -p /var/local/dhcp -a 192.168.56.1 -d host.lan -h files -l 86400
dhcpconfig -N 192.168.56.0 -m 255.255.255.0 -t 192.168.56.1

Monday, April 26, 2010

Saturday, April 24, 2010

OpenSolaris Networking nVidia MCP67 Solved

My NIC identifies as an nVidia MCP67. The installer doesn't find a driver for it. The solution seams to be as follows...
After installation, boot to single-user mode. In grub edit:
kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS,console=graphics
change to:
kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS -s

Log in as root and run:
update_drv -a -i "pci10de,54c" nge
ifconfig nge0 plumb

The above gets the driver to load, but it has a strange incompitibility. On my system typing:
ifconfig nge0 ether
returns output including:
ether 11:6f:a0:1b:30:0
which is exactly backwards.

To bring the interface up I need to fix the mac address:
ifconfig nge0 ether 0:30:1b:a0:6f:11

To make this correction persistent put:
ether 0:30:1b:a0:6f:11
in /etc/hostname.nge0