Thursday, April 19, 2007

Rejoice! Pixemu lives.

A smart guy using the handle mmm123 posted in the Dynamips forum how he created a pix emulator in his pc using QEMU. I tested it and works like a charm! Here's what you need to do.

1. Download QEMU. For dependency, you might need to download SDL as well.

2. Download the Pixemu binary. You need to register to the forum first.

3. Get a copy of the PixOS. I used Pix version 7.2.2(10).

4. I've read from the thread that in theory it is possible to run qemu in windows but it will be a pain to make it work. To make it run in Windows without the headache, I downloaded the fedora core 4 minimal install vmware image and run it using the free vmware player.

5. Copy qemu, pixemu and PixOS software (via tftp, ftp or scp) to your FC4 virtual machine. Of course you have to setup the virtual machines network settings.

6. Install (rpm -ivh) SDL and QEMU in the virtual machine.

7. Untar (tar -jvxf) the pixemu binary.

8. Create flash disk by running this command:
dd if=/dev/zero of=FLASH bs=1k count=16k

9. Unzip the Pix OS then copy the unzipped file in the same folder as pixemu.
unzip pix721.bin
mv target/f1/pix ./pixemu

10. You should be all set. Read the README, edit the pixemu.ini if you need to change the serial number and pix filename,etc. To run the pix emulator:
pixemu -net nic,vlan=1,macaddr=00:aa:00:00:02:01 -net tap,vlan=1,script=if1up -net nic,vlan=2,macaddr=00:aa:00:00:02:02 -net tap,vlan=2,script=if2up -serial stdio -m 128 FLASH -no-kqemu

You can find a sample setup here where pixemu is integrated with dynamips. Awesome!

1 comment:

Anonymous said...

top [url=http://www.c-online-casino.co.uk/]uk casinos online[/url] hinder the latest [url=http://www.realcazinoz.com/]realcazinoz.com[/url] autonomous no store perk at the chief [url=http://www.baywatchcasino.com/]casino games
[/url].