<div>I will reference this thread in  #openwrt and/or their forums, but maybe someone here can take a crack at unrolling a few layers to coax openwrt into running within a guest.</div><div><br></div><div>I have a clean install of Debian 7.1 (not a dist-upgrade etc) on the host.</div>
<div>Host is amd64, 2gb of ram, 3.6TB of storage (12MB allocated for the first of ten planned openwrt guests).</div><div>Guest is Openwrt generic x86 via <a href="http://downloads.openwrt.org/attitude_adjustment/12.09/x86/generic/openwrt-x86-generic-rootfs.tar.gz">http://downloads.openwrt.org/attitude_adjustment/12.09/x86/generic/openwrt-x86-generic-rootfs.tar.gz</a></div>
<div>Guest was simply created as:</div><div><div>  298  modprobe ext3</div><div>  299  lxc-create -n openwrt00 -B lvm --vgname tv --lvname openwrt00 --fstype ext3 --fssize 12M </div></div><div><div>  302  mkdir /media/openwrt00</div>
<div>  303  mount /dev/tv/openwrt00 /media/openwrt00/</div><div>  304  cd /media/openwrt00/</div></div><div><div>  307  tar xvf ~supaplex/public_html/openwrt-x86-generic-rootfs.tar.gz </div></div><div><div>  314  umount /media/openwrt00 </div>
</div><div><div>  339  lxc-start -n openwrt00</div></div><div><br></div><div>History line 339 with apparent issues here:</div><div><br></div><div>root@tv:~# lxc-start -n openwrt00</div><div>init started: BusyBox v1.19.4 (2013-03-06 20:07:44 UTC)</div>
<div>sysinit: wc: /proc/bus/pci/devices: No such file or directory</div><div><br></div><div>sysinit: Could not open mtd device: rootfs</div><div><br></div><div>sysinit: Could not open mtd device: rootfs</div><div><br></div>
<div>sysinit: grep: /proc/filesystems: No such file or directory</div><div><br></div><div>sysinit: /etc/rc.common: eval: line 1: can't create /proc/sys/kernel/hostname: nonexistent directory</div><div><br></div><div>sysinit: /etc/rc.common: line 1: can't open /proc/cmdline: no such file</div>
<div><br></div><div>sysinit: firewall already loaded</div><div><br></div><div>sysinit: bind(): Address already in use</div><div><br></div><div>sysinit: Error: No sockets bound, unable to continue</div><div><br></div><div>
sysinit: dnsmasq: failed to seed the random number generator: No such file or directory</div><div><br></div><div>sysinit: sysctl: chdir(/proc/sys): No such file or directory</div><div><br></div><div><br></div><div>If you have any suggestions to clean the install up, I'm all ears.</div>
<div><br></div><div>I have an ath9k pci-e adapter in the host, and plan to use this phy to create additional adapters to arbitrate into the guest.</div><div>E.g.:</div><div>iw phy phy0 interface add wlanfoo0 type managed (I've pulled this off before on the host, connecting to the same AP multiple times, with different wlanfoo0 mac addresses, but forwarding / ip route, seems to disregard nh+phy when nh is identical). Additional phy reachability should indicate another possible way to the destination...</div>
<div><a href="http://sourceforge.net/p/lxc/bugs/40/">http://sourceforge.net/p/lxc/bugs/40/</a> (and hopefully this is working).</div><div><br></div><div>Regards,</div><div><br></div><div><br></div><div>Scott.</div>