This is how I connect to ibm. I never managed to dial into any provider
any other way. I actually would not mind logging in manually, and often
need to connect to other providers, but never managed. If someone has
exact instructions, I would be happy. For example, how to use this dip
program just logging in manually.
You have to install a program, I believe it is dip (or slip??) which exists
as an rpm
This is the command to dial in, which I put into a file that is on the
path, so I do not need to type everything again and again
dip -v /usr/sbin/slip
this is the command to disconnect
dip -k
This is the file /usr/sbin/slip.dip which works for me (I just put
mypassword instead of my true password)
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 cua1
# 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 57600
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. Modem strings can be found at:
# ftp.ibm.net/pub/Advantis/modem.lst
# A short string such as AT&F&D2&C1 should work fine.
send AT&F&D2&C1\r
wait OK 10
# Please replace the your dial numberÙ tag with the appropriate
# local dial access number. Dial access numbers can be found at:
# ftp.ibm.net/pub/Advantis/phone.lst
dial *70,12138939501
login:
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 usinet mheilma mypassword\r
get $locip remote 10
send \r
get $rmtip remote 10
loggedin:
get $mtu 1006
default
done:
print CONNECTED $locip ---> $rmtip
mode SLIP
exit
THE FOLLOWING ARE FILES PUBLISHED BY IBM, you might find an updated version
by searching altavista. I believe you need to install a few more files
according to the following instructions
Document # 272 Linux SLIP Setup
Last Updated: 4-13-97
Table of Contents
-----------------
A. Introduction (Please Read First)
B. Linux SLIP Setup Procedure
C. Server Information to Setup Your Internet Software D. Trouble-Shooting
Section
E. 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
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. Modem strings can be found at:
# ftp.ibm.net/pub/Advantis/modem.lst
# 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 access numbers can be found at:
# ftp.ibm.net/pub/Advantis/phone.lst
dial your dial numberÙ
login:
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 to Setup Your Internet Software
----------------------------------------------------- Use the following
information to configure your internet applications:
-Email Address- The initial email address is userid@domain where the
userid is your login userid (i.e. [EMAIL PROTECTED]).
-WWW Server (homepage)- Your Internet Homepage (i.e. http://www.ibm.net).
-POP (Incoming) Mail Server- Is 1 of 3 servers, either: pop1.ibm.net (aka
pop01.ny.us.ibm.net) or pop3.ibm.net (aka pop03.ca.us.ibm.net) or
pop4.ibm.net. You were assigned 1 of the 3 during registration. You can
try all three until to properly retrieve your mail or go to the URL
http://reg.ibm.net/getuserinfo.html to look it up. To properly retrieve
mail you must enter your email username which is: youraccount.youruserid
replacing with your actual login account and userid. Your email password
is the same as your login password and it must also be specified.
-SMTP (Outgoing) Mail Server- smtp1.ibm.net. This allows you to send
email and stands for Simple Mail Transfer Protocol.
-News (Usenet or NNTP) server- news1.ibm.net or news2.ibm.net. You can use
either one of these servers to view Internet news groups.
D. Trouble-Shooting 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 (Available via the same Source):
Document # 215 Linux PPP Set up guide Document # 121 Modem Listing
Document Document # 122 Modem Help Guide
Document # 124 US and Canada 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
======================================================================
Document # 215 LINUX PPP Set-up
Last Updated: 4-13-96
Table of Contents
-----------------
A. Introduction (Please Read First)
B. Linux PPP Set-up Procedures
C. Server Information to Setup Your Internet Software D. Trouble-Shooting
Section
E. 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 PPP Set-up Procedures
------------------------------
Make sure the /etc/resolv.conf file has the following information:
domain ibm.net
nameserver 165.87.194.244
nameserver 165.87.201.244
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:
/usr/sbin/ppp-on
To disconnect, execute the following command at the command prompt:
/usr/sbin/ppp-off
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:
----------------------------------
/etc/ppp/login
# Replace the internet.youraccount.youruseridÙ tag with your login #
account and userid to access the service. Please remember that you # must
put in this information exactly in the format detailed below with # the
periods included:
# internet.account.userid
# Please replace the yourpasswordÙ tag with your login password.
internet.youraccount.youruseridÙ
yourpasswordÙ
/etc/ppp/options
# 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.
your port speedÙ
+ua /etc/ppp/login
defaultroute
noipdefault
/usr/sbin/ppp-on
# 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. Dial access numbers can be found at: #
ftp.ibm.net/pub/Advantis/phone.lst
pppd /dev/your modem portÙ connect 'chat -v "" atdtyour dial numberÙ
"CONNECT"'
# Here is an example of what the line above should look like:
pppd /dev/cua1 connect 'chat -v "" atdt5551212 "CONNECT"'
/usr/sbin/ppp-off
DEVICE=ppp0
if -r /var/run/$DEVICE.pid Ù; then
kill -INT 'cat /var/run/$DEVICE.pid'
fi
C. Server Information to Setup Your Internet Software
----------------------------------------------------- Use the following
information to configure your internet applications:
-SMTP (Outgoing) mail server- smtp1.ibm.net the backup is smtp2.ibm.net
This allows you to send your email while on the Internet and stands for
Simple Mail Transfer Protocol.
-WWW Server (homepage)- Your Internet Homepage i.e. http://www.ibm.net
This is the site you should point your browser to and it will be the
start-up Web Page.
-News (Usenet) Server- news1.ibm.net or news2.ibm.net can be used to view
Internet newsgroups. Also referred to as an NNTP (Network News Transfer
Protocol) server.
-Mail (incoming) POP3 Server- Either pop1.ibm.net or pop3.ibm.net. You
will be assigned one of the two POP servers and you can try both until you
properly retrieve email or go to http://www.ibm.net and choose User
Services and then Get User (Account) Information to look up your assigned
server. You also must define your log on password and userid (5-7
character code) to properly retrieve your email.
D. Trouble-Shooting 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.
E. Related Documents and Contact Information
-------------------------------------------- Related Documents that may
Assist you (Available via the same Source):
Document # 272 SLIP setup Procedures for LINUX Document # 121 Modem
Listing Document Document # 124 US and Canada Dial Access Phone Number
List Document # 122 Modem Help Guide
Additional Contacts:
Your Internet Helpdesk is your Network Support.
There is no Software Support for Linux but volumes of on-line help
====================================================================
· PPP-HOWTO <http://www.interweft.com.au/other/ppp-howto/ppp-
howto.html>
Other formats (SGML, ASCII, postscript, DVI) are available from Howtos
- other formats <ftp://sunsite.unc.edu/pub/Linux/docs/HOWTO/other-
formats>.
==================================================================
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.