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

Splitting the speed

Discussion in 'HyperWRT Firmware' started by Monserrat, Oct 15, 2005.

  1. Monserrat

    Monserrat Network Guru Member

    I have:

    - Linksys wireless WRT54G (hardwired to my box)
    - Linksys USB WUSB54G antenna (for my flatmate's box)

    I have 2Mbit cable going into the WRT54G router. As above, my box connects straight into the router. The firmware is HyperWRT v2.0.

    Question: We share this connection. My flatmate uses Bit Torrent 24/7 and hogs up the connection. All I use the Internet for is email, online shopping and forums. My quality of experience is less than a 56k modem!! While he has Bit Torrent running, I simply cannot browse. I don't even have Bit Torrent installed on my own PC.

    Are there any options on HyperWRT that can make a wired vs wireless connection fairer?

    Maybe 1Mbit for me and 1Mbit for him?
     
  2. Toxic

    Toxic Administrator Staff Member

    goto the QoS settings and set his mac address for Low Priority

    set your Port that your connect to on your WRT54G ie PORT 1 or whatver to High.

    you also could add your mac address (of your lan card/pc port) and set this priority to Highest.
     
  3. Monserrat

    Monserrat Network Guru Member

    Vast improvement!

    Thank you very much for the answer. I wasn't sure how to obtain the mac address of the local computer, so I sussed it using a benchmark tool called Aida32. This gives you a breakdown on the hardware and OS.

    I ran the speed test at this site and got 1.85Mbit.
     
  4. Dwibbly

    Dwibbly Network Guru Member

    Torrent Hogs

    Hi.

    I had the same problem, the LEDs were flashing like a b*tch. He had no idea about limiting his speed, just sucks it dry.

    I have tried the above and works ok, but as he said. Can you give MAC addresses a download limit. I want him to use it but not kill it.

    Cheers.

    :(
     
  5. Monserrat

    Monserrat Network Guru Member

    That's a good point and question, Dwibbly.

    That's what my flatmate is doing too. I fear that I'll soon get a letter from my ISP complaining that I am over the download limit. The limit is 1GB/day, in which I personally don't use anywhere near. I'm pretty certain that my flatmate is over the limit.

    Is it possible to monitor how much data is being sucked in the wireless and wired connections?
     
  6. Dwibbly

    Dwibbly Network Guru Member

    Splitting wireless speed

    Hi

    I saw a post in this forum by tofu, here it is.

    Sorry I tried reading about it last weekend and whooboy...

    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


    I haven't tried, but give it a try.
     

Share This Page