1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Limiting wireless bandwidth

Discussion in 'HyperWRT Firmware' started by EvilAerosolCan, Sep 17, 2005.

  1. EvilAerosolCan

    EvilAerosolCan Network Guru Member

    Okay, I have a WRT54G and there's a few people around my room that I let use my internet. My first question, is there a firmware upgrade that will let me adjust how much bandwidth wireless clients get? And also where can I get a flashing utility?
     
  2. habskilla

    habskilla Network Guru Member

    Funny...

    I'm came here to find the exact same info for the exact same reason!

    Damn room mates
     
  3. cgondo

    cgondo Network Guru Member

    well you can always limit them by their IP or MAC address.
     
  4. EvilAerosolCan

    EvilAerosolCan Network Guru Member

    Well I want them to be able to use it, I just lag hardcore when I'm doing stuff online. If the lag bothers them that much they can sign up for their own internet. I just want to lower their bandwidth.
     
  5. jagboy

    jagboy Network Guru Member

    well you can in dd-wrt here is a screen shot
    [​IMG]
     
  6. habskilla

    habskilla Network Guru Member

    Sorry, but I don't see how I can limit bandwidth by IP or MAC. Can someone show me?

    I don't even need it down to IP/MAC level. If I can limit the wireless traffic that'll work better.
     
  7. habskilla

    habskilla Network Guru Member

    I've been searching and hunting around for a solution, but it looks like if I want to limit bandwidth I'll have to setup a separate HW firewall.
     
  8. tofu

    tofu Network Guru Member

    I think you should be able to, but it involves some work with the command 'tc' and that thing's a nightmare to learn. Do a google for tc qos.
     
  9. habskilla

    habskilla Network Guru Member

    Thanks for the encouragement!
     
  10. mooP

    mooP Network Guru Member

    i would like to do the same thing except to specific wired users, the qos is essentially useless, it doesnt set any limits for the users
     
  11. tofu

    tofu Network Guru Member

    Sorry :grin: I tried reading about it last weekend and whooboy... :wallbang:

    This copy & paste might be a good place to start:

    tc qdisc del dev eth1 ingress
    tc qdisc add dev eth1 handle ffff: ingress
    tc filter add dev eth1 parent ffff: protocol ip prio 50 u32 match ip src 0.0.0.0/0 police rate 50kbit burst 10kbit drop flowid :1

    eth1 is the wireless interface. Ingress means data incoming (to the router). So this should limit all wireless connections to 50kbit with bursts of +10kbit. I think...

    The reverse direction should be the same, except ingress becomes root, and you may need to assign different handles (the ffff and :1). But the first link below has some examples on how to really do this.

    Here's more info:

    http://www.knowplace.org/shaper/
    http://edseek.com/~jasonb/articles/traffic_shaping/index.html
    http://lartc.org/lartc.html
     
  12. habskilla

    habskilla Network Guru Member

    tofu

    Thanks for the excellent post. I appreciate the infomation.
     

Share This Page