Search the Catalog
Learning Debian GNU/Linux

Learning Debian GNU/Linux

By Bill McCarty
1st Edition September 1999
1-56592-705-2, Order Number: 7052
360 pages, $34.95 , Includes CD-ROM

Previous: 11.1 Connecting to the Internet Chapter 11
Getting Connected to the Internet
Next: 11.3 Using wvdial
 

11.2 Configuring Your Modem

Your modem is a peripheral device to Linux, like a CD-ROM drive, hard drive, or a mouse. Your modem will be connected to a serial port, which means that one of the serial devices in the /dev directory actually points to your modem. You may notice that there's also a file, /dev/modem, which serves as a placeholder for your modem. Initially this file doesn't point to anything. To simplify your operations, so that applications like minicomand seyon need only refer to /dev/modem, you can create a symbolic link from the serial device connected to your modem to /dev/modem.

To do so, login as root and issue the command:

ln -sf /dev/ttyS
X /dev/modem

where X is replaced by the number corresponding to the serial device that points to your modem. Table 11.1 shows how the proper command corresponds to the device by which your modem is known user DOS and Linux.


Table 11.1: Command to Create /dev/modem

DOS Modem Device

Linux Modem Device

Command

COM1

ttyS0

ln -sf /dev/ttyS0 /dev/modem

COM2

ttyS1

ln -sf /dev/ttyS1 /dev/modem

COM3

ttyS2

ln -sf /dev/ttyS2 /dev/modem

COM4

ttyS3

ln -sf /dev/ttyS3 /dev/modem


Previous: 11.1 Connecting to the Internet Learning Debian GNU/Linux Next: 11.3 Using wvdial
11.1 Connecting to the Internet Book Index 11.3 Using wvdial

Back to: Learning Debian GNU/Linux


oreilly.com Home | O'Reilly Bookstores | How to Order | O'Reilly Contacts
International | About O'Reilly | Affiliated Companies | Privacy Policy

© 2001, O'Reilly & Associates, Inc.