I have installed solaris x86 on a standalone PC. Now I have connected a LAN cable to it. What do I do next for further configuration or to access internet from that solaris machine?
Are you going to use static or DHCP configuration?
The normal approach is to do sysunconfig then reconfigure.
What is static, DHCP, sysunconfig? I want the machine to have an IP address and use Internet in it - which must automatically be flowing after connecting the cable.
Pls advice.
What is your network configuration?
What network will your machine plug into?
Is there a DHCP server which dynamically allocates IP addresses?
Have you been told on an IP address you must use?
Are you on a network that is going through a NAT router?
How are names going to be resolved?
Which name server are you going to use?
Hi Porter
What is your network configuration? --> DHCP
What network will your machine plug into? --> LAN/Internet
Is there a DHCP server which dynamically allocates IP addresses? --> YES
Have you been told on an IP address you must use? --> NO
Are you on a network that is going through a NAT router? -->YES
How are names going to be resolved? --> DNS
Which name server are you going to use? --> 10.68.XXX.XXX
Please advice.
Which version of Solaris are you using?
9 or 10 will happily use DHCP.
It is Solaris 10 8/07 s10x_u4wos_12b X86
I went through given link - But not very clear.
Should I just run command /usr/sbin/sys-unconfig and reboot ?
Yes, that should do it.
Thank you ! It is done...and restarted.
How can I know the IP address of this PC?
what else must be done to open any website from Solaris PC - It gives an error while tried in mozilla ... "The connection was refused when attempting to contact site"
Pls advice.
Firstly, do
ifconfig -a
that should list all IP addresses attached to devices
Then do
cat /etc/resolv.conf
that should show you how your name resolving is working.
Try some host, for example
nslookup www.unix.com
to see if name resolving works.
if that returns a valid IP address then try
traceroute ip-address
ifconfig -a could give me a IP address ... thank you
Yes, the entries of DNS in /etc/resolv.conf are valid too
nslookup www.unix.com - Gave an error ** Server can't find www.unix.com : NXDOMAIN
Please suggest.
Ok... I modifed little more correct entries in /etc/resolv.conf file and I get below output.
#nslookup www.unix.com
Server: 10.68.XXX.XXX
Address: 10.68.XXX.XXX#53
Non-authoritative answer:
name: www.unix.com
address: 81.17.XXX.XXX
Then I gave #traceroute 81.17.XXX.XXX
and it showed few lines... and then showing * * * I dont understand what it is.
I am still not able to open a webpage through browser.
Please suggest.
Hey Great... I am now connected to internet It just worked after a reboot.
Many thanks for your help porter. Have a great day!!!
Could you please also let me know How to do setup IF the IP is fixed and not through DHCP?
Thank you!
Do a search on this site there are plenty of examples, but basically /etc/hostname.<interfacename> is used to set the IP for each card by mapping it a hostname in /etc/hosts.
When you did the sysunconfig thing did you end up with a dialog when you rebooted which asked you how do you want to set up the network?
Yes - I was asked many question e.g. language, timezone ...networked etc.
It gave a choice of Static/DHCP - I selected DHCP and it worked
So you know which to select if you want static then....