Since each modem has an associated serial port and the port has both hardware and software, there are three parts to configuring a modem:
The above omits a few other things that "setserial" can do besides locating the serial ports. But normally you don't need to use them. Setserial may be used in the future to enable super-high speed.
Communication programs include aminicom
, seyon
, or
wvdial
(for PPP) and mgetty
) for dial-in. Such
communication programs require that you configure them although the
default configuration they come with may only need a little tweaking.
Unfortunately the communication program doesn't locate the serial port. This "locating" is the low-level PnP configuring of the serial port: setting its IO address and IRQ in both the hardware and the driver. If you are lucky, this will happen automatically when you boot Linux. Setting these in the hardware was formerly done by jumpers and then running "setserial" but today it's done by "Plug-and-Play" software. You may still need "setserial".
But there's a serious problem: Linux (as of early 2001) is not a true Plug-and-Play operating system. However, the latest serial drivers handle Plug-and-Play for some serial ports (including some built-into internal modems). In other cases you may need to use Plug-and-Play tools to set up the configuration although they are not always very user friendly. This may create a difficult problem for you. The next section will go into this in much more detail.