Version 13 (modified by amain, 9 years ago) (diff)


Installation Instructions

  • Become root or use sudo
  • Connect the USB Disk/Stick/Compact? Flash Card/SD Card
    • Find out which device name it got ( dmesg )
    • In this howto we assume the USB storage device is mounted on /dev/sdb. Replace /dev/sbd* in this howto with the actual device name.
  • Partition /dev/sdb
    • /dev/sdb1 - DEBWRT_ROOT - Linux - ext3 - Rest of available size
    • /dev/sdb2 - DEBWRT_SWAP - Linux Swap - 128MB
  • 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 xjvf ~/debwrt-rootfs-*.bz2
  • Untar the downloaded modules to /mnt/debwrt (/dev/sdb1)
    cd /mnt/debwrt
    tar xzvf ~/debwrt-modules-*.gz --no-same-owner
  • 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.