linux 软路由_树莓派软路由 OpenWrt 简介

发布时间:2026/7/23 17:35:20

linux 软路由_树莓派软路由 OpenWrt 简介 用树莓派 DIY 软路由的时候总会说到 OpenWrt 这个开源 Linux 发行版。那 OpenWrt 到底是什么为什么会用于树莓派软路由这篇文章将会解答关于 OpenWrt 的一系列问题。OpenWrt 是什么OpenWrt 是一个面向嵌入式设备的 Linux 操作系统常用于小型无线路由器。The OpenWrt Project is a Linux operating system targeting embedded devices. Instead of trying to create a single, static firmware, OpenWrt provides a fully writable filesystem with package management. This frees you from the application selection and configuration provided by the vendor and allows you to customize the device through the use of packages to suit any application. For developers, OpenWrt is the framework to build an application without having to build a complete firmware around it; for users this means the ability for full customization, to use the device in ways never envisioned.Cisco/Linksys(思科) 在 2003 年发布了 WRT54G 这款无线路由器同年有人发现它的操作系统是基于Linux的然而 Linux 是基于GPL许可证发布的按照该许可证 Cisco 应该把 WRT54G 的源代码公开。2003年3月Cisco 迫于公众压力公开了 WRT54G 的源代码。此后就有了一些基于 Cisco 源码的第三方路由器固件OpenWrt 就是其中的一个。2004年1月OpenWrt 项目启动。第一版的 OpenWrt 基于 Linksys GPL sources for WRT54G 开发也是现在广泛使用的版本。2005年OpenWrt 发布实验性版本开始使用官方 GNU/Linux 的内核。2007年发布 White Russian(已不再维护)2010年发布 Backfire(已不再维护)。基于 Linux 2.6.32 long term support kernel, uClibc 0.9.30。2013年发布 Attitude Adjustment。基于 Linux Kernel 3.3, uClibc 0.9.33.2支持 bcm2708 (Raspberry Pi) 平台。OpenWrt 在树莓派上的应用OpenWrt 天生服务于嵌入式无线路由器而且 2013 年发布的 Attitude Adjustment 版本还官方支持了树莓派平台所以用 OpenWrt 打造树莓派软路由变成一件很酷又相对简单的事情。在官方的支持列表中找到树莓派下载相应的系统镜像就可以开始软路由 DIY 之旅了。或者直达 OpenWrt 的 raspberry pi 专题页面https://openwrt.org/toh/raspberry_pi_foundation/raspberry_pi软路由性能在树莓派 3B 以及以前的硬件版本中OpenWrt 软路由性能并不是特别理想USB 和 LAN 口共享带宽造成网络传输瓶颈(USB 用于无线网卡LAN 用于以太网)CPU 计算性能不高但2019年发布的树莓派 4B 已经不存在上述问题了板载千兆以太网卡、2.4/5 GHz 802.11b/g/n/ac 无线网卡USB 和 LAN 口各自独立CPU 提速 4 倍还能选配 4G RAM。CPU 性能对比以太网卡速率对比无线网卡速率对比RAM 速率对比参考资料OpenWrt Version HistoryAbout the OpenWrt/LEDE project经典回顾 54M无线霸主Linksys WRT54G评测Raspberry Pi 4 released - Hardware Questions and Recommendations - OpenWrt Forum Raspberry Pi 4 specs and benchmarks — The MagPi magazine网站https://hardcore-rpi.biko.pub/知乎专栏https://zhuanlan.zhihu.com/hardcore-rpiGitHub: https://github.com/hardcore-rpi

相关新闻