Solved

Unix Setup

Posted on 1997-05-29
2
196 Views
Last Modified: 2013-12-16
I'm using SCO Open Server, how can I change the IP address
and the server name (e.g the current IP Address is
192.0.0.1 and the server name is ABC, I want to change the
IP Address 192.0.0.5 and server name to DEF)
0
Comment
Question by:Mojo052997
2 Comments
 
LVL 1

Accepted Solution

by:
sherwood earned 50 total points
ID: 1812308
Caveat:  I don't have an SCO system.  I think it's close to
SYs VR4, though:

cd /etc
check for a directory called init.d or rc.config.d
Within that directory you will find a bunch of start up scripts.

cd to that directory.
grep ifconfig *

This will give you a list of files where ifconfig is run.
Ifconfig sets your ip number, and a bunch of other network
parameters.

Hostname is a lot more variable but is usually set on start
up with the command 'hostname' (Supprise!)  However it can
be stored in a separate file, it may be the first entry in
the hostfile, it may be looked up in the host file from the ip
address.  

Best way to find this is:

grep ABC /etc/* /etc/*/*

This will look for your present name in the existing files
adn subdirectories of /etc.

(A similar strategy will help you find where the ip address is
set.  grep 192.0.0.1 ...)

This isn't a complete answer, but should put you on the right track.
0
 
LVL 2

Expert Comment

by:frederico
ID: 1812309
The answer is

go to netconfig

select the tcp/ip protocol.
go to menu
select change protocol
modify what ever you want.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
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…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

910 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now