Solved

Unix Setup

Posted on 1997-05-29
2
201 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
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…
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.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

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