Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

Unifi Xiaomi Router & Unifi - OpenWRT user come here too, Need help on VLAN tagging

views
     
zher4883
post Nov 25 2014, 10:23 PM

Look at all my stars!!
*******
Senior Member
4,490 posts

Joined: Oct 2014


QUOTE(LickGuy @ Sep 18 2014, 10:33 PM)
Hi guys,
just got my mirouter (with hdd - bcm4709) about a week ago,
and then... *bam* not compatible with Unifi due to lack of VLAN tagging  rclxub.gif
didn't check the spec before bough it ... since it was OpenWRT based I though I'll be safe... who know .... haih

After that I went to google abit and found out you could actually do vlan tagging in CLI,
enabled the SSH daemon then login .... totally no idea how to configure it
read up abit ... sounds like /etc/config/network should be the 1 to "manual adjust"
now the content read something like below
CODE

config switch 'eth0'
option enable '1'
       option enable_vlan '1' #added by me
       option reset '1' #added by me, no idea what's this

config switch_vlan 'eth0_1'
option device 'eth0'
option vlan '1'
option ports '0 2 5*'

config switch_vlan 'eth0_2'
option device 'eth0'
option vlan '2'
       option vid '500' #added by me
       option pvid '500' #added by me
option ports '4 5'

config interface 'loopback'
.....

config interface 'lan'
...

config interface 'wan'
option proto 'pppoe'
#option ifname 'eth0.2'
       option ifname 'eth0.500' # tried eth0.2 too
       .... (other pppoe parameter)


restart network by running /etc/init.d/network restart ... check the log... still timeout for PADO packet
tried diff configuration ... still the same... and apparently xiaomi remove alot of common command like 'swconfig', 'modprobe' ...etc... where most online tutorial will ask you to swconfig dev ethXXX and modprobe the 8021q ..
btw, checked the dmesg ... 802.1Q VLAN blah is there ... but when i lsmod cannot find anything like that...does it matter?

hope any OpenWRT sifu can give some advice on this.
and other OpenWRT user (especially broadcom chip) can you post your /etc/config/network here?

thanks in advance.
*
Wait what you need extra setup to use unifi? I thought just dial up pppoe?
zher4883
post Nov 26 2014, 08:07 PM

Look at all my stars!!
*******
Senior Member
4,490 posts

Joined: Oct 2014


QUOTE(wcypierre @ Nov 26 2014, 08:03 PM)
you need to setup vlan tagging of vlan id 500 for internet, and vlan 600 for hypptv.
*
I just did some research. Actually you can barely find any openwrt firmware or dd-wrt firmware. Good luck on that drool.gif
zher4883
post Nov 26 2014, 08:19 PM

Look at all my stars!!
*******
Senior Member
4,490 posts

Joined: Oct 2014


QUOTE(wcypierre @ Nov 26 2014, 08:10 PM)
you can refer to here for some suggestions(although it is a bit dated by now): http://klseet.com/index.php/replacement-option-summary
*
Hehe i only want xiaomi router. Im getting xiaomi router mini and flash pandorabox openwrt

 

Change to:
| Lo-Fi Version
0.0167sec    0.61    6 queries    GZIP Disabled
Time is now: 15th December 2025 - 01:20 PM