|
|
|
|
Limiting Connection Speed (9-May-98 Updated 29-Dec-99) Most modems can be set to connect only at a speed or range of speeds. Lucent (Apollo/Mars/LT Win Modem with V.90 firmware) are limited to autorate, or locking a single connect rate; the upstream rate can also be set by the user. In some situations with Lucent modems, lowering the upstream rate (to say 21.6k) will improve the downstream rate and reliability. This page shows the speed limit commands for: 3Com/USR Modems
Lucent-based Modems Rockwell/Conexant-based
Modems Using speed limiting commands may be helpful if you experience variability in your CONNECT rates, and only want to connect on your higher speed connections, or if your modem is connecting at too high a speed so as to choke on errors. For example, I find that when calling my ISP, I'll either get a rate of 32000 or 46666-48000. I've set my dial-up networking to automatically re-dial up to 50 times with a 1-second re-dial delay, and added the &U&N settings to make my connection a minimum of 42666bps. If that rate cannot be achieved, no carrier is obtained, the line is disconnected, and the modem immediately re-dials. Sometimes, it may take 9 or more attempts before a good connection is obtained - and no user intervention is required to reject the low-speed poor connections and re-dial. There are also many people whose modems are "over aggressive" on connect speed who can eliminate disconnect and/or low throughput problems by limiting the maximum speed the modem connects to a slightly lower rate. There's also an "Optional Shareware" program - ConnectPro that, among other things, will re-dial if you don't get your specified minimum connect speed. I haven't personally tried this program - if you try it, let me know what you think. 3Com/USR Modems:The commands: &Un and &Nn (where n is a number between 0 and 39) control the connect speeds your modem will accept. &U control the lowest link speed, and &N controls the highest link speed. If you want to use this, add the appropriate &Un&Nn string in the 'extra settings' box of the Advanced Properties of your Modem from Control Panel. (See the graphic of 56k Troubleshooting page 1.) My extra settings (for 42.6k minimum connect) are: &U28&N39 I don't limit the highest connect speed - but you can: if you find that you get connects above 50k that are unreliable and error-prone, you can use the &Nn setting to limit the maximum speed. Note: I have not been able to use this option reliably with x2 servers. It does work quite well for me with V.90. I suspect the reason is that with x2, I will regularly get CONNECTs at 48k that never go above 32k, while with V.90, my actual rate and connect speed are more accurate. 13-Dec-98: The command seems to be partially broken on USR/Sportster with new 5.0.0 firmware - see my 12/13 Update. &U## - Lowest Link Speed
These are the possible values for n with a x2 (non-V.90) 3Com modem:
Also see: Other extra settings. Rockwell / Conexant Modems:The command format is: You can determine the format of the +MS command for your
modem with the command: To limit the Rockwell-chipset (Conexant chipset) modem to a minimum of 44,000bps and a maximum of 52k, the following string would be entered in extra settings: +MS=,,44000,52000 (non HCF) Note: If you place any commands after the +MS= command, you must terminate the +MS portion with a semicolon - ie: +MS=12,0;s10=7 The preferred modulation can be selected by placing the following parameter before the first comma:
+MS=12,,44000,52000 (non HCF) - V.90 is preferred, connect
min 44k, max 52k The default for automode - the second parameter - is 1 which will allow other than the selected modulation; to force V.90 in the prior example: +MS=12,0,44000,52000 (non HCF) - V.90 is
required, connect min 44k, max 52k With some firmware versions, the commands may be broken, or not work correctly. See the auto-redial section. Lucent Modems:The Lucent LT Win Modem (Apollo/Mars) with V.90 firmware does not have the same flexibility for connect speed options as 3Com and Rockwell. It will either do autorate (default), or you can specify a single 56k speed to (try to) connect with:
* - -v90=22 & 23 valid only with firmware 5.49 and higher. The following commands are implemented on both the Lucent Apollo/Mars (LT Win Modem) and Venus (external/PCMCIA/int) modems:
NOTE: With the Venus chipset, s38=# controls both the KFlex and V.90 downstream rate; the KFlex/V.90 preference is set as follows:S109=# 0=Disable V90 (Flex only)
Also see: Other extra settings. Motorola SM56 Modems:
Special Thanks to Phillip Julias IV for supplying this Motorola SM56
info. PC Tel ChipsetTo limit the speed on PCTel modems, you must select either V.90 (n0s37=14) or K56Flex (n0s37=13) along with the speed limit s34=# where # is as follows:
Special Thanks to Phillip Julias IV for supplying this PCTel info. Cirrus/Ambient Modems:Cirrus Logic spun off its modem chipset business to Ambient Technologies. Ambient makes chipsets, not modems, and like Rockwell/Conexant has very poor support and documentation available from its website. While AT command documentation (in .pdf format) is on the web-site, the all-important SPEED LIMIT commands are not included in the Ambient/Cirrus documentation! It appears that a variation of the +MS= command is used in Cirrus/Ambient modems to select protocol as well as speed limits. Cirrus/Ambient makes a number of different chipsets with different capabilities, and the parameters for +MS= may vary among the products. The command AT +MS=? will return the possible values for each of the fields in the command; the following comes from a MD5620:
Cirrus/Ambient makes a controller-based x2/V.90 modem chipset (MD565X)
for ISA and external configurations. The only documentation available indicates how to
disable 56k: +MS=V34,1,0,33600 Cirrus/Ambient also makes: ESS Teledrive Modems:Modems with the ESS chipset (Teledrive) use the +MS= command to control modulation and minimum/maximum connect speeds:
where minspeed and maxspeed are valid rates between 300 and 57333bps. Valid values for protocol include: Rockwell & Lucent Modems - Autoredial: Jim Bell found a solution to allow auto re-dial with Lucent modems (that lack effective speed range commands) and some later Rockwell V90 firmware where the +MS command is 'broken': 1. First, find the highest speed at which your modem connects and gives stable connections. If your modem speed varies, this should be done only after numerous logons to your ISP. 2. In Dial Up Networking, Click "Connections" and then "settings". Check the Redial box. Under this change "Before giving up retry" to 50 times. Press "OK". 3. In Dial-Up Networking, right click your internet connection and hit properties. Under your modem listing, hit "Configure". Set Maximum Speed to 115200. Select the Connection tab. Hit "Advanced". Change your modem speed by adding the following command in the Extra Settings box: Rockwell Modems (except HCF):
+MS=12,1,xxxxx,56000 Rockwell HCF Modems: +MS=V90,1, <min tx rate>,
<max tx rate>, <min rx rate>, <max rx rate> Lucent Modems: -V90=# or
S38=# Hit "OK", "OK", and "OK". 4. Engage your internet connection. After hitting
"Connect", listen to the modem dial and pay attention to the handshaking
sequence. If your modem does not reach the desired speed, you will hear it begin
another handshaking sequence. Time the seconds it takes between hitting the
"Connect" button and the second handshaking sequence. Add 2 to 3 seconds
to this time. |