Solved

how to change ip address on SunOS release 5.9

Posted on 2014-12-12
4
422 Views
Last Modified: 2015-01-07
hi experts,

 I'm console into this server and I need to change the ip address but I have no experience with SUN. I do have root password though. I'm console in and I'm just getting this message below:

data  server name ypbind{325} NIS server not responding for domain "vista: still trying.... how do I get pass this so and how do I change the ip address/sub and dg?
0
Comment
Question by:frankbustos
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 3

Expert Comment

by:Scot Halvorsen
ID: 40497507
Your system is trying to contact your NIS server for authentication information. If you are unable to login to your system, you may need to reboot the server to single user mode.

On a Intel system you will need to modify your boot arguments by adding a "-s".
On a Sparc system you will need to type "boot -s" at the ok prompt.

This will cause the system to stop the boot process before it changes to multi-user and will allow you to enter the root password to get to a shell.

Once you have a shell you can update the IP of the system. In most cases this is managed by the /etc/hostname.<nic> (Where <nic> would be the interface name.) and /etc/hosts file.

Check the hostname file and see what host name it reference in the hosts file. It should be as simple as modifying the hosts file with the new IP.
0
 
LVL 78

Expert Comment

by:arnold
ID: 40498537
sys-unconfig will reset the system's configuration

you can use
ifconfig interface (iprb0, ):index plumb
ifconfig interface:index IP netmask up
this will have two IPs.

/etc/hosts
there are several location, you need to make sure that the IP is actually the issue
0
 
LVL 8

Accepted Solution

by:
Pepe2323 earned 500 total points
ID: 40503263
The easiest way to do it if u can reboot the server is using

sys-unconfig

and u will see a menu like this:
 Select the language you want to use: <select your language>
 
 Select a Locale,
 Please make a choice (0 - 59), or press h or ? for help:
<select your location>
 
 What type of terminal are you using?
 Type the number of your choice and press Return:
<select your terminal type, I use a DEC VT100>
 
 F2 continue, F2 continue
 
 Network Connectivity
       Networked [X] Yes
 
 DHCP
       Use DHCP [X] No
 
 Primary Network Interface
       Primary network interface [X] eri0
 
 Host Name <hostname>
 
 IP Address <ipaddress>
 
 Subnets
       System part of a subnet [X] Yes

IF you can't then

/etc/hosts shall be enough if you are only changing ips and not hostnames

/etc/hostname.[interface] -- > have the hostname for the ip that will be configured on that interface, that is associated with the /etc/hosts

/etc/nodename -- >> is the host of the whole server

I Hope it helps
0
 

Author Closing Comment

by:frankbustos
ID: 40536109
thanks this worked for me.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
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…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

739 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