If you are considering to use OpenWrt on your wireless router and you don’t want to flash it over and over or you just want to check out this Linux version for embedded devices, you can download the test image for VirtualBox from the project’s homepage and play around there.
To make it work just follow these steps:
- Download the OpenWRT Backfire image for VirtualBox.
- Set the virtual machine with these parameters:
It doesn’t work, it doesn’t boot!!
If it doesn’t work, for example it stays still for a while and end up with the message “Waiting for root device /dev/sda2″, it’s because image works with an IDE disk and VirtualBox adds it as a SATA device by default:
To fix it you must delete this disk from the settings and add it again, but to the IDE controller:
The you will be able to work with your virtualized OpenWrt !!






Planeta Linux
#1 by Luis Gallardo on 30/07/2011 - 3:00 pm
@Bobby you have to take in account the eth0 in the router is a bridged interface as well, meaning you have to avoid using the same 192.168.1.1 address if your network uses that as gateway. So, you have to edit the /etc/config/network in OpenWrt as follow:
Then you must to execute:
The last command is for checking out the changes. To use ssh you must set the root’s password:
Now you will be able to use ssh as follow:
To use the web interface type in a browser this:
Cheers!
#2 by Bobby on 30/07/2011 - 8:36 am
I enabled bridge mode but can’t ssh to the virtual machine or open the web interface. Is there anything else that need to be configured?
#3 by Luis Gallardo on 20/06/2011 - 3:29 pm
@Rob yes, you can enable a network adapter in bridge mode to reach the web interface. Cheers!
#4 by Rob on 20/06/2011 - 2:34 am
Hi, is there a way to use the web interface of openwrt while it is running in virtualbox?
#5 by Luis Gallardo on 22/11/2010 - 10:53 pm
@Andy you are welcome my friend!!
#6 by Andy on 22/11/2010 - 10:51 pm
Thank you.