Winmodems-and-Linux-HOWTO.pdf
(
28 KB
)
Pobierz
The Winmodems-and-Linux HOWTO
The Winmodems−and−Linux HOWTO
The Winmodems−and−Linux HOWTO
Table of Contents
The Winmodems−and−Linux HOWTO.
..........................................................................................................1
Alexandre J., alexandre12@mageos.com.
...............................................................................................1
1. What are Winmodems ?.
......................................................................................................................1
2. ISA or PCI ?.
........................................................................................................................................1
3. Installing a modem driver.
...................................................................................................................1
4. The end...
.............................................................................................................................................1
1. What are Winmodems ?.
......................................................................................................................1
1.1 They are modems....
...........................................................................................................................1
1.2 ...not as real modems are !.
................................................................................................................2
1.3 How to know I have a Winmodem ?
.................................................................................................2
2. ISA or PCI ?.
........................................................................................................................................3
2.1 PCI ?
..................................................................................................................................................3
2.2 or ISA ?.
.............................................................................................................................................3
2.3 ISA and 2.4 kernels.
...........................................................................................................................5
3. Installing a modem driver.
...................................................................................................................5
3.1 ltmodem 5.78.
....................................................................................................................................5
3.2 The LT WinModem (from Lucent) 5.68 (OBSOLETE).
..................................................................6
3.3 The LTMODEM program (OpenSource driver.
...............................................................................7
4. The end...
.............................................................................................................................................7
4.1 Licence, Copyrigh.
............................................................................................................................7
4.2 Contact.
..............................................................................................................................................8
4.3 Resources.
..........................................................................................................................................8
i
The Winmodems−and−Linux HOWTO
Alexandre J., alexandre12@mageos.com
v1.2, 29 April 2001
This document helps users who have a Winmodem for getting it working under Linux.
1.
What are Winmodems ?
·
1.2 ...not as real modems are !
1.1 They are modems...
·
1.3 How to know I have a Winmodem
·
2.
ISA or PCI ?
·
2.2 or ISA ?
2.1 PCI ?
·
2.3 ISA and 2.4 kernels
·
3.
Installing a modem driver
·
3.2 The LT WinModem (from Lucent) 5.68 (OBSOLETE)
3.1 ltmodem 5.78
·
3.3 The LTMODEM program (OpenSource driver)
·
4.
The end...
·
4.2 Contact
4.1 Licence, Copyright
·
4.3 Resources
·
1.
What are Winmodems ?
1.1 They are modems...
A Winmodem, like other modems, is used for accessing to phone services, as BBS, Internet, Voice Phone,
Fax, etc. It is raccorded to a phone line and is caracterized by its speed. If you want to learn more about
modems, I report you to the Modems−HOWTO.
The Winmodems−and−Linux HOWTO
1
The Winmodems−and−Linux HOWTO
1.2 ...not as real modems are !
But they are WINmodems. That is, they need Windows to work. Why ? Simply because they are stupid. They
need a special software, a driver, to accomplice their complete task. Who says software says OS, and the
drivers included with the modem are, at 99%, exclusively for the MS−Windows platform. But with the
democratization of Linux, some manufacturers, like LT or Motorola, decided to create a linux driver for their
modems. But they have not understand linux philosophy: the drivers they provide works, of course, but they
are 'Closed Source'. They are free, at the sense of the price, but not under the GPL. It means that the sources
are not available.
So, some 'hackers' decided to make an Open Source driver, but they do not know a lot about their modems,
because manufacturers don't want to communicate the specifications of their modems, so the OpenSource
drivers are often in the alpha or beta status.
1.3 How to know I have a Winmodem ?
1. Try to get the name of the serial port where your modem is connected (under Windows or MSDOS,
example: COM1 COM2, ...).
The name of your modem under Linux is /dev/ttySx, where x is the number of the serial port under DOS, − 1.
< Example: Under DOS: COM1, under Linux ttySx, with x=1−1, so ttyS0
2nd example: Under DOS: COM3, under Linux ttyS2
and so on
2. Make a symlink from /dev/ttySx to /dev/modem, by typing
rm −f /dev/modem<p>
ln −s /dev/ttySx /dev/modem
3. Download and install the minicom package. Then run 'minicom −s'.
Choose 'Serial Port Setup', type 'A' for setting 'Serial Device', delete all the line, and type '/dev/modem'. Then
validate by [Enter]. Type [Esc], and choose 'save setup as dfl, then choose 'Exit'.
Wait a little time, then type 'AT' if the modem answers 'OK' then you have NOT a Winmodem, you have a
standard modem...
If the initialisation time takes too long, then you have a Winmodem. Use this document for try making it
useful. Log in as root.
4. Exit from Minicom by typing CTRL+A, then X.
1.2 ...not as real modems are !
2
The Winmodems−and−Linux HOWTO
2.
ISA or PCI ?
2.1 PCI ?
Ok, now we have a Winmodem... But there are two types of Winmodems: ISA or PCI. For making the things
harder, the two interfaces are pretty different. So, we'll now test if we have a PCI or ISA modem. First, you
must configure your kernel. During the make *config, you must answer 'yes' to the following questions:
·
In Loadable module support: 'Enable loadable module support (CONFIG_MODULES)', and 'Set
version information on all modules for symbols (CONFIG_MODVERSIONS)' (note that you must
have the modutils package installed ; See the Kerneld−HOWTO)
·
In General setup:
'PCI support' (CONFIG_PCI)
Choose 'Any' in 'PCI Access Mode' (CONFIG_PCI_GOBIOS)
'PCI quirks' (CONFIG_PCI_QUIRKS)
'Backward compatible /proc/pci' (CONFIG_PCI_OLD_PROC)
·
If you can config PCI Device Name Database (maybe with a 2.4+ kernel), your can say Y, this will
make your /proc/pci file easier to understand (CONFIG_PCI_NAMES).
·
In Filesystems
'/proc filesystem support' (CONFIG_PROC_FS)
If you have never recompiled your kernel, maybe the kernel of your distribution will contains this. If you
want to recompile it and you have never done it, read the Kernel−HOWTO.
Now, we assume that your new kernel is installed.
Now run 'cat /proc/pci'. If you see the name of your modem in the lines returned by the command then you
have a PCI Winmodem. Jump to 'Installing the driver'
2.2 or ISA ?
If you don't find it, maybe you have an ISA modem. How to be sure ?
ISA support is not assumed by the Kernel (UPDATED: if you have a 2.4.x kernel, the kernel can do it
automagically for you, if so, skip this section and read the next). It is a third−party software, named isapnp,
who does it. First you must be sure that you have this package installed. If not install it by downloading the
isapnptools package.
Once isapnptools is installed, we'll run a special program, pnpdump, who inspects your computer for finding
ISA devices. Then it tries to guess the resources used by the devices and prints them to a file,
/etc/isapnp.conf. Then you edit this file and run an other program, isapnp, which reads the isapnp.conf file
and auto configure your devices.
2. ISA or PCI ?
3
Plik z chomika:
megaskrypty
Inne pliki z tego folderu:
3-Button-Mouse(1).pdf
(58 KB)
XWindow-Overview-HOWTO(1).pdf
(30 KB)
Xterm-Title(1).pdf
(39 KB)
Xterminals(1).pdf
(30 KB)
Xinerama-HOWTO(1).pdf
(33 KB)
Inne foldery tego chomika:
Programowanie
Zgłoś jeśli
naruszono regulamin