Sponsored Content
Special Forums IP Networking Network problem after sys-unconfig Post 8978 by rachael on Saturday 20th of October 2001 02:58:50 AM
Old 10-20-2001
Data Network problem after sys-unconfig

I am running Solaris 8 and I have problem with configuration of the network after running sys-unconfig command:

- I ran "sys-unconfig" command then the system reboot to "ok" prompt. I did a "boot disk" command and the system reboot
- I lost all system info including host name and all addresses and dns as a name resolve
- I went back in after reboot and ran the "ifconfig" command for the IP address, mask, and use the "route add default" command for the default router

But all lost again after I reboot the system. My questions are

1) How do I ran the "ifconfig" command so that the system keep all the config after reboot.

2) How do I put back the host name to the system? (I went into /etc and try to change the host name but the "hosts" file is "read only" and I went in as root.)

Manny thanks for help
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

login error after sys-unconfig, errno = 13

Hi, I have a SPARCstation 10 with SunOS 5.6 This erlier was in a network and now I have it at home to make a webserver. At fist there was NIS and things left from erlier. So the "Console login:" newer appered only the white window with sun logo topleft and some text info. I made... (14 Replies)
Discussion started by: roing
14 Replies

2. Solaris

[need help] about after running sys-unconfig and config network for v890

hi expert, i had do sys-unconfig for my v890 sparc and had config for eri0 network interface and hostname but after the server bring up i got this error messages : NIS domainname is www.USSDGmdn-4.com starting rpc services: rpcbind keyserv done. Setting netmask of eri0 to 255.255.255.0... (5 Replies)
Discussion started by: bucci
5 Replies

3. What is on Your Mind?

Network Sys Admin

Hi, my name is wesly. I an IT tech at the Junior Level. I have a bachelors degree in Computer Information Systems. I would like to fully become a Unix Sys Admin. Can anyone please tell me what I have to do. Do I have to set up a Unix or Linux server. How about Apache. Please give me clues and tips... (1 Reply)
Discussion started by: wes.lat
1 Replies

4. Solaris

sys-unconfig keeps hostname

Hi, I performed a sys-unconfig on a solaris 10 server twice and it did not ask for a new hostname. I did a fresh install. most of the time I have experienced that it asks for a new hostname. what happened? I know I could have edited some files but I prefer not to. thanks in advance, ~jv (3 Replies)
Discussion started by: jvmagic
3 Replies

5. Solaris

question about sys-unconfig

Hi there, We are trying to move our Sun Solaris 10 servers to new location (different state); the subnets will be changing ofcourse and so will the IP addresses; we plan to change hostname too. Questions: 1)If we perform sys-unconfig will the current installed application/data be lost? If so,... (4 Replies)
Discussion started by: deedee
4 Replies

6. UNIX for Dummies Questions & Answers

Solaris 10 sys-unconfig issue (brand new user)

ok, Newbie here..... I just installed this solaris 10 for a class I'm taking. We couldn't figure out how to change the IP so we were told to just do it from the sys-uncofig process. Well, after I did that, I lost the GUI witch isn't all that bad cuz I want to learn the cli anyways, but I keep... (1 Reply)
Discussion started by: moesays
1 Replies

7. UNIX for Advanced & Expert Users

sys-unconfig doesn't work after reboot

Hi All! I'm running "Solaris 10 10/08 s10s_u6wos_07b SPARC" on M5000. I ran sys-unconfig and after the machine rebooted the system did not prompt me for configuration info (system name, ip address, etc). I have also modified /etc/.sysIDtool.state changing all "1" to "0" and touch... (1 Reply)
Discussion started by: bluescreen
1 Replies

8. AIX

AIX OS problem? network problem?

Dear ALL. I installed AIX OS on customer sites. but Only one site is too slow when I connected telnet, ftp.. Ping is too fast. but telnet and FTP is not connected.. of course i check the configuration file on aix but it's normal. Do any Idea?? thanks in advance. - Jun - (3 Replies)
Discussion started by: Jeon Jun Seok
3 Replies

9. Solaris

sys-unconfig now can not log in

I did a sys-unconfig to change the domainname, Ip, subnet, hostname, and pretty much everything else that sys-unconfig handles. Upon reboot, it is toast. I did this all without the network cable plugged in. The following shows up on console: login: pam_unix_cred: cannot load ttyname Error 0 ... (3 Replies)
Discussion started by: adelsin
3 Replies

10. Programming

Interactive Python 3.5+ sys.stdout.write() AND sys.stderr.write() bug?

(Apologies for any typos.) OSX 10.12.3 AND Windows 10. This is for the serious Python experts on at least 3.5.x and above... In script format sys.stdout.write() AND sys.stderr.write() seems to work correctly. Have I found a serious bug in the interactive sys.stdout.write() AND... (2 Replies)
Discussion started by: wisecracker
2 Replies
sys-unconfig(1M)					  System Administration Commands					  sys-unconfig(1M)

NAME
sys-unconfig - undo a system's configuration SYNOPSIS
/usr/sbin/sys-unconfig DESCRIPTION
The sys-unconfig command is used to restore a system's configuration to an "as-manufactured" state, ready to be reconfigured again. The system's configuration consists of hostname, Network Information Service (NIS) domain name, timezone, IP address, IP subnet mask, and root password. This operation is the inverse of those performed by the sysidnet(1M), sysidns(1M), and sysidsys(1M) programs run at boot. See sysidtool(1M). sys-unconfig does the following: o Saves current /etc/inet/hosts file information in /etc/inet/hosts.saved. o If the current /etc/vfstab file contains NFS mount entries, saves the /etc/vfstab file to /etc/vfstab.orig. o Restores the default /etc/inet/hosts file. o Removes the default hostname in /etc/hostname.interface files for all interfaces configured when this command is run. To determine which interfaces are configured, run the command 'ifconfig-a'. The /etc/hostname.interface files corresponding to all of the inter- faces listed in the resulting output, with the exception of the loopback interface (lo0), will be removed. o Removes the default domainname in /etc/defaultdomain. o Restores the timezone to PST8PDT in /etc/TIMEZONE. o Disables the Network Information Service (NIS) and Network Information Service Plus (NIS+) if either NIS or NIS+ was configured. o Removes the file /etc/inet/netmasks. o Removes the file /etc/defaultrouter. o Removes the password set for root in /etc/shadow. o Removes the file /etc/.rootkey. o Executes all system configuration applications. These applications are defined by prior executions of a sysidconfig -a application. (See sysidconfig(1M)). When sys-unconfig is run, all system configuration applications are passed one argument, -u. o Removes the file /etc/resolv.conf. o Disables LDAP by removing /var/ldap/ldap_client_cache, /var/ldap/ldap_client_file, /var/ldap/ldap_client_cred, and /var/ldap/cachemgr.log. o Regenerates keys for sshd(1M). When sys-unconfig is finished, it performs a system shutdown. sys-unconfig is a potentially dangerous utility and can only be run by the super user. FILES
/etc/default/init process control initialization /etc/defaultdomain /etc/defaultrouter /etc/hostname.interface /etc/inet/hosts host name database /etc/inet/netmasks network mask database /etc/nodename /etc/.rootkey super-user's secret key /etc/shadow shadow password file /etc/vfstab virtual file system table /var/nis/NIS_COLD_START /var/yp/binding/*/ypservers ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWadmap | +-----------------------------+-----------------------------+ SEE ALSO
init(1M), kdmconfig(1M), sshd(1M), sysidconfig(1M), sysidtool(1M), hosts(4), netmasks(4), shadow(4), attributes(5) NOTES
sys-unconfig is not available on diskless clients. SunOS 5.10 4 Jun 2004 sys-unconfig(1M)
All times are GMT -4. The time now is 04:26 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy