Computing.Net > Forums > Solaris > Solaris network config changes

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Solaris network config changes

Reply to Message Icon

Name: Big VP
Date: January 30, 2002 at 13:59:34 Pacific
Comment:

Solaris 5.3 on a sparc 5:

I have to change all network settings on this client. How do I do it?
IP, hostname(maybe),subnet,bcast, etc all have to change. Admintool is not working for me - some rpc error. Command line easily done? Thanks bigtime to anyone that can help.



Sponsored Link
Ads by Google

Response Number 1
Name: Mark M
Date: January 30, 2002 at 17:27:46 Pacific
Reply:

Hi,

logging in as root and typing

sys-unconfig

may do what you need (I'm not sure with this version???)

otherwise check other posts here for which files to modify for hostname and IP address, there have been many postings on these subjects.

Subnet is in /etc/netmasks

Someone else may be able to help more if the sys-unconfig doesn't work - sorry.


0

Response Number 2
Name: Anonymous
Date: February 3, 2002 at 00:51:12 Pacific
Reply:

Mark is correct in his suggestion to use "sys-unconfig". This is probably the best and supported way of doing things.

/etc/netmasks is the correct file to modify for subnet.

Otherwise, you can also modify the IP address by editing the /etc/hosts file by changing the IP address to reflect the new IP, then do a reboot (using "reboot" or "init 6"). Another way of doing it is "ifconfig interface IP netmask IP"
eg:
"ifconfig hme0 192.0.0.1 netmask ffffff00"

To change hostname, you should modify all the files with the new hostname that are listed from this command:

find /etc -type f -print | xargs grep

Otherwise, just change the names in /etc/hosts and /etc/hostname.interface.
However, you might encounter some problems in the future !!


0

Response Number 3
Name: Bob D.
Date: March 15, 2002 at 19:54:12 Pacific
Reply:

Check out this web site for some great info on setting up you SPARC or x86 Solaris box.

http://www.execpc.com/~keithp/bdlogsol.htm#basics


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


ethernet != install XP and solaris-dual boot



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: Solaris network config changes

Solaris 10 network config www.computing.net/answers/solaris/solaris-10-network-config/4219.html

solaris 8 network config www.computing.net/answers/solaris/solaris-8-network-config/3816.html

Change my hostname on my solaris 8 www.computing.net/answers/solaris/change-my-hostname-on-my-solaris-8/2720.html