Skip to content
master
Go to file
Code
This branch is 24 commits ahead, 4 commits behind schuza:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

README.md

OpenvWrt

Open vSwitch 2.3.0 (OvS) package for OpenWrt "CHAOS CALMER" (trunk, r42165)

From NOW, OpenvSwitch had been add to OpenWrt Packages Repository, so support has ended.

Installation in OpenWrt

  1. cd $TOPDIR

  2. echo 'src-git openvswitch git://github.com/pichuang/openvwrt.git' >> feeds.conf

  3. ./scripts/feeds update openvswitch

  4. ./scripts/feeds install -a -p openvswitch

  5. wget https://gist.githubusercontent.com/pichuang/7372af6d5d3bd1db5a88/raw/4e2290e3e184288de7623c02f63fb57c536e035a/openwrt-add-libatomic.patch -q -O - | patch -p1

  6. make menuconfig

  • select Network -> openvswitch-switch, openvswitch-switch, openvswitch-ipsec (Optional)
  • select Advanced configuration options (for developers) -> Toolchain Options -> Binutils Version -> Linaro binutils 2.24
  • UNSELECT Advanced configuration options (for developers) -> Target Options -> Build packages with MIPS16 instructions
  1. echo '#CONFIG_KERNEL_BRIDGE is not set' >> .config

  2. make V=s

!WARNING! You need repeat step 7 and 8 after you enter "make menuconfig".

Enviroment

  • Hardware: D-LINK Dir-835
  • Build enviroment
  • gcc version 4.9.0 20140604 (prerelease) (GCC)
  • Ubuntu 14.04.1 x86_64

Q&A

  1. How to build OpenWrt?
  1. How to set OpenvSwitch configuration?
  1. No works?
  • Try reboot and telnet 192.168.1.1
  • or, make clean rebuild it.

Screenshot

alt tag

Development

Please fork on github and send pull requests.

About

An Open vSwitch package for OpenWrt

Resources

You can’t perform that action at this time.