Jump to content

DD-WRT Development in VirtualBox with Debian X64: Difference between revisions

From Together
No edit summary
No edit summary
Line 33: Line 33:
svn co svn://svn.dd-wrt.com/DD-WRT .
svn co svn://svn.dd-wrt.com/DD-WRT .
</pre>
</pre>
This may take a bit
This may take a bit.  After it gets done, run it again to ensure you have updated files that have been changed while downloading the first time.  Then you should be ready.

Revision as of 19:18, 5 December 2014

Installing Debian x64

In Virtualbox, I am installing the 7.2.0 Wheezy 3 DVD set and afterwards running an apt-get update

Preparing development environment for DD-WRT

After ensuring all the updates, we want to install the development libaries

I'm running as root because this box will not have any outside incoming connections anyways

apt-get install gcc g++ binutils patch bzip2 flex bison make gettext unzip zlib1g-dev libc6 subversion

Downloading DD-WRT Toolchains

mkdir ~/Toolchains
cd ~/Toolchains
wget ftp://ftp.dd-wrt.com/toolchains/toolchains.tar.xz

if for some reason, your download doesn't finish (power outage, inet outage) just add --continue after the wget and it will resume where it left off assuming you are in the same directory as your target download.

Uncompress the toolchains

tar -xpvJf toolchains.tar.xz

Downloading Development Code

mkdir ~/DEV
cd ~/DEV
svn co svn://svn.dd-wrt.com/DD-WRT .

This may take a bit. After it gets done, run it again to ensure you have updated files that have been changed while downloading the first time. Then you should be ready.