Welcome Guest ( Log In | Register )

Bump Topic Topic Closed RSS Feed

Outline · [ Standard ] · Linear+

Unifi Official TM UniFi High Speed Broadband Thread V14, FREE Installation & 1-month subscription

views
     
rizvanrp
post Jan 29 2012, 02:36 AM

Getting Started
Group Icon
Elite
195 posts

Joined: Sep 2006



QUOTE(studwo @ Jan 29 2012, 01:36 AM)
Through this guide, I can actually bridge through port 3 of the unifi router and yet still able to connect to iptv via port 4?, th a little confused over here . am i correct ?
http://unifi.athena.my/custom_routers.php
*
Yes
rizvanrp
post Feb 7 2012, 01:57 PM

Getting Started
Group Icon
Elite
195 posts

Joined: Sep 2006



QUOTE
1st day 00:02:29  PPP        INFO    sent [LCP EchoReq magic=0xeadc1f52]
1st day 00:02:29  PPP        INFO    sent [PAP AuthReq user="myusername@unifi" password=(hidden)]
1st day 00:02:29  PPP        INFO    sent [LCP code=0xc]
1st day 00:02:29  PPP        INFO    rcvd [LCP EchoRep magic=0xacc45acf]
1st day 00:02:29  PPP        INFO    rcvd [PAP AuthNak "Bad Encrypted password"]

User and pass are wrong, it's set to 'myusername@unifi' and some random pass lol

This post has been edited by rizvanrp: Feb 7 2012, 02:28 PM
rizvanrp
post Feb 11 2012, 06:36 PM

Getting Started
Group Icon
Elite
195 posts

Joined: Sep 2006



@47ronin
Your setup looks good. Just make sure to disable the DHCP servers on the WRT54G and 841ND. Do a LAN switch -> LAN port connection if you have not setup the WAN port on those routers in passthrough mode.

@izzat80
It's a separate chip and interface but most routers utilize a software bridge to connect the wifi interface to the LAN switch chip interface.
rizvanrp
post Feb 29 2012, 06:18 PM

Getting Started
Group Icon
Elite
195 posts

Joined: Sep 2006



QUOTE(soonwai @ Feb 29 2012, 05:53 PM)
Do they enforce the 1 session per userid for the iptv? I can get hold of a spare STB. I think I will give it a try next week. I wonder what's the data rate cap for IPTV. Running 2 sessions might be problem for HD channels. LuxHD uses about 8.5mbps. The highest data rate is channel 100, I've seen it as high as 9.5mbps. I don't have any other HD channels. :-(
*
VLAN cap profile for 600 on is 10mbps by default. 2x SD channels at the same time should be fine, and yeah there is username to STB MAC chaining at the HTTP authentication level for the STB.
rizvanrp
post Mar 5 2012, 03:23 PM

Getting Started
Group Icon
Elite
195 posts

Joined: Sep 2006



QUOTE(rattan @ Mar 5 2012, 01:33 PM)
Maxis is using TM backbone not their fiber optics. Which means Maxis will have to lay their own infra to customers.
*
For TM wholesale installs, Maxis shares the same infra with TM.. just running on a different set of VLANs :3
rizvanrp
post Mar 8 2012, 12:57 PM

Getting Started
Group Icon
Elite
195 posts

Joined: Sep 2006



QUOTE(ncool15 @ Mar 8 2012, 12:12 PM)
Hey guys

I got a question here.Im on VIP 10 and using the DIR615 modem provided by TM.Thing is im sharing my unifi with 3 other housemates .They dont have broadband so they asked if they can share my unifi.Judging ob their financial background,i only ask RM60 from them(I pay the rest).Thing is these people are downloading alot now and i sometime can only get speed around 1.5mbps.

Can anyone enlighten me how to limit their connection lets say allocate 3mbps for them and 7mbps for me?

Thanks alot.
*
You have a few options (use method 1 or 3 if they are unwilling to cooperate with you) :

1) P2Pover - I personally don't like this method as it involves ARP cache poisoning. Easy to setup though, just download, scan, add a 24/7 schedule + speed cap profile and target their IP addresses.

2) Netlimiter - They can use this on their PCs to manually assign rate limits to themselves.

3) Router based rate limiting - You can use traffic control + HTB egress scheduling on the DIR-615 stock firmware to set hard rate limits per IP. This works if you have admin access on the router however since there's no way to write a startup script on the stock firmware (that I know of), you need to reapply the commands on router reboot. You need to enable telnet/ssh access on the router via the 'operator' account then use PuTTy to access the router shell. After that you can use the following commands

CODE
tc qdisc del dev br0 root
tc qdisc add dev br0 root handle 1: htb
tc qdisc del dev ppp0 root
tc qdisc add dev ppp0 root handle 1: htb

tc class add dev br0 parent 1: classid 1:1 htb rate 2mbit
tc qdisc add dev br0 parent 1:1 pfifo limit 50
tc class add dev br0 parent 1: classid 1:2 htb rate 2mbit
tc qdisc add dev br0 parent 1:2 pfifo limit 50
tc class add dev br0 parent 1: classid 1:3 htb rate 2mbit
tc qdisc add dev br0 parent 1:3 pfifo limit 50

tc class add dev ppp0 parent 1: classid 1:1 htb rate 2mbit
tc qdisc add dev ppp0 parent 1:1 pfifo limit 50
tc class add dev ppp0 parent 1: classid 1:2 htb rate 2mbit
tc qdisc add dev ppp0 parent 1:2 pfifo limit 50
tc class add dev ppp0 parent 1: classid 1:3 htb rate 2mbit
tc qdisc add dev ppp0 parent 1:3 pfifo limit 50

tc filter add dev br0 parent 1: protocol ip handle 10 fw flowid 1:1
iptables -t mangle -A FORWARD -o br0 -d 192.168.0.11/32 -j MARK --set-mark 10
tc filter add dev br0 parent 1: protocol ip handle 20 fw flowid 1:2
iptables -t mangle -A FORWARD -o br0 -d 192.168.0.12/32 -j MARK --set-mark 20
tc filter add dev br0 parent 1: protocol ip handle 30 fw flowid 1:3
iptables -t mangle -A FORWARD -o br0 -d 192.168.0.13/32 -j MARK --set-mark 30

tc filter add dev ppp0 parent 1: protocol ip handle 10 fw flowid 1:1
iptables -t mangle -A FORWARD -o ppp0 -s 192.168.0.11/32 -j MARK --set-mark 10
tc filter add dev ppp0 parent 1: protocol ip handle 20 fw flowid 1:2
iptables -t mangle -A FORWARD -o ppp0 -s 192.168.0.12/32 -j MARK --set-mark 20
tc filter add dev ppp0 parent 1: protocol ip handle 30 fw flowid 1:3
iptables -t mangle -A FORWARD -o ppp0 -s 192.168.0.13/32 -j MARK --set-mark 30

This applies egress scheduling on both the ppp and LAN bridge interfaces of the DIR-615 so you can control upload/download bandwidth on a per client IP basis. The example above applies a 2mbit up/down cap on IP's 192.168.0.11, 192.168.0.12 and 192.168.0.13.

Topic ClosedOptions
 

Change to:
| Lo-Fi Version
0.0194sec    0.29    7 queries    GZIP Disabled
Time is now: 30th November 2025 - 11:02 PM