Solved

Unix Setup

Posted on 1997-05-29
2
190 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
Comment Utility
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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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…

762 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

9 Experts available now in Live!

Get 1:1 Help Now