Didj Networking quickly

Technical Requirements
1. UART (serial) connection to your Didj (http://elinux.org/Didj_Serial_Console)

2. A working cross-compiler environment. The scratchbox (http://elinux.org/Didj_Kernel_Build_Environment) is sufficient for generating a new kernel (or use your own). For reference, the examples in this document assume you have installed and are using the scratchbox environment.

3. 2009 sources (http://medialib.leapfrog.com/didj_opensource_code/Didj-Linux-4222-20090422-1236.tar.gz)

4. Didj/USB cable

Kernel/Module Configuration and Compilation
Out of the box, neither networking support nor the PTY devices used by busybox/telnetd are enabled in the stock Didj kernel

To add this support, make a custom kernel.

Making a custom kernel for networking and PTY support

In your kernel source directory, instead of doing the usual make menuconfig run make lf1000_ff_eth_defconfig (see http://elinux.org/Didj_Kernel_Build_Environment#Change_Kernel_Settings)

You will see a bunch of text config options fly past, when done simply type make

when thats done type make modules_install

you will find the resulting Zimage that you can boot from sd on a djhi in /tftp folder and g_ether.ko can be found in linux-2.6.20-lf1000/drivers/usb/gadget/

simply copy the zimage to the root of your sd card, boot the didj normally, enable mass_storage and copy g_ether.ko to your /Didj folder

now choose 'boot zimage from sd' in lightning-boot

to configure and use the g_ether drivers check out the other excellent networking tutorials such as this excellent one by Nirvous, you'll need a Host running a compatible linux kernel (ex: Ubuntu 8.04 Hardy. *note* this can be done from a live CD but you will have to install minicom, sudo apt-get install minicom)