Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I've installed Solaris 8 on my Sun Blade 100 system. I don't think I configured the TCP/IP parameter correctly because the system can't connect to the Internet and doesn't seem to get an IP address from my DCHP server. Is there an easy way (preferably a GUI interface) to set the correct parameters such as an IP address, subnet mask, default gateway, and DNS Servers, or am I better off just reinstalling the OS -- I don't have any data on the system so I can blow it away pretty readily.
Thanks,
-T.

Hi,
use sys-unconfig and try to change the ip address,subnet mask ,domain name.
For dhcp you should use
/etc/dhcp.hme0(interface)Try it.

Here is step by step DHCP setup
a. touch /etc/dhcp.eth0
replace the ".eth0" with whatever the ethernet interface for your system might
be, as shown by
ifconfig -ab. cp /dev/null /etc/hostname.eth0
You need to make SURE that this file is EMPTY - otherwise, DHCP
configuration won't work.c. Make sure that /etc/inet/hosts only has one line in it, the one containing
127.0.0.1 localhost
Any other lines will be ignored, and any additional necessary
lines will be added by the DHCP client at boot time.e. touch /etc/notrouter
this creates a file to tell Solaris that your system will not be performing routing or
packet-forwarding duties. If the file is there leave it the way it is.f. cp /dev/null /etc/defaultrouter
since the DHCP client software will automatically put the needed entries in this
file, we just need to make sure that it exists as an empty file. If it already exists,
rename it and create the empty file in its place.g. cp /dev/null /etc/resolv.conf
the DHCP client will add the necessary entries. If you already have this file,
rename it and create an empty file in its place.h. Edit the file /etc/nsswitch.conf and look at the hosts: line. By default, it
reads files ; change it to read hosts: files dns. This will enable your
machine to resolve addresses using DNS, the Domain Name System.
Okay if you have followed all my Instructions, Solaris machine is ready to get its
networking information via DHCP.
Reboot your machine. You will see status messages during boot about the DHCP
client, this is normal. Once the machine is booted
type the "ifconfig -a" command. You will see output similar to this:$ ifconfig -a
le0: flags=849 mtu 8232
inet 127.0.0.1 netmask ff000000
eth0: flags=4843 mtu 1500
inet 66.65.63.238 netmask ffffff00 broadcast 66.65.63.255
ether 8:0:20:9f:37:f1i. check to make sure that the /etc/resolv.conf and /etc/defaultrouter files
were configured by the DHCP client.
Type "hostname" to see if it says "unknown." If so, DHCP did not provide a
hostname. One workaround is to edit /etc/init.d/ network and replace
all occurences of "unknown" with your real hostname.

![]() |
![]() |
![]() |

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