Modems

 < Day Day Up > 

Dial-up or analog modems, which enable computers to communicate with each other over telephone lines, derive their name from the process they perform. A modem sending data modulates digital computer data into analog data suitable for transmission over telephone lines to the receiving modem, which demodulates the analog data back into computer form. Modems share two characteristics with serial ports:

  • Both use serial communication to send and receive information.

  • Both often require adjustment of transmission speed and other options.

In fact, most external modems require a serial port to connect them to the computer; some external modems use the USB port instead.

Modems come in five types: add-on card, external, PC Card , motherboard-integrated, and mini- PCI card. Add-on card modems for desktop computers, such as the one shown in Figure 8.15, fit into an ISA or PCI expansion slot. External modems plug into a serial or USB port. PCMCIA (PC Card) modems are sometimes built in a combo design that also incorporates a 10/100 Ethernet network adapter. Many recent desktop computers have integrated modems, as do many notebook computers. However, some notebook computers that appear to have built-in modems actually use modems that use the mini-PCI form factor and can be removed and replaced with another unit.

Figure 8.15. A typical PCI internal modem . Note the two RJ-11 connectors on the rear of the modem: They enable you to plug a phone into the modem so you can use the modem or your telephone.

graphics/08fig15.jpg

graphics/note_icon.gif

Properly used, the term modem refers only to a device that connects to the telephone line and performs digital-to-analog or analog-to-digital conversions. However, other types of Internet connections such as satellite, wireless, DSL, and cable Internet also use the term modem , although they work with purely digital data. When used by itself in this book, however, modem refers only to dial-up (telephone) modems.


graphics/arrow_icon.gif

To learn more about expansion slots, see "Recognizing Expansion Slot Types," p. 108 . To learn more about mini-PCI cards, see "Mini-PCI Card Types and Usage," p. 399 .


Although some high-end add-on card and PC Card modems have a hardware UART or UART-equivalent chip, most recent models use a programmable digital signal processor (DSP ) instead. Modems with a DSP perform similarly to UART-based modems, but can easily be reprogrammed with firmware and driver updates as needed. Low-cost add-on card and PC Card modems often use HSP (host signal processing ) instead of a UART or DSP. HSP modems are sometimes referred to as Winmodems or soft modems because Windows and the computer's processor perform the modulation, slowing down performance. HSP modems might not work with some older versions of Windows or non-Windows operating systems.

External modems , such as the one shown in Figure 8.16, must be connected to a serial or USB port. Serial port versions require an external power source (USB modems are usually powered by the USB port or hub), but the portability and front-panel status lights of either type of external modem make them better for business use in the minds of many users.

Figure 8.16. A typical external modem that connects to a serial port. Note the reset switch, which enables the user to reset the modem without turning off the computer.

graphics/08fig16.jpg

A typical PC Card modem is shown in Figure 8.17. The modem pictured here uses a dongle , a proprietary cable that attaches to one end of the PC Card to enable the modem to plug into a standard telephone jack or telephone line. If the dongle is lost or damaged, the modem can't be used until the dongle is replaced. Some PC Card modems use an integrated or pop-out RJ-11 jack instead of a dongle. (It's one less thing to lose or break as you travel.)

Figure 8.17. A typical PC Card modem that uses a dongle (right). Many recent modems feature integrated or pop-out RJ-11 jacks instead of a dongle.

graphics/08fig17.jpg

graphics/arrow_icon.gif

To learn more about PC Card modems, see "PC Card (PCMCIA Card) Types and Usage," p. 395 .


Most modems in use today are designed to run at speeds up to 56Kbps for downloading. However, these so-called 56K modems are subject to two limitations: FCC regulations limit their top download speed to 53Kbps because of concerns about how much power must be run over the telephone line to reach 56Kbps, and speeds above 33.6Kbps apply only to downloads from ISPs (Internet service providers ) and their special modems. If you make a direct connection between two PCs, the fastest speed you can have in either direction is just 33.6Kbps (if both modems can run at least that fast).

Modem Configuration and Setup

So, you want to use a dial-up modem. Here's what you need to do before you can use it:

  1. The modem must be physically installed in your system or connected to your system.

  2. The modem must be turned on (if external) and detected by the system.

  3. The correct software drivers must be installed for the modem and operating system in use.

When you use a modem, you're actually creating a connection between your computer and a remote computer. Because serial ports and modems can be configured in many different ways, parameters such as connection speed, word length, and others must be set to match the remote computer's requirements (see "Serial Port Software Configuration" earlier in this chapter for details). If the two ends of the connection don't match, you get gibberish instead of useful information. The default settings for the modem or the serial port attached to an external modem can be overridden by communications software.

Modem Installation

The method used for physical installation of the modem varies with the modem type. To install a PCI or ISA modem

  1. Take ESD precautions . (See Chapter 13, "Safety and Recycling," for details.)

  2. Open the system and locate an empty slot of the appropriate type.

  3. Remove the screw holding the slot cover in place.

  4. Remove the slot cover.

  5. Install the modem into the slot and fasten it into place with the screw previously used to secure the slot cover.

  6. Connect an RJ-11 telephone cable running from the telephone jack in the wall to the line or telco jack on the modem. (Some modems can use either RJ-11 connection for the line connection.)

  7. If desired, plug a telephone into the other jack.

  8. Close the system and restart it.

  9. Install drivers as required. See Chapter 19 for details on Windows modem driver installation and modem configuration.

caution

graphics/caution_icon.gif

You can drive yourself crazy trying to make a connection with your modem if you plug the RJ-11 telephone cord into the wrong jack. There are actually three ways to make this mistake:

  • Plugging the RJ-11 cord into the phone jack instead of the line or telco jack on the modem.

  • Plugging the RJ-11 cord into the slightly larger RJ-45 jack used for 10/100 Ethernet networking.

  • Plugging the RJ-11 cord into a HomePNA network card (which also has two RJ-11 jacks) instead of the modem. If you use the HomePNA network, check the network documentation for the correct way to connect your network card and your modem to the telephone line.


To install a PC Card modem

  1. Slide the PC Card modem into an empty PC Card slot of the appropriate type (Type II or Type III; see Chapter 12, "Portables," for details).

  2. After the operating system indicates the modem has been detected, attach the dongle (if appropriate).

  3. If the dongle has an RJ-11 plug, connect it to the telephone wall jack.

  4. For modems with a pop-out RJ-11 jack, release the jack.

  5. Connect an RJ-11 telephone cable between the RJ-11 connector on the PC Card or dongle and the wall jack.

  6. Install drivers as required.

To install an external modem

  1. Connect the modem to a USB or serial port as appropriate.

  2. Connect the modem to AC power and turn it on (if necessary).

  3. If the modem is not detected automatically, use the operating system's Modem dialog to detect the modem and install its drivers.

See Chapter 12 for more information about mini-PCI modems.

Standard AT Commands

After you have completed the modem installation and Windows configuration process, you can use either communications software programs included with Windows, such as HyperTerminal, or third-partyprograms to operate the modem. Communications software uses AT commands to operate modems and change their default configuration.

AT stands for attention , and the options that follow AT instruct the modem to perform particular operations. These commands were originally created for use with Hayes modems; because most modems use the standard Hayes command set, most of these commands will work with most modems (thus the term, Hayes Compatible ). Check your modem's documentation for additions and exceptions to this list.

Table 8.7 lists the most important AT commands.

By using a communication program (such as Windows Terminal or HyperTerminal) that enables you to send these commands to the modem, you can learn more about the modem's condition, and be able to troubleshoot problems. The same commands are used by communication software to control the operation of modems.

Table 8.7. Standard AT Commands Used for Modem Control

AT Command

Meaning

Example

ATDT

Tone-dial the telephone number that follows

ATDT5551212

ATDP

Pulse-dial the telephone number that follows

ATDP5551212

+++

Escape sequence: enables you to send the modem a command after you're connected to another modem

+++

ATH

Hangs up the modem

ATH

ATZ

Resets the modem to the configuration referred to by the following number

ATZ0

AT commands can also be used to set the modem's volume, adjust additional dialing options, and perform various diagnostic tests.

S-Registers

AT commands can also be used to view or set S-registers , which are used to store or adjust timing and other technical details.

To see the current settings for S-registers and other settings stored in your modem, use this command within your terminal program:

 AT 

Followed by

 AT&V 

The information displayed by the AT&V command (see Figure 8.18) will vary from modem to modem. You can alter the values that your modem displays for S-registers and other settings by sending your modem the appropriate AT commands if needed.

Figure 8.18. Using HyperTerminal to view the current settings for the author's Diamond SupraExpress external modem with the AT&V command.

graphics/08fig18.gif

Initialization Strings

An initialization string is a series of AT& modem commands sent to the modem by the communications program before dialing the number and connecting with the remote computer. AT& commands are used to set special modem options. Normally, you will not need to edit this directly; instead, by selecting the modem and the desired options in the communications program, the program will build the initialization string for you. A typical initialization string for a U.S. Robotics modem is

 AT&F&C1&D2X7&H1&R2&K3&B1&A3^M 

You can manually edit the initialization string within most communications programs if the settings are incorrect for your modem. See the modem's documentation for the specific AT& commands that apply to that model.

Disabling Call Waiting

Call waiting, which lets you know that you have another incoming call while you're on the telephone, is a great boon when you're expecting a call, but the momentary interruption of your existing call will cause many modems to drop the connection. Consequently, it's an excellent idea to disable call waiting when you use your dial-up modem.

To disable call waiting in most areas, add *70,, to the beginning of the telephone number you use to make your connection. *70 is the code to disable call waiting, and each comma pauses for one second. The momentary pause helps make certain the phone company has implemented the change before you continue with the phone number.

As soon as you hang up the connection, call waiting is activated again automatically.

Cabling

The RJ-11 cable included with most modems could be any of a variety of colors, but it is identical internally to the "silver satin" cable that connects telephones to wall jacks. Run the cable from the "line" jack on the back of the modem to the telephone wall jack.

The "phone" jack on the back of both internal and external modems enables you to plug in your normal telephone and still use it, whether the computer is on or off. The modem will take over the telephone line when it actually is in use.

caution

graphics/caution_icon.gif

When you travel, make sure you don't connect your modem to an RJ-11 jack designed for digital phones. The difference in voltage will fry most modems. Look for a data jack in the side of the phone in your hotel or conference room, or contact the front desk for help.


The RJ-11 plug is keyed to connect only one way. Push down on the locking tab lever on the plug to release it when you need to remove the cable from either the modem or the wall jack. The RJ-11 plug is similar to the RJ-45 Ethernet network plug, but smaller; it has four connectors, as opposed to the RJ-45 cable's eight (see Figure 8.19).

Figure 8.19. An RJ-45 network cable (top) compared to an RJ-11 telephone cable (bottom).

graphics/08fig19.gif

External modems might use built-in or removable cables to connect to the serial or USB port on the computer.

 < Day Day Up > 


Absolute Beginners Guide to A+ Certification. Covers the Hardware and Operating Systems Exam
Absolute Beginners Guide to A+ Certification. Covers the Hardware and Operating Systems Exam
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 310

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net