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
reboot(2)							System Calls Manual							 reboot(2)

NAME
reboot - Reboots system or halts processor SYNOPSIS
#include <sys/reboot.h> void reboot( int howto ); PARAMETERS
Specifies a mask of options. DESCRIPTION
The reboot() function restarts the system. The startup is automatic and brings up /vmunix in the normal, nonmaintenance mode. The calling process must have superuser privilege to run this function successfully. However, a reboot is invoked automatically in the event of unre- coverable system failures. The following options, defined in the sys/reboot.h include file are passed to the new kernel or the new bootstrap and init programs. They are supplied as values to the howto parameter. The default, causing the system to reboot in its usual fashion. Dump kernel memory before rebooting; see the savecore command for more information. The processor is simply halted; no reboot takes place. The disks are not sync'd before the processor is halted or rebooted. Normally, the disks are sync'd (see the sync() command) before the processor is halted or rebooted. Because the disks are not sync'd with the RB_NOSYNC option, loss of data may result from using it. When no options are given (that is, RB_AUTOBOOT is used), the system is rebooted from file vmunix in the root file system of unit 0 (zero) of a disk chosen in a processor-specific way. (see the fsck command). RETURN VALUES
If successful, this call does not return. Otherwise, a -1 is returned and errno is set to indicate the error. ERRORS
If the reboot() function fails, errno may be set to the following value: The calling process does not have appropriate privilege. RELATED INFORMATION
Commands: crashdc(8), halt(8), init(8), reboot(8), savecore(8) delim off reboot(2)
All times are GMT -4. The time now is 08:42 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy