Once you have a working modem in Linux, you can go right to the Red Hat Network Configuration window and step through the procedure for setting up a modem connection. If you can't get your dial-up connection to work, use minicom and some log files to troubleshoot the problems as described here:
The basic steps from a Fedora desktop to configure a dial-up modem are as follows:
Click System Settings ⇨ Network from the Red Hat menu.
Click New from the Network Configuration window.
Select Modem connection and step through the procedure. To complete the procedure, you need at least the phone number to dial the ISP, provider name, login name, and password. (Name the provider ppp0 to overcome a bug in the current release.)
Select File⇨ Save.
With the new modem entry selected (probably named ppp0), select Activate to dial your ISP.
If everything is working properly, you should be able to communicate to your ISP (and beyond). If the communications fails, you can start by poking around in the following places:
/etc/wvdial.conf-Because the Red Hat Network Configuration window uses wvdial on the back-end to do the actual modem initialization and dialing, you can see the settings the window created in the wvdial.conf file. Consider trying different settings, as described in the Setting Up Your Modem with minicom section that follows, and then adding settings you like to the Init3 value in the wvdial.conf file.
/var/log/redhat-config-network-This log file gives you a detailed view of everything the Network Configuration window does. You can see exactly which values are being saved for the interface you added and which configuration files they are being saved in.
/var/log/messages-When you try to activate the dial-up connection, you can see messages detailing the initialization process (step-by-step) in this log file. These messages reflect the activities of the wvdial command (to dial the ISP) and pppd daemon (to initiate the PPP connection once the remote modem has picked up).
Note |
I suggest you tail a log file when you start up a service (such as dial-up) to see messages in real-time. For example, as root user type tail-f/var/log/messages to watch the dial-up process from a Terminal window when you activate the modem from the Network Configuration window. |
To try to get your modem settings to work, or to simply tune up those settings to work more efficiently, it helps to understand the AT command set.