X86
From DD-WRT Wiki
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:
- Ipkg - Itsy Package Management System
- jffs - Journaling Flash File System
- USB , which means it cannot support
Commands
More Storage on your Boot Device
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
More Storage on another IDE Device
If you have another disc drive or storage device attached to your IDE bus, you can mount it.
Create a mount point
mkdir /tmp/mydisc
Find a mountable partition on the device. It will be somewhere under the /dev/ide tree.
For example, we'll use:
> ls -la /dev/discs/
disc0 -> ../ide/host0/bus0/target0/lun0
Now that we know the device it is on, /dev/discs/disc0, we can list the partitions:
> ls -la /dev/discs/disc0/* brw------- 1 root root 3, 0 Jan 1 1970 /dev/discs/disc0/disc brw------- 1 root root 3, 1 Jan 1 1970 /dev/discs/disc0/part1
Now we can mount the partition on the mount point:
> mount -o rw /dev/discs/disc0/part1 /tmp/mydisc
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