Solved

how to change ip address on SunOS release 5.9

Posted on 2014-12-12
4
424 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

Technology Partners: 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!

Question has a verified solution.

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

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 …
Fine Tune your automatic Updates for Ubuntu / Debian
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

707 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