Just to share. I just flash OpenWRT on my DIR 825 to work with unifi. I know tch9 posted his setting but when I tried his setting it didnt work for me. So here is the setting I am using currently. Everything works except I can't get IPTV to work via wifi. I believe it requires other config. But the IPTV does work via LAN port. Here i set to lan port 4.
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 type 'bridge'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option _orig_ifname 'eth0.1 radio0.network1 radio1.network1'
option _orig_bridge 'true'
option ifname 'eth0.500'
config interface 'wan'
option _orig_ifname 'eth1'
option _orig_bridge 'false'
option proto 'pppoe'
option username 'xxx'
option peerdns '0'
option dns '8.8.8.8 8.8.4.4'
option ifname 'eth1.500'
option password 'xxx'
config switch
option name 'rtl8366s'
option reset '1'
option enable_vlan '1'
option enable_vlan4k '1'
config switch_vlan
option device 'rtl8366s'
option vlan '500'
option ports '1 2 3 4t 5t'
config switch_vlan
option device 'rtl8366s'
option vlan '600'
option ports '0 4t 5t'
config interface 'iptv'
option proto 'none'
option type 'bridge'
option defaultroute '0'
option peerdns '0'
option ifname 'eth0.600 eth1.600'
This post has been edited by WhitE LighteR: May 28 2014, 06:12 PM
Unifi Recruiting: Unifi betatesters for OpenWrt, Recruit closed
May 21 2014, 01:08 PM
Quote
0.0163sec
0.44
6 queries
GZIP Disabled