X86

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 00:59, 16 June 2008 (edit)
Dd-wrt101sbe (Talk | contribs)
(More Storage)
← Previous diff
Revision as of 01:30, 16 June 2008 (edit) (undo)
Dd-wrt101sbe (Talk | contribs)

Next diff →
Line 44: Line 44:
== Prerequisites == == Prerequisites ==
 +
 +== Partitions on the Image ==
 +Here is what the partitions on the x86 image look like:<br>
 + root@mywrt:/tmp# ls -la /dev/discs/disc1/*
 + brw------- 1 root root 22, 0 Jan 1 1970 /dev/discs/disc1/disc
 + brw------- 1 root root 22, 1 Jan 1 1970 /dev/discs/disc1/part1
 + brw------- 1 root root 22, 2 Jan 1 1970 /dev/discs/disc1/part2
 + brw------- 1 root root 22, 3 Jan 1 1970 /dev/discs/disc1/part3
 + brw------- 1 root root 22, 4 Jan 1 1970 /dev/discs/disc1/part4

Revision as of 01:30, 16 June 2008

Contents

x86

Regular PC computers can run DD-WRT by using an x86 build of DD-WRT.

Applications

You can, in theory at least, escape many of the limitations of small platforms.

Limitations

The x86 version of DD-WRT does not support the following features:

  1. Ipkg - Itsy Package Management System
  2. jffs - Journaling Flash File System
  3. USB , which means it cannot support
    1. USB Storage

Commands

More Storage

There is free space on the installation image in partition 3.

Partition 3 is mounted Read-Only at boot by default.
You can see this with the mount command:
> mount
...
/dev/discs/disc1/part3 on /usr/local type ext2 (ro)
The "(ro)" means that the partition is mounted read-only.

To mount it read/write, the command is:

    mount -o remount /dev/discs/disc0/part3 /usr/local
    mount
    ...
    /dev/discs/disc1/part3 on /usr/local type ext2 (rw)

Note that the "(ro)" has changed to a "(rw)", indicating that you can now write to it.

This works for a machine that is booting off a Compact Flash(CF) device.
You might have to change it a little, if you're booting off something else.

When you reboot, partition 3 will be mounted read-only again. If you like, you can make the file system read-only again with the command:

    mount -o ro,remount /dev/discs/disc0/part3 /usr/local

Installation

Prerequisites

Partitions on the Image

Here is what the partitions on the x86 image look like:

    root@mywrt:/tmp# ls -la /dev/discs/disc1/*
    brw-------    1 root     root      22,   0 Jan  1  1970 /dev/discs/disc1/disc
    brw-------    1 root     root      22,   1 Jan  1  1970 /dev/discs/disc1/part1
    brw-------    1 root     root      22,   2 Jan  1  1970 /dev/discs/disc1/part2
    brw-------    1 root     root      22,   3 Jan  1  1970 /dev/discs/disc1/part3
    brw-------    1 root     root      22,   4 Jan  1  1970 /dev/discs/disc1/part4