Thursday May 29, 2008
An audience of two
I'm seeing lots of buzz over this Wii Fit device. I can't help but think i've seen this all before. 25 years ago in fact. Guess what goes around comes around.I just wish that somebody would port Lemmings to the Wii instead.
Permalink
Configuring host networking for VirtualBox
First impressions: VirtualBox is pretty slick. It installs easily and the User Interface is clean and intuitive. (You can insert your own sarcastic that's-cos-we-didn't-write-it comment, I'm above things like that.) I did have some minor issues with virtual machines hanging, particularly during installation, but that was easily resolved by increasing the amount of memory to 1024M (default of 512M is just too small) and enabling VT-x under the Advanced settings. The only real problem I had was with the networking; I simply couldn't get it to work. By default the system provides a virtual NIC configured with NAT. The idea being that this is intended as a desktop solution primarily; you probably want to run this on your laptop and are happy if it can see the interwebs. So you leave the settings at teh default, select DHCP networking when you install Solaris and you're away. But that's no use if the virtual OSes need to talk to each other, or you need to log in remotely. So reluctantly I consulted the manual. But in this case the manual wasn't clear either; there was lots of info about configuring for Linux but not much for Solaris. I got anecdotal hints from a few people - Solaris prefers the Intel PRO/1000 device driver, try using /usr/lib/vna rather than the vnic_setup script - but still no joy. I could snoop the network but couldn't get out. Finally Bertrand Lesecq, a Support Engineer from Sun France gave me the final piece of the puzzle - thanks Bertrand. So here it is. Enjoy.
First off, you need to configure a virtual NIC using /usr/lib/vna To do this, use ifconfig to find out what the physical nic is. On my system it's e1000g0: flags=201004843To configure the virtual NIC you just run /usr/lib/vna (interface) (mac address). My interface is e1000g0 and its real mac address is 00:1b:24:df:ee:08 I decided to change the last octet to 8A. Having configured the NIC you plumb it (this step may/should not be necessary depending on who you talk to, but I did it and it worked) but you must not assign an IP address. # /usr/lib/vna e1000g0 00:1b:24:df:ee:8a vnic0 # plumb vnic0Now virtual NICs won't survive a reboot, so I decided to write a simple startup script. Since I intend to have 5 virtual hosts I need 5 VNICs. Here's my script. No, I didn't use SMF. I'm old school. Bite me.
# cat /etc/rc3.d/S99vnic
#!/sbin/sh
state="$1"
case "$state" in
'start')
echo 'Plumbing VNICs'
for MAC in 8a 8b 8c 8d 83
do
VNIC=`/usr/lib/vna e1000g0 0:1b:24:df:ee:$MAC`
ifconfig $VNIC plumb
done
;;
'stop')
;;
*)
echo "Usage: $0 { start | stop }"
exit 1
;;
esac
The next thing to do is to tell VirtualBox to use the virtual NIC. Simply click on a host that's powered off, click the Settings button and click Network. Ensure that Enable Network Adapter and Cable Connected are checked. For Adapter Type select Intel PRO/1000 MT Desktop (82540EM). For Attached to select Host Interface. Change the MAC address to the address you provided to vna earlier. Under Host Interface Settings type the VNIC name, vnic0
Now go ahead and install Solaris on the virtual node. When it comes up it should see an ethernet adaptor e1000g0 which you can configure with a real IP address. The system should behave exactly like a real system; you can ping the router (which you cannot under NAT) and ssh into the host remotely, assuming that you have the services configured to allow that.
Happy 30th Birthday, Spam!
Happy f5g birthday, Spam.
Permalink
2005 Juan Gil Jumilla
I recently discovered this wine in Costco. For $12 it seemed a good price. I don't tend to drink much Spanish wine, but a few vocal enthusiasts in my various wine circles have been banging the drum for Spain, saying it's not all Rioja and Ribera del Duero. In particular, Jumilla is often cited as an area that's producing great wines at really good prices, and this is a great example. The varietal is Monastrell, also known as Mourvèdre or Mataro (and various other names too). You don't often see Mourvèdre bottled on its own - the only local examples I can think of offhand are Bonny Doon's Old Telegram and Cline's Small Berry - but it's often used as a blending grape in Rhone style wines. This is a big, fruity wine. It's nice right at the start, but I opened one on Wednesday evening, drank half and left the rest overnight in the fridge - on Thursday it had opened up and was much better. So I'd definitely encourage decanting it - simply pour it into a 2 pint jug and back into the bottle, it'll make a big difference. If you like big reds but don't have a big budget this is definitely a wine to try.
Permalink
|
Stinkin' Badges![]()
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| « May 2008 » | ||||||
| Mon | Tue | Wed | Thu | Fri | Sat | Sun |
|---|---|---|---|---|---|---|
1 | 3 | 4 | ||||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 28 | 30 | 31 | |||
| Today | ||||||
Today's Page Hits: 164