Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I connect to the internet on my pc via ethernet and wireless with a laptop. I want to control the speed of laptop wireless connection so when both are running I still have enough speed on pc to work and who ever us using wireless connection has less speed.

Is this possible?.

I mean to control speed up/down for pc and for laptop. With wondershaper I can only control up/down speed general I need to set different speeds for both computers.

share|improve this question

2 Answers 2

If your two machines connect to the Internet directly (the device at the other end of your ethernet wire and the one that the WiFi from your laptop connects to), then the only way you can create this imbalance is at that point where the two paths meet.

This means, you either configure your 'router' device or the WiFi access-point to limit laptop bandwidth. But, the real trick is in being able to give the laptop full bandwidth when the PC is not taking any.

If you want to bias towards your PC, one way is to make the PC route your laptop's access to Internet. This requires you the keep that PC between the Internet and the WiFi access-point. That is provided, you can really do such a physical placement.

If that can be done, you would just throttle the WiFi access-point bandwidth from your PC when you are using Internet from there. And, at other times, leave the throttle open. Again, a downside to this is, your PC would remain up when laptop wants to reach Internet -- unless, you do more trickery.

Expected present wiring,

PC == Internet-Device == WiFi Access Point == Laptop

Suggested wiring,

Internet-Device == PC == WiFi Access Point == Laptop

I refer to the Internet-Device as 'router' in the above description.
And, expect that it is physically different from your Wifi Access Point (WAP).
If that is not the case, you need to figure out if-and-how the combined Internet-Device can be configured to throttle the WiFi bandwidth.

share|improve this answer

This can control Upload and Download Speeds: sudo apt-get install wondershaper && wondershaper --help

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.