Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 214
  • Last Modified:

Unix Setup

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
Mojo052997
Asked:
Mojo052997
1 Solution
 
sherwoodCommented:
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
 
fredericoCommented:
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now