Questions?

If you have any computer related question that is too big to fit in the chatbox you can drop a message here.
Contact me for freelance Tech review writing @ alphasparc at gmail dot com. (Location: Singapore)

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.

The author of this site hates anything Apple as their overpriced, form over function walled-garden viral marketing goes against the very core of his principles.

Search This Blog

Loading...

Saturday, March 3, 2012

OpenWRT Built for TP-Link WR1043ND

PLEASE READ THIS POST COMPLETELY TO PREVENT ISSUES WITH YOUR ROUTER
Updated on 5/7/2012
-Kernel unchanged IIRC the developers wanted to focus on the 3.3 branch for the bufferbloat issues
-The developers did not update USB-Modeswitch-data so I did, to the 31st May release.
-Added traceroute6
-Along with all the updated to the release version
-My new format will be labeling the folder with the Trunk release branch you can trace the changes from OpenWRT developer Timeline Site.
Updated on 5/6/2012
-Kernel to 3.3.8
-ath9k patch + miniupnp patch
Updated on 30/5/2012
-A lot of changes
-netif scripts, wireless patch, ethernet patch
-Kernel 3.3.7
If you did upgrade the Kernel 3.3.7 previously on 28/5 DO NOT use LUCI to upgrade again.
The developers bricked something in LuCI
Upload to the Router RAM and use sysupgrade
Updated on 4/5/2012
-Updated Kernel to 3.3.4
-Updated Samba Package to 3.6.5
-Remove Quagga and related libraries resulted in size of 6.6MB
-I removed it because almost all users setup their routers as an NAT Gateway no need for Routing Protocol between Routers.

Updated on Kernel 3.X : 25/4/2012
-Update to Kernel 3.3.3
-Replace wpad with wpad-mini (No Enterprise Wireless Authentication)
-Remove BGP from Quagga
I guess thats it for software suite anyone feels any need for any useful software feel free to suggest changes.
Some rough expectation on USB Performance
Router running Samba 3.6 sharing an External HDD with Ext3 Formatted Partition.
Wireless set to N with compression, fast frames bursting and noscan on 40MHZ
On Ethernet Cable you can expect 10MB/s Data Throughput
On Wireless you can expect around 6MB/s Data Throughput

Updated on Kernel 3.X : 19/4/2012
-Update to Kernel 3.3.2
-Include Transmission Remote to control Transmission over commandline
-Include Atheros Wireless Patches
Revise Version
-Removes BGP(Border Gateway Protocol) it is a heavy weight protocol used by ISP.
-Revise Version fixed Conntrack not displaying connections.
-Replace wpad with wpad-mini so Enterprise Wireless Authentication support is remove
(No WPA PEAP etc)

The usage scenario is like this:
While you are out from home, you remembered you wanted to show your kids the OpenSource Movie "Big Buck Bunny" (Yea rite LOL) but you are away from home and holding only your smartphone you have no computer with you.
You remember your modified Router running OpenWRT so you fire up SSH to establish an encrypted session into your Router.
You are glad you openup your SSH ports as Console over internet consumes very little bandwidth over your data-based 3G subscription.
It is also not wise to open your http ports on your home router to control LuCI as it exposes the machine you are running.
You already had configured a Dynamic DNS Service on your Router so the Service Provider returns the IP Address of your Router, you enter your password and volia, you have the con!
You have already configured transmission to download into your mounted external harddisk connected to the router so you run "transmission-remote -a www.themagnettorrentlink.com".
Immediately your Router starts to torrent the OpenSource Movie over the internet.
You have a high speed internet subscription so by the time you get home the download is complete.
At home you do not need to do anything to the file.
After the download is completed you stop the torrent but leave the file intact.
You have an internet enabled Television set connected to the Router so you simply refresh the uShare service, it will detect the new Movie and host it over the DLNA Service.
You turn on the TV and access the Movie hosted by the Router and watch it with your kids.
After watching you thought it was good and want to share it with your friend.
So you host it on your FTP File Service on your Router and create a limited account for your friend to login and download it from your high speed internet connection.
Also you turn on your Windows computer and copy it via Windows Share hosted by SAMBA on your Router to share with your friends who do not have high speed network connection.
The next day you remembered you forget to copy your presentation slides from your Desktop so you make a call to your kids to copy the file to the FTP Server hosted on your Router so you can login to your Router via FTP to download the files and save the day.

All these are the flexibility and benefits afforded by OpenWRT by turning your cheap Router into an incredible device.
Does it sound exciting? If it does, try OpenWRT today!


Updated on Kernel 3.X : 19/4/2012
-Update to Linux Kernel Revision 3.2.15
-Remove useless extra packages to free up space for Bittorrent (YEAH!)
-Add LuCI Transmission support and Transmission packages
-Increase TCP buffers in sysctl to fix Samba Performance issues with Windows Clients
Please make sure your backups does not contain the file /etc/sysctl.conf to avoid overwriting the sysctl.conf I have included which contains the performance fix.
Or you can add it in yourself
net.ipv4.tcp_rmem = 4096 87380 1048576
net.ipv4.tcp_wmem = 4096 65536 1048576
-I just updated OpenSSL to include the fix for the vulnerability  (CVE-2012-2110)
Your libopenssl in LuCI -> System -> Software should read libopenssl 1.0.1a-1 and your firmware version should be "Firmware Version OpenWrt Attitude Adjustment r31346" if not update to include the fix

Updated on Kernel 3.X : 11/4/2012
I actually name it security update because of the SAMBA exploit patch but didn't realised the kernel was updated by OpenWRT trunk as well
-Updated to the Kernel Revision 3.2.14
-Include SAMBA Security Patch


Updated on Kernel 3.X : 7/4/2012
-Updated to the Kernel Revision 3.2.13
-Include Latest Patches from Openwrt

Updated on Kernel 3.X : 14/3/2012
- Compile Image with -mtune=24kc to improve performance with Atheros MIPS24Kc SoC
-From this release on all firmwares are compiled with -mtune=24kc because the flag is stable and you get performance boost from just a flag change, it will be foolhardy not to do it.
- Added BootStrap Theme (You have to be quite sick of the default theme by now)
- To use bootstrap theme ssh or telnet in then copy and paste the following lines
echo -e "\toption bootstrap '/luci-static/openwrt.org'" >> /etc/config/luci
-Press Enter
/etc/init.d/uhttpd restart
-Press Enter
- You can now select bootstrap theme from  LuCI -> System -> Language and Style -> Design
- I also reconsidered my understanding of tweaking performance and modified a few sysctl settings.
- The TX/RX DMA errors are largely fixed by the OpenWRT Dev, I haven't experience Wireless Issues in a long time.

Updated on Kernel 3.X : 3/3/2012
- Upgrade SAMBA to 3.6 the developers managed to fuse NetBIOS Server with Samba Server resulting in a huge space savings so the size of the image drop =)
- Updated to Stable Kernel 3.2.9
- I integrated optimized default settings into this image so it is special
sysctl (max connection raised to 32768),
wireless etc (noscan=1, adaptive rate=1, compression=1 etc are all inside so you don't have to add it in using vi)
- Updated latest OpenWRT patches.

Updated on Kernel 3.X: 27/2/2012
- Added uShare DLNA Service
New Trunk Build based on Stable Kernel 3.25
I have removed the custom config file because due to LuCI changes the config file which is created in different version sometimes make the router cranky.
So I recommend you to use the vi editor, ssh in to add settings not in LuCI like 'noscan' etc.

The following are the aims:
  • Reduction of Redundant features
  • Exclusion of unused features
  • Performance
So I will revise the features
  1. LuCI GUI 
  2. 3g USB Modem Support
  3. IPv6 in IPv4 tunneling
  4. Dynamic DNS (Support HTTPS by skipping SSL Certificate checks)
  5. Native IPv6
  6. QoS (Quality Of Service) Scripts
  7. TinyProxy
  8. uPnP (Universal Plug & Play)
  9. SAMBA 3.6 (Windows File Sharing)
  10. MultiWAN 
  11. Harddisk Idle (Saves Power on attached External Harddisk when not in use)
  12. 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 )
  13. 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)
  14. Pure-FTP  (File Transfer Protocol Server with TLS Encryption Support)
  15. OpenVPN
  16. Quagga Routing Suite (How can you call it a Router if it doesn't support Routing Protocols? =P )
  17. uShare (DLNA Server Media Sharing)
  18. Layer 7 Torrent Traffic Filtering and QoS,  effective torrent traffic controller
  19. Transmission Bittorrent Capability GUI and CLI
  • (The reason I decided to remove NTFS is because 
  • It consumes a lot of CPU resources which reduces the Router's Performance 
  • Windows File Sharing Throughput is low using NTFS compared to EXT File System
  • NTFS Modules consumes a lot of space on the available 8MB of Flash Memory when installed
All my image are compiled with -mtune=24kc to optimize the code for the specific processor

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 request additional feature or download the packages through the OpenWRT repository (the package installer is built into LuCI) but it will occupy more space on the JJFS partitions.

Disable 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.
Like Print Server etc.
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 do you will not be able to connect to the router unless you connect a 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.

USE TRANSMISSION ONLY WITH AN EXTERNALLY ATTACHED HARDDISK!

The Router only has 32MB of RAM, when you torrent, the files are over 1GB.
You need to configure Transmission in LuCI to write all data to the externally mounted harddisk!
By default Transmission writes to RAM because there is no harddisk.

-------------------------------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.
You can download the files here.

91 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...
This comment has been removed by the author.
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 :)
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.

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.