lunes, 25 de enero de 2010

Changing ip address with IP command

Hi there!!!
It's been a while since I don't practice my blogging skills , in part because I've been in holidays, and in part because i've been too lazy :D. No, seriously, i've been working on a project with a very tight deadline and i've been so exhausted that when i come back home i only wanted to have a break of computers.
Well, lets talk about our today's topic. Network configuration has been centralized with ip commands and today we will deal with network device management.
What we previously perform with ifconfig up and ifconfig down today can be run with:

ip link set dev up

ip link set dev eth0 up

or
ip link set dev down

ip link set dev eth0 down

I will try to improve this entry with many other options like ipaddress and things like that.

Cheers and have a Zen day!!!

jueves, 7 de enero de 2010

Changing the UUID of a disk for a virtual machine on Sun Virtual Box

Hello everyone!!!
First of all, I want to wish to every person who visits this site a happy new year.
2009 has been a very difficult year for a lot of people i know (even myself) , and i hope 2010 to be much better with a lot of new challenges, experiences, etc...
Back to our blog, i want to share a tip that will allow us to duplicate the UUID of a disk.
This is very helpful when you need to reuse a clean operating system installation on several vms on the same machine.
By default Virtual Box will complain with a message saying that
"hard disk with UUID {55b773b8-cbcb-42ea-9a44-1368b3XXXX} or with the same properties is already registered" failing to load the disk.
In order to avoid this, just type :
VBoxManage internalcommands setvdiuuid |diskname.vdi|
and a new UUID will be generated and assigned.
Ciaooo!