Disclaimer

I am not responsible if your devices send you back in time, explodes, implodes, bricks or flies into space from the use of any software I put up.

Search

Saturday, March 3, 2012

OpenWRT Built for TP-Link WR1043ND

PLEASE READ THIS POST COMPLETELY TO PREVENT ISSUES WITH YOUR ROUTER

What this firmware does

This firmware aims to be an opensource replacement for the stock TP-Link firmware in the Wireless N Gigabit TL-WR1043ND Router.
The firmware aims to provide equivalent or better features compared stock firmware.
The firmware will also leave empty flash sectors for users to install addition packages for special features they require.
Unlike stock openwrt firmware, this is a firmware fully optimized for performance, optimization is targeted at the MIPS24Kc System On Chip, debugging features stripped and scripts are minified, compressed specifically for this Router platform.

It is advised to add a heatsink to the AR9132 SoC, it does get quite hot after flashing my custom OpenWT firmware during intensive processing.

Software Features

  1. Protocol Supported: Static/DHCP/Dual Stack/6in4/6to4/6rd/PPP/PPtP/PPPoE/3G UMTS/L2TP/Relay
  2. LuCI GUI (Bootstrap)
  3. Dynamic DNS (Support HTTPS by skipping SSL Certificate checks)
  4. SQM-Scripts (Quality Of Service) Scripts
  5. TinyProxy
  6. UPnP (Universal Plug & Play)
  7. MultiWAN3
  8. Add User and Delete User accounts (no su function, use ssh root@youripaddress to get root while logged into router via SSH, this saves flash and achieves the same effect )
  9. External Harddisk supporting only EXT2/3/4 FileSystem (NTFS is SLOW and FAT is unreliable, while the EXT Kernel Module allows support for all 3 versions of EXT Filesystem)
  10. Vsftpd with SSL Support
  11. Layer 7 Filtering
  12. Patched Realtek Switch Driver supporting (Port Priority/Port Mirroring/Jumbo Passthrough/BCStormFiltering/VLAN4K)
  13. Reset to Defaults using the Reset Button GPIO
  14. Full Wireless Support 64/128/152-bit WEP / WPA / WPA2,WPA-PSK / WPA2-PSK including Enterprise Radius Authentication
  15. Fdisk Partitioning Tool
  16. Wake On LAN
  17. USB Printer Server
  18. Restore to OpenWRT default feature (just press and hold reset button)

    Additional Optimizations

    1. Expose more LuCI Options than Stock OpenWRT
    2. Additional LuCI patching to improve GUI for touch devices
    3. Optimized sysctl defaults
    4. Compiler flags optimization
    5. Additional packages are optimized for size
    6. All Wireless Channels unlock (if US region is selected)
    7. Max Transmit Power 24dbm
    8. Tested NAT throughput > 250Mbps LAN to WAN using jperf
    9. Minified CSS and Javascript 
    10. Patched Switch Driver for additional functionality 
    11. Remove additional debugging features from firmware
    12. Code Auroa QCA Performance patches
    13. OpenSSL Performance Optimization
    openwrt-ar71xx-tl-wr1043nd-v1-squashfs-factory.bin - For TP-Link WR1043ND that are NOT running OpenWRT

    openwrt-ar71xx-tl-wr1043nd-v1-squashfs-sysupgrade.bin - For  TP-Link WR1043ND currently running OpenWRT

    Before Flashing please read my previous posts about TP-Link WR1043ND to know what you are getting into. Consult the documentation @ OpenWRT Website or ask if you have any queries.

    You can download and install additional packages through the OpenWRT repository (the package installer is built into LuCI) but it will occupy more space on the JJFS partitions.

    Reboot After Disabling Unused Features For Better Performance

    My custom firmware comes with loads of features, however OpenWRT by default enables all features so you might want to disable features you don't need.

    Extra Services are disabled by default for greater performance

    This will boost the performance of services you need to run.
    If you experience low performance due to insufficient memory, you might want to create and mount a swap partition.


    DO NOT DISABLE IMPORTANT FUNCTIONS LIKE NETWORK!

    If you cannot access the Router try holding down the reset button this will reset the Router back to default.
    If you still cannot access the Router try serial ttl adapter.
    (This cheap device can debrick all configuration lockups except the bootloader so don't touch the bootloader)

    DO NOT UNINSTALL THE PACKAGES THAT ARE ALREADY THERE!

    The image is built using squashfs so it is READ ONLY. If you try to uninstall it only removes the hardlinks, no space is saved. If you don't want a function just disable it.

    -------------------------------Old Firmware & New Firmware Below-------------------------------

    Make sure you have sufficient FREE RAM (Check using LuCI SystemInfo) before you Flash any firmware!

    To free up memory for upgrading firmware, ssh into the router then type
    sysctl -w vm.drop_caches=1
    This will tell the kernel to drop page caches so memory is freed up for you to upgrade firmware. You need to free up memory because before the firmware is flashed to the flash memory, it has to be copied into the DRAM.

    The new files will be available on my github below.
    Barrier Breaker TP-Link WR1043ND
    Addition packages you can download and install into your OpenWRT Router to extend its capabilities.
    Barrier Breaker TP-Link WR1043ND Packages

    If you want to build your own firmware, I have placed the buildscripts in the Git Repo below:

    OpenWRT  TL-WDR4300v1 MIPS74Kc Architecture
    OpenWRT TL-WR1043NDv1 MIPS 24Kc Architecture
    OpenWRT TL-WDR4900v1 (PowerPC Architecture)

    It is recommended to reset the all the wireless client profiles to the router after an upgrade.

    To squeeze additional performance you can overclock the router (check my post on overclocking WR1043NDv1)

    117 comments:

    Philipp Klaus said...

    Hi there! Great work! Nice set of built-in features! How does the Multi-WAN work? Does it join the 3G and the gigabit copper WAN port?
    Just one question: Why did you remove the IPv6 over IPv4 Tunneling? You say it's not secure, OK. But no Internet / network communication is secure unless you secure it, right? So if you browse Facebook without https encryption, every server in the middle can read the page anyway (6to4 tunneling wouldn't make it worse!). And if your IPv6 traffic is encrypted anyway, you don't have to care if the 6to4 mechanism doesn't offer ADDITIONAL security... Just my two cents ;)
    By the way: I'm also a TP-Link TL-WR1043ND / OpenWrt enthusiast: http://blog.philippklaus.de/2011/04/openwrt-on-a-tp-link-tl-wr1043nd-gigabit-router/

    Admin said...

    Actually I find the OpenWRT RC6 very interface very easy to use so I put Tunneling back but I am too lazy to recompile the TinyProxy and Polipo built so IPv6 tunneling is built into the squid built but not the others, too lazy to recompile...
    I didn't get to try out Multiwan as I don't own more than 1 WAN connection =(

    rich said...

    Hi thanks for the post and taking the time to mod the WR1043ND firmware.in have installed your firmware
    but do you have any good easy guides for configuring pure-ftpd every guide that i have tried some always goes wrong the problem is settings up the virtual users and their home dir on a usb hard-drive mounted to this router on the first dd-wrt this was very easy but their was not function to set-up the ssl/tls
    I can set-up pure-ftpd in Ubuntu without any problems and it works ok but keep hitting a wall when trying to configure in your firmware mod version of openwrt

    Regards
    Rich

    Dave said...

    Thanks for this work. I successfully used your previous builds, but the ones using the new Linux kernel are not stable for me. The wifi quits working after a few hours. I reverted back to the previous builds and all is OK now.

    Regards,
    Dave

    Hidden Gem said...

    Great firmwares! works like a charm and has great features, I check your blog often for updates and have noticed a new firmware you posted and was wondering if there is a changelog for the new firmware.

    Thanks!

    Admin said...

    Glad it works well for you.
    Well, the firmware was originally meant for myself (I am using it) but I see no harm sharing with others.
    If you are having problems with the firmware, memorise the configuration and try flashing using the option 'Do not save config files'.
    This will nuke the config files which could be the source of abnormal behaviour.

    Admin said...

    We still have 1MB more for extra packages.
    Anyone want to include any extra features?
    I am thinking of including torrent client but if performance isn't good then forget it.
    Built in Radius Server?

    Hidden Gem said...

    Hi,

    If you can add a MLPPP feature that would be great :)

    Ricardo said...

    Can you please send-me a upgrade image only with basic stuff? Because a need more free space and this version have a lot of thinks i dont use. My email x3001_3@hotmail.com Thanks

    Hidden Gem said...

    Hi,

    thanks for the updated fw works great! :)

    just a couple of things if you could help.

    When I do a sysupgrade and check off "keep settings" the upgrade does not work until I uncheck the keep settings option.

    Also when I ssh into the router I get this message.

    Command 'groups'
    failed with return code 127 and error message
    -ash: groups: not found.

    and lastly telnet returns login failed and has never worked for me with your fw's.

    Thanks

    Admin said...

    1)Actually I suggest you to use the create backup option to save your old configuration, it is cleaner this way.
    It might be because there is not enough free memory to keep the setting on the router.
    2)That is the non-fatal error for winscp just ignore it.
    3)When you enable password telnet will not work. Use Putty and ssh into the router.

    Hidden Gem said...

    Thanks for the update, created a backup of my configuration.

    1 last thing and maybe its supposed to be this way but I setup my printer over the network Canon MP610 I can print over the network but I cannot receive information from the printer like scanning or ink levels.

    Thanks.

    Admin said...

    It is supposed to be this way.
    Ink Levels and additional stuff have to be done using propriety protocols.
    Linux Network Printing is done over standard printer protocol.

    Markuz said...

    Cant update settings about mounts and trasmission cause no space is left, any way to fix it? :(

    Admin said...

    you are suppose to get a self powered external HDD, partition it, format with ext2 or ext3 or ext4 (without journal for better performance) then mount it on the router mountpoint by running mount /dev/sdwhatever is your partition recognised. Then go to transmission page point all the directories to somewhere on the partition.
    THEN run torrent.
    If you didn't do this simply reboot the router it will free up the RAM then disable/stop torrent do what I said at the start then start torrent again.
    My firmware leaves around 700+ kb and you shouldn't be using torrent to download into the flash there is no space.
    Also I included fail safe so the reset button should work.

    Markuz said...

    Yeah transmission is stopped (I obviously didn't start it since i was still messing around with mount points). Probably other services that auto enabled when i looked at /Startup (noticed that since all IM connections started dropping like the p2pblock enabled) hogged the memory. Will try your suggestion and go through reboot/disabling all the unneeded and see if it works, thanks ^^

    Hidden Gem said...

    Hi,

    can you include what you have disabled in the startup tab in the save configuration file?

    thanks.

    Extreme Sports said...

    Hi,

    I am having major wireless issues with k3.3.3 and k3.3.4 I had to downgrade to k3.3.2

    speed issues were slow and sometimes I could not even connect to my network.

    everything seems to be working with k3.3.2

    by the way I changed my name from Hidden Gem

    Thanks.

    Admin said...

    Your /etc/config/wireless file?
    Or you can reset the wireless file with the following command
    rm -f /etc/config/wireless
    wifi detect > /etc/config/wireless

    Extreme Sports said...

    Hi,

    I seem to have figured out the problem.

    I was using a saved config file to restore my settings. This time I installed k3.3.4 and manually entered all my settings and everything seems to be working fine.

    Extreme Sports said...

    also I have noticed your earlier versions the mtune24kc performed a lot better I don't know what the difference is but performance was better with them.

    Thanks for your work I appreciate it :)

    Admin said...

    All my current builds are compiled with mtune24kc. The drop in performance could be due to inclusion of torrent utilities which should be turn off when not in use to reduce memory consumption.

    Extreme Sports said...

    Hi,

    ok I will try disabling it.

    Is it possible to get a lite version of the fw?

    All I use is the print server and I stream wirelessly movies wirelessly from my laptop to my tv. Everything else I dont use.

    Extreme Sports said...

    Hi,

    can this router handle a SSH Tunnel?

    I would like to connect with an outside computer and tunnel my internet through my router.

    I would also like to restrict access by ip.

    Thanks.

    天涯 said...

    thank you for your firmware.
    my english very poor.
    i need model "kmod-macvlan",i'm download it from download.openwrt.org, then try to install it,but kernel version error,can't work.

    could you add it in firmware for me?

    thanks!

    Admin said...

    I just updated the firmware to the latest kernel version, it should work now.
    Previously it was because I didn't compile a new version with the same kernel as the packages in OpenWRT repository.

    Никита Коптелов said...

    Can you tell me please what patches exactly did you applied? :)

    Admin said...

    I uploaded the files I changed in Changed BuildRoot Files just go and take a look.

    AlesS said...

    Could you please also publish the config file of your OpenWrt build? I'd like to build it myself, too, and as I have never done an openwrt build before, I'd like to have a config to study.

    天涯 said...

    Thank you for your great work!

    I try new firmware, but module KMOD-MACVLAN can't work still.

    my step:

    1.download kmod-macvlan from download.openwrt.org

    2.try to install and test it

    root@OpenWrt:/tmp# opkg install kmod-macvlan_3.3.7-1_ar71xx.ipk
    Installing kmod-macvlan (3.3.7-1) to root...
    Collected errors:
    * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-macvlan:
    * kernel (= 3.3.7-1-5f583fd8df4941dd98ed07fcc1535a2b) *
    * opkg_install_cmd: Cannot install package kmod-macvlan.

    root@OpenWrt:/tmp# opkg install kmod-macvlan_3.3.7-1_ar71xx.ipk --force-downgrade
    Installing kmod-macvlan (3.3.7-1) to root...
    Collected errors:
    * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-macvlan:
    * kernel (= 3.3.7-1-5f583fd8df4941dd98ed07fcc1535a2b) *
    * opkg_install_cmd: Cannot install package kmod-macvlan.

    root@OpenWrt:/tmp# opkg install kernel_3.3.7-1-5f583fd8df4941dd98ed07fcc1535a2b_ar71xx.ipk --force-downgrade
    Multiple packages (kernel and kernel) providing same name marked HOLD or PREFER. Using latest.
    Downgrading kernel on root from 3.3.7-1-016278a5a1e3086184c1f9c7fe0af086 to 3.3.7-1-5f583fd8df4941dd98ed07fcc1535a2b...
    Configuring kernel.

    root@OpenWrt:/tmp# opkg install kmod-macvlan_3.3.7-1_ar71xx.ipk --force-downgrade
    Installing kmod-macvlan (3.3.7-1) to root...
    Multiple packages (kernel and kernel) providing same name marked HOLD or PREFER. Using latest.
    Configuring kmod-macvlan.

    root@OpenWrt:~# ip link add link eth0.2 address 89:11:88:33:44:4E vth1 type macvlan
    RTNETLINK answers: Cannot assign requested address

    please tell me how can i do?

    thanks!

    PS:I use the official website of the firmware, the module kmod-macvlan , it can work.

    Никита Коптелов said...

    Thank you :)
    btw, when I try to separate wifi and lan on latest build, DHCP on wifi does not work, but maybe that's my error somewhere... I'll take a look.

    AlesS, here's my example:
    http://untrack.shellmix.com/owrt.cnf

    Никита Коптелов said...

    uhh, also i host my build (now with all tweaks from me and AspireG, you don't mind Admin? :) ) and repo for it
    http://untrack.shellmix.com

    AlesS said...

    Thanks for the config, Никита. Got a couple of questions, if you could comment. I see you enabled CONFIG_PACKAGE_kmod-switch-rtl8366rb, which of course is logical to me as TL-WR1043ND sports that switch chip, but it's not selected by default for some reason, so I had to select it myself. Are there any other things to select, that should be selected, but are by default not selected? At CONFIG_TARGET_OPTIMIZATION I see you're using -O2 optimization, but the default is -Os; what's the difference?

    Никита Коптелов said...

    AlesS, thanks for feedback) What packages my conf is missing? I'm not very observant, so it can be my mistake... :)
    -Os is optimization for size - enabling all opts that would not increase final size of image
    -O2 optim-s for speed, enabling all optimizations but increasing overall size of image

    You can take a closer look on these options here: http://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html

    Никита Коптелов said...

    I think, you can enable -O2 -finline-functions -fpredictive-commoning -ftree-partial-pre (which is partial -O3), but you might need strip non-priority packages from the build

    Admin said...

    Feel free to maintain your own builds.

    blueven said...

    Hi, at the moemnt i have gargoyle firmware. WHat version i have to install of openwrt? squashfs or sysupgrade?

    I need qos works very well. Do you have experience of it?

    Thanks for you work.

    Admin said...

    Use sysupgrade.

    Admin said...

    O2 Optimization Sysupgrade Size: 7405572
    Os Optimization Sysupgrade Size: 7077892
    I have tested performance between O2 and Os, my conclusion is it is not worth it.
    The difference is in size only yield slight improve in performance in some tests and drop in performance in others.
    So Os should be used instead of O2.

    blueven said...

    Hi, i installed lates version with kernel 3.3.8, but pure-ftp does not start at boot, even if i call it directly: /etc/init.d/pure-ftpd start.
    Is a bug or my error?

    Admin said...

    Works for me.
    You should check your configuration file.

    blueven said...

    I copy your configuration in this post: http://aspiregemstone.blogspot.it/2012/02/configuring-pure-ftpd-with-tls-on.html

    That is:

    config pure-ftpd
    option port '21'
    option noanonymous '1'
    option chrooteveryone '1'
    option maxclientsperip '20'
    option maxclientsnumber '40'
    option umask '133:022'
    option authentication 'unix'
    option enabled '1'
    option passiveportrange '1985:2000'
    option tls '1'
    option daemonize '1'
    option authentication 'puredb:/etc/pureftpd.pdb'
    option prohibitdotfileswrite '1'
    option prohibitdotfilesread '1'
    option userbandwidth '50:50'
    # option natmode '1'
    # option brokenclientscompatibility' '1'


    If i ps, there isn't service running.
    What other i can control?

    Admin said...

    Check you didn't disable Pure-FTPd.
    You can see if it is disabled in the
    System -> Startup Page.
    Or simply
    /etc/init.d/pure-ftpd enable
    /etc/init.d/pure-ftpd start

    Admin said...

    If you still can't get it maybe you want to sysupgrade again.

    blueven said...

    excuse me, my error. I need to disable tls because i don't use it. Now the service start.
    Thank you.

    Your is a simply great distribution for our router! ;)

    Extreme Sports said...

    Hi,

    I updated the k3.3.7 on 5/28 how am I supposed to upgrade to the newest kernal you say not to use the sysupgrade?

    Also after I have upgraded to the new kernal can I upgrade the firmware as per normal methods?

    Thanks.

    Extreme Sports said...

    Hi,

    I updated the k3.3.7 on 5/28 how am I supposed to upgrade to the newest kernal you say not to use the sysupgrade?

    Also after I have upgraded to the new kernal can I upgrade the firmware as per normal methods?

    Thanks.

    Admin said...

    Hi, what I wanted to mean is that don't use the LuCI to upgrade.
    I am not sure if LuCI sysupgrade is really broken.
    You can try to use the ssh sysupgrade instead.
    Reboot before trying to sysupgrade.

    utrack said...

    Where's your updates? :(

    Extreme Sports said...

    Hi,

    I tried to upgrade and now im locked out of the router is there any way to get it back?

    I still have the interent on it but I cant login to router the sys light is off and wireless is off.

    thanks.

    Extreme Sports said...
    This comment has been removed by the author.
    Admin said...

    OpenWRT has a failsafe mode.

    Admin said...

    Link to Failsafe Mode

    Extreme Sports said...

    failsafe mode didnt work

    when I ping the router I get this:
    Pinging 192.168.1.1 with 32 bytes of data:
    Reply from 192.168.1.10: Destination host unreachable.
    Reply from 192.168.1.10: Destination host unreachable.
    Reply from 192.168.1.10: Destination host unreachable.
    Reply from 192.168.1.10: Destination host unreachable.

    Ping statistics for 192.168.1.1:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

    but when I try to telnet it wont connect, just gives me error

    Extreme Sports said...

    I found out failsafe mode only works when the sys light is on.

    For me the sys light never comes on so I guess using a serial cable is next?

    Admin said...

    Serial will definitely work because sysupgrade doesn't touch the bootloader. Or you can warranty it =)

    Ryan Heatherly said...

    Hey admin, I am planing on purchasing a WR1043ND, but i am unsure, because people on OpenWRT forum told me not to get it, and get the WDR4300 instead. problem is the WDR isn't available where i am for 2 months, and it's going to cost double.

    I wanna know if this router is good enough to stream media files on a usb attached to the router, as well as download torrent files to that usb, through transmission and RSS downloader.

    People have said that the router cant handle large torrents and consumes most ammount of the CPU..

    What should i do? :S

    Extreme Sports said...

    Hey,

    I successfully unbricked my router and I made a write up of it on the openwrt for others to use and unbrick their routers.

    https://forum.openwrt.org/viewtopic.php?pid=173844#p173844

    Extreme Sports said...
    This comment has been removed by the author.
    Extreme Sports said...
    This comment has been removed by the author.
    Extreme Sports said...

    can you add IPSec VPN tunneling to this firmware?

    Thanks.

    Claudiu said...

    Hi! I really like your firmware, because is very stable, but it seems that the latest version keeps my torrent download limit to 1.10 MB - 1.15 MB. Is there anything I can look for to increase this speed? My connection speed is 10 MB, so it should download with 5-6 MB as it usually was doing.

    Any help is perfect.


    Thank you! You are great!

    Admin said...

    I disable uTP in the latest version because it was generating error messages.
    You can try editing the config file
    /etc/config/transmission to enable it.

    Nicolás Matías Ibáñez said...

    Hi there!

    Great firmware! I changed from Ddwrt to (your) Openwrt and it works like a charm.
    The only issue I could detect is that uShare gives me an error while opening it's tab from Lici:

    "This page contains the following errors:
    error on line 133 at column 40: xmlParseEntityRef: no name
    Below is a rendering of the page up to the first error."

    Tested on Chromium browser.

    What could it be?

    Thanks!

    Admin said...

    Hi if you have bugs please report upstream to LuCI development include the error message, what you were doing to encounter it the LuCI release number to LuCI development site. They will be happy to fix it.

    Disclaimer: OpenWRT is NOT mine, I just created a build from OpenWRT source that I use with the features I need with the patches I use and share it with others who like the features I included.

    OpenWRT default build has insufficient features because it is intended as a build test, and installing packages takes a lot of flash, by custom building you get more features with less flash.

    To sum it up while DD-WRT provides the binaries, OpenWRT provides the source , flexibility and features.

    Anyway thanks

    Nicolás Matías Ibáñez said...

    Dear Admin,

    I do understand that OpenWRT is not yours, I guess it was all a missunderstand due to my way of expressing it (I only speak english as a foreingh language).

    I was just reporting a bug that (I tought) would mind to you, my mistake!

    I'll report it to LiCI development team!

    Now, YOUR work (the build that you made, with all the features and stuff) is great, and I'm really happy using it.

    Thanks a lot for sharing your hard work!

    Extreme Sports said...

    Hey admin,

    your print server doesnt work on your new firmware r33502 and bata2 I had to go back to fw r32630 for the print server to work again.

    Thanks.

    Admin said...

    Error message?

    Extreme Sports said...

    where do I check for error messages on the router?

    however when I try it on the new firmware my computer goes to print like normal and everything looks fine but it just doesn't make it to the printer.

    I will load r33502 again and see if I can find an error message.

    thanks.

    Extreme Sports said...

    Here is the error from the router:

    Oct 24 09:57:24 Restricted lpr.err p9100d[1942]: /dev/lp0: No such file or directory, will try opening later

    and repeats itself a number of times.

    Thanks.

    Extreme Sports said...

    Hi,

    I fixed it by adding the usb to the device directory.

    Original: /dev/lp0
    Modified: /dev/usb/lp0

    everything works fine now.

    Admin said...

    Ok will be adding /dev/usb/lp0 as default

    Jonathon said...

    Hey admin, this is a fantastic post, and your article has led me to buy this router. Now all I want to use it for, is to share some videos (all different types, eg .mp4, .mkv, .avi) over wifi to my android tablet. I'm not using this for internet.

    So basically I want this setup to be:
    1) Plug my 1TB 2.5" hard drive in (NTFS)
    There are a couple of reasons why I nees to keep the drive in ntfs, and compatibility with windows is not one of them, since I use neither a mac nor a windows computer at home)
    2) Share files from the drive through wifi to my android tablet, as a samba share.
    3) Speed ia not important at all, as all I will be doing is streaming videos, nothing else.

    So I was wondering, if tou wpuld be able to make me a quick firmware image based on what you've already done, but just with the ntfs modules added? I don't know how to do any of this so I'm relying on someone like you to do if for me. Btw I'm happy to donate $10 or so if you culd do this, it would be hugely appreciated.

    So: NTFS hard drive support, and SAMBA support, that's all I need!

    Cheers :)

    Admin said...

    You can download the kmod-fs-ntfs from the openwrt repository it is quite small and install it.
    The reason why I recommend ext3/4 is due to performance.
    The router has a low performance SoC so ext3/4 offers better performance.

    kenjixx fatt kiong said...

    I'm using the latest firmware from the download link you provide..
    I notice that the p2p block will block my white listed ip after the router restart..
    is there a proper way to set up p2p block .. thank you

    Admin said...

    Possibly a bug I will ask the devs about it.

    Extreme Sports said...

    Hi,

    I don't use transmission and don't plan on using it.

    Do I just remove these 3 packages to completely uninstall it?

    transmission-daemon
    transmission-remote
    transmission-web

    Thanks

    Extreme Sports said...

    Hi,

    also is it possible to update to k3.3.8-1 ?

    I am trying to install some pkg and it says it needs the new kernel.

    here is the error.
    Installing xl2tpd (1.3.1-1) to root...
    Downloading http://downloads.openwrt.org/attitude_adjustment/12.09-rc1/ar71xx/generic/packages/xl2tpd_1.3.1-1_ar71xx.ipk.

    Collected errors:
    * satisfy_dependencies_for: Cannot satisfy the following dependencies for xl2tpd:
    * kernel (= 3.3.8-1-5440da3a2c45184a32da6bba25b8dd2a) * kernel (= 3.3.8-1-5440da3a2c45184a32da6bba25b8dd2a) *
    * opkg_install_cmd: Cannot install package xl2tpd.


    Thanks

    Admin said...

    You can only disable it from starting in the startup because the image is already inside the squashfs (compressed image) so you only remove the links when you uninstall it (aka no space savings) as for the build issues it is because my build isn't sychronised with OpenWRT's AA RC build.
    It will definitely be resolved when AA is finalised/released, for now I will try to catch up with OpenWRT

    Admin said...

    The whitelist was indeed a bug.
    p2pblock whitelist fixed in the latest version.

    kenjixx fatt kiong said...

    thanks for the respond :)
    going to update the firmware now

    nono98920 said...

    Hi, nice work with the firmware image, could use possible apply the jumbo frame patch so the switch can pass 9k mtu's and your firmware would be superb.

    Admin said...

    Hi
    IIRC the Atheros SoC does not support Jumbo Frames even though the Realtek Gigabit switch does so no luck.

    Billy Bob said...

    Hi,

    love the firmware is it possible to get openvpn working with this firmware?

    Thanks.

    Admin said...

    I included pptpd in the latest release + port mirroring.
    I chose pptpd even though it is not the most secure because:
    1)The router cpu is not very powerful
    2)All device support pptpd including your android tablets
    3)Easy to setup
    If you still want OpenVPN you can download from OpenWRT repository.

    Billy Bob said...

    Hi,

    I am using your latest release and cant find pptpd to setup.

    also I tried looking for luci-app-openvpn and couldnt find that either to download and install.

    Is there a way to get a tab in the services section to setup a VPN that my whole network runs through.

    Thanks

    Billy Bob said...

    sorry I just saw you put up a new version of the firmware and saw that pptpd was installed.

    What I am looking for is using the router as a openvpn client setup and not a server.

    I cant find the luci-app version of openvpn and was wondering if you had a copy of it.

    Thanks.

    Admin said...

    LuCI VPN Client App is currently marked broken.
    You can still install it but configure it using terminal.

    Bill Murray said...

    Hi,

    I connected a ext4 usb HDD 1TB to the router and the speeds for copying are horribly sloooow and most of the time it just crashes the router.

    I looked at the log and it is using USB 1.0 for the usb device the HDD is USB 3.0 so it should use the USB 2.0 interface.

    here is the log from the router:
    [ 8.250000] usbcore: registered new interface driver usbfs
    [ 8.250000] usbcore: registered new interface driver hub
    [ 8.260000] usbcore: registered new device driver usb
    [ 8.810000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [ 8.820000] ehci-platform ehci-platform: Generic Platform EHCI Controller
    [ 8.820000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
    [ 8.860000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
    [ 8.880000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
    [ 8.880000] hub 1-0:1.0: USB hub found
    [ 8.890000] hub 1-0:1.0: 1 port detected
    [ 8.900000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [ 8.980000] Initializing USB Mass Storage driver...
    [ 8.980000] usbcore: registered new interface driver usb-storage
    [ 8.990000] USB Mass Storage support registered.
    [ 9.240000] usb 1-1: new high-speed USB device number 2 using ehci-platform
    [ 9.410000] scsi0 : usb-storage 1-1:1.0

    is there any way to force it to use the USB 2.0 interface.

    Bill Murray said...

    I disconnected and connected the HDD and here is the log when I did that.

    [ 2189.800000] usb 1-1: new high-speed USB device number 3 using ehci-platform
    [ 2189.980000] scsi1 : usb-storage 1-1:1.0
    [ 2190.990000] scsi 1:0:0:0: Direct-Access OEM Ext Hard Disk 0000 PQ: 0 ANSI: 5
    [ 2191.010000] scsi 1:0:0:1: CD-ROM Virtual CDROM PQ: 0 ANSI: 0
    [ 2191.050000] sd 1:0:0:0: [sda] 244011446 4096-byte logical blocks: (999 GB/930 GiB)
    [ 2191.070000] sd 1:0:0:0: [sda] Write Protect is off
    [ 2191.080000] sd 1:0:0:0: [sda] Mode Sense: 10 00 00 00
    [ 2191.090000] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    [ 2191.130000] sd 1:0:0:0: [sda] 244011446 4096-byte logical blocks: (999 GB/930 GiB)
    [ 2191.220000] sda: sda1
    [ 2191.270000] sd 1:0:0:0: [sda] 244011446 4096-byte logical blocks: (999 GB/930 GiB)
    [ 2191.310000] sd 1:0:0:0: [sda] Attached SCSI disk
    [ 2192.090000] EXT4-fs (sda1): recovery complete
    [ 2192.100000] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)

    Thanks.

    Admin said...

    You might have to feedback to openwrt developers. This could be an issue with USB OHCI Drivers.

    Tay Hock Lye said...

    Hi,
    I have problem reverting my router to stock firmware from your custom built. At first, it said not enough memory. So I used this command I
    found here: sysctl -w vm.drop_caches=1 Then, I received another error "The uploaded image file does not contain a supported format.
    Make sure that you choose the generic image format for your platform".
    I am using your latest RC1.
    I tried to revert to firmware from TP-Link, wr1043nv1_en_3_13_4_up(110429).bin and wr1043nv1_en_3_13_10_up(120210).bin
    Please help, Thank you.

    Admin said...

    I included the revert to factory image in the download folder.
    Use scp to upload the image to /tmp directory and run sysupgrade /tmp/name_of_file -nF. Wait for it to finish and reboot.

    Wilfried Gödert said...

    Hi,i tested to install your AA Firmware and was working nice.

    I have a problem to set up with Webinterface a corect client for Wlan.
    Scenario: Hotel room, hotel offers a free Internet for their guests and a second secure internet for use with another accesspoint. I like after configure it to use it with Multiwan hopefully both. Just for idea.
    First i did try a testing configuration for one. I did search Wifi and find the open internet. After installing with the webinterface the Preconfigured AP was gone so only my. First how to set up properly.

    I could conect with cable but second hint was no internet given.

    Firewall? How to set in the firewall Internet to use as client.

    Some preinstalled config will be helpfull in yours firmware for beginners.

    Wilfried Gödert said...

    to late i brged my second wr1043 ND after i got no success to getit in wireless repeater function i tried to

    revert to factory image in the middle it broke up and now power led runs and after this all rest of the LEDs flash up for one second and nothing more happens.

    Admin said...

    Buy a serial TTL from ebay.

    Wilfried Gödert said...

    Thanks i bought this and hope until 60 days it arives and i get it to run with it. Problemi do not know the firmware update bricked the booter too? Maybe some live support when i try to debrick it?

    my yahoo ID is arztde@yahoo.de skype is arztde

    if Wlanrepeater is not possible with wr1043 nd V1.8 what router you sugest?
    Repeater is a very often used need but i did not find much about this in Openwrt.

    Wilfried Gödert said...

    I am confused because allways the firmware was possible to setup up to 27 dbm. As far i know you do nothing do without reasons. Please let the community know, why you did reduce it to -24 dbm

    Bythe way my ttl did arrive today and i will debrick it and let you know it works or not.

    By the way i have a WR 1043ND router with Hardware Version 1.2 what is official not supported by open wrt. Do you see any possibility to get it run With Open WRT?

    Admin said...

    I didn't limit the radio, in fact I removed all software restriction.
    The max for WR1043ND is actually 24dbm.
    The 27dbm is the max allowed for US Regulatory Settings but I tried even if you set it to 27dbm, iwconfig will still only show 24dbm max. So no point keeping 27dbm since 24dbm is the hardware maximum.
    AFAIK all Version 1 TL-WR1043ND is the same hardware.

    FL said...

    You said that you achieved 300Mbps LAN to WAN over wire NAT on this firmware. Which router you use it ? WR1043ND or WDR4300

    FL said...

    Can I use Luci interface to upgrade your firmwire or using cmd ?

    Thanks

    Admin said...

    Both works. Actually WDR4300 is capable of 400Mbps but I have not uploaded the firmware. Currently I am still working on WR1043ND.

    Viktor Holló said...

    Hi!

    First of all thank you for your work and for sharing this with the community!

    I've found your page and read everything on it, and saw that your custom firmware is just what I need...

    So yesterday I decided to try it (did "not OEM" flashing for the very first time);
    Flashing was successful, but the WAN port was always disconnected.

    Therefore I tried to revert the firmware to the stock, using your image: wr1043nd_sysupgrade_back_to_factory.bin

    I used the web interface to do that.
    I got the "Flashing in progress..." page, but I think something went wrong.
    I waited and waited but nothing happened; the router did not restart, and only the power LED is light.

    Now I cannot connect to it on 192.168.1.1 neither in the browser nor with putty.

    Can you please help me what can I do?
    Only the ttl solution left? If this is the case can anybody show me a guide how to cure the router that way?

    Thanks in advance.

    Admin said...

    Here is the link to recovery using serial console.

    Gelson Santos said...

    Hi! Nice work on OpenWRT for WR1043ND. I tried original OpenWRT firmware on it, and was faced with several wi-fi disconnects and TX DMA errors. There is also a few open tickets describing the same exact issues related to poor wi-fi performance and frequent drops.

    My question is: have you fixed it somewhow? I´m really curiouns since original OpenWRT is unusable on 1043ND. I had to revert to original file due to those errors.

    Admin said...

    IMO it is fairly stable now.
    OpenWRT is constantly improving, I think it is fair to say Atheros is most stable on OpenWRT right now.

    Randy Crowder said...

    I've been trying to get dansguardian working on the 1043nd. The one you download using the package mgr has an issue reading a file and then says "killed". I compiled it under OpenWRT and got rid of the file read error (related to uClibc?) but it still says "killed" after a couple of seconds. I'm suspicious that it is simply running out of memory. Just wondering if you've tried it on your build? Or, if you'd be interested in compiling a version for me that I could try?

    Admin said...

    I have created and added the package but have not tested it.
    Personally I somehow feel that the older release were better on wireless, I feel that the latest ath9k patches is a bit cranky.

    Viktor Holló said...

    Well...if this is the case; which revision do you suggest to install (from your repo off course)?

    Stability is quite important to me, so which one do you think is the most stable?

    Thanks

    Admin said...

    The older releases are available in the backup folder.
    Usually I move good old releases from the bin/ folder into the backup folder and tag them accordingly.

    Wilfried Gödert said...

    Hi Admini did find a problem while i try to install Openvpn

    May you try to patch it in the build?

    opkg install openvpn-openssl
    opkg install luci-app-openvpn
    /etc/init.d/openvpn enable
    /etc/init.d/openvpn.luci enable

    does not work.
    maybe you know a more elegant way than:

    opkg --force-depends install openvpn-openssl
    mv /etc/config/openvpn /etc/config/openvpn.old
    mv /etc/init.d/openvpn /etc/init.d/openvpn.old
    opkg install http://luci.subsignal.org/trac/raw-attachment/ticket/489/luci-app-openvpn_1.0.0_all.ipk


    danieljoachims said...

    Good morning,

    I have a trouble with the TL-WR1043ND and the OpenWRT 12.09.1.

    The Data Rates (LAN <-> LAN) & (WAN <-> LAN) are very Good. The maximum data rate of the 100Mbit/s Network is obtainend. So with wired network i have no Problems.

    But with a Wifi-Connection is the data rate bad:

    In 802.11n Mode (130Mbit/s) and 98% Signal: (LAN <-> WLAN) => no more as 5Mb/s.

    In 802.11g Mode (54Mbit/s) and 99% Signal: (LAN <-> WLAN) => no more as 1-2 Mb/s. The same with (WAN <-> WLAN)

    Switch to another channel, disable P2P-Blocks, disable MSS,
    brought no improvement.

    In 802.11n Mode and HT 40Mhz (300Mbit) no more better as the normal 802.11n (130Mbit) mode.

    With my old Asus RT-G32 Router in 802.11n Mode (150Mbit) i have 8-9 Mb/s (WLAN <-> LAN).

    All other settings on the WR1043ND stand on standart.

    Best regards, Daniel Joachims from Germany

    Wilfried Gödert said...

    One thing is important maybe there was a bug in release candidate 1 AA described here...
    https://forum.openwrt.org/viewtopic.php?id=42539
    Admin did anounce he did fix the bug in older release with the drivers.
    Maybee bug is back?
    Once seemes import i guess not to use the AES Wifi protection because it reduce speed by the protocol

    the other can be an intermediate solution. Does it help tochange fromUDP to ICP?

    I think in general most use not WIFI high speed because insuch case more questions appear here in the blog.

    Its hard to find information how to optimize in general Wifi speed...

    Maybe some general suggestions of other readers can be posted here until Admin have the time for some suggestions.
    Its christmas time...
    Merry christmas to all

    Wilfried Gödert said...

    Seems you take a break in developement for vacation.

    I like to point you to some bugs in this time.

    Additional LuCI patching to improve GUI for touch devices

    Does not work for the moment.
    I did verify this for Android Galaxy 1 plus and same for iphone and ipad.

    Navigation of the drop down menue is not working inside yours build.

    Regards Wilfried Gödert

    Tiago Ramalho said...

    Hello

    Great work, i want to know if this firmware supports 4G usb gsm modem?


    best regards

    matrix200 said...

    Hi

    I just installed your firmware on a newly bought 1043nd v1.10 and it works great :)
    Wanted to suggest something though.
    The switch supports mibs for each port.
    What about making it so clicking on each port produces detailed port statistics derived from its mib?
    swconfig dev switch0 port (portnum) get mib (according to port clicked).
    I am thinking something like a popup window with all the stats.
    Also is it true that swconfig supports rate limiting on this router?
    That also could be a nice to have feature.

    ALL INDIA JOBS said...

    Hi
    Thank you for detailed explanation .
    I dont see openssh-server package .is there any particular reason y its not compiled into ipk .I an not able to find an ipk for this router. I know now I have to compile but if you know any location where I can find a working ipk file pls let me know .

    Thank you