X-Wrt (OpenWRT) low footprint router

Discussions about using Linux guests in VirtualBox.
Post Reply
fixedwheel
Volunteer
Posts: 1699
Joined: 13. Sep 2008, 02:18

X-Wrt (OpenWRT) low footprint router

Post by fixedwheel »

Hi, anyone looking for internal network routing?


there is a x86 release of the OpenWRT "kamikaze" Router firmware, so i tried to install. I took the image[1] from X-Wrt: it has additional web GUI

creating the VDI on the host did not work for me - and booting a gparted live-CD with this openwrt.vdi attached shows i/o errors
(vboxmanage convertdd openwrt-x86-ext2.image openwrt.vdi
with virtualbox-2.0_2.0.2-36488_Debian_lenny_i386.deb)

so i attached an empty vdi to a linux guest and filled it with
dd if=openwrt-x86-ext2.image of=/dev/sdb (could have been /dev/hdb but the guest is ubuntu ...)

the image still did not boot, but i could read some lines from grub, and 100%CPU. Enabeling the serial i/f makes the vdi boot... => clean up the serial, tty stuff in /boot/grub/menu.lst

still there is no network connection: the image only has a ne2k module (there is also a bleeding edge snapshot image, but either has only ne2k preinstalled)
Boot the linux guest with attached openwrt.vdi and mount the vdi partitions. Download the e1000 module package[2] and copy somewhere into the openwrt filesystem. Boot openwrt, cd to where the module package is and
# ipkg install kmod-e1000_2.6.22-x86-1_i386.ipk

the openwrt default address is 192.168.1.1 so you might want to boot only attached to the internal network first, boot another machine attached to this network and use the web i/f to configure the network address... if you didn't already edit /etc/config/network


[1]http://downloads.x-wrt.org/xwrt/kamikaz ... ext2.image
[2]http://downloads.x-wrt.org/xwrt/kamikaz ... 1_i386.ipk

have fun ...
Post Reply