Solved

Resetting network parameters in Solaris 8

Posted on 2004-04-07
4
456 Views
Last Modified: 2013-12-27
I have an ultra 10 running solaris 8.  I want to completely reset the network parameters (switching from static ip to dhcp, hostname chage, etc).  I seem to remember a network config command you can run from the OK prompt - I have done this before, but do not remember what it is.  I DO NOT want to change anything else on the box, just IP parameters.
What is this command?
0
Comment
Question by:ebreay
  • 2
4 Comments
 
LVL 7

Accepted Solution

by:
fim32 earned 250 total points
ID: 10779519
nothing from the ok prompt.

you can run sys-unconfig to unset it all...

maybe if you ran sysidconfig, or sysidnet (all of these are in /usr/sbin/)
0
 

Author Comment

by:ebreay
ID: 10780101
So, how do I reset parameters after "unsetting" ??

admintool ??
0
 
LVL 18

Expert Comment

by:liddler
ID: 10781808
use ifconfig and route commands to do it immeadiately (or admintool if you prefer).  Edit the /etc/hosts, /etchostname.*, /etc/netmasks,  /etc/defaultrouter to make it stick
0
 

Author Comment

by:ebreay
ID: 10784999
Last one....

What if I want to turn on DHCP (client) after  running sys-unconfig?
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
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…
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.

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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now