| Different distributions let you
configure your internet connection differently. Graphical setup tools
are now becoming quite popular. This guide lets you set up a basic
internet connection using the pppsetupprogram that comes with the the ppp
package. Despite what fancy tools may be used to set up and start the
internet connection, and the end of the day, pppd and
the tools that come with it are used to create the actual connection.
All the graphical tools are just fancy frontends. pppd and chatwill be discussed here. An alternative way of setting up an internet connection is to use wvdial available at freshmeat. wvdial is a replacement for chat, and is considered to be an "intelligent" dialer. The configuration is much simpler than with chat and usually all you need to provide it with are the telephone number to dial, your username and password. The /etc/ppp/options file will still have to be created however, and pppsetup can be used for this. |
Setting Up The Connection
|
| Phone Number |
Enter your phone number. For the
phone number 12345, enter it as ATDT12345 for a tone dial
phone and ATDP12345 for
the old pulse dial phones. Most people now have tone dial phones. |
| Initialization String |
The default is "AT&FH0" OK. This is called an expect-send pair,
where "AT&FH0" will be sent to the modem, and "OK" will be received
(actually, this is the send part of one command and the expect part of
another, so really it's a send-expect pair). When specifying
initialization strings, make sure to specify both the string AND the
expected response. The resonse is usually "OK". (one of the things that
makes wvdial nice is that there's no need to worry about responses) To simply reset the modem instead of sending it a special initialization string, try "ATZ" OK. A conservative string that has always worked for me is "AT&FX3&C1&D2" "OK". Most modems are happy with any of the initialization strings above. Some (eg. Creative's Modem Blaster 28.8) are much fussier. If your modem is connected to the correct serial port but still refuses to respond, it very likely requires a specialized initialization string. Refer to the manual or google for more details. |
| PAP or CHAP |
Most ISPs use PAP |