Open Server Enterprise 5.0 - Connecting to an Internet Service Provider

Open Server Enterprise 5.0 - Connecting to an Internet Service Provider

Post by Bob Daws » Sat, 29 Jun 1996 04:00:00 (Howard M. Josephson) wrote:

>Does anyone know how to connect their OSE 5.0 system to an ISP that
>uses dynamic IP addresses.  I have my uucp chat script done correctly.  I
>cannot seem to get my netconfig stuff correct.  Can anyone e-mail me an
>article or a site to search for help.  Thank you in advance.

As this is the second such request I've seen today, maybe its time for a repost
of an old article of mine. No guarantees or promises, but it worked for me !



                       VERSION 5 SYSTEM TO THE INTERNET.

The  following notes are intended to assist in creating a link to the  Internet
via  SCO Open Server V5, Enterprise System, using a dialup modem.  The document
assumes  that  SCO  Enterprise System is running successfully  with  a  Network
Set-up.   It is broken down into several parts, including the configuration  of
the  Network to configure "PPP Protocol" between the Unix Box and the  Internet
Service  Provider (ISP),the configuration and testing of cu, the  configuration
and testing of uucp, and finally the configuration and testing of PPP.

1.   Log  on  to the system through the GUI screen (tty02) as root.  Point  and
     click  on  the  "System Administration" icon, then the  "Network"  Folder,
     print  and click on the "Network Configuration Manager".  Point and  click
     at  the  "Hardware  Option",  and  then at the  option  to  add  "New  WAN
     Connection".   Point  and click at the "SCO TCP/IP PPP Driver Option"  and
     click  on  "Continue".  Next click on the "Add" Option for the SCO  TCP/IP
     PPP Driver.  From the next option choose the "Manual Outgoing Connection",
     type  and  click on "OK".  From the configuration form choose  a  suitable
     name,  such  as  "isplink",  and at the "uucp Destination  Name"  enter  a
     suitable  name  for the server to be connected to, such as  "myisp".   The
     local  Host  Name should be filled in by the system, so blank  this  line.
     The  Host  and Destination IP Address and Name Boxes should also  be  left
     blank.   Choose  OK  to  continue.  To the next prompt  "do  you  want  to
     configure  more  links" answer "NO".  The system should respond  with  the
     message  that the following products were successfully configured into the
     system   "SCO  TCP/IP"  "SCO  TCP/IP   PPP  Driver",  and  the   graphical
     representation  of  the network configuration should now include the  "PPP
     Driver".   Exiting  from the Configuration Manager will now prompt you  to
     re-link  the  kernel, you should respond "YES" to this.  After the  kernel
     has  been  re-linked,  the  system should be  shutdown  and  re-booted  to
     activate  the new changes.  Part of the startup messages (on tty01) should
     now show "pppd" running under "Starting TCP Services"

2.   After  the  system has been re-booted, the file "/etc/ppphosts" should  be
     checked to ensure that a line something like:-

                     " attach=isplink uucp=myisp"

3.   In  this section, I prefer to use a "text" entry screen, such as  "tty01",
     rather  than  the  GUI  screen tty02.  Log in as root and  change  to  the
     directory  "/usr/lib/uucp .  The first task is to create a dialer for  the
     modem  in  use.  This can be accomplished by running the program  in  this
     directory  called  "make.dialer", when running this program  (by  entering
     "./make.dialer")  you  are  prompted to enter the name of  the  dialer  to
     create.  In this example I have created a dialer for the Pace Linnet FX32,
     and called the dialer "atdialFX32", you are then prompted with a series of
     questions  for setting-up the modem.  The first is to accept or amend  the
     current modem set-up string.  If the modem has been working satisfactorily
     before  this,  it is a good idea just to enter "ATZ0" at this point  which
     will  ensure that the modem is re-set to its default configuration when it
     is accessed.  The rest of the answers can be defaulted by entering "q" and
     "Return".  The final question concerns moving the Modem Specification File
     into  the  standard  Default  Directory, and creating  the  actual  dialer
     binary.  This question should be answered with "Y" for "Yes".

4.   It  is  now  possible to run "uuinstall" to update the files  accessed  by
     uucp.  From the menu displayed when "uuinstall" is run, choose Option 2 to
     display or update list of remote sites.  Choose Option 2 to add a new site
     entry,  and  choose  one of the existing sites to copy as a  guide.   When
     prompted for the Site Name, enter "myisp".  For the Schedule choose "Any";
     for the Device Type choose "ACU";  for the Speed Range use "9600" (or your
     chosen  modem speed) ;  for the Phone Number enter the "Point of  Presence
     (POP)  phone number" as supplied by your Internet Service Provider  (ISP);
     for the Expect login enter "login";  for Send login enter "UserName" where
     the  user  name is your User Name as provided from your ISP  (please  note
     that  for connection to some dialup providers, your User Name may need  to
     be  preceeded  by another word.  If in doubt, call their support desk  and
     ask  them.   If  your User Name is "xx01", and they require you  to  enter
     "yyy"  for instance, then you should use "yyyxx01");  from the Next Expect
     login   enter   "Password";   and  from   the  Send  login  prompt   enter
     "YourPassword"  as provided by the ISP;  from the Next Expect login  enter
     "Protocol";   and  from the Send login enter "PPP", press "Return" on  the
     next  "Expect  login" and then "Return" again to continue.  This  has  now
     created  an  additional  script,  and you will be prompted  to  write  the
     changes to file when q is chosen;  you should accept this option.

5.   From  the  Main "uuinstall" Menu choose Option 3 to display or update  the
     Devices File.  Choose the option to add a new device and choose one of the
     existing  devices to copy as a guide if possible.  The device name  should
     be  the  Port Name such as:  "tty1A";  when prompted for the  Device  Type
     enter  "ACU";   when prompted for the TTY Line enter "tty1A" (or the  port
     your modem will be connected to);  when prompted for the Dialer Line enter
     "-";   when prompted for the Speed Range enter "the maximum speed of  your
     modem"  (such as 9600);  when prompted for the Dialer enter the full  path
     name  of  the  dialer  created  via the  "make.dialer"  command  (such  as
     /usr/lib/uucp/atdialFX32).   Choose the Option to write out these  changes
     to file.

6.   From  the "uuinstall" Menu choose Option 4 to display or update direct  or
     dialling  lines,  and  ensure  that  the line you use  for  the  modem  is
     disabled.  In this example choose option 3 (disable), and enter tty1A.

7.   Run  Option  5  to " Check consistency of UUCP Files" and  then  quit  the
     "uuinstall" Option.

8.   Use  "vi" to edit the Dialers File in "/usr/lib/uucp".  Find the line that
     begins  "hayes1200",  and copy it to the next line down.  Change the  word
     `hayes1200'  to your Dialer Name (atdialFX32), and remove the "\E" command
     from this line.  Save the file and quit.

9.   The  File "/etc/resolv.conf" needs to be created or edited to include the
     line "nameserver XXX.XXX.XXX.XXX" (where XXX.XXX.XXX.XXX is the IP Address
     of the ISP)

10.  It  should now be possible to make the modem link to the ISP.  To activate
     the  connection  enter  "pppattach isplink".  Watching the lights  on  the
     modem  should now see this link established.  The route command now  needs
     to  be  invoked  so that a default route with the IP Address  assigned  by
     PIPEX  is set-up.  Use the "netstat -r" command to list the routing table.
     One  line in this table should end "ppp0".  The beginning address on  this
     line  is  the address assigned by the Internet Service Provider  for  this
     session.   This  needs  to be added as the default route by  entering  the
     command  "route add default XXX.XXX.XXX.XXX" where XXX.XXX.XXX.XXX is  the
     four  digit  number IP Address assigned by the ISP.  The command  "netstat
     -i" should now respond with three lines beginning net0, lo0, and ppp0.

11.  It is now possible to test the connection by entering:-


     and the system should respond with the IP Address of the SCO Web Site.  It
     should  also be possible to enter "ping XXX.XXX.XXX.XXX to ensure that the
     ISP host can be pinged. (where XXX.XXX.XXX.XXX is the IP Address of the
     ISP host).

12.  It  should  now be possible to launch MOSAIC from the GUI Screen  (tty02).
     This  is  accessed  through  clicking on the  Accessories  icon  and  then
     clicking  on the MOSAIC icon.  When the home screen page is displayed,  it
     should  be possible to click on the SCO Open Server Logo to connect to the
     SCO Site.

13.  When the connection requires hanging up, from the ` hash' prompt enter the
     command "ifconfig ppp0 down".  This will break the modem connection.

14.  If  the connection is to be re-established using "pppattach isplink",  the
     syntax  of  the route command will be changed from `add' to `change'  (ie.
     route  change  default  XXX.XXX.XXX.XXX), and the IP Address  obtained  by
     "netstat -r" may well have altered.

This  concludes  these set-up notes.  A `Glossary" of some useful  commands  is
included below.

netstat -r                      Lists the routing tables

netstat -i                      Displays if the PPP0 link is up

ifconfig -a                     Displays more information on the links

ifconfig ppp0 down              Hangs up the modem connection

route add (change) default XXX.XXX.XXX.XXX
                                Sets up the default route to allow connection
                                to the Internet through PPP

uuinstall                       Allows set up of UUCP and CU Files

Adding  debug=2 to the appropriate line in "/etc/ppphosts" outputs information
to  the  "/usr/adm/syslog" file which can be used for debugging.  This can  be
continually   accessed   from   a  `hash'   prompt  by   entering   "tail   -f

Be  warned however that this file will grow very quickly when a connection  is
made,  so do not forget to remove the "debug=2" option from "/etc/ppphosts" at
the earliest opportunity.

Further Reading:

I have found the following documents useful in this exercise.

1. Configuring your SCO system for the Internet
                Available from the site

2. Networking Guide Chapter 4 , Configuring the Point-to-Point Protocol (PPP)
                Available from the SCO V5 Enterprise online manual.

3. pppd(ADMN)
                Available from the online manual ("man pppd | lp -dlp0")

Bob Dawson
E-Mail:         Address: PCI
Voice : +44 (0)1142 758236                 149 Fitzwilliam St.
Fax   : +44 (0)1142 701751                 Sheffield S1 4JP

I wish I was still a teenager and knew everything !


1. Connecting to the Internet via Internet service provider (How?)

I want to be able to connect to my internet service provider via modem
with Linux.  I currently use Netscape 1.1 when in DOS.  I know that I
need a graphical web browser like Netscape (I have Xfree86 up and
running ) but what else is needed.  I've heard of 'dip' but don't
really know what it is or why I might need it.  I have e-mailed tech
support at my internet service provider for help but haven't gotten a
response back yet and I am very anxious to get on the web via
Linux....any help would be greatly appreciated.  

What about DOSEMU?  What would be the disadvantage to just use my
current Netscape 1.1 (windows) with DOSEMU (if it works)?

Thank you in advance.

2. Lockup problem

3. Setting up a internet Server/service provider

4. dvdrip: /dev/sg0 does not work!?

5. Q:using AIX as an Access Server for an Internet Service Provider?

6. Blank screen running XFree86 v. 3.1 on S3 928

7. IRC Binary SCO Open Server 5.0 (Enterprise)

8. Caldera booter

9. SCO Open Server Enterprise 5.0 / Virtual Disk Manager

10. SCO Open Server Enterprise 5.0 / Virtual Disk Manager (change in e-mail address)

11. Windows NT / Open Server Enterprise 5.0 - Dual Partition

12. Installing SCO Open Server Enterprise 5.0

13. Getting Linux to collect my Mail via internet service provider