All Projects → ryohuang → slim-wrt

ryohuang / slim-wrt

Licence: GPL-3.0 License
Armor for Openwrt

Programming Languages

lua
6591 projects
shell
77523 projects
Makefile
30231 projects
HTML
75241 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to slim-wrt

Asuswrt Merlin Transparent Proxy
transparent proxy base on ss, v2ray, ipset, iptables, chinadns on asuswrt merlin.
Stars: ✭ 367 (+456.06%)
Mutual labels:  router, openwrt
Actions Openwrt K2p
Use Github Actions to automatically compile Lean's Modified Lede source for K2P
Stars: ✭ 67 (+1.52%)
Mutual labels:  router, openwrt
Openwrtinvasion
Root shell exploit for several Xiaomi routers: 4A Gigabit, 4A 100M, 4, 4C, 3Gv2, 4Q, miWifi 3C...
Stars: ✭ 366 (+454.55%)
Mutual labels:  router, openwrt
Xunlei Fastdick
迅雷快鸟 Xunlei Network Accelerator For Router
Stars: ✭ 789 (+1095.45%)
Mutual labels:  router, openwrt
Ansible Openwisp2 Imagegenerator
Automatically build several openwisp2 firmware images for different organizations while keeping track of their differences
Stars: ✭ 122 (+84.85%)
Mutual labels:  router, openwrt
TG799VAC-XTREME-17.2-MINT
My personal unique wiki for hacking the router firmware used by (Telia)TG799vac Xtream v17.2-MINT delivered from Technicolor
Stars: ✭ 71 (+7.58%)
Mutual labels:  router, openwrt
YAWAC
Yet Another Wifi Auto Connect (YAWAC) is a shell script to connect to a dataset of wireless connection and free hotspot like FreeWifi. It's works on OpenWrt.
Stars: ✭ 22 (-66.67%)
Mutual labels:  router, openwrt
Actions Openwrt
A template for building OpenWrt with GitHub Actions | 使用 GitHub Actions 云编译 OpenWrt
Stars: ✭ 4,742 (+7084.85%)
Mutual labels:  openwrt, openwrt-firmware
Docker Openwrt
OpenWrt running in Docker
Stars: ✭ 107 (+62.12%)
Mutual labels:  router, openwrt
Xunleikuainiaoinshell
[ 迅雷快鸟 Shell 版 ] A Shell Implementation of Kuainiao, Xunlei
Stars: ✭ 102 (+54.55%)
Mutual labels:  router, openwrt
Fast Path Lede Openwrt
PLEASE GO TO NEW OPENWRT TRUNK BASED SFE FIRMWARE ->
Stars: ✭ 96 (+45.45%)
Mutual labels:  router, openwrt
Luci Wrtbwmon
Bandwidth tracker for OpenWRT that uses wrtbwmon
Stars: ✭ 201 (+204.55%)
Mutual labels:  router, openwrt
Familycloudspeederinshell
[ 天翼家庭云/天翼云盘提速 Shell 版 ] A Shell Implementation of FamilyCloudSpeeder, ESurfing
Stars: ✭ 154 (+133.33%)
Mutual labels:  router, openwrt
openwrt
OpenWrt Stable 1907 with lean's package
Stars: ✭ 55 (-16.67%)
Mutual labels:  router, openwrt
UserDeviceTracker
快速定位一个IP或MAC在你的网络中的位置,是网络工程师提高工作效率的利器,也可以为CMDB提供基础网络数据。
Stars: ✭ 36 (-45.45%)
Mutual labels:  router
Router
The Hoa\Router library.
Stars: ✭ 29 (-56.06%)
Mutual labels:  router
openwrt-vm-tools
vmware tools open-vm-tools for OpenWRT, segfault and crashes free😊😊
Stars: ✭ 45 (-31.82%)
Mutual labels:  openwrt
HandsomeMod
IOT freedom for end users!
Stars: ✭ 39 (-40.91%)
Mutual labels:  openwrt
tarojs-router-next
Taro 小程序路由库/自动生成带参数类型提示的路由方法/允许传递任意类型、任意大小的参数数据/同步的路由方法调用/koa体验一致的路由中间件
Stars: ✭ 166 (+151.52%)
Mutual labels:  router
OpenBSDFirewall
Simple OpenBSD Home Firewall Config for ALIX Board
Stars: ✭ 41 (-37.88%)
Mutual labels:  router

Slim-Openwrt

给小小的Openwrt穿上盔甲

特点

  • 完全开源
  • 基于Openwrt最新稳定版并随之同步更新
  • 优化Upnp
  • Fullcone NAT (基于LEAN)
  • 为特别设备设置特别的网关和DNS

动机

整个开源社区已经充满了各种各样的Openwrt修改版本,论坛上还有各个玩家自行编译的版本,但是我还是想自己做一个。

国内最流行的Openwrt修改版本应该就是Lean的那一版。Lean的版本确实很符合国情也好用。同时我也发现了一些问题。Lean的分支感觉离官方版本很远了,内核版本已经是5.x,但是软件源版本是18.x,导致很多时候装ipk会报依赖错误。 Lean的版本很多默认配置直接内置在了内部的makefile中,比如一个迅雷加速的东西也会被作为最小安装包被各个版本内置--可能很多人根本用不上吧? 但是,Lean的固件依然是现在国内最好用的开源Openwrt固件。Lean的改动像是改造出了一个金刚狼——让Openwrt强大好用了好几倍,但是对Openwrt的改动伤筋动骨。

我想实现的是一套盔甲,让Openwrt穿上后可以成为钢铁侠。而且目标是19.07能穿,21.02也能穿,之后22,23也能穿。所有就有了这个项目。

实现方法

下图是简单的Openwrt编译过程。

Openwrt编译

我们努力的方向有两个:

  1. 改进默认配置的产生方法。make menuconfig很好用,但是配置不易传播和重复执行,对CI也不友好。
  2. make之前是我们穿戴盔甲的时机。

于是我们有了这样的编译流程:

Slim-wrt编译

  1. 加入自定义的feed,指向本项目的slimapps目录。具体每个app做什么会在其目录下另写文档,在此不再赘述。
  2. 对openwrt应用补丁。例如patches-modules/0001-fullcone-nat/openwrt
  3. luci进行补丁。
  4. 配置每个项目的profile,拷贝到openwrt根目录下之后执行defconfig就会生成相应配置。
  5. 配置生成后再额外补充一些内容到.config文件。
  6. make,等待之后固件就生出来了。

编译方法

# 如果是编译x86/kvm使用的版本
make SLIM_CFG_PROFILE=slim showtime
# 或者忽略SLIM_CFG_PROFILE,因为默认就是slim这个配置
make showtime
# 如果编译Miwifi版本
make SLIM_CFG_PROFILE=r1cl showtime

# 修改之后重新编译,注意profile参数和之前一致
make SLIM_CFG_PROFILE=slim encore
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].