OpenWRT

Tips

  • make kernel_menuconfig → customize kernel config
  • svn revert target/linux/*/config-* ; make target/linux/clean → revert to default kernel config
  • make -j 3 → Building on multicore systems (eg. 3 processes)

How-Tos

  • Upgrade all the packages
    • manual method:
      #!/usr/bin/env sh
      opkg update
      for p in $(opkg list-upgradable); do
        if [ "$p" != "-" ]; then
          if [ "$(echo ${p:0:1} | sed -e 's/[0-9]//')" != "" ]; then
            echo "upgrading $p"
            opkg upgrade $p
          fi
        fi
      done
  • Re-install packages after upgrade: 1

Other

Fixes

Guides

Navigation
Print/export
QR Code
QR Code OpenWRT (generated for current page)