Appendix B – Installing a Modem in Linux
This appendix explains how to install a modem on a PC operating under the RedHat Linux 6.2 operating system. Other versions of RedHat and other Linux operating systems should be similar. Briefly, in Linux, you do not need drivers for most standard external modems and most internal ISA bus modems. Programs in Linux commonly call upon the port, rather than the modem.
Standard Linux Serial Port Definitions
Port | Linux Port |
Com 1 | ttyS0 |
Com 2 | ttyS1 |
Com 3 | ttyS2 |
Com 4 | ttyS3 |
Installation
Connect the external modem to an available serial port.
Setup
This section describes how to make sure Linux can talk to the modem and be able to dial up to the Internet.
Using the Terminal Program Minicom to Verify Operation
1.At the command prompt, type minicom
2.Select Serial port setup and press ENTER.
3.From Serial port setup, use the A key to access Serial Device, and then press ENTER.
4.Press ESC.
5.You are now in the Minicom terminal. Type AT and press ENTER. The screen should display OK to verify the operation. Alternately, dial a phone number to verify line operation
6.To leave Minicom, press CTRL + A, and then press Z. 7. On the help menu, press X to exit.
Using the Modem to Call the Internet
Linux allows different graphic user interfaces (GUI). In the following steps, the Gnome Desktop GUI is used. It is assumed that the Internet Service Provider (ISP) being called assigns the Domain Name Service (DNS) and Internet Protocol (IP) addresses. For information on DNS or IP, see the Linux OS owner’s manual or contact ISP.
1.On the Task Bar at the bottom of the screen, select the Gnome Footprint.
2.Select Internet from the menu.
3.Select Dialup Configuration Tool.
4.Select Add, and then click Next.
5.Enter the connection name and phone number, and then click Next.
6.Enter your user name and password, and then click Next.
7.Select Normal ISP if your ISP is not listed, and then click Next.
8.Click Finish.
Calling the ISP
1.On the Task Bar at the bottom of the screen, select the Gnome Footprint.
2.Select Internet from the menu.
3.Select RH PPP Dialer.
4.Select the connection name you entered in step 5 of the previous section. 5.
5.Click OK.
Linux can use different programs and desktops depending on who made the Linux operating system and what version it is. The above procedures use the most commonly installed components of Red Hat 6.2. More details can be found in the Linux OS owner’s manual.
To use the system to answer calls, Linux requires other programs to be installed, such as Mgetty and Mgetty+Sendfax, depending on requirements. Each vendor of Linux usually has adequate information on installing these programs.
22 |