[opensuse] OT? Can I limit bandwidth to someone on the same wifi net?
Hello, I use leap 42.1 and have an ADSL connection with the standard router delivered by the phone company (telefonica, Spain). When I have guests they connect their phones (I give them the password) to my wifi with the dhcp of the router. And then my internet gets very slow, as most people use a lot of apps that keep them connected all the time, I guess. Is it possible that somehow I give preference to my own laptop and phone, or kind of restrict the bandwidth for the other ones? So that my bandwidth doesn't get so much affected, but instead theirs? I have no idea about net configuration, I don't even know if I would have to do something like that on the router or with a program from my laptop... I'd be grateful for any hints that even a dummy can understand :-) Thanks. Daniel -- Daniel Bauer photographer Basel Barcelona http://www.daniel-bauer.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Thursday 21 July 2016 10:22:14 Daniel Bauer wrote:
Hello,
I use leap 42.1 and have an ADSL connection with the standard router delivered by the phone company (telefonica, Spain).
When I have guests they connect their phones (I give them the password) to my wifi with the dhcp of the router. And then my internet gets very slow, as most people use a lot of apps that keep them connected all the time, I guess.
Is it possible that somehow I give preference to my own laptop and phone, or kind of restrict the bandwidth for the other ones? So that my bandwidth doesn't get so much affected, but instead theirs?
I have no idea about net configuration, I don't even know if I would have to do something like that on the router or with a program from my laptop...
I'd be grateful for any hints that even a dummy can understand :-)
In general what you want is called "Quality of Service" (QoS) and your router has to support this. Look into your router configuration what it can offer. If it does not offer any or not enough for that you could "build" your own router, i.e. either based on a PC or nowadays more likely another router that can be used with a custom firmware offering these, e.g. dd-wrt compatible ones or an AVM FritzBox with freetz additions. Then you can either replace your current browser or chain the new one after your standard, disable wifi on standard and let all guests and yourself connect over the new router which you configure to either prioritize different ports, applications, ip-adresses or ports on the router itself, e.g. the one where your computer is connected. A program from your laptop would probably not give convincing results as it just has to compete with all other equally allowed nodes in your network. The only workaround I could think if is to forcefully compete by using many more connections from your computer which does not really work for web browsing or interactive use of internet connections, just for stuff like downloading DVD isos or movies with download clients using many concurrent connections, e.g. also bittorrent. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 21/07/2016 à 11:02, Oliver Kurz a écrit :
current browser or chain the new one after your standard, disable wifi on standard and let all guests and yourself connect over the new router
may be an other simpler solution could to buy an other QoS capable wifi router, keep for yourself the main wifi and bandwidth and give guests the other wifi passwd any old PC with wifi could be used as other router if your present laptop is always connected, may be you can build a secondary access point with it or simply add an other wifi interface to it jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 07/21/2016 02:26 AM, jdd wrote:
Le 21/07/2016 à 11:02, Oliver Kurz a écrit :
current browser or chain the new one after your standard, disable wifi on standard and let all guests and yourself connect over the new router
may be an other simpler solution could to buy an other QoS capable wifi router, keep for yourself the main wifi and bandwidth and give guests the other wifi passwd
any old PC with wifi could be used as other router
if your present laptop is always connected, may be you can build a secondary access point with it or simply add an other wifi interface to it
jdd
Unless Daniel's telco router is fairly new, I suspect your way is the only way this would work and even that might be a bit of overkill. Most telco modem/routers DO have a capability to operate in straight through mode, which just passes everything to your local network with no restrictions. This option Disables the router portion and also the wifi if any, and hand it all over to your own router that you can manage. That's what I do, and the only thing connected to modem is a linux box with Iptables controlled by Shorewall. Shorewall offers QOS and bandwidth control via Traffic Shaping. http://shorewall.net/simple_traffic_shaping.html (Suse Firewall might work as well, but frankly once I found Shorewall I stopped looking). Now as to the Traffic Shaping part of Shorewall? I confess I don't use it. I suspect this is more infrastructure to manage than Dan was looking for. -- After all is said and done, more is said than done. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 07/21/2016 05:02 AM, Oliver Kurz wrote:
In general what you want is called "Quality of Service" (QoS)
QoS or Class of Service (CoS), which is the newer designation, means that some traffic is given preference, according to some parameter. It could be with the protocol, such as VoIP gets priority over other traffic. Or it could be one port on a switch has priority. Since he also wants to use his laptop or phone over WiFi, there'd have to be some CoS in the access point that perhaps gives priority based on MAC address. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2016-07-21 10:22, Daniel Bauer wrote:
Hello,
I use leap 42.1 and have an ADSL connection with the standard router delivered by the phone company (telefonica, Spain).
When I have guests they connect their phones (I give them the password) to my wifi with the dhcp of the router. And then my internet gets very slow, as most people use a lot of apps that keep them connected all the time, I guess.
This is strange. Phone apps do not use a lot of internet bandwidth, with the exception of Youtube or voice over internet (hangouts, whatsap calls...). And if your guests are using those, limiting their bandwidth would severely affect them. You would then have to negotiate with them what apps they use and when -- ie, use youtube by turns ;-) What happens then is that your ADSL pipe is too small. Not the 30 Megs that Telefonica supplies nowdays.
Is it possible that somehow I give preference to my own laptop and phone, or kind of restrict the bandwidth for the other ones? So that my bandwidth doesn't get so much affected, but instead theirs?
The router may have some QoS options. Knowing your exact router you could have a look at the Spanish sites that have information on them (http://www.adslzone.net/ and ... I forget the name. I can't look bookmarks, this is a test install). -- Cheers / Saludos, Carlos E. R. (from openSUSE Leap 42.1 x86_64 (test)) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
I use Tomato on my Linksys WRT54GL router, and it allows you to define QoS (both inbound and outbound,) including by IP. You can then apply maximum bandwidth caps, priorities, etc. to those QoS levels. So if you were to give some devices static/sticky IPs, you could give them higher priority, and let the "general" IPs get lower priority and bandwidth caps. (I use it so that my VPN traffic to work gets a higher priority than my wife's Netflix traffic :P) ((Note that Tomato hasn't been updated for a few years, but it still works perfectly fine for me. I'd tried a couple of different flavors of DD-WRT, but it made my router lock up pretty regularly after I'd pass a few gigs of traffic through it; going back to Tomato (1.27) has been "set it and forget it" since then, for several years now.)) http://www.polarcloud.com/tomato -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Am 21.07.2016 um 13:42 schrieb Carlos E. R.:
On 2016-07-21 10:22, Daniel Bauer wrote:
Hello,
I use leap 42.1 and have an ADSL connection with the standard router delivered by the phone company (telefonica, Spain).
When I have guests they connect their phones (I give them the password) to my wifi with the dhcp of the router. And then my internet gets very slow, as most people use a lot of apps that keep them connected all the time, I guess.
This is strange. Phone apps do not use a lot of internet bandwidth, with the exception of Youtube or voice over internet (hangouts, whatsap calls...). And if your guests are using those, limiting their bandwidth would severely affect them. You would then have to negotiate with them what apps they use and when -- ie, use youtube by turns ;-)
What happens then is that your ADSL pipe is too small. Not the 30 Megs that Telefonica supplies nowdays.
I am in Barcelona, not part of the modern world... my telefonica is spanish 10 Mbps download and spanish 0.8 Mbps upload, translated into realworld: 4.5 Mbps down and 0.3 up... According to telefonica this is the fasted I can have. There's no fiber available... Unfortunately I was not able to find another provider. All offers are "free" (prices come on page 7, link 5, and to find the real prices - after the special prices month - one needs a master in investigation, also because the offers are not comparable. There's no "pure" internet, it's always some combination with mostly unwanted additional services).
Is it possible that somehow I give preference to my own laptop and phone, or kind of restrict the bandwidth for the other ones? So that my bandwidth doesn't get so much affected, but instead theirs?
The router may have some QoS options. Knowing your exact router you could have a look at the Spanish sites that have information on them (http://www.adslzone.net/ and ... I forget the name. I can't look bookmarks, this is a test install).
I just looked into my router. There's nothing similar :-( -- Daniel Bauer photographer Basel Barcelona http://www.daniel-bauer.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2016-07-21 16:35, Daniel Bauer wrote:
Am 21.07.2016 um 13:42 schrieb Carlos E. R.:
On 2016-07-21 10:22, Daniel Bauer wrote:
What happens then is that your ADSL pipe is too small. Not the 30 Megs that Telefonica supplies nowdays.
I am in Barcelona, not part of the modern world... my telefonica is spanish 10 Mbps download and spanish 0.8 Mbps upload, translated into realworld: 4.5 Mbps down and 0.3 up...
According to telefonica this is the fasted I can have. There's no fiber available...
Ha! LOL, Barcelona is more modern that my part of Spain. I only got 1 Mbps. Your house either has an old copper line, or it is far from the exchange.
Unfortunately I was not able to find another provider.
Other providers use the Telefonica network. Besides that one, only ONO aka Vodaphone has its own fibre network.
All offers are "free" (prices come on page 7, link 5, and to find the real prices - after the special prices month - one needs a master in investigation, also because the offers are not comparable. There's no "pure" internet, it's always some combination with mostly unwanted additional services).
There are some pure internet providers via mobile network. You connect a dongle to your laptop to get connection. I had one, but capped to 0.5 GB/month.
The router may have some QoS options. Knowing your exact router you could have a look at the Spanish sites that have information on them (http://www.adslzone.net/ and ... I forget the name. I can't look bookmarks, this is a test install).
I just looked into my router. There's nothing similar :-(
Pity. Then your best chance is to negotiate with your guests, take turns at youtube :-p -- Cheers / Saludos, Carlos E. R. (from openSUSE Leap 42.1 x86_64 (test)) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 21/07/16 10:22, Daniel Bauer wrote:
Hello,
I use leap 42.1 and have an ADSL connection with the standard router delivered by the phone company (telefonica, Spain).
When I have guests they connect their phones (I give them the password) to my wifi with the dhcp of the router. And then my internet gets very slow, as most people use a lot of apps that keep them connected all the time, I guess.
Is it possible that somehow I give preference to my own laptop and phone, or kind of restrict the bandwidth for the other ones? So that my bandwidth doesn't get so much affected, but instead theirs?
Yes, this can be done using "traffic control". I have done it before to make sure there was always sufficient bandwidth for VoIP.
I have no idea about net configuration, I don't even know if I would have to do something like that on the router or with a program from my laptop...
I'd be grateful for any hints that even a dummy can understand :-)
using traffic control is a little bit involved, and you'd need a Linux box "in the middle". /Per -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (8)
-
Carlos E. R.
-
Christopher Myers
-
Daniel Bauer
-
James Knott
-
jdd
-
John Andersen
-
Oliver Kurz
-
Per Jessen