Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

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

 
 
  Published under the terms of the Creative Commons License Design by Interspire