Build from trunk or 'attitude_adjustment' or 'chaos_calmer' branch. For more information about building see the build documentation.
svn co svn://svn.openwrt.org/openwrt/trunk/
# Build configuration. From 'make menuconfig'; Target system: Ralink RT288x/RT3xxx, Subtarget: RT305x based boards
echo CONFIG_TARGET_ramips=y >.config
echo CONFIG_TARGET_ramips_rt305x=y >>.config
echo CONFIG_TARGET_ramips_rt305x_Default=y >>.config
When the build process is done (yes, this could take several hours), flash the appropriate generated (openwrt-*-squashfs-factory.bin) file from web interface or from recovery mode (turn off; hold reset; turn on; go to http://dlinkap or http://192.168.0.50). Use the file matching your router model (IE: openwrt-ramips-rt305x-dap-1350WW-squashfs-factory.bin for DAP-1350)
If you have already installed a version of openwrt and you wish to upgrade your installation
uploaded the new firmware from the LAN with 'scp openwrt-*-squashfs-sysupgrade.bin email@example.com:/tmp/'.
flash it on the router with 'sysupgrade /tmp/openwrt-*-squashfs-sysupgrade.bin'.
If you forgot your password, broke one of the startup scripts, firewalled yourself out, or corrupted the JFFS2 partition, you can get back in by using OpenWrt's failsafe mode.
Boot into failsafe mode
Unplug the router's power cord.
Connect the router's LAN1 port directly to your PC.
Configure your PC with a static IP address between 192.168.1.2 and 192.168.1.254. Eg. 192.168.1.2 (gateway and DNS is not required).
Plug the power on and wait for the DMZ LED to light up.
While the DMZ LED is on immediately press any button (Reset and Secure Easy Setup will work) a few times .
If done right the DMZ LED will quickly flash 3 times every second.
You should be able to telnet to the router at 192.168.1.1 now (no username and password)
What to do in failsafe mode?
NOTE: The root file system in failsafe mode is the SquashFS partition mounted in readonly mode. To switch to the normal writable root file system run mount_root and make any changes. Run mount_root now.
Forgot/lost your password and you like to set a new one
Forgot the routers IP address
uci get network.lan.ipaddr
You accidentally run 'ipkg upgrade' or filled up the flash by installing large packages (clean the JFFS2 partition and start over)
mtd -r erase rootfs_data
If you are done with failsafe mode power cycle the router and boot in normal mode.
Default Router Settings
IP : 192.168.0.50
Username : “admin”
Password : “” (leave field blank)
Polarity : ⊖―כּ―⊕
Input : 5V / 2.5A
FCC ID : KA2AP1350A1
If all else fails
The DAP-1350 has a special D-Link firmware mode that runs a HTTP server on 192.168.0.50 for uploading new firmware. If you get locked out and/or brick your device, you can get into this mode by holding down the reset button for 30-45 seconds while booting the device. Note that the IP of the server it runs is 192.168.*0*.50.