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
Next revisionBoth sides next revision
toh:buyerguide [2013/06/11 20:53] – + TAE sockets ( telephone connector) lorematoh:buyerguide [2023/02/05 14:45] – [Processors and Memory] Grammar memicinn19
Line 1: Line 1:
 +====== Buyers' Guide ======
 +OpenWrt is a niche Linux distribution, which enables you to deploy a vast variety of software. Your hardware is the only limit. This guide is intended to help you pick the right hardware to meet your particular needs.
 +
 +| {{:meta:icons:tango:dialog-information.png?nolink}} |  **OpenWrt does not recommend any hardware or manufacturer!**  \\ There is no "best hardware", since people's needs are so different. \\ To think through your requirements, read [[:faq:which_router_should_i_buy?|Which Router Should I Buy?]] \\ Once you have that list, ask for a recommendation [[https://forum.openwrt.org/c/hardware-questions-and-recommendations/13|on the forum.]] \\ You don't have to spend a lot: OpenWrt is what does the magic!  |
 +
 +===== Features =====
 +==== Devices with OpenWrt as a stock firmware ====
 +All [[docs:guide-user:installation:openwrt-as-stock-firmware|GL.iNet, Turris and some others]] routers already have an OpenWrt based firmware so you may not need to install them manually.
 +
 +==== Bootloader ====
 +    * the [[docs:techref:bootloader]] should not only be under a [[wp>Free_and_open-source_software|FOSS]] license, but preferably under the GPL, so that the OEM is forced to release the complete source code
 +    * some bootloaders make installing OpenWrt unnecessarily complicated or even impossible!
 +    * some bootloaders allow you to //boot from a USB device// or //Boot over Ethernet// but many do not
 +
 +==== LAN ====
 +    * **How many [[wp>Network interface controller|NICs]]** does the [[wp>System on a chip]] incorporate? Common are **one** or **two**, very seldom more.\\ These are implemented as [[docs:techref:hardware:soc]]-integrated Ethernet-[[wp>Media access control|MAC]]-blocks, which are each connected over a [[wp>Media Independent Interface|xMII]] to a distinct [[wp>PHY (chip)]].\\ **''Note:''** Do not confuse the number of Ports with the number of NICs.
 +    * Which Ethernet-Layer-1 standard does the NIC/NICs support?\\ **BASE100-TX** (i.e. 100MBit/s, [[wp>Fast Ethernet]]) or\\ **BASE1000-T** (i.e. 1000MBit/s, [[wp>Gigabit Ethernet]])?
 +    * Is there an **integrated Ethernet switch**?
 +    * Which Ethernet-Layer-1 standard does the integrated switch support? (BASE-100TX or BASE1000-T)
 +    * How many RJ45 ports are there? Most common are 5 Ports (4 for LAN and 1 for WAN).
 +    * Is the switch manageable? Which capabilities does it offer?
 +      * [[https://forum.openwrt.org/viewtopic.php?pid=152347#p152347|4bit VIDs]], [[https://forum.openwrt.org/viewtopic.php?pid=120457#p120457|4bit VIDs]], 
 +
 +    * Support for EEE (Energy Efficient Ethernet), Green Ethernet officially: [[wp>IEEE 802.3az]]
 +    * Support for PoE (Power over Ethernet). non standard "passive" 12V, 24V or standardized [[wp>IEEE802.3af]],IEEE[[wp>802.3at]]
 +    * Support for SFP (Small Form-Factor Pluggable): [[:toh:views:toh_sfp_ports|Table of Hardware: SFP ports]], [[:unsupported:sfp|Unsupported SFP]]
 +
 +==== Wireless ====
 +(Please consult the [[docs:guide-user:network:wifi:wireless.overview|Wireless Overview]])
 +  * How many [[wp>Wireless network interface controller|WNICs]]? Common are **one** or **two**. These can be :
 +    * SoC-integrated: this is commonly called WiSoC
 +    * Onboard: the wifi chip is the same used in MiniPCI/e cards but soldered on the main PCB
 +    * [[wp>MiniPCI]]: the wifi card can be extracted, and replaced by another different MiniPCI model
 +    * [[wp>MiniPCIe]]: the wifi card can be extracted, and replaced by another different MiniPCIe model
 +  * Which substandards of the [[wp>IEEE 802.11]]-family shall the wireless hardware support? Most common ones are 802.11a, 802.11b, 802.11g, 802.11n, 802.11ac and 802.11s
 +  * Capabilites: 1T1R, 2T2R, 3T3R or 2T3R ..
 +  * Frequencies (or bands):
 +      * 2.4 GHz or 5 GHz or both? (see e.g. [[wp>Electromagnetic_interference_at_2.4_GHz|Electromagnetic interference at 2.4 GHz]] or [[wp>Fresnel zone]] or [[http://www.smallnetbuilder.com/wireless/wireless-basics/32316-how-to-buy-a-wireless-router-2014-edition?showall=&start=1|Throughput and Range]])
 +      * For the AP to be capable to provide 2.4 GHz and 5 GHz at the same time, the router should have at least two radios. This tag shall help you find suitable devices more quickly: {{tagpage>802.11abgn_simultan}} :FIXME: The simultan currently means 2 radios.
 +      *  A single radio that allows use of both bands at the same time supports dual band simultan aka //<color green> RSDB (Real simultaneous dual band) </color>// aka //<color green>DBDC (DualBand-DualConcurrent)</color>// standard. It is not widely adopted (Q1-2021; only some mt76 hardware supports it and mt76 driver support for DBDC is new and not completely stable)
 +      * At 2,4GHz you only have **3** distinct channels without overlap, in the 5GHz band there are **19** (EU)/ **13** (USA)/ **??** (Japan) channels without overlapping available
 +      * The 2.4 GHz band is quite crowded with [[http://wireless.kernel.org/en/users/Documentation/Bluetooth-coexistence|Bluetooth]] [[wp>Personal area network|PAN]], while 5GHz is usually unused.
 +      * newer Wifi standards use 6GHz ([[wp>IEEE_802.11ax#Wi-Fi_6E_products|Wifi6E]]) or 60GHz bands ([[wp>IEEE_802.11ad]]) possibly having 3 radios
 +  * Is it relevant to you whether the WNICs are [[https://wireless.wiki.kernel.org/en/developers/documentation/glossary#softmac|SoftMAC]] or [[https://wireless.wiki.kernel.org/en/developers/documentation/glossary#fullmac|FullMAC]] devices?
 +  * Do the current capabilities of the [[http://wireless.kernel.org/en/users/Drivers|Existing Linux Wireless drivers]] for your WNICs satisfy your requirements?
 +  * Are the [[docs:techref:hardware:antennae]] detachable? If so, you could replace them with ones with a better gain, or with (home-made) directional antennae.
 +  * [[wp>FLOSS]] drivers: this is very important for a correct wifi performance/behavior. For years Broadcom didn't supply enough quality FLOSS drivers (or hardware specifications) and it seems won't ever happen, proprietary wl drivers often causes crashes or incorrect behaviors, then avoid Broadcom's wifis. As recommended by many people, **Atheros or Ralink/Mediatek** wifis are probably the best choice.
 +
 +==== Modem ==== 
 +(Please consult the [[docs:techref:hardware:internet.access.technologies|Internet access technologies]])
 +
 +  * Common Layer 1 protocols that utilize a [[wp>Modem]] are: [[wp>Digital subscriber line|DSL]], [[wp>DOCSIS]] and [[wp>Mobile telephony]], e.g. [[wp>3GPP Long Term Evolution|LTE]]. See tags {{tagpage>ADSL2+}}, {{tagpage>VDSL2}}, {{tagpage>DOCSIS}}, {{tagpage>Mobile_telephony}}
 +  * If a device has a built-in modem, is the modem fully supported by OpenWrt?
 +  * E.g. there are no FOSS drivers for the Broadcom modems in the [[docs:techref:hardware:soc:soc.broadcom.bcm63xx|BCM63xx SoCs]], but there are FOSS drivers for Texas Instruments/Infineon/Lantiq Modems in these SoCs: [[docs:techref:hardware:soc:soc.lantiq]]!
 +
 +==== Processors and Memory ==== 
 +  * The most crucial decision is your choice of RAM. If you are going to run ''[[docs:guide-user:services:voip:asterisk|asterisk]]'', ''[[docs:guide-user:services:voip:umurmur|mumble]]'', ''[[docs:guide-user:services:dc:direct.connect|Direct Connect]]'', ''[[docs:guide-user:services:downloading_and_filesharing:bittorrent]]'', a [[docs:guide-user:services:webserver:start|web server]] and other stuff, enough RAM will make them run smoothly. Some of them tolerate SWAP pretty good, others do not. FYI: If you are considering adding more RAM, keep in mind that there are no DDR1-Modules bigger than 64MB. Also, the SoC sometimes only support so much. For example, the Marvell Kirkwood, supports a maximum of 512MB.
 +  * Occasionally the computing power of the CPU proves to be a bottleneck. To compare you should have a look at the [[docs:techref:hardware:cpu|CPU]] included on with [[docs:techref:hardware:soc|SoC]]. Do not compare raw MHz, e.g. a MIPS 34KE@300MHz is in most scenarios faster than a MIPS 24K@400MHz.
 +    * As you can see by referring to the [[docs:techref:flash.layout|flash layout]], with a total of 8MiB flash memory, you can use about 5MiB for your own packages.
 +
 +==== Cryptography ====
 +  * [[wp>Hardware_random_number_generator|TRNG]]: Most devices use a software random number generator. Only few are equiped with a true hardware random number generator, see {{tagpage>trng}} tag
 +  * [[docs:techref:hardware:cryptographic.hardware.accelerators|Cryptographic Hardware Accelerators]]: routers equiped with these accelerators may bring you better speed transfers when you plan to use encrypted connections such as OpenVPN.
 +
 +==== Ports ====
 +    * USB: connect a hub, harddiscs, ssds, usb sticks, UMTS modems, cameras, sound cards, etc. ->[[docs:guide-user:hardware:usb.overview]]
 +    * Serial: very useful for developers, limited uses for end users ->[[docs:techref:hardware:port.serial]]
 +    * JTAG: very useful for developers and also for end users ->[[docs:techref:hardware:port.jtag]]
 +    * [[wp>TAE connector|TAE sockets]]: a telephone connector used mosly in Germany
 +
 +==== Buttons ====
 +    * You can boot your device into //[[docs:guide-user:troubleshooting:failsafe_and_factory_reset|OpenWrt Failsafe]]// with a reset button, without one, this is only possible through connection over serial! Also, after boot up, you can [[docs:guide-user:hardware:hardware.button|attach functions]] to the buttons, like start/stop WLAN, reconnect DSL, start/stop a daemon, mount/unmount partitions, etc.
 +
 +==== Platform / Architecture ====
 +OpenWrt targets traditional routers. These run on ARM or MIPS CPUs.
 +However running inside a VM or on common x86 Hardware is also possible.
 +While most consumer Hardware can lack Ethernet ports, Hardware for ''IPC'' (Industrial PC) or ''server mainboards''
 +are built and advertised for 24/7 operation.
 +Other ''embedded'' devices or ''SBC'' ([[wp>Single-board_computer]]) may be viable alternatives.
 +
 +==== Certified Operation Modes ====
 +=== Temperature ===
 +Most hardware is constructed to run at a temperature range from 0-40°C (Operating Temperature).
 +This is appropriate for most indoor use cases.
 +However - increased temperature can speed up the aging of electric components.
 +Industrial PC, Server Hardware or outdoor equiment may be certified and constructed to extended temperature ranges:
 +  * 0-70°C (server, IPC)
 +  * -30-75°C (outdoor AP)
 +
 +=== Environment ===
 +Some plastics used in wiring or enclosures are problematic in outdoor operations under direct sunlight.
 +Specialized UV resistant outdoor cabling and enclosures exist.
 +Shielding from water (rain) and/or dust is certified with an [[wp>IP_Code]].
 +
 +===== Price comparison for currently purchasable hardware =====
 +On many price comparison sites you can search for OpenWrt. Beware, though, that sometimes OpenWrt only works on certain versions. Check with the [[toh:start|OpenWrt Table of Hardware]] to see if the router is really supported.
 +
 +If you find a site with an effective price comparison please add it below, or report it on the [[https://forum.openwrt.org/|OpenWrt forum]].
 +
 +==== United States ====
 +Amazon also lets you //search// for OpenWrt, but you cannot filter for OpenWrt support:
 +  * [[http://amzn.to/1mONYr0|Price comparison USA: OpenWrt routers]]
 +
 +**''Note_1:''** The filter is not 100% perfect, be sure to double check a router before buying \\
 +
 +===== Find hardware matching your criteria =====
 +<columns 100% 50% ->
 +
 +==== Table of Hardware ====
 +  * [[toh:views:toh_available_16128|Table of Hardware: Ideal for OpenWrt (16/128MB or more)]]
 +  * The [[toh:views:start|Collection of views]] offers different views of the ToH, with more data and multiple filter options.
 +
 +<newcolumn>
 +==== Tags ====
 +You can use the [[meta:tags]] to find devices with your desired features.
 +
 +**Beware:** Tagging of devicepages is incomplete, resulting in incomplete listings below.
 +
 +The [[toh:views:start|ToH Collection of views]] should be your first choice when searching for a device.
 +It is more complete, up to date, and shows you the current OpenWrt support status.
 +
 +  * {{tagpage>GigabitEthernet}}
 +  * {{tagpage>DetachableAntenna}}
 +  * {{tagpage>USB2.0}}, {{tagpage>USB}}, {{tagpage>2USB}}, {{tagpage>3USB}}, {{tagpage>4USB}}
 +  * {{tagpage>512RAM}}, {{tagpage>256RAM}}, {{tagpage>128RAM}}, {{tagpage>64RAM}}
 +  * {{tagpage>gt32Flash}}, {{tagpage>32Flash}}, {{tagpage>16Flash}}, {{tagpage>8Flash}}
 +  * {{tagpage>802.11abgn}}, {{tagpage>802.11abgn_simultan}}, {{tagpage>802.11ac}}
 +  * {{tagpage>rechargeable_battery}}
 +  * {{tagpage>portable_router}}
 +  * {{tagpage>ip_camera}}
 +  * {{tagpage>TRNG}}, {{tagpage>crypto}}
 +</columns>
  
  • Last modified: 2023/02/05 14:48
  • by memicinn19