Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
zh-cn:doc:faq:before.installation [2018/03/04 12:33] bobafetthotmailzh:docs:guide-user:installation:before.installation [2024/12/02 13:32] – [更新内容翻译] starsfall
Line 1: Line 1:
-====== OpenWrt的中文FAQ ====== +====== OpenWrt 的中文FAQ ====== 
 +===== 硬件 =====
 ==== 该购买何种路由器? ==== ==== 该购买何种路由器? ====
   - Please see the [[toh:buyerguide]] for features you could be looking for.   - Please see the [[toh:buyerguide]] for features you could be looking for.
   - Please decide yourself which ones are important to //you//.   - Please decide yourself which ones are important to //you//.
   - Then ask in the OpenWrt Forum (or anywhere else) for personal recommendations.   - Then ask in the OpenWrt Forum (or anywhere else) for personal recommendations.
 +  - 
 +==== OpenWrt 可运行于哪些设备? ====
 +查阅 [[toh:start|current TableOfHardware]] 此支持设备列表页。
 +
  
 +===== 软件 =====
 ==== 初学者该如何着手? ==== ==== 初学者该如何着手? ====
 参 [[doc/howto/user.beginner|beginner's guide]]页。 参 [[doc/howto/user.beginner|beginner's guide]]页。
  
-==== OpenWrt可运行于哪些设备? ==== +==== 怎样才能获得 OpenWrt 的镜像? ====
-查阅 [[toh:start|current TableOfHardware]] 此支持设备列表页。 +
- +
-==== 怎样才能获得OpenWrt的拷贝? ====+
 -> [[:downloads]] -> [[:downloads]]
  
-==== 如何刷OpenWrt? ====+==== What is the difference between the different image formats? ==== 
 + 
 +  * a **factory image** is one built for the bootloader flasher or stock software flasher 
 +  * a **sysupgrade image** (previously named trx image) is designed to be flashed from within openwrt itself 
 + 
 +The two have the same content, but a factory image would have extra header information or whatever the platform needs. Generally speaking, the factory image is to be used with the OEM GUI or OEM flashing utilities to convert the device to OpenWrt.  After that, use the sysupgrade images. 
 + 
 +  * a **uImage** is a [[http://docs.blackfin.uclinux.org/doku.php?id=bootloaders:u-boot:uimage|tagged]] linux image expected by the u-boot loader 
 +  * a **tftp image** is XXX 
 +  * a **vmlinux.bin image** is XXX 
 +  * a **vmlinux.elf "image"** is XXX 
 + 
 +==== 我该选择哪个版本的 OpenWrt? ==== 
 +-> [[:downloads|Choosing an Openwrt version]] 
 + 
 +==== 如何刷 OpenWrt? ====
 -> [[docs:guide-user:installation:generic.flashing]] -> [[docs:guide-user:installation:generic.flashing]]
  
Line 21: Line 38:
 Flash devices can be written to, at minimum, anywhere between 100,000 and 1,000,000 times (according to the manufacturers). Keep in mind we have a [[wp>normal distribution]] and also, that Flash never ever just stops working, but merely distinct blocks do. I.e. you won't be able to write to them any longer, but you should be able to still read them. Flash devices can be written to, at minimum, anywhere between 100,000 and 1,000,000 times (according to the manufacturers). Keep in mind we have a [[wp>normal distribution]] and also, that Flash never ever just stops working, but merely distinct blocks do. I.e. you won't be able to write to them any longer, but you should be able to still read them.
  
-==== 如何编译OpenWrt ==== +==== 如何编译 OpenWrt ==== 
-Start here -> [[docs:guide-developer:build-system:start]]+Start here -> [[docs:guide-developer:toolchain:start]]
  
-==== Why is everything so modular? ==== +==== 如何将 OpenWrt 所有的 packages 均编译进去? ==== 
-Because everything light-weight tends to be highly modular. Compare: [[http://upload.wikimedia.org/wikipedia/commons/3/3d/Boeing_747_Le_Bourget_FRA_002.jpg|lightweight tube]] vs. [[http://upload.wikimedia.org/wikipedia/commons/2/2b/Tank_car2090.jpg|heavy weight tube]]+<code>CONFIG_ALL=y + make V=99 IGNORE_ERRORS=m</code>
  
-==== I do not like CLI (command-line interface) ==== +----
-There are claims all over the web, that OpenWrt can only be handled by command-line. That is bullshit. As a matter of fact, there are 3 (three) WebUIs available for OpenWrt: [[docs:guide-user:luci:webinterface.overview|LuCI, X-Wrt and Gargoyle]]\\ Although there is actually no reason to fear the [[docs:guide-user:base-system:user.beginner.cli|CLI]].+
  
-Also, please do note, that the [[wp>X Window System]] is available for OpenWrt as well!+===== 其他问题 ===== 
 +==== 为什么一切都是模块化的? ==== 
 +因为轻量级的东西往往是非常模块化的。比较一下:[[http://upload.wikimedia.org/wikipedia/commons/3/3d/Boeing_747_Le_Bourget_FRA_002.jpg|轻量级的tube]] vs. [[http://upload.wikimedia.org/wikipedia/commons/2/2b/Tank_car2090.jpg|重量级的tube]]
  
-==== What is the difference between brcm-2.4 and brcm47xx ==== +==== 我不喜欢命令行界面(CLI) ==== 
-  * //brcm-2.4//heavily modified Linux kernel version 2.4''wl'' (or wl-mimo) proprietary driver, ''nas'' authentificator, ''wlc'' control utility +网上到处都是这样的说法,称OpenWrt只能通过命令行操作。这是谎言。事实上,针对OpenWrt有3个(three)WebUI可用:[[docs:guide-user:luci:webinterface.overview|LuCIX-Wrt和Gargoyle]]\\ 尽管实际上没有必要害怕 [[docs:guide-user:base-system:user.beginner.cli|CLI]]
-  * //brcm47xx//: vanilla Linux kernel version 2.6/3, ''[[http://wireless.kernel.org/en/users/Drivers/b43|b43]]'' reverse engineered FOSS driver, ''wpad'' (hostapd + wpa_supplicant), standard linux utilites (''iw'', ''iwconfig'', etc.)+
  
-It is reported as still debatable which wireless driver is better for stability and performance. brcm-2.4 is still available in the latest OpenWrt stable, but has been abandoned in trunk as of Rxxxxx.+另外,请注意,OpenWrt也支持[[wp>X Window System]]!
  
-==== How to enable athdebug and debug madwifi ==== +==== `brcm-2.4` 和 `brcm47xx` 之间的区别 ==== 
-From ''package/madwifi/Makefile'':+- `brcm-2.4`: 修改过的 Linux 内核版本 2.4,使用专有驱动 `wl`(或 `wl-mimo`),网络接入认证器 `nas`,控制实用程序 `wlc` 
 +- `brcm47xx`: 原生的 Linux 内核版本 2.6/3,反向工程的开源驱动 `b43`,WPA 路由器配置文件(hostapd + wpa_supplicant),标准 Linux 实用程序(`iw`,`iwconfig`等) 
 + 
 +据报道,关于哪个无线驱动更适合稳定性与性能仍存在争议。`brcm-2.4` 在最新的 OpenWrt 稳定版本中仍然可用,但自 Rxxxxx 版本起已被弃置于 trunk 中。 
 + 
 +==== 如何启用 athdebug 和调试 madwifi ==== 
 +在 ''package/madwifi/Makefile'':
  
 <code> <code>
Line 47: Line 70:
 </code> </code>
  
-So first enable the "Advanced configuration options (for developers)" item, then navigate to the kmod-madwifi submenu and tick "Enable compilation of debugging features" on or add/replace "CONFIG_DEVEL=y" plus "CONFIG_MADWIFI_DEBUG=y" manually in .config +因此,首先启用 “Advanced configuration options for developers)” 项,然后浏览到 kmod-madwifi 子菜单并勾选 “Enable compilation of debugging features” 或在 .config 中手动添加/替换 “CONFIG_DEVEL=y” 加上 “CONFIG_MADWIFI_DEBUG=y
- +
-==== 如何将OpenWrt所有packages均编译进去? ==== +
-<code>CONFIG_ALL=y + make V=99 IGNORE_ERRORS=m</code>+
  
  • Last modified: 2024/12/02 14:08
  • by starsfall