I\'m developing an embedded device which has access to the internet through LAN. I\'m in the testing phase now, and I would like to test how the device performs when the connect
This is another OSX solution, have a look at the Network Link Conditioner.
The following quote is ripped from the following blog (All credit for the below should go to Matt Gemmell):
http://mattgemmell.com/2011/07/25/network-link-conditioner-in-lion/
Get the Hardware IO Tools for Xcode. To do this, go into the Xcode menu, then choose “Open Developer Tool” and finally “More Developer Tools…”. You’ll be taken to Apple’s developer downloads site; you should download the “Hardware IO Tools for Xcode”.
The resulting disk image will contain (amongst other things) a preference pane for System Preferences, called “Network Link Conditioner”. Double-click the prefpane file and authenticate to allow it to be installed. You’ll then see the pane in System Preferences.
You can choose from various different types of network conditions using the Profile popup menu.
You can also add profiles of your own by clicking Manage Profiles, either from scratch or via duplicating an existing profile.
Extremely handy for simulating less than optimal network conditions while testing an app. Just don’t forget to switch it off afterwards!