Wifi – bandwidth throttled for guest – part2

To give internet access to the friends of our Bandits who visit us, I have set up a password free WiFi guest network. This network is made available on all our routers, but bandwidth is throttled to 2 Megabit Download, and 1 Megabit upload speed. This should be plenty for most things but still don’t invite them to sit and see youtube videos while here.

Quality of service is used to throttle the bandwidth, it is hard to understand that dropping internet packets on purpose is the purpose of Quality of service. But it can actually result in a better more stable system, since tcp will adapt to the speed available.

To use Quality of Service we need to install a few packages

Now we need to configure it, which could be done via the WEB-interface, but doing it via the commandline is quite easy too, here is the content of the config file

A new interface has to be defined in /etc/config/network, aswell as configuring a new vlan on the switch

Configuring a password free access point is done by adding the block below to /etc/config/wireless

And we need to make these additions to /etc/config/firewall

And one of the routers (192.168.2.4) have to be configured as a dhcp server

That is all for now

Print Friendly, PDF & Email
This entry was posted in internet, Linux. Bookmark the permalink.