daily pastebin goal


a guest Jun 23rd, 2016 201 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #/bin/bash
  2. apt-get update
  3. # dl firmware
  4. wget https://www.wifipineapple.com/downloads/nano/1.0.6 -O upgrade-1.0.6.bin
  5. #dl and install FMK
  6. apt-get install git build-essential zlib1g-dev liblzma-dev python-magic
  7. wget https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/firmware-mod-kit/fmk_099.tar.gz
  8. tar -zxvf fmk_099.tar.gz
  9. cd fmk
  10. # quick and dirty, binwalk is installed locally
  11. echo "BINWALK=binwalk" >> shared-ng.inc
  12. ./extract-firmware.sh ../upgrade-1.0.6.bin
  13. cd ..
  14. #dl and install openwrt-cc
  15. apt-get install subversion build-essential git-core libncurses5-dev zlib1g-dev gawk flex quilt libssl-dev xsltproc libxml-parser-perl mercurial bzr ecj cvs unzip git
  16. git clone https://github.com/domino-team/openwrt-cc.git
  17. cp -r fmk/fmk/rootfs/* openwrt-cc/files/
  18. rm -rf openwrt-cc/files/lib/modules/3.18.23/
  19. rm -rf openwrt-cc/files/sbin/modprobe
  20. cd openwrt-cc
  21. git checkout 73d51063bca71574206f2ce162f6bc6046f8e3ab
  22. ./scripts/feeds update -a
  23. ./scripts/feeds install -a
  24. make menuconfig
  25. make
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand