Solved

Unix Setup

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Audit HISTFILE for all users on AIX 9 130
Linux : can't create transaction lock error 1 63
Convert OverPunch 25 63
Sed question 2 84
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…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
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…
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.:

786 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