DD-WRT Development in VirtualBox with Debian X64: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 14: | Line 14: | ||
<pre> | <pre> | ||
mkdir ~/ | mkdir ~/Toolchains | ||
cd ~/ | cd ~/Toolchains | ||
wget ftp://ftp.dd-wrt.com/toolchains/toolchains.tar.xz | wget ftp://ftp.dd-wrt.com/toolchains/toolchains.tar.xz | ||
</pre> | |||
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 | |||
<pre> | |||
tar -xpvJf toolchains.tar.xz | |||
</pre> | </pre> | ||
=== Downloading Development Code === | |||
<pre> | |||
mkdir ~/DEV | |||
cd ~/DEV | |||
svn co svn://svn.dd-wrt.com/DD-WRT . | |||
</pre> | |||
This may take a bit | |||
Revision as of 05:00, 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