Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

OpenvWrt

Open vSwitch 2.1.2 (OvS) package for OpenWrt "Barrier Breaker" (trunk, r41432)

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)
  • ArchLinux 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

OpenvSwitch for OpenWrt package

Resources

Stars

4 stars

Watchers

4 watching

Forks

Releases

Packages

Contributors