Version 10 (modified by amain, 8 years ago) (diff)


Installation Instructions

  • Become root or use sudo
  • Partition the USB Disk/Stick/Compact? Flash Card/SD Card:
    • /dev/sdb1 - DEBWRT_ROOT - Linux - ext3 - Rest of available size
    • /dev/sdb2 - DEBWRT_SWAP - Linux Swap - 128MB

NOTE: for example purposes we will assume that the USB mass storage device is connected to /dev/sdb

  • Create filesystems
    mkfs.ext3 -L DEBWRT_ROOT /dev/sdb1
    tune2fs -c 0 -i 0 /dev/sdb1
    mkswap -L DEBWRT_SWAP /dev/sdb2
  • Mount the ext3 root partition
    mkdir -p /mnt/debwrt
    mount /dev/sdb1 /mnt/debwrt
  • Untar the downloaded Debian root filesystem to /mnt/debwrt (/dev/sdb1)
    cd /mnt/debwrt
    tar xxvf ~/debwrt-rootfs-*.bz2
  • Untar the download modules to /mnt/debwrt (/dev/sdb1)
    cd /mnt/debwrt
    tar xzvf ~/debwrt-modules-*.gz
  • Umount
    umount /mnt/debwrt
  • Flash your router with the DebWrt firmware using the OpenWrt flash instructions for your device
  • Reboot the router
  • See DebWrtRootfsImageInformation for default IP address, password, installed packages, etc.