From DD-WRT Wiki
(Difference between revisions)
Revision as of 19:50, 24 February 2006 (edit) 130.85.239.47 (Talk) ← Previous diff |
Current revision (18:59, 1 July 2007) (edit) (undo) Wildblue (Talk | contribs) m |
(43 intermediate revisions not shown.) |
Line 1: |
Line 1: |
- | =Building DD-WRT from source= | + | #REDIRECT [[Development#Building_DD-WRT_From_Source]] |
- | Building DD-WRT from source is quite a daunting task. There isn't much documentation on this process on the official site, although [http://www.cardoe.demon.co.uk/ Peter Cardoe's site] is indeed very helpful. Hopefully expanding on his work will make it an easier process for newbies like me. | + | |
- | | + | |
- | =Requirements= | + | |
- | To build DD-WRT, you need a Linux machine. It should work on any reasonably modern machine, as long as you have a compiler installed - note that this may not be strictly necessary but I haven't tried it any other way. | + | |
- | | + | |
- | * The first step is to download the proper source from the [http://www.dd-wrt.com/dd-wrtv2/downloads/index.php?path=sourcecode/ download page]. Should be straightforward. | + | |
- | * Next, unpack it into a directory of your choice by running "tar jxvf FILENAME". Change to the directory that process creates, probably named "DD-WRT" or something similar. | + | |
- | * Next we'll make a workspace directory and some needed by the build process. The name of the "toolchain" directory must be as shown. You may need to be "root" to create the first directory. | + | |
- | ** mkdir -p /home/dev/workspace /home/backup/mikrotik | + | |
- | ** ln -s ~yourusername/image /GruppenLW | + | |
- | ** ln -s /location/of/ddwrtdirectory /home/dev/workspace/DD-WRT | + | |
- | * Next we change some permissions: | + | |
- | ** chmod +x src/router/iptables/extensions/.dccp-test | + | |
- | ** chmod +x src/router/iptables/extensions/.layer7-test | + | |
- | * Change line 42 of src/router/zlib/Makefile: | + | |
- | ** prefix =/location/of/ddwrtdirectory/DD-WRT | + | |
- | * chmod +wxxx src/router/samba | + | |
- | * Change line 4 of opt/install.sh export PATH=/home/release/DD-WRT/toolchains/bin to "export PATH=/location/of/ddwrtdirectory/DD-WRT/toolchains/bin". | + | |
- | * Run "opt/install.sh". Wish. Then wait a bunch. | + | |
- | | + | |
- | This page is only marginally useful; you do a lot of work and end up with a stock firmware. You may also want to see [[modifying DD-WRT]]. | + | |
Current revision
- REDIRECT Development#Building_DD-WRT_From_Source