Solved

Resetting network parameters in Solaris 8

Posted on 2004-04-07
4
460 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
[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
  • 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

Independent Software Vendors: 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

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
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 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.:
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.

726 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