54, how to enable NT4.0 to support your modem _ network surfing

Source: Internet
Author: User
Tags response code

54. How to enable NT4.0 to support your modem

----Nowadays more and more people use Windows NT4.0 as the operating system of LAN, and connect to the Internet via modem, although most people use modem is windows NT4.0 recognized or compatible, but still some of the modem is not recognized by Windows NT4.0, this article describes how to make it support your modem by modifying the Windows NT4.0 configuration file.

----the way Windows NT4.0 modems are set up using telephone application programming Interface (TAPI). Different modems have different profiles, and the Windows NT 4.0 modem configuration file (. inf) is located in the%SystemRoot%\Inf directory, and you need to be aware that the. inf is an implied directory and the file name is Mdmxxxx.inf, where xxxx Varies depending on the modem, for example, the Hayes modem's profile is Mdmhayes.inf.

----below we will modify the Mdmhayes.inf file to show how to enable the Chinese version of Windows NT4.0 to support your modulation mediator. Please back up the original Mdmhayes.inf file before you modify it.

----Mdmhayes. The INF file also supports several brands such as Hayes megahertz modems, but now we are modifying the "Hayes Compatible 9600" section of Hayes to enable it to support the "integrity" of the Smartlink9614um modem.

The----has a section [M1702] in the Mdmhayes.inf file, which reads as follows:

----[M1702]

----addreg=all,common,m1702reg,external

----This section indicates in which sections the setting values for the "Hayes Compatible 9600" (M1702) are in, for example, in sections [all] [Common] [M1702reg] and [EXTERNAL]. Hot Network

----[All] section: The setting value in this section is given to Mdmhayes. INF is used in all modems.

----[COMMON] section: The setting value for this section is used for all modems of this brand (HAYES).

----[M1702reg] section: The setting value for this section is used for modems for "Hayes compatible 9600".

----[STRINGS] section: This section contains the strings represented by each variable.

----After the introduction, we begin to explain how to modify the Mdmhayes.inf file of the above sections, so that the original "Hayes compatible 9600" into the "smartlink9614um" of the technology of the modem.

----1. Modify [COMMON] section

----Modify the commands (command) and the connection response (Response) to match the requirements of your modem. (Refer to your modem manual for the appropriate command)

----① Modify Command section

----"Smartlink9614um" Modem turn on hardware (rts/cts) traffic control command for "\q3", turn off the command to "\q0", open the software mode of Flow control command is "\Q1", then modify the following:


Hkr,settings,flowcontrol_off,, "&k0" = = >&k0 changed to \q0
Hkr,settings,flowcontrol_hard,, "&k3" = = >&k3 changed to \Q3
Hkr,settings,flowcontrol_soft,, "&k4" = = >&k4 changed to \Q1

----② Modify Response part

----We have to understand the meaning of the values in response before we modify them, the following table illustrates:


Hkr,response, "15< cr >", 1,02,00,80,
70,00,00,00,00,00,00;connect28800

----The following values are described:

----15< CR: Represents the modem response code (result code) after a dial-up connection, where the response code is 15< cr >.

----1: A byte, where 1 indicates that the following two sets of DWORD (80,70,00,00 and 00,00,00,00) values are 16, and if 0 or not, the following two sets of DWORD are strings.

----02: A Byte, where 2 indicates successful connection "connect".

----00: A byte, which is only useful if the last byte is 01 (negotiation Progress) or (Connect). 00 indicates no Error control and no Compression.

----80,70,00,00: A DWORD (four byte) that represents the speed of DCE (between modems and modems). Note that this group of values is arranged in a reversed manner, for example, the 00,00 of this example is high byte, and 80,70 is the lower byte, Therefore this value represents:


00007080=7*4096+8*16=28800bps

----00,00,00,00: A DWORD (four byte) that represents the speed of a DTE (between R232 and the modem), which is also arranged in an upside-down manner.

----Modify the Response section, please enter all supported response data for your modem (which you can do without entering a response that is unlikely to occur, such as a 300bps-speed connection).

----2. Modify the [M1702reg] segment hotspot network

----If the start (INIT) modem at command (for example, "at&fe0v0&c1&d2s0=0") does not match your modem, or if you want to add a start command here, modify it. For "Smartlink9614um", you do not need to modify here.

----  Through the above changes your windows nt4.0 will be able to support the modem you use, and this method applies to Windows95 as well.  

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.