Solaris / OpenSolarisThis forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
# cat /etc/inet/netmasks
#
# The netmasks file associates Internet Protocol (IP) address
# masks with IP network numbers.
#
# network-number netmask
#
# The term network-number refers to a number obtained from the Internet Network
# Information Center.
#
# Both the network-number and the netmasks are specified in
# "decimal dot" notation, e.g:
#
# 128.32.0.0 255.255.255.0
#
192.168.0.0 255.255.255.0
but last time I restarted my network but still the internet was not working
Code:
#svcadm restart network
please correct me if I am wrong, this is the command to restart the network?
Likely not enough given the fact it wasn't sufficient. I actually never ran that command and believe network is just a milestone, not a real restartable service.
The only service that was needing to be restarted was probably "name-service-cache".
Quote:
And there is one more confusion
I have two resolv.conf inside my etc
Code:
#/etc/resolv.conf
and
#/etc/resolv.conf~
I have no idea about the other one as it is a blank file
should I delete that file?
You can delete it, especially if it is empty.
Quote:
and it is created?
It is probably a backup file created by the editor you used.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.