Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

Unifi TP-Link TL-WR1043ND, with Custom Unifi firmware

views
     
blindbox
post Feb 19 2012, 08:10 PM

Meh
******
Senior Member
1,705 posts

Joined: Nov 2004


QUOTE(ahlong @ Feb 19 2012, 02:38 PM)
i used it and the problem is like he stated.. after the modem reboot/off, we need to reconfig the iptv config again.. try to find the solution to make it permanent like vlan500..
*
Fixing that is quite easy. Also, you don't need that line anymore, as unifi has changed their method for identifying IPTV, no need to set the port priority to 1 anymore. Anyhow I'm impressed that someone managed to find the magic command to set port priority to 1. I've been looking for it for ages, but then TM made it unnecessary, haha.

If you insist, add that line to /etc/rc.local. Alternatively, login to the web interface, go to System > Startup. Scroll down, add that line to startup before 'exit 0'. It works because /etc/rc.local is executed only after every single one of the scripts in the boot procedure are done.

Of course, the line I'm talking about is this one.
CODE
vconfig set_egress_map eth0.600 0 1


It should work even after reboot.

Finally, I'd rather replace the line containing "config 'interface' 'iptv" and below it with this.

CODE
config 'interface' 'iptv'
option 'ifname' 'eth0.600'
option 'type' 'bridge'
option 'proto' 'none'
option 'auto' '1'


It's so that the router doesn't grab an IP from their server, because there's no need for it.


EDIT: Underlined the important parts.

EDIT2: Hopefully someone made a proper guide lol. I'm not good at writing one.

This post has been edited by blindbox: Feb 19 2012, 08:25 PM
blindbox
post Feb 20 2012, 12:13 PM

Meh
******
Senior Member
1,705 posts

Joined: Nov 2004


If you want, I CAN precompile the whole OpenWRT firmware with the relevant settings so that all you can do is flash and go. Just say if you want it.

This post has been edited by blindbox: Feb 20 2012, 12:13 PM
blindbox
post Feb 21 2012, 08:08 AM

Meh
******
Senior Member
1,705 posts

Joined: Nov 2004


I thought even the factory firmware supports usb storage. Gimme a day to compile this, cuz I'm quite busy right now, have to do it tonight instead.
blindbox
post Feb 21 2012, 07:42 PM

Meh
******
Senior Member
1,705 posts

Joined: Nov 2004


Compiling... hang on.


Added on February 22, 2012, 10:21 amDidn't manage to finish the compile yesterday, power went out and I was too sleepy to restart it. Will do it again today.

This post has been edited by blindbox: Feb 22 2012, 10:21 AM
blindbox
post Feb 22 2012, 09:30 PM

Meh
******
Senior Member
1,705 posts

Joined: Nov 2004


I'm giving you guys a trunk build (r30366). I've tested this to be stable for at least 15 days. Power went out so I'm back to 0h on my router's uptime. Wireless is excellent, I've been able to get max speed for wireless-n.

I've also included one or two interesting packages if you guys ever want to check it out (will require ssh) like,
znc
iftop

Well, I can't remember what else.

Finally, here's the link. Enjoy!
sysupgrade is for upgrading a previous openwrt firmware.
factory is for upgrading from stock image.

http://www.mediafire.com/?9bkdf4fnpymong6
New version (r30770+miniupnpd patch) .Bear in mind that you cannot install additional softwares from my build, either by the web interface or by using opkg install. Please use the official release (Backfire 10.03.1) for extra customizations. I'm just providing this for those who wants an instant unifi.
http://www.mediafire.com/?6y1g8fach2jjuji


I didn't test the image first as I don't have a spare device but there's no reason for it to not work. Still, use it at your own risk.

So, how do we use this?

http://wiki.openwrt.org/toh/tp-link/tl-wr1...sy.installation

Finally, login to the router, change the password for the login, then go to Network tab > Interface tab > press the Edit button at the line containing WAN. That's where you can set your unifi username and password. Press Save and Apply to continue.

This post has been edited by blindbox: Mar 6 2012, 10:14 AM
blindbox
post Feb 23 2012, 07:17 PM

Meh
******
Senior Member
1,705 posts

Joined: Nov 2004


Oversight on my part but UPnP is disabled by default, so you'll have to enable it manually. It's at the tab Services > UPNP > Tick the first 3 boxes, press save and apply.

I'm gonna compile a new one later.

Hmm, if you want to do usb storage, it's a bit complicated. I'll also prepare a new image later this week that should allow hard disks to idle properly, and also enable upnp by default, and finally, prepare a proper guide to mount a USB. Sorry that it ain't plug and play.

This post has been edited by blindbox: Feb 23 2012, 07:58 PM
blindbox
post Feb 26 2012, 10:00 AM

Meh
******
Senior Member
1,705 posts

Joined: Nov 2004


QUOTE(ckboon @ Feb 25 2012, 05:55 PM)
bro,
just a question on how to revert back to the original firmware. Can i just used 1 of the firmware listed here: http://www.tp-link.com.my/support/download...del=TL-WR1043ND ?
I've download all the firmware there and it's in the format or xxxupxxx, which is not xxxbootxxx, so do i still needa do the cutting?

which is written on the wiki given that "Cut the first 0x20200 (that is 131,584 = 257*512) Bytes from original firmware:"

what will happen if i never or over-cut it?? just a pre-caution b4 i try on ur firmware..

thanks..
*
No cutting if there's no boot in the name. Also, once you got the firmware, change it to a shorter name like, say, code.bin and to flash back to factory, scp into the router, place code.bin into /tmp and do this

CODE

mtd -e firmware -r write /tmp/code.bin firmware



Added on February 26, 2012, 11:13 am
QUOTE(otosan @ Feb 25 2012, 02:14 AM)
Anybody using OpenWRT can share how is the bandwith control on it?

I used to use DD WRT on 1043ND but choose to go back to factory fw since the QoS on the factory one is more suitable for managing bandwith/user as it use ip as the parameter to allocate the bandwith.

How about OpenWRT?
*
OpenWrt has no easy user interface for allocating bandwidth per IP (aka, you can say, quota management?) There's the alternative though, that is, gargoyle routers, which is based on OpenWRT, that is capable of limiting traffic based on the rules.

Apart from that, if you really want to use OpenWrt and still manage bandwidth/user, you'd have to learn tc and linux scripting. Not to scare you, but be prepared to spend a week to learn it.

This post has been edited by blindbox: Feb 26 2012, 11:13 AM
blindbox
post Feb 27 2012, 08:13 AM

Meh
******
Senior Member
1,705 posts

Joined: Nov 2004


All right for my quoted post below, it works with the firmware from http://www.gargoyle-router.com. It has quota management and a more advanced QoS GUI but it lacks the more powerful features that openwrt has, like multiwan, insanely good firewall config gui, etc. Of course, all this can still be edited by the config file in /etc/config, just that you now lack the gui to do it. Also, another thing it's lacking are packages - these will have to be compiled by yourselves.

QUOTE(blindbox @ Feb 19 2012, 08:10 PM)
Fixing that is quite easy. Also, you don't need that line anymore, as unifi has changed their method for identifying IPTV, no need to set the port priority to 1 anymore. Anyhow I'm impressed that someone managed to find the magic command to set port priority to 1. I've been looking for it for ages, but then TM made it unnecessary, haha.

If you insist, add that line to /etc/rc.local. Alternatively, login to the web interface, go to System > Startup. Scroll down, add that line to startup before 'exit 0'. It works because /etc/rc.local is executed only after every single one of the scripts in the boot procedure are done.

Of course, the line I'm talking about is this one.
CODE
vconfig set_egress_map eth0.600 0 1


It should work even after reboot.

Finally, I'd rather replace the line containing "config 'interface' 'iptv" and below it with this.

CODE
config 'interface' 'iptv'
option 'ifname' 'eth0.600'
option 'type' 'bridge'
option 'proto' 'none'
option 'auto' '1'


It's so that the router doesn't grab an IP from their server, because there's no need for it.
EDIT: Underlined the important parts.

EDIT2: Hopefully someone made a proper guide lol. I'm not good at writing one.
*

Added on March 3, 2012, 1:33 pmI've updated this post with r30770. Miniupnpd fixed, kernel is now 3.2.9 and wireless performance is probably better. Of course, I only compile it, that's all.


http://forum.lowyat.net/index.php?showtopi...post&p=49201531

This post has been edited by blindbox: Mar 3 2012, 01:33 PM
blindbox
post Mar 3 2012, 01:36 PM

Meh
******
Senior Member
1,705 posts

Joined: Nov 2004


I've updated this post with r30770. Miniupnpd fixed, kernel is now 3.2.9 and wireless performance is probably better. Of course, I only compile it, that's all.

http://forum.lowyat.net/index.php?showtopi...post&p=49201531

Here's a guide for adding usb storage.

http://klseet.com/index.php?option=com_con...d=103&Itemid=95

EDIT: Un-combined to bump this up.

EDIT2: Added USB storage guide.

This post has been edited by blindbox: Mar 3 2012, 01:37 PM
blindbox
post Mar 3 2012, 05:28 PM

Meh
******
Senior Member
1,705 posts

Joined: Nov 2004


QUOTE(ckboon @ Mar 3 2012, 03:41 PM)
just few simply question..

1.can the GUI do DHCP reservation list?? I need it to assign the particular IP to particular mac Address.

2. can DDNS done on GUI?

3. are able to browse and telnet from WAN through DDNS? As currently the stock firmware dont have telnet which limit my work to telnet over to my internet devices.
or it need to be done on CLI.
*
1. Yes

2. Yes

3. Yes but you need to use ssh, of course, you need to port forward and allow dropbear to let you ssh from a remote ip iinm.
blindbox
post Mar 4 2012, 12:01 PM

Meh
******
Senior Member
1,705 posts

Joined: Nov 2004


QUOTE(ckboon @ Mar 3 2012, 08:08 PM)
thanks.. SSH is just port 22.. no problem on tat as long as GUI.. lazy to learn all linux command..
eer.. SSH meant command base? what about GUI?

1 more question..

GUI can do port forwarding? hope this is the last.. if i left out any will voice out again.. thanks..
*
The GUI is like 1000 times more advanced than DD-WRT's. So, yes, you can.

SSH is secure shell. SSH encrypts, telnet doesn't. Telnet sends everything in plain text, including your password.

Well, the GUI itself is using http so there's not really any encryption. You can, however, install the https version of luci.


blindbox
post Mar 5 2012, 11:53 AM

Meh
******
Senior Member
1,705 posts

Joined: Nov 2004


QUOTE(alucard89 @ Mar 5 2012, 02:24 AM)
Has anyone here successfully setup DDNS?
I'm not using any custom firmware, the firmware version is : 
3.13.4 Build 110429

I registered an account on no-ip, and I've already placed all the details required(username/pass/domain name) but the connection status
is still 'Connecting..'

Anything else I need to do to get it properly connected?
*
Have you tried dyndns instead? no-ip always seems to fail for me. Gave up, went for what everyone uses, dyndns.
blindbox
post Mar 5 2012, 07:04 PM

Meh
******
Senior Member
1,705 posts

Joined: Nov 2004


QUOTE(ckboon @ Mar 5 2012, 01:04 PM)
dyndns is still free!!

openwrt can do so many thing!! i dont think i will revert back to stock anymore! lol.. i've being poisoned..


Added on March 5, 2012, 1:06 pm@blindbox, need ur experty on how to run luci-ssl

I've installed it, but seem like it's not working..

i cant used https to access from external... still running http
*
Paste your /etc/config/uhttpd here (preferrably pastebin). Settings for uhttpd are not exposed in luci.

This post has been edited by blindbox: Mar 5 2012, 07:07 PM
blindbox
post Mar 5 2012, 11:29 PM

Meh
******
Senior Member
1,705 posts

Joined: Nov 2004


Backfire 10.03.1 is the latest. Trunk are for people who compile themselves.

Get WinSCP, login to the router, grab the file /etc/config/uhttpd. Alternatively, get putty, ssh and login, then
CODE

cd ..
cat /etc/config/uhttpd

Paste to me what comes out.


EDIT: Ignore above, I got an easier way.

SSH into your router, login, copy pasta.

CODE

cd ..
uci add_list uhttpd.main.listen_https=0.0.0.0:443
uci commit
/etc/init.d/uhttpd restart


This post has been edited by blindbox: Mar 5 2012, 11:38 PM
blindbox
post Mar 5 2012, 11:43 PM

Meh
******
Senior Member
1,705 posts

Joined: Nov 2004


QUOTE(ckboon @ Mar 5 2012, 11:36 PM)
i got putty and winscap

*
SSH into router, copy pasta.

CODE

cd ..
uci add_list uhttpd.main.listen_https=0.0.0.0:443
uci commit
/etc/init.d/uhttpd restart

blindbox
post Mar 6 2012, 06:58 AM

Meh
******
Senior Member
1,705 posts

Joined: Nov 2004


Ahhh that's a bug unfortunately. I'll find a workaround for it. For now, https won't work. So to fix things up,

CODE

uci delete uhttpd.main.listen_https
uci commit
/etc/init.d/uhttpd restart


I'm wondering, what openwrt version are you using?

This post has been edited by blindbox: Mar 6 2012, 07:33 AM
blindbox
post Mar 6 2012, 10:11 AM

Meh
******
Senior Member
1,705 posts

Joined: Nov 2004


QUOTE(ckboon @ Mar 6 2012, 07:55 AM)
huh?? i copy it from ur link...
Firmware Version  OpenWrt Firmware Attitude Adjustment (r30770) / LuCI Trunk (trunk+svn8323)
Kernel Version 3.2.9
*
Lol, should've mentioned that earlier. I didn't enable luci-ssl on that one. I'll prepare another build today.

All the builds I've built are unable to use the opkg system, please bear that in mind.


Added on March 6, 2012, 10:17 amAlso, I'll prepare a backup file that allows you to use unifi instantly with Backfire 10.03.1. Gimme some time, will do it at midnight today, when everyone on my network is gone. I don't have a spare device.

This post has been edited by blindbox: Mar 6 2012, 10:17 AM
blindbox
post Mar 6 2012, 05:28 PM

Meh
******
Senior Member
1,705 posts

Joined: Nov 2004


QUOTE(alucard89 @ Mar 6 2012, 02:50 PM)
Really ar? Which service should I use?
Coz I only see option to pay if I need to use their service.


Added on March 6, 2012, 2:52 pm

You could just buy it online at Garage Sales subforum or lelong site.
*
Yep, seems like they changed a lot of things. Last time they gave six dnses to free users, then two, now only 1.

http://dyn.com/dns/dyndns-pro-free-trial/

Just check your router, see what DDNS services they support, and use those, apart from dyndns. RIP, dyndns free service.

This post has been edited by blindbox: Mar 6 2012, 05:47 PM
blindbox
post Mar 7 2012, 12:08 PM

Meh
******
Senior Member
1,705 posts

Joined: Nov 2004


I don't have a WR841ND. If I do have one, I prolly can't do much with it, as I really need the 8 MB flash. As wireless performance go, should be the same if it also has 3 antennae. It should still be the same even with two, but range is less with two antennae. WR841ND has two antennae it seems.

Gotta remind yourself that my views are a bit irrelevant as I only use openwrt. I never stick with stock tongue.gif

EDIT: not sure about the credit card for free trial. I have an old dyndns account that still works though, it's still pointing to my home router. Gonna have to change it later. Freedns seems interesting.

This post has been edited by blindbox: Mar 7 2012, 12:09 PM
blindbox
post Mar 8 2012, 01:02 PM

Meh
******
Senior Member
1,705 posts

Joined: Nov 2004


QUOTE(klseet @ Mar 8 2012, 01:33 AM)
Ok, managed to setup via webgui [Backfire 10.03.1-rc6] without having to WinSCP/PuTTY to the device, both vlan.500 & 600 work on my HG850a without any problem  thumbup.gif  :
http://klseet.com/index.php?option=com_con...=143&Itemid=124
*
Omg klseet, use 10.03.1-final already. rclxub.gif

http://downloads.openwrt.org/backfire/10.03.1/ar71xx/


Openwrt to openwrt - just use image with the name sysupgrade in it and web interface. Always backup the settings before flashing though (they're both on the same web page). Openwrt to stock - follow the wiki. I'll update the wiki later because it's not complete.

Btw, port forwarding working just fine for me.

Also, I'm so busy right now that I can do most of these stuff only on the weekends, sorry ckboon.

Next plan for my trunk release - implement luci-ssl, implement transmission oh and, ftp server. Samba is already available for those who wants it though. I'm sure ftp can stream too...? Funny because I'm never going to use transmission and ftp. I also want to put my biz5's web account to use but I still got no idea on how for now.
klseet, any pointers on this?

Btw klseet, from your link here, it seems like transmission is clogging up the flash memory? Possible solution is to make a symlink, or use extroot.

This post has been edited by blindbox: Mar 8 2012, 01:17 PM

2 Pages  1 2 >Top
 

Change to:
| Lo-Fi Version
0.0302sec    0.17    7 queries    GZIP Disabled
Time is now: 8th December 2025 - 03:08 PM