Solved

SCO OSR5 to ISP

Posted on 1997-04-02
8
327 Views
Last Modified: 2013-12-16
I would like to do two things.

1. I would like to set up one UNIX machine (running OSR5) to connect to my ISP and receive mail for all users from the POP3 server and forward mail from the users.

2. Not so important - I would like to configure the Unix server to act as a proxy server for general internet access (WWW, FTP, etc) for  Windows clients.

If there is anyone who has a step by step guide to doing this I would be most grateful.

Thanks, in advance
Jamie
0
Comment
Question by:jamie040297
  • 4
  • 4
8 Comments
 

Author Comment

by:jamie040297
ID: 1811978
Edited text of question
0
 

Expert Comment

by:david cawkwell
ID: 1811979
1. setup serial port tty2A (com2)
2. set up /usr/lib/uucp/Devices file
3. set up /usr/lib/uucp/Systems file
4. test with cu -d9 (ISP name from Systems file)
5. do the same with slattach -m 296 -d (ISP name) (your IP) (gateway IP) (net mask)
6. alter routes
7. ping gateway to check it works (I'm having problems here as the link comes up bug I can't ping the gateway )
8  if this works add domain name server to resolv.conf file
9. add mail server to mail setup
10. done
0
 

Author Comment

by:jamie040297
ID: 1811980
OK, thanks,

1. Can do
2. Can do
3. Can do
4. Can do
5. Is this using SLIP? Can this be dialup on demand? (eg when a client PC uses the UNIX server as a proxy)
6. Should be able to do
7. OK, pretty simple this one
8. Huh? (It may be worth mentioning that the UNIX box is not currently using DNS)
9. How? (The mail is currently using MMDF)
10. I wish...

I will try to do as much of your suggestion as possible prior to your reply. I was, however, under the impression that a PPP connection would have been better.

Thank in advance

Jamie
0
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 

Accepted Solution

by:
david cawkwell earned 100 total points
ID: 1811981
5.  Dial up on demand. SCO cannot do this. If you want to do this use NT and spaghetti or  NT Microsoft proxy, Or Linux and Masquerading.
8. You will need to add a domain name server address to resolv.conf to get mail working otherwise mail does't know where to send things. Ftp and www need to resolv ip addresses
9. Switch to sendmail use the gui interface to set up sendmail. It should be just a matter of click the box which says machine is connect to the internet.

I would like to know if you got your link up and running as my slip connection refuses to ping the ISP gateway address.

0
 

Author Comment

by:jamie040297
ID: 1811982
5. I can get ppp to dialup when I ping my gateway... (I can't get it to drop the line yet but I am working on it).
Theoretically, if I setup DNS on my SCO box and tell my W95 PC to connect to it rather than to my ISP then it should route the IP thru to the ISP (PPP on demand).
8. My biggest problems now aree getting the box to act as a primary DNS and getting MMDF to work with the internet. (I think that the second will follow the first). I don't desperately want to switch to sendmail as we are already using MMDF as our mail transport within our intranet (ISDN routers, etc)

 
0
 

Expert Comment

by:david cawkwell
ID: 1811983
You won't be able to get it to drop the line. The only way is to
kill the slattach process.
Yes you can setup DNS on SCO and get your win95 pc to use it but the SCO still has to go out onto the net to get all the address it doesn't know. So you might as well set the resolv.conf and forget about setting your machine up as a domain name server.
0
 

Author Comment

by:jamie040297
ID: 1811984
OK, I can sort something out to kill the pppattach (maybe run something to monitor traffic on the route and kill the process if stopped for a set time???)

Does resolve.conf then tell the SCO box to look for IP addresses that it cannot resolve thru /etc/hosts by contacting the name servers listed? Bear in mind that at present the only name resolution performed by this machine is by /etc/hosts. I have added the IP addresses of my ISP to /etc/hosts and can ping them directly (albeit pppattach need to be killed).

The second bit, however is that I want to get MMDF to check mail from a POP3 server while also sending mail over our intranet (note intra not inter) via SMTP and also to send mail to our ISP's  SMTP server.

I can live without the proxy server bit at present...

(should I bump up the point a bit for this one?)
0
 

Expert Comment

by:david cawkwell
ID: 1811985
you should have something in you resolv.conf that says
domain (your domain)
nameserver (nameserve IP address)
hostresorder local bind

this will then look at you local host file then the domain server.

To get it deliverying mail I would recommend starting the ppplink and then after a set length of time killing the process. This would then give mail a chance to delivery some/all of its mail.
Perhaps at the time the the link is up you should copy the resolv.conf file to you etc directory otherwise whenever mail tries to delivery it will bring up your ppplink.
What is the difference between MMDF and sendmail?
Sendmail can handle SMTP without any problem.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Audit HISTFILE for all users on AIX 9 133
can't umount nfs share after server goes offline... 4 84
unix in java example 9 64
mobaxterm not able to change directory 28 154
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question