Last Updated: 02-25-98
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.
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 18.104.22.168 nameserver 22.214.171.124Note: The default Internet servers are 126.96.36.199 and 188.8.131.52 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:
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
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.
Related Documents that may Assist you: