Mirrored here from the former http://help.attbusiness.net/helplib/linuxp.html location.

Document # 215 LINUX PPP Set-up

Last Updated: 02-22-99

Table of Contents

  1. Introduction (Please Read First)
  2. Linux PPP Set-up Procedures
  3. Server Information for Use with the Internet Service
  4. Troubleshooting Section
  5. Related Documents and Contact Information

A. Introduction (Please Read First)

Linux is an advanced operating system and requires extensive background knowledge to follow this set up guide. SLIP and PPP set up procedures are both available, you may find SLIP the easier of the two to set up. Also be advised some of the characters and symbols written in this document can sometimes translate incorrectly when sent via fax or email i.e. the symbol [ is a Left Bracket and ] is a right bracket.

Make sure you do NOT send ANY carriage returns after connecting. Most predefined scripts default to this.

B. Linux PPP Set-up Procedures

Make sure the /etc/resolv.conf file has the following information:

  domain ibm.net

Note: The default Internet servers are and Business Intranet users should contact their SA for this info.

Please update the files below to set up Linux to call upon PPP to connect to the service. After you have updated these files, listed directly below are the commands to execute to connect and disconnect.

To invoke the PPP daemon, type the following command at the prompt:


To disconnect, execute the following command at the command prompt:

or you can just kill the process with kill -9 pid (where pid is the process id running the current connection).

If you'd like to troubleshoot a connection problem or just want to see the login process, execute the following command before dialing in:

tail-f /var/adm/messages

Note: The 'messages' file may also be found in /var/log directory.

Please update the following files:


#  Please replace the [your port speed] tag with the appropriate
#  throughput speed desired for the connection.  You can experiment
#  with speeds including 9600, 19200, 38400, 57600, and 115200.
#  Replace [service.YourAccount.YourUserid] with your actual login 
#  account and userid codes. The Service type is represented by 
#  "Internet".  Corporate or business users may access other Services 
#  including:
#  - secureip   = Access to your companies private Intranet.
#  - dualaccess = Access to the Internet and your companies Intranet.
#  - fixedip    = Access to the fixed IP Address service.
#  - landial    = Access to your companies Lan via a dial connection.
#  Contact your Service Administrator (SA) for information on access
#  to these services and the DNS servers you should use.

[your port speed]
name [service.YourAccount.YourUserid]


"[service.YourAccount.YourUserid]"   *   "[YourPassword]"


#  Please replace the [your modem port] tag with the appropriate comm
#  port being used by your modem.  Port settings are as follows:
#  cua0 = comm port 1
#  cua1 = comm port 2
#  cua2 = comm port 3
#  cua3 = comm port 4

#  Please replace the [your dial number] tag with the appropriate
#  local dial access number.

pppd /dev/[your modem port] connect 'chat -v "" atdt[your dial number]

# Here is an example of what the line above should look like:
   pppd /dev/cua1 connect 'chat -v "" atdt5551212 "CONNECT"'



if [ -r /var/run/$DEVICE.pid ]; then
 kill -INT `cat /var/run/$DEVICE.pid`

C. Server Information for Use with the Internet Service

Click here to see a list of the Email, News, and DNS Servers of the service.

D. Troubleshooting Section

Verify you have the settings exactly as specified in this document, and be aware some symbols may have bad translations. Try obtaining the SLIP set up document and try that. Try other modem commands as listed in the modem list document and try another access number to verify the problem is not with your local access number. If you are using Red Hat 5.0 consult the many Linux help resources on the Internet.

E. Related Documents and Contact Information

Related Documents that may Assist you:

Document # 272 SLIP setup Procedures for LINUX
Document # 122 Modem Help Guide
Document # 121 Modem Listing Document
Document # 124 Dial Access Phone Number List

Additional Contacts:

Your Internet Helpdesk is your Network Support.
There is no Software Support for Linux but volumes of on-line help