User Tools

Site Tools


faq:before_installation

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
faq:before_installation [2018/08/09 12:20]
tmomas [How often can I write on the flash chip?] link added
faq:before_installation [2018/09/08 19:44] (current)
per [Which packages can I safely remove to save space?]
Line 4: Line 4:
 See [[:​supported_devices|Supported Devices]] and [[toh:​views:​toh_available_864|Table of Hardware: Ideal for OpenWrt]] See [[:​supported_devices|Supported Devices]] and [[toh:​views:​toh_available_864|Table of Hardware: Ideal for OpenWrt]]
  
-In case you still have questions, take a look at the LEDE forum: [[https://​forum.lede-project.org/​c/​hardware-questions-and-recommendations]].+In case you still have questions, take a look at the LEDE forum: [[https://​forum.openwrt.org/​c/​hardware-questions-and-recommendations]].
  
 ==== Will OpenWrt run on ...? ==== ==== Will OpenWrt run on ...? ====
Line 53: Line 53:
  
 ==== How do I compile for multiple targets? ==== ==== How do I compile for multiple targets? ====
-See [[https://​forum.lede-project.org/​t/​compile-for-more-target-profiles/​7575]]+See [[https://​forum.openwrt.org/​t/​compile-for-more-target-profiles/​7575]]
  
 ==== Which packages can I safely remove to save space? ==== ==== Which packages can I safely remove to save space? ====
-Flash space is scarce on devices with only 4MB flash. You can save some space while compiling your own image (e.g. with the [[docs:​guide-user:​additional-software:​imagebuilder|imagebuilder]]) by removing packages that are not needed for your usecase. 
-In order to completely remove IPv6 support and related packages you also need to ask the imagebuilder to do so by also passing this option to the make command: "​CONFIG_IPV6=n"​. 
  
-^ Action ​              ^ Packages ​                                                                                                   ^ +  * [[docs:guide-user:additional-software:saving-space|Saving firmware space]]
-| remove pppoe         | ''​-ppp -ppp-mod-pppoe'' ​                                                                                        | +
-| remove IPv6          | ''​-ip6tables -odhcp6c -kmod-ipv6 -kmod-ip6tables'' ​                                                             | +
-| remove dhcp server ​  ​| ''​-odhcpd'' ​                                                                                                    | +
-| remove ​ iptables ​    | ''​-iptables'' ​                                                                                                  | +
-| remove opkg          | ''​-opkg'' ​                                                                                                      | +
-| add LuCI minimal ​    | ''​uhttpd uhttpd-mod-ubus libiwinfo-lua luci-base luci-app-firewall luci-mod-admin-full luci-theme-bootstrap'' ​  | +
-| add zram             | ''​zram-swap'' ​                                                                                                  | +
- +
- +
-=== Build image for devices with only 4MB flash === +
- +
-**Example image builder command line**\\ +
-**Note:** In the command line shown below, you need to adjust ''​PROFILE=tl-wr941nd-v6''​ to your device. +
- +
-^ LuCI    ^ Action ^ Imagebuilder commandline ^ +
-| with LuCI | - remove pppoe and IPv6\\ + include only needed luci components, not full luci package. | ''​make image PROFILE=tl-wr941nd-v6 PACKAGES="​uhttpd uhttpd-mod-ubus libiwinfo-lua luci-base luci-app-firewall luci-mod-admin-full luci-theme-bootstrap -ppp -ppp-mod-pppoe -ip6tables -odhcp6c -kmod-ipv6 -kmod-ip6tables"''​ | +
-| without LuCI | - remove pppoe and IPv6 | ''​make image PROFILE=tl-wr941nd-v6 PACKAGES="​-ppp -ppp-mod-pppoe -ip6tables -odhcp6c -kmod-ipv6 -kmod-ip6tables"''​ | +
- +
- +
-Resources:​ +
-  ​* [[https://​forum.lede-project.org/​t/​can-i-strip-the-ipv6-out-with-the-imagebuilder/​3465/​5]] +
-  * [[https://​forum.lede-project.org/​t/​build-lede-without-ipv6/​2043]] +
-  * [[https://​forum.lede-project.org/​t/​make-image-problem/​898]] +
-  * [[https://​forum.lede-project.org/​t/​tp-link-tl-mr-3420-v3-build/​855/​8]] +
- +
- +
-=== Build image for devices with only 16/32MB RAM === +
- +
-If the device has 16MB or less of RAM, then it should only be used as Internal AP (e.g. to extend Wi-Fi coverage).\\ +
- +
-**Example image builder command line**\\ +
-**Note:** In the command line shown below, you need to adjust ''​PROFILE=tl-wr941nd-v6''​ to your device. +
- +
-^  RAM   ^ Action ^ Imagebuilder commandline ^ +
- ​16MB ​ | - remove pppoe and IPv6\\ - remove all related elements to iptables\\ - remove dhcp servers \\ + add LUCI\\ + add zram-swap\\ - remove opkg - not needed after making these adjustments | ''​make image PROFILE=tl-wr941nd-v6 PACKAGES="​uhttpd uhttpd-mod-ubus libiwinfo-lua luci-base luci-app-firewall luci-mod-admin-full luci-theme-bootstrap zram-swap -ppp -ppp-mod-pppoe -iptables -ip6tables -odhcp6c -kmod-ipv6 -kmod-ip6tables -odhcpd -opkg"''​| +
-|  32MB  | - remove pppoe and IPv6\\ + add LUCI\\ + add zram-swap\\ - remove opkg - not needed after making these adjustments | ''​make image PROFILE=tl-wr941nd-v6 PACKAGES="​uhttpd uhttpd-mod-ubus libiwinfo-lua luci-base luci-app-firewall luci-mod-admin-full luci-theme-bootstrap zram-swap -ppp -ppp-mod-pppoe -ip6tables -odhcp6c -kmod-ipv6 -kmod-ip6tables -opkg"''​ | +
- +
-Resources:​ +
-  * [[https://​forum.lede-project.org/​t/​zram-configuration/​3560]] +
-  * [[https://​forum.lede-project.org/​t/​best-practices-for-32-mb-ram/​5050]] +
-  * [[https://​forum.lede-project.org/​t/​luci-slow-down-to-death-wr1043n-v1/​1992]]+
  
 ==== Error code: 18005 ==== ==== Error code: 18005 ====
faq/before_installation.1533817226.txt.gz · Last modified: 2018/08/09 12:20 by tmomas