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

Help wifi limit

Discussion in 'General Discussion' started by XtremeARG, Jul 16, 2017.

  1. XtremeARG

    XtremeARG New Member Member

    I installed shibby 1.28 and works perfectly.
    My router linksys e900 , i use it for family(computers on lan , cellphones , tablets , chromecasts) and wife store business (shared wifi access).
    "The question" is if i can limit any wifi connection (even without knowing macs) and let other wifi connection (my chromecast devices) get unlimited connection).
    Any option to add mac numbers of my devices to get full access , and option to unknown devices to get limited.

    Need help , thanks.
     
  2. Sean B.

    Sean B. Addicted to LI Member

    Does Shibby 1.28 not have the "Bandwidth Limiter" section in the router GUI?
     
  3. XtremeARG

    XtremeARG New Member Member

    Yes it does , but "i guess" can only limit known ips or mac numbers.
    Maybe ip range will work , but no sure , thats why im asking here.
    I dont know how to set static ips to computers , cellphone and chromecast devices ; and let range 10 to 50 limited.
     
  4. Sean B.

    Sean B. Addicted to LI Member

    What is your network configuration? IE: is everybody that is connected to wired LAN ports or WiFi all on the same LAN? Or have you set up any type of "guest" WiFi AP, or VLANS etc? Perhaps it would be easier for you and more complete information for me if you could post screen shots from the routers GUI. Basic->Network and Advanced->VLAN are the main ones, but add in a shot for any other sections if you've made changes you feel may be pertinent.
     
  5. XtremeARG

    XtremeARG New Member Member

    [​IMG]

    On lan only have 2 PC's , on wifi 3 cellphones 2 tablets and 2 chromecast (i know their mac address but dont want to limit them).
    But wifi is shared with my wife business customers , and there is where i want to limit the wifi bandwidth.

    Let me know if you cant see the picture.
    Thanks Sean.
     
  6. Sean B.

    Sean B. Addicted to LI Member

    The picture did not post correctly, can't see it. What I would recommend doing is to make a separate virtual WiFi access point for your Wife's customers to use. This will do two things, allow easy bandwidth limiting as you can simply set a overall shared limit for the customers LAN, but also segregate your family's devices from the customers providing security and privacy. If that sounds like it would be a good option for you, I can line out some instructions on how to do so.
     
  7. XtremeARG

    XtremeARG New Member Member

    Sounds great , please help me to set it up.
    You are great Sean.
     
  8. Sean B.

    Sean B. Addicted to LI Member

    Alrighty, lets begin:

    **NOTE** If you made a specific access point already for your Wife's customers to use, remove it. You want to only have access points that you want your family to use at this point. Also, these instructions make a few assumptions.. 1: That you currently have only br0 configured in the Basic->Network section under LAN and that its IP is still the default 192.168.1.1 ( If not, explain what you've changed/added and I'll get you any amendments required ) . 2: That you already have an access point configured for the family under Basic->Network Wireless 2.4ghz ( required, if not, then make one ) and that you haven't created any virtual access points off of it already ( if you have, simply substitute wl0.2 or wl0.3 etc for my references to wl0.1 ).

    In the routers web GUI:
    1. Go to Basic->Network
    • Under the LAN section there's a table with columns labeled bridge, stp, IP address etc. We're going to add a line underneath the one existing line which should be br0. Configure the line as follows:
    • Bridge = br1
    • STP = disabled
    • IP address = 192.168.2.1
    • Netmask = 255.255.255.0
    • DHCP = enabled
    • IP Range = 192.168.2.100 - 150 ( this will allow for 50 IP's to be used, just a generic number. If you want to limit how many customers can be on at once, reduce the range accordingly )
    • Lease time = 60
    • Should end up looking like this:[​IMG]
    • Click ok directly beneath your created line, then scroll to the bottom of the webpage and click save.
    2. Go to Advanced->Virtual Wireless
    • You should be defaulted to the Overview tab in the Virtual Wireless page, and see another table with columns labeled interface, enabled, SSID etc. We're going to configure a new line as follows:
    • Interface = wl0.1
    • Enabled = Box checked for Yes
    • SSID = Guest ( this can be whatever you want )
    • Mode = Access Point
    • Bridge = LAN1 (br1)
    • Should end up looking like this:[​IMG]
    • Click Add directly below the line. This will jump you over to the wl0.1 tab.
    • Verify Broadcast = Box checked
    • You can have no security on the access point, so anyone can just connect to it and use it. Or, if you perhaps want customers to request use of the Wifi, or want to just put up a small sign stating the login/password for the wifi so at lease only people who are coming into your Wifes business are using it and not random other people who are within range. If you choose to enable security, use WPA2 personal then select AES for encryption.
    • Scroll to the bottom of the webpage and click Overview.
    • You should now be at the bottom of the Overview page, click save.
    3. Go to Advanced->VLAN
    • Under the VLAN section you should see yet another table, with columns labeled VLAN, VID, Port 1 etc. Vlan 1 and 2 should already exists.. we're going to configure a new line as follows:
    • VLAN = 3
    • VID = 0
    • Leave all port column boxes unchecked.
    • Bridge = LAN1 (br1)
    • Should end up looking like this: [​IMG]
    • Click Add directly below the line.
    • In the Wireless section, in the dropbox for "Bridge wl0.1 to" select LAN1 (br1)
    • Scroll to the bottom of the webpage and click save.
    4. Go to Administration->Scripts
    • Select the Firewall tab.
    • Add this line to the text box:
      Code:
      iptables -t filter -I INPUT 1 -i br1 -d 192.168.1.0/24 -j DROP
    • Scroll to the bottom of the webpage and click save.
    5. Go to Bandwidth Limiter
    • Under Bandwidth Limiter for LAN (br0) check the box for Enable.
    • In the Max Available Download and Upload boxes at the top, put in the highest possible speeds your internet connection can obtain.
    • Do not enter any IP's/MAC's in the table for br0, and under Default Class for Unlisted MAC/IP for br0 leave the Enable box unchecked. This will mean no limits are imposed on any clients connected to your family's side of the network.
    • Under Default Class for LAN1 (br1) check the box for Enable.
    • The Download/Upload Ceiling is the maximum bandwidth available in total for clients on this LAN.. so set this value at the maximum bandwidth you're willing to allow the guest network to possibly use at any given time. While the Download/Upload Rate is the minimum bandwidth the router will reduce each client to on the LAN in the event multiple clients are using bandwidth. The rate is really only useful when you know the maximum number of clients that will be one the LAN at any one time, because the rate is effective for each client and it cannot total a value higher than your set ceiling. In your case I'd leave the rate empty, unless you really feel one rogue customer will start a bunch of torrent downloads and block everyone else out of bandwidth.
    • Priority can stay at normal.
    • Scroll to the bottom of the webpage and click save.
    At this point you should be good to go. You'll have the same wifi access points you had before for the family, and a new one labeled Guest ( or whatever label you chose ) for your Wife's customers. Anyone connected to the Guest access point will not be able to access or see any traffic/clients on the family's network. I would suggest using a phone or laptop etc and try out the bandwidth settings by connecting to the Guest network and make sure it's operating as you want it to. Also verify there is no limit imposed on the speeds for the family's network. Let me know if you have any questions or run into any problems.​
     
    Last edited: Jul 17, 2017
  9. XtremeARG

    XtremeARG New Member Member

    in Basic->Network :
    When i try to change to bridge br1 and save i get this error "Bridge br0 must be always defined and have a valid IP address set"
    Only let me save as br0 , and all the next steps are over br0 bridge.
    What i need to do to let me set br1?
     
    Last edited: Jul 17, 2017
  10. Sean B.

    Sean B. Addicted to LI Member

    Are you saying you're trying to change br0 to br1? The instructions state you're adding a new line UNDER br0.
     
  11. XtremeARG

    XtremeARG New Member Member

    You are just amazing !!!
    Tested with my phone on both wifis and works just perfectly.
    Home wifi full access , business wifi limited.
    Thank you some much !!!!!!!!
     
    Last edited: Jul 17, 2017
  12. Sean B.

    Sean B. Addicted to LI Member

    Great! Glad it's working well for you. And you're welcome, happy to help.
     
    XtremeARG likes this.

Share This Page