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

Document # 272 Linux SLIP Setup

Last Updated: 02-25-98

Table of Contents

  1. Introduction (Please Read First)
  2. Linux SLIP Setup Procedure
  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.


B. Linux SLIP Setup Procedure

Below is a script that can be used to connect to the Service.

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

  domain ibm.net
  nameserver 165.87.194.244
  nameserver 165.87.201.244
Note: The default Internet servers are 165.87.194.244 and 165.87.201.244 Business Intranet users should contact their SA for this info.

Type in the following script and save it with the name SLIP.DIP in the directory the DIP (Dial-In Protocol Program) program is in. DIP is usually found in the /sbin directory.

To run the script, execute the following command at the shell prompt:

dip -v slip

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

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

SLIP.DIP Script-No need to type in the comments-

main:

  #  Please replace the [your modem port] tag with the appropriate com
  #  port being used by your modem.  Port settings as follows:
  #  cua0 = com port 1
  #  cua1 = com port 2
  #  cua2 = com port 3
  #  cua3 = com port 4
  #  note that [ is a left bracket and ] is a right bracket there may be
  #  translation errors with these symbols

  port [your modem port]

  #  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.

  speed [your modem port]

  send terminal databits 8\n
  send terminal flowcontrol rts\n
  send terminal telnet-transparent\n
  reset

  #  Please replace the [your modem string] tag with the appropriate
  #  string for your modem.
  #  A short string such as AT&F&D2&C1 should work fine.

  send [your modem string]\r
  wait OK 10

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

  dial [your dial number]

  # The below script is designed for the Internet service. Corporate
  # or business users may be using another service 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.
  # If this is the case make the following script modifications:
  # 1. Change "internet" to the appropriate service name above.
  # 2. Change the 1.1 dial script number to 2.0 for secureip, 3.0 for
  #    dualaccess and fixedip.
  # 3. Add a new entry between the 1.1 and Service name to Wait For
  #    ==> and Transmit N with carriage return (for encryption type).
  # Contact your Service Administrator (SA) for information on access
  # to these services and the DNS servers you should use.

login script:

  sleep 2
  send &
  sleep 1
  send &
  sleep 1
  send &
  wait ==> 20
  send 1.1\r
  wait ==> 20
  send INTERNET\r
  wait ==> 20

  #  Replace the [youraccount youruserid yourpassword] tag with your
  #  login account, userid, and password to access the service.  Please
  #  remember that you must put in this information exactly in the format
  #  detailed below with the spaces included:
  #  account userid password\r

  send [youraccount youruserid yourpassword]\r
  get $locip remote 10
  send \r
  get $rmtip remote 10

loggedin:
  get $mtu 1006
  default

done:
  print CONNECTED $locip ---> $rmtip
  mode SLIP
  exit                                                                         

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 PPP 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.


E. Related Documents and Contact Information

Related Documents that may Assist you:

Document # 215 Linux PPP Set up guide
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