Outline ·
[ Standard ] ·
Linear+
Unifi My TP-Link TL-WR1043ND OpenWRT setup for UniFi, UniFi and IPTV working
|
TSsilkworm
|
Jan 10 2012, 10:02 PM, updated 14y ago
|
Enthusiast
|
Hi guys, I managed to get UniFi working with IPTV on my TP-Link TL-WR1043ND, on OpenWRT Backfire 10.03.1 using the following settings: /etc/config/network : » Click to show Spoiler - click again to hide... « CODE config 'interface' 'loopback' option 'ifname' 'lo' option 'proto' 'static' option 'ipaddr' '127.0.0.1' option 'netmask' '255.0.0.0' config 'interface' 'lan' option 'ifname' 'eth0.1' option 'type' 'bridge' option 'proto' 'static' option 'ipaddr' '192.168.1.1' option 'netmask' '255.255.255.0' config 'interface' 'wan' option 'ifname' 'eth0.500' option '_orig_ifname' 'eth0.500' option '_orig_bridge' 'false' option 'proto' 'pppoe' option 'peerdns' '0' option 'username' '*******@unifi' option 'password' '*******' list 'dns' '8.8.8.8' list 'dns' '8.8.4.4' config 'interface' 'iptv' option 'ifname' 'eth0.600' option 'proto' 'dhcp' option 'metric' '10' config 'switch' option 'name' 'rtl8366rb' option 'reset' '1' option 'enable_vlan' '1' option 'enable_vlan4k' '1' config 'switch_vlan' option 'device' 'rtl8366rb' option 'vlan' '1' option 'ports' '1 2 3 5t' config 'switch_vlan' option 'device' 'rtl8366rb' option 'vlan' '500' option 'ports' '0t 5t' config 'switch_vlan' option 'device' 'rtl8366rb' option 'vlan' '600' option 'ports' 0t 4 5t'
To set the VLAN priority for eth0.600 to 1, I ssh'ed into the router and entered the following into the command line: CODE vconfig set_egress_map eth0.600 0 1 The last setting isn't permanent, and has to be re-entered each time the router reboots. I suppose to make it permanent, one would have to write a script that runs after the networking system is initialised, but I'm not up to doing that just yet.
|
|
|
|
|
|
khairilanuar
|
Apr 2 2012, 12:00 PM
|
New Member
|
QUOTE(silkworm @ Jan 10 2012, 10:02 PM) Hi guys, I managed to get UniFi working with IPTV on my TP-Link TL-WR1043ND, on OpenWRT Backfire 10.03.1 using the following settings: /etc/config/network : » Click to show Spoiler - click again to hide... « CODE config 'interface' 'loopback' option 'ifname' 'lo' option 'proto' 'static' option 'ipaddr' '127.0.0.1' option 'netmask' '255.0.0.0' config 'interface' 'lan' option 'ifname' 'eth0.1' option 'type' 'bridge' option 'proto' 'static' option 'ipaddr' '192.168.1.1' option 'netmask' '255.255.255.0' config 'interface' 'wan' option 'ifname' 'eth0.500' option '_orig_ifname' 'eth0.500' option '_orig_bridge' 'false' option 'proto' 'pppoe' option 'peerdns' '0' option 'username' '*******@unifi' option 'password' '*******' list 'dns' '8.8.8.8' list 'dns' '8.8.4.4' config 'interface' 'iptv' option 'ifname' 'eth0.600' option 'proto' 'dhcp' option 'metric' '10' config 'switch' option 'name' 'rtl8366rb' option 'reset' '1' option 'enable_vlan' '1' option 'enable_vlan4k' '1' config 'switch_vlan' option 'device' 'rtl8366rb' option 'vlan' '1' option 'ports' '1 2 3 5t' config 'switch_vlan' option 'device' 'rtl8366rb' option 'vlan' '500' option 'ports' '0t 5t' config 'switch_vlan' option 'device' 'rtl8366rb' option 'vlan' '600' option 'ports' 0t 4 5t'
To set the VLAN priority for eth0.600 to 1, I ssh'ed into the router and entered the following into the command line: CODE vconfig set_egress_map eth0.600 0 1 The last setting isn't permanent, and has to be re-entered each time the router reboots. I suppose to make it permanent, one would have to write a script that runs after the networking system is initialised, but I'm not up to doing that just yet.  has anyone tried this on TL-MR3420 (openWRT)? how's the outcome? I accidentally bought TL-MR3420 while I should bought TL-WR1043ND and praying for IPTV to work. IPTV is not critical since I mainly use Astro for TV but it will be cool to have backup during rain or stormy weather for TV.
|
|
|
|
|
|
blindbox
|
Apr 2 2012, 02:56 PM
|
|
http://wiki.openwrt.org/toh/tp-link/tl-mr3420Yes, it's possible. I never tried but it's possible, simply by seeing that it's a) Atheros, b) supported by openwrt.
|
|
|
|
|
|
neuromancerx
|
May 13 2012, 01:01 AM
|
|
sorry, anybody managed to run openwrt with 841ND?
|
|
|
|
|
|
kokifung
|
May 13 2012, 02:10 AM
|
|
hmm.. guys.. something seem weird with my openwrt..
i wanna install the qos, but its say error.. then disconnect.. so i restart the router.. then now show this when i wanna connect to 192.168.1.1
/usr/lib/lua/luci/controller/admin/uci.lua:22: attempt to call global '_' (a nil value) stack traceback: /usr/lib/lua/luci/controller/admin/uci.lua:22: in function 'v' /usr/lib/lua/luci/dispatcher.lua:496: in function 'createtree' /usr/lib/lua/luci/dispatcher.lua:179: in function 'dispatch' /usr/lib/lua/luci/dispatcher.lua:143: in function </usr/lib/lua/luci/dispatcher.lua:142>
what can i do ??
This post has been edited by kokifung: May 13 2012, 08:28 AM
|
|
|
|
|