Solved

SCO OSR5 to ISP

Posted on 1997-04-02
8
331 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
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

821 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