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.
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.
-
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.
-
Use feeds script update the packages.
./scripts/feeds update -a ./scripts/feeds install -a
-
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
-
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
-
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
-
Install the openwrt firmware, then you can find the Ser2net in Service tag with instruction there.
-
Enjoy it.
The patch is based on this post from OpenWrt forum.
https://forum.openwrt.org/viewtopic.php?id=34662
Thanks carlberg who make the source file and g1itch who shows the package create procedure. Both of them are from OpenWrt forum.