Learning Debian GNU/LinuxBy Bill McCarty1st Edition September 1999 1-56592-705-2, Order Number: 7052 360 pages, $34.95 , Includes CD-ROM |
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/modemwhere
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
Back to: Learning Debian GNU/Linux
© 1999, O'Reilly & Associates, Inc.
HIVE: All information for read only. Please respect copyright! |