OpenWrt Forum Archive

Topic: openwrt on openvz

The content of this topic has been archived on 31 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Is anyone using openwrt on openvz?  I can get an openwrt container started, but it has no network.

I used these instructions:
https://github.com/zoobab/openwrt-openvz

I used this openwrt build:  BARRIER BREAKER (14.07, r42625)
openwrt-x86-generic-Generic-rootfs.tar.gz

I previously got an openwrt openvz container with internet access, which makes me think that the latest build is fixable.
The older build that worked was:  BARRIER BREAKER (Bleeding Edge, r34054)

The kernel I'm using is 2.6.32-26-pve.  It comes with Proxmox 2.1
I wonder if the latest openwrt requires a newer kernel.
Is there a reason why I should not run openwrt with another kernel?

I tried the official 12.09 openwrt and it works with my openvz:
ATTITUDE ADJUSTMENT (12.09, r36088)
I was able to connect to the internet, update packages, connect to the luci webserver.
It does need the pts fix mentioned in the github instructions.
I also had to boot it twice in order to see the network.

I think openvz should be in the hardware list.  It's super-fast for testing things out.

(Last edited by votsalo on 7 Apr 2015, 09:25)

/proc/version:
Linux version 2.6.32-26-pve (root@lola) (gcc version 4.7.2 (Debian 4.7.2-5) ) #1 SMP Mon Oct 14 08:22:20 CEST 2013

Live migration does not work :-(, but offline seems to work.

Any ideas ?

B.t.w.  how match profit compared to debian guest ? Can some one describe a real advantages owrt vs other OS in container virtualization ?

warm wrote:

Can some one describe a real advantages owrt vs other OS in container virtualization ?

The point is to use it for openwrt testing, if you are already familiar with openvz.
I used it to become somewhat familiar with openwrt before I had a real device.

The discussion might have continued from here.