Mainpage
Searchform
History
Versions
Categories
Contents
Deutsch
A modem under linux is not working properly for reasons which seem related to the configuration of the modem itself. The correct article to determine this has been read and worked through (jrodman_modem_init). How can the modem configuration in use under Windows be transferred to Linux?
Windows systems get many pieces of configuration data from so-called INF files. In the case of proper modems, which do not have drivers, the INF file contains all information about the modem. Since these files are text, it is relatively easy to extract the necessary information from them.
INF files are installed in Windows 95/98 systems under the directory C:\Windows\inf, or equivalent. Unfortunately, there is no organization to this directory, so it may be easier to look on the diskette which shipped with the modem, or to acquire the file from the modem manufacturer's Web Site.
The example file a helpful customer sent in for troubleshooting
purposes was titled "Boca ResearchBOCA_600.INF
". The
file uses typical Windows configuration file sytax. Here is a brief
example snippet:
;;; Comments begin with semicolons, they are for information only ; Each section begins with a bracketed name [Section]
All modem commands begin with the capital letters AT
.
The commands we are interested in will accompany the identifier
Init
. For example:
;---------------init---------------------- HKR, Init, 1,, "AT<cr>" HKR, Init, 2,, "AT&FE0V1&C1&D2S95=47S0=0<cr>"In this case, the first string is a null or do-nothing command of just
AT
which can be ignored for our purposes. The second
line is what matters. The useful initiatlization string itself is
AT&FE0V1&C1&D2S95=47S0=0
; the trailing
charachters, <cr>, simply indicate a line termination, or
carriage return to windows.
Realize that there may be multiple sections in the modem configuration
file. In the file I read, Initialization sections could be found
under two different sections, named [56K]
and
[V90]
. In this case, they indicate 56KFlex mode and V.90
mode. Different sections with different meanings may be present in
other INF files. The use and meaning of these sections will depend
upon the modem manufacturer's decisions. Ideally, one can identify
which configuration was in use under windows, but if it is unclear all
configurations can be attempted, as the list should not be long.
See also:
Keywords: MODEM, INF, DIALER, INITIALIZATION, CONNECT
Mainpage
Searchform
History
Versions
Categories
Contents
Deutsch