DGND3700 V1 Transmission Bittorrent Firmware (original)

This page documents the first version of the firmware for information only
 * For the latest please see DGND3700 V1 Transmission Bittorrent Firmware 2

=Download= If you want to skip the blurb and just download it is here;

https://mega.co.nz/#!AVpnFZjb!AhN33SXTgd-aIEhoAH7SxjG6dVUApRQd8RxOam9sMYI

MD5 ea451ae6e34c48e66292cd1237791413 DGND3700_03021748_A_D.chk

=Creating the toolchain= You first need to create a fully compatible toolchain, please see here

=Structure=

This is my dir structure. It is a combination of the extracted GPL firmware nicely provided by Netgear and in addition I have a patches folder, a sources folder and add.sh which unpacks and patches everything from these two folders.

$ cd DGND3700_V1.0.0.17_1.0.17_src_full $ tree -L 2 . ├── add.sh ├── DGND3700 │   ├── bcmdrivers │   ├── data-model │   ├── hostTools │   ├── images │   ├── kernel │   ├── make.common │   ├── make.deprules │   ├── Makefile │   ├── make.voice │   ├── README │   ├── shared │   ├── targets │   ├── userspace │   └── version.make ├── DGND3700_build_instructions.txt ├── DGND3700_src.tar ├── patches │   ├── curl_Makefile.in.patch │   ├── curl_Makefile.patch │   ├── dropbear_common-session.c.patch │   ├── dropbear.Makefile.in.patch │   ├── dropbear.Makefile.patch │   ├── dropbear_sshpty.c.patch │   ├── dropbear_svr-auth.c.patch │   ├── fs.install_www_MNU_menu.htm.patch │   ├── fs.src_etc_inittab.patch │   ├── fs.src_etc_profile_dgnd3700.patch │   ├── hosttools_fakeroot_fakeroot.patch │   ├── kernel.config.patch │   ├── libevent_Makefile.in.patch │   ├── libevent_Makefile.patch │   ├── libreduction_extralibs.patch │   ├── make.common.patch │   ├── Makefile.patch │   ├── ntfs-3g_Makefile.in.patch │   ├── ntfs-3g_Makefile.patch │   ├── openssl_Makefile.patch │   ├── samba_Makefile.patch │   ├── strace_Makefile.in.patch │   ├── strace_Makefile.patch │   ├── targets_buildFS.patch │   ├── targets_makeDevs.patch │   ├── transmission_Makefile.in.patch │   ├── transmission_Makefile.patch │   ├── userspace_ap_gpl_config.in.patch │   ├── userspace_gpl_apps_Makefile.patch │   └── userspace_project_gpl_Makefile.patch └── sources ├── adsl_phy.bin ├── busybox-1.21.0.tar.bz2 ├── curl-7.29.0.tar.bz2 ├── dropbear-2012.55.tar.bz2 ├── dropbear_rsa_host_key ├── libevent-2.0.21-stable.tar.gz   ├── nat5.tar.gz    ├── ntfs-3g_ntfsprogs-2013.1.13.tgz ├── settings_dgn2200.JPG ├── strace-4.7.tar.xz   └── transmission-2.77.tar.xz

=Add.sh=


 * 1) !/bin/bash

ROOT="$(pwd)" sources="$ROOT/sources" patches="$ROOT/patches"
 * 1) Base paths


 * GPL
 * GPL

target="$ROOT/DGND3700/userspace/ap/gpl" target2="$ROOT/DGND3700/userspace/gpl/apps" target3="$ROOT/DGND3700/bcmdrivers/broadcom/char/adsl/impl1" target4="$ROOT/DGND3700/targets/DGND3700/fs.install/www" target5="$ROOT/DGND3700/targets/fs.src/etc"

tar -jxf "$sources/curl-7.29.0.tar.bz2" -C "$target" tar -zxf "$sources/libevent-2.0.21-stable.tar.gz" -C "$target" tar -Jxf "$sources/transmission-2.77.tar.xz" -C "$target" tar -Jxf "$sources/strace-4.7.tar.xz" -C "$target" tar -zxf "$sources/ntfs-3g_ntfsprogs-2013.1.13.tgz" -C "$target" tar -zxf "$sources/nat5.tar.gz" -C "$target" tar -jxf "$sources/dropbear-2012.55.tar.bz2" -C "$target" tar -jxf "$sources/busybox-1.21.0.tar.bz2" -C "$target2"

cp "$sources/.config" "$target2/busybox-1.21.0" #busybox config cp "$sources/adsl_phy.bin" "$target3/adsl_phyDGND3700.bin_save" #ADSL binary blob cp "$sources/settings_dgn2200.JPG" "$target4" #graphics cp "$sources/dropbear_rsa_host_key" "$target5" #dropbear key
 * 1) copy stuff not patchable or not worth bothering to patch


 * 1) PATCHES
 * 1) PATCHES

for i in $(ls $patches/*\.patch) do echo Patching "$i" patch -N -p0 < "$i" done

echo "Dont forget to:" echo "sudo -i" echo "cd $ROOT/DGND3700" echo 'export PATH=${PATH}:/opt/toolchains/uclibc-crosstools-gcc-4.2.3-3/usr/bin' echo "make PROFILE=DGND3700"
 * 1) dont forget to!
 * 1) dont forget to!

=Patches=

quickly regenerate above patch list
This is just for my own benefit to generate the above quickly for i in $(ls *.patch) ; do echo -e "\n==$i==\n\n " >> /tmp/p.txt  ; done

=Comments=

=Disclaimer=

Disclaimer: This site has no relationship with Netgear Corporation nor sponsored and endorsed by Netgear Corporation to post these informations. If you feel that this site has represent in manner which does not correspond to notnetgear @ richud. com Trademark & Advertising Guidelines" (section II-B)