Skip to Main Content
Learning Debian GNU/Linux
book

Learning Debian GNU/Linux

by Bill McCarty
October 1999
Beginner to intermediate content levelBeginner to intermediate
360 pages
10h 18m
English
O'Reilly Media, Inc.
Content preview from Learning Debian GNU/Linux

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/ttySX /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

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Linux in Action

Linux in Action

David Clinton

Publisher Resources

ISBN: 1565927052Supplemental ContentCatalog PageErrata