[ale] newbie: modem configuration

smn smnoldelinux at mediaone.net
Mon Dec 27 18:12:17 EST 1999


I got this from Mindspring when I was using RH5.2.  The theory is very
similar to the distribution so it should work.

--
Hello,
It can be done and we can send you some info on it. However, if it
breaks, we aren't qualified to fix it and most of us do not know Linux.
We do require PAP authentication. I will attach the information that you
will need to get connected. Read this and see what happens. 

00006: How to Configure PPP for Linux

To connect to MindSpring using Linux you will need to modify six system
configuration files. To edit these I would recommend using 'pico'.
Before
you continue, please understand that MindSpring does not support Linux
as
an operating system, but simply provides these instructions as a
starting
point for establishing a connection to MindSpring.

For this document to work on your system you need to have PPP support in
your 
kernel and have your modem installed on a serial port with a symbolic
link from
the serial port to /dev/modem. If you are unsure of the above
information, 
please refer to the Linux HOW TOs for detailed setup instructions.

The basic networking information files you need to edit are located in
your 
/etc directory.

   * /etc/hosts
   * /etc/host.conf
   * /etc/resolv.conf
   * /etc/hosts.deny
   * /etc/hosts.allow
   * /etc/ppp/options

  1. Modify your /etc/hosts file so that it resembles the following:

          127.0.0.1 localhost
          0.0.0.0 UserID.users.mindspring.com

     Your IP address is dynamic, so you must set it to 0.0.0.0. For the
     mnemonic address, replace UserID in the example above with your
     MindSpring User ID. Setting the name here will not make your
machine
     known to the world as "UserID".users.mindspring.com, but it doesn't
     hurt to use it.

  2. Modify your /etc/host.conf (if necessary) to the following:

          order hosts,bind
          multi on

  3. Modify /etc/resolv.conf to include MindSpring's DNS servers:

          search domain.com 
          nameserver  207.69.188.185 
          nameserver  207.69.188.186

     Replace domain with either mindspring or pipeline as per your
account.


  4. Add the following line to your /etc/hosts.deny file (If you are not
     able to get to outside IP addresses after running this script, you
may
     need to remark out this line.):

          ALL: ALL    

  5. Add the following line to your /etc/hosts.allow file:

          ALL: 127.0.0.1

  6. Add the following to your /etc/ppp/options file (if it doesn't
exist,
     then create one):

          #----/etc/ppp/options----
          #
          defaultroute /dev/modem 57600
          netmask 255.255.255.0
          mtu 1500
          connect "/usr/sbin/chat -v ABORT BUSY ABORT 'NO CARRIER' ' ' 
          ATS11=40 OK ATDTphoneno ogin msXXXXX word PASSWORD"
          #
          #------------------------

      a. You will need to make a few changes to this file.  The first
one being       the DTE speed, which is currently set to 57600. DTE is
the speed between 
      your computer and modem. The following should be followed :

          14.4 Modem : 19200
          28.8 Modem : 38400 or 57600
          33.6 Modem : 38400 or 57600
          56K Modem : 57600 or 115200

      b. The next variable you will need to take a look at is the init
string.        The init string in this case is ATS11=40, which is a
basic init string. 
      Use the init string recommended by your modem manufacturer.

      c. The telephone number you dial to access MindSpring is the next
thing 
      we need to take a look at. Directly after the 'ATDT', replace
phoneno 
      with your access number. 
          (Example: ATDT7177703500 
           or ATDT*70,7177703500 to disable call waiting)

          Note: Please check with your local telephone company to
determine if 
          any tolls apply when using the number provided to you by
MindSpring. 
          MindSpring assumes no responsibility for any long distance
charges 
          that you may incur.

      d. Now you are ready to enter your login and password. After
'ogin', 
      enter your MindSpring User ID.  Your password will go after
'word'.

           (Example: ogin ms92234 word zm234bb)  

      e. Make sure to include the quotes (" ") in the connect line. This
text 
         must also appear on the same line. If you are using pico, it
will wrap
         around.

            connect "/usr/sbin/chat -v ABORT BUSY ABORT 'NO CARRIER'  ' 
' 
            ATS11=40 OK ATDTphoneno ogin msXXXXX word PASSWORD"

To connect, type 'pppd'. To view the status of your connection, 
select a different terminal and type the following : tail -f
/var/adm/messages 

The following segment is what an established connection should look like
in 
/var/adm/messages.

------BOF------
May 13 14:58:14 acres-homes pppd[83]: pppd 2.2.0 started by root, uid 0
May 13 14:58:16 acres-homes chat[84]: abort on (BUSY) 
May 13 14:58:16 acres-homes chat[84]: abort on (NO CARRIER) 
May 13 14:58:16 acres-homes chat[84]: send (ATS11=40^M) 
May 13 14:58:16 acres-homes chat[84]: expect (OK) 
May 13 14:58:16 acres-homes chat[84]: ATS11=40^M^M 
May 13 14:58:16 acres-homes chat[84]: OK -- got it 
May 13 14:58:16 acres-homes chat[84]: send (ATDT7703500^M) 
May 13 14:58:16 acres-homes chat[84]: expect (ogin) 
May 13 14:58:16 acres-homes chat[84]: ^M 
May 13 14:58:32 acres-homes chat[84]: ATDT7703500^M^M 
May 13 14:58:32 acres-homes chat[84]: CONNECT
33600/ARQ/V34/LAPM/V42BIS^M 
May 13 14:58:34 acres-homes chat[84]: MindSpring Dialup Service^M 
May 13 14:58:34 acres-homes chat[84]: ^M 
May 13 14:58:34 acres-homes chat[84]: netserv-3.hbg (s17) login -- got
it 
May 13 14:58:34 acres-homes chat[84]: send (ms123456^M) 
May 13 14:58:34 acres-homes chat[84]: expect (word) 
May 13 14:58:35 acres-homes chat[84]: : ms123456^M 
May 13 14:58:35 acres-homes chat[84]: Password -- got it 
May 13 14:58:35 acres-homes chat[84]: send (testing1^M) 
May 13 14:58:35 acres-homes pppd[83]: Serial connection established.
May 13 14:58:36 acres-homes pppd[83]: Using interface ppp0
May 13 14:58:36 acres-homes pppd[83]: Connect: ppp0 <--> /dev/modem
May 13 14:58:39 acres-homes pppd[83]: local  IP address 207.69.148.145

May 13 14:58:39 acres-homes pppd[83]: remote IP address 168.121.1.1
------EOF------

Article Change History
01/30/98 - Reviewed
07/24/98 - Revised Instructions

Nick Robinson wrote:
> 
> At 04:52 PM 12/26/1999 -0500, you wrote:
> >Try typing "ps aux" to which process is locking your modem. It may be
> >that you locked the modem with a previous attempt to connect. Make sure
> >you have killed any process that may be locking the modem and try again.
> 
> Thanks Jim,
>         Next problem, it's telling me that the script has failed.  I've used rehat
> linux system configuration tool to set up my info.  Guess I may need to go
> into the files and edit them. Just need a good model to do that. Actually,
> I've already done that previously, but something must be wrong with my script.
>         Can anyone point me to a man file that covers this in detail?
>         You guys won't need an email to tell you when i get this modem working.
> You'll be able to hear my whoop! :-)
>         Thanks, Nick
> --
> To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.

-- 
Never do windows again with
         __
        / /    __  _  _  _  _ __  __
       / /__  / / / \// //_// \ \/ /
      /____/ /_/ /_/\/ /___/  /_/\_\.

No streaking, haze, or glaze.
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.






More information about the Ale mailing list