Tag Archives: setup password

TP-Link TL-WR1043ND – Openwrt – Ch02_DDNS

0) Briefing

  • Up until now
    • OpenWrt installed, password set = ssh enable, Wifi enable
    • 4.785MB memory left (4900B) from fresh
  • What next
    • First time login router with SSH
    • Install software from Command-line-interface
    • Install DDNS client
    • Link account to router


1) Login router with SSH

  • In Microsoft Windows, use PuTTY (Download here)
    The rest of the instruction will be using Linux. Seriously, if you do not know how to use Linux command-line, you will have not hope working with the router. OpenWrt is just another version of Linux.
  • In Linux, open up your favorite terminal.
  • Type in the following command
    ssh root@


2) Install DDNS client

  • Update the local software database, so you will know what are available to you.
    The database is stored in RAM and will lost at each reboot.

    opkg update
  • To read the software list
    opkg list
  • Try to pin point the DDNS software
    opkg list | grep -a ddns
  • Install the DDNS software, this is for CLI settings only
    opkg install ddns-scripts
  • If you want to set DDNS through web page ( they call the web page software “LuCI”), you install this instead
    opkg install luci-app-ddns


3) Setup DDNS client with

  • The DDNS client is kind of working with, just beware how I use the update code as password.
  • “vi” is a text editor in Linux. It is a bit tricky to understand how it works. However, it is a very powerful editor. ( Click here to learn how to use )
  • Edit the following config file
    vi /etc/config/ddns
  • Edit the followings
    • option enabled          “1”
    • option service_name     “”
      you must use the above name for service_name for FreeDNS
    • option domain           “”
    • option username         “abcd”
    • option password         “use_your_update_code_as_password”
      you can find this from their web page: For Members -> Dynamic DNS -> Direct URL
    • option ip_source        “web”
    • option ip_url           “


  • To kick off the service, trigger the WAN interface
    ACTION=ifup INTERFACE=wan /sbin/hotplug-call iface
  • To confirm, use this command

    Look for the following : {dynamic_dns_upd} /bin/sh /usr/lib/ddns/ myddns 0


Appendix : References


Posted by on April 13, 2013 in Networking, Router


Tags: , , , , , , , , , , ,

TP-Link TL-WR1043ND – Openwrt – Ch01_Installation

1) Flashing your Router

The router I have is a TP-Link TL-WR1043ND v1.10 (Version one point ten). Special attention is required.

  1. Downgrade your original TP-Link firmware, to get around the “WAN disabled at startup” bug
  2. Install the openwrt-…..-squashfs-factory.bin firmware, to convert firmware from factory to OpenWrt
  3. Install the openwrt-…..-squashfs-sysupgrade.bin firmware, to complete the OpenWrt installation

Here are the files, flash your router firmware in the following order:

  1. Downgrade firmware, which is the German stock firmware (v3.9.17) – (Click here)
  2. Install factory-to-openwrt firmware, it is attitude_adjustment 12.09 – (Click Here)
  3. Install sysupgrade firmware, it is it is attitude_adjustment 12.09 – (Click Here)


  1. Login to the router default webpage:
  2. a) For factory firmware, user_name/password = admin
    b) For OpenWrt firmware, user_name = root , password is not required
  3. Go to System -> Firmware -> Update Firmware
  • Repeat the above procedures 3 times, until you have flash all 3 firmwares.


2) Setup password for the first time

  1. Go to the router default webpage:
  2. Login without password for the first time
  3. There will be a red box alert you to change your password, click that link to access that webpage
  4. Input your new password
  5. Scroll down to the bottom of that page and click “Save & Apply” button


3) Enable Wireless Connection

  • WiFi is disable with default settings
  • Go to : Network -> Wifi -> Wifi Overview -> Generic MAC80211 802.11bgn (radio0) -> Edit
  • Device Configuration
    • Advanced Settings :: Mode = 802.11g+n
    • Advanced Settings :: HT Mode = 20MHz
    • Advanced Settings :: Country Code = AU
  • Interface Configuration
    • General Setup :: ESSID = name_you_like
    • General Setup :: Mode = Access Point
    • General Setup :: Network = lan
    • Wireless Security :: Encryption = WPA2-PSK
    • Wireless Security :: Cipher = Force TKIP and CCMP (ASE)
    • Wireless Security :: Key = password_you_like
  • Scroll down to the bottom of the page and click “Save & Apply”


Appendix : References

Leave a comment

Posted by on April 12, 2013 in Networking, Router


Tags: , , , , , , , , ,

%d bloggers like this: