Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Setting IP and gateway on SCO O.S. 5.0.4

646 views
Skip to first unread message

ande...@alge.anart.no

unread,
Jan 21, 1999, 3:00:00 AM1/21/99
to
I need some help setting up the IP adresse, netmask, gateway and
DNS adresses on an OpenServer 5.0.4

I have figured out that I have to use 'route' and 'ifconfig' but
the syntax confuses me a bit.

Also, does SCO have a /etc/resolv.conf to put the DNS IPs?

--
Anders Gulden Olstad @ Jeeves
RedHat 5.2 Linux kernel 2.0.36

"Penguins are generally nice creatures"

Joseph Soros

unread,
Feb 1, 1999, 3:00:00 AM2/1/99
to
Hi,
You should use netconfig to set up your machines IP address netmask ..
etc.
The BIND resolver also has a file /etc/resolv.conf and you can put lines
in it to direct DNS queries to a DNS server, but it is better if you set
up your own named server using /etc/named.boot.

Good luck: Joseph

Adriano Marcuz

unread,
Feb 2, 1999, 3:00:00 AM2/2/99
to
Joseph Soros (so...@integra.hu) wrote:
: Hi,

Shane Y. Gibson

unread,
Feb 2, 1999, 3:00:00 AM2/2/99
to ande...@alge.anart.no
> ande...@alge.anart.no wrote:
>
> > I need some help setting up the IP adresse, netmask, gateway and
> > DNS adresses on an OpenServer 5.0.4
> >

The easiest way to set up the IP address and related netwmask
info is to use the SCO administrative tool. There is a whole
suite of graphical tools you can use. If you are running in
the X environment, become root, and run:

# scoadmin

You will be given a list of various managers that you can use
to setup your system. One of them is the "network configuration
manager". You can also start it directly, instead of going through
the list, by doing:

# scoadmin network

If you are on a console window, you can still run the above
programs, but not everything will work precisely correctly.


> > I have figured out that I have to use 'route' and 'ifconfig' but
> > the syntax confuses me a bit.
> >

I forget if the "scoadmin network" manager allows you to add
a default route. It does in UnixWare 7. I just can't remember
in OpenServer. If it doesn't, use any text editor (vi will do),
and edit (as root), the /etc/tcp file. In the very end of the
file, add a line like so:

route add default 123.45.67.89

Where "123.45.67.8" is replaced by the correct route. Then,
you can manually add a route to the routing table, by doing
the same command, as root, at the unix prompt. Check your
routing table by using "netstat -rn" or "netstat -r".

> > Also, does SCO have a /etc/resolv.conf to put the DNS IPs?
> >

Yes. OpenServer supports the /etc/resolv.conf client resolver
configurations. Check the "resolver" man page to get the
exact stuff you can put in there. Basics are:

domain foobar.com
nameserver 123.45.67.89

Those are the two basic directives you need to get things
running.

Good luck!

v/r
Shane


--
o , __ ~
Shane Y. Gibson o \`\\"._ _ M onterey
sh...@mbari.org o / _ |||;._/ ) B ay
Science at it's Best! ~ _/@ @ /// ( ~ A quarium
(831) 775-1917 ( (`__, ,`\| R esearch
http://www.mbari.org/ '.\_/ |\_.' I nstitute
""``` ~

0 new messages