Skip to content

AlexDudenkov/OpenWrt-luci-app-ser2net

 
 

Repository files navigation

luci-app-ser2net

These patches come from OpenWrt forum, are used to add ser2net service to OpenWrt LuCI. I did some collection work and make the source files to be in patch format in order to make it easier to use.

Introduction

openwrt-packages-add-luci-app-ser2net-support.patch --> This patch is the init scripts of ser2net. openwrt-luci-add-luci-app-ser2net-support.patch --> This patch adds service interface in LuCI.

How To

  1. For people who uses OpenWrt first need checkout/clone the OpenWrt source first.

     mkdir openwrt
     cd openwrt
     svn co svn://svn.openwrt.org/openwrt/trunk trunk
     cd trunk
    

or

	git clone git://git.openwrt.org/openwrt.git
	cd openwrt

I've been using both svn and git for a while, like git more from personal.

  1. Use feeds script update the packages.

     ./scripts/feeds update -a
     ./scripts/feeds install -a
    
  2. Download the two patches and patch them.

     cd ..    		#go back to openwrt directory
     git clone https://github.com/JiapengLi/luci-app-ser2net.git
     cd trunk/feeds/packages/
     patch -p1 < ../../../luci-app-ser2net/openwrt-packages-add-luci-app-ser2net-support.patch
     cd ../../../    #go back to openwrt directory
     cd trunk/feeds/luci/
     patch -p1 < ../../../luci-app-ser2net/openwrt-luci-add-luci-app-ser2net-support.patch
    
  3. To use luci-app-ser2net, you need choose it in LuCI -> 3. Application -> luci-app-ser2net

     cd ../../      #go back to openwrt/trunk directory
     make menuconfig
    
  4. After choose right platform, device, package, driver and all needed things. Run make to compile Openwrt. After compiling, firmware will position in trunk/bin/xxxx folder, xxxx is the platform name.

     make
    
  5. Install the openwrt firmware, then you can find the Ser2net in Service tag with instruction there.

  6. Enjoy it.

Resources

The patch is based on this post from OpenWrt forum.
https://forum.openwrt.org/viewtopic.php?id=34662

Thanks

Thanks carlberg who make the source file and g1itch who shows the package create procedure. Both of them are from OpenWrt forum.

About

Add ser2net service to OpenWrt LuCI.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published