19

I get disconnected from the internet whenever the speed reaches 2.5 Mbps

Is there any app to limit the internet speed below that. I am not talking per application based.

Using MacBook Pro (mid 2013) Yosemite

grg
  • 201,078
  • Is there an administrative reason for the disconnect or is it due technical problems with your network (especially with your modem)? – klanomath Jan 05 '15 at 13:16
  • The isp does not allow speed more than 2.5 Mbps. I m using a 21 Mbps modem. Recently the tower got upgraded and whenever the speed crosses the limit, the internet gets disconnected. The ISP are yet to fix this. – Akash Lodha Jan 05 '15 at 13:30

1 Answers1

41

You can use Network Link Conditioner.

Network Link Conditioner Preference Pane

You will want to ignore the testing settings. Make a Custom Profile and set to have no packets dropped and no delay. Start with uplink and downlink at 2.45 Mbps each and see if you need lower limits to prevent disconnects.

Network Link Conditioner Custom Profiles

It is a free download in Xcode (go to Xcode → Open Developer Tool → More Developer Tools… and download the Hardware IO Tools for Xcode).

bmike
  • 235,889
grg
  • 201,078
  • 5
    It works perfect. For future reference there is no need to download Xcode, for the hardware IO Tools. It can be downloaded directly from apple developer website – Akash Lodha Jan 05 '15 at 17:00
  • 7
    You can download it here: https://developer.apple.com/downloads/ (sign in with your apple ID) – nnn Oct 02 '15 at 06:20
  • This is no longer working for me on macOS Sierra – Tariq- iPHONE Programmer Dec 06 '16 at 11:39
  • @Tariq You need to use the latest version of Network Link Conditioner, update yours – grg Dec 06 '16 at 13:25
  • I have downloaded latest version today for developer.apple.com which is fairly old. Apple have not released a new version compatible to Sierra – Tariq- iPHONE Programmer Dec 06 '16 at 15:28
  • 3
    @Tariq https://developer.apple.com/download/more/ Additional Tools for Xcode 8.1, it really does work if you have the latest version – grg Dec 06 '16 at 15:58
  • 1
    It looks as if I have to run my app (a Chrome browser in my case) in "the simulator" before the conditioning takes place. I'm using macOS Sierra and XCode 8.3.3 after downloading the Hardware IO Tools for Xcode 7.3 dated Mar 20, 2016. There is no download newer than that one. All I'm trying to do is simulate a slow network for my entire MBP while running my test. – Jeff Holt Jul 19 '17 at 15:36
  • I tried this with MacOs Mojave. iperf always shows the same results: 1000Mbps. Seems this does not work anymore. – kyb Apr 05 '19 at 13:44