Implementation Guide for WINmodem and Linux configuration (1)

Source: Internet
Author: User
Article title: WINmodem and Linux Configuration Implementation Guide (1 ). Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Author: Alexander J
  
This document describes how to run Winmodem in Linux.
  
1. what is Tom?
  
1.1 they are cats ......
  
1.2... but it's not the same as a real cat!
  
1.3 How do I know that I took the cat?
  
  
  
2. is it ISA or PCI?
  
2.1 PCI?
  
2.2 is ISA?
  
3. install the cat driver
  
3.1 LT brand maging cat (from Lucent technology Lucent)
  
3.2 LTMODEM program (open-source driver)
  
4. end...
  
4.1 copyright agreement, copyright
  
4.2 Contact Information
  
4.3 Resources
  
1. what is Tom?
  
1.1 they are cats ......
Like other cats, a Qingmao is used to access telephone services, such as BBS, Internet, voice calls, and faxes. It is connected by telephone lines and determined by speed. if you want to learn more about cats, I suggest you read Modems-HOWTO.
  
1.2... but it's not the same as a real cat! They are WINmodem )! That is to say, they only work on Windows OS! Why? It's very easy, because they are so cool! They require the coordination of specific software and drivers to complete the complete task. The so-called specific software refers to the operating system. The driver provided by the cat is provided exclusively for the Microsoft Windows system platform by 99%. However, with the democratization/popularization of Linux (democratization), some manufacturers, such as longxun technology (LT) and Motorola (Motorola, they decided to develop drivers for their own cats in Linux. But they do not understand the Linux philosophy: the drivers they provide work properly.
  
But their drivers are "Closed Source! They are free. here free refers to the "free" price, rather than the "free" referred to in the GPL terms "! That is to say, the source code of these drivers is not disclosed to the public.
  
Therefore, some "hackers"/"computer players" decide to write an Open Source driver,
  
Are
  
I am not very familiar with the technical details of cats in my hands, because the manufacturers are reluctant to disclose technical details of cats. Because, for example
  
In this case, open-source cat drivers are often alpha or beta.
  
1.3 How do I know that I took the cat?
  
1. check the name of the serial port connected to your cat (for example, in Windows or MSDOS, it is COM1, COM2,..., etc.
  
).
  
In Linux, your cat name is/dev/ttySx. Here, x is the serial port number in DOS minus one. For example
  
In Linux, COM1 is ttySx. Here, x = 1-1 = 0, so it is ttyS0.
  
Example 2: COM3 in DOS and ttyS2 in Linux.
  
Others.
  
2. create a symbolic connection named/dev/modem for/dev/ttySx. The command to be executed is:
  
Rm-f/dev/modem
  
Ln-s/dev/ttySx/dev/modem
  
3. download and install the minicom software package. Then run 'mini-s '.
  
Select 'serial Port settings' and type 'A' to set 'serial Device ('serial Device ),
  
Delete
  
Divide all rows and enter '/dev/modem '. Press [Enter] Enter to confirm. Press the [Esc] Key and select 'sav
  
E setup as dfl ", and then select 'exit '(Exit ).
  
Wait for a while and enter 'at '. If your cat responds to 'OK', your cat is not a standard cat!
  
If the initialization time is too long, your cat should be a pig. Read this document carefully to make it run. Please
  
Log on as the root user.
  
4. press CTRL + A and then X to exit the Minicom operating environment.
  
2. is it ISA or PCI?
  
2.1 PCI?
  
Well, now we know that our cat is a pitfall cat. However, pig has two types: ISA or PCI.
  
To make things worse, hateful vendors deliberately make the two interfaces very different. So now we need
  
Test whether our cat is PCI or ISA. First, you must configure a kernel. Make * config process
  
You must answer 'yes' to the following questions: In the Loadable module support section: 'Enable loadable module support
(CONFIG_MODULES) '(supports activating the loaded module), and 'set version information on all mod ules for symbols (CONFIG_MODVERSIONS)' (remember that the modutils module tool package must have been installed
  
?
  
See Kerneld-HOWTO)
  
In the General setup section:
  
'PCI support '(CONFIG_PCI)
  
Select 'any' PCI quirks '(CONFIG_PCI_GOBIOS) at 'PCI Access mode' (CONFIG_PCI_QUIRKS)
  
'Backward compatible/proc/pci '(CONFIG_PCI_OLD_PROC)
  
In the Filesystems section
  
'/Proc filesystem support' (CONFIG_PROC_FS)
  
If you have never re-compiled the kernel, it is possible that the kernel of the distribution suite you are using already contains these items. If you want to recompile and translate the Kernel, and you have never done this before, see Kernel-HOWTO.
  
Now, we assume that your new kernel has been installed properly.
  
Run the 'cat/proc/pci 'command. If you see the name of your cat in the result returned by the command line, your cat is PCI. Jump to the 'Install drivers 'section.
  
2.2 is ISA?
  
If you have not found your cat, it is very likely that you have obtained an ISA cat. How can I determine whether it is an ISA cat?
  
ISA support is not directly supported in the kernel (. * series kernel will be considered, but it is still not stable at present ). There is a third-party software named isapnp, which is used to detect ISA devices. First, you must confirm that you have installed the software package. If not, you can download the isapnptools package.
  
Once isapnptools has been installed, run a specific program called pnpdump. It can detect your computer system and find the ISA device from it. During running, the program tries to detect the resources used by the device and print these resources to the file/etc/isapnp. conf. Then, you need to edit the file and execute another program isapnp. This program will read the isapnp. conf file and automatically configure your device.
  
Hmm? Does that sound hard? Take the following steps:
  
  
1. run 'pnpdump>/etc/isapnp. Conf '.
  
2. use your favorite text editor to edit the file.
  
3. locate the section that describes your cat.
  
4. remove comments of some columns in the file (that is, remove the # at the beginning of the line ). You have:
  
1 line' (IO 0 ...)'
  
1 line' (INT 0 ...)'
  
1 line' (DMA 0 ...)'
  
1 line' (DMA 1 ...)'
  
1 line' (IO 1 ...)'
  
5. delete '(CHECK)' from all unspecified IO rows )'
  
6. run 'isapnp/etc/isapnp. Conf '. If an error occurs, edit the isapnp. conf file and change the parameters based on the error message. If no error message is displayed, edit the isapnp. conf file and remove
Comment on the '(act y)' line of the section. Then run 'isapnp/etc/isapnp. Conf'. The system will prompt you "[Name of your modem] Enabled OK"
  
7. set 'isapnp/etc/isapnp. conf 'added to your/etc/rc. d/rc. in local, input 'echo "isapnp/etc/isapnp. conf ">/etc/rc. d/rc. local '. Automatic Device movement at each system startup
This will play a major role in configuration.
  
  
  
  
  
Related Article

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.