• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Need help setting up networking for Solaris 8 for SPARC

LuckyTaxi

Diamond Member
I have an ULTRA 10 Sparc system and I am trying to setup networking.
I'm used to the Linux environment so I tried to do it the Linux way, but it doesnt seem to work. Here's what I have done thus far.

1 - Edit the /etc/hosts file to include the IP address along with the domain name

127.0.0.1 localhost
192.168.0.200 sun.lilcambo.com (i own the domain)

2 - Edit /etc/resolv.conf - I added the DNS server info given by Directtvdsl

nameserver 64.xx.xx.xx
nameserver 64.xx.xx.xx

3 - Created a file called defaultrouter in the /etc directory

192.168.0.254

Reboot and it still doesnt work. I can ping the loopback address, but anything else it tells me the destination is unreachable! Am I missing something? I have a link light on my switch so it's not the cable or NIC.
 
You don't need the domain name in the /etc/hosts file, just the host name. Another file, /etc/defaultdomain contains the local domain name(s).

Everything else looked OK, you may want to check the /etc/nsswitch file (there are other examples in /etc with extensions like nsswitch.nis, .nis+, etc...they are only example/template files) to set the host resolve order to "files dns" (or "dns files") ....whatever your preferred order is.

Good Luck

Scott
 
You need to create a file in /etc that is hostname.interface and has just the hostname for your IP that you set up in /etc/hosts.

Example:
Given1: your interface is hme0
Given2: ummm, all the stuff you said you set up already

Solution:
create /etc/hostname.hme0 containing only the following line
sun.lilcambo.com

or if you follow scott's naming suggestion (which is valid)
sun

reboot. If you're having probs past this, give us the output of your ifconfig -a command... which could be a pain without the networking to send it off from 😉
 
Now here's something weird - I played around with two versions of the /etc/hosts file

1 - Containing just my IP address and FQDN

192.168.0.155 sun.lilcambo.com

Upon login to CDE I get an error message saying "The DT messagnig system could not be started"
Log back in using FailSafe Session and check to see that the hostname is correct in these locations:
/etc/src.sh /etc/hosts /usr/adm/inetd.sh

CDE kicks me back to the login screen, but I can ping externally, including my DNS servers.

2 - I changed the configuration above to the following

192.168.0.155 sun

The DT error message goes away and I'm back to square one. No networking or anything. Whats the problem now?!?!?!
 
FINALLY!!! It works! I did another "sys-unconfig" and I did something different on the define your hostname screen.
Instead of the full address, I just typed in sun. Then upon loggin in, i couldnt do anything again and then realize
the file called defaultrouter wasn't there. defaultgateway was with my router address, so I just created the defaultrouter
file with the same info and now everything works like a charm!
 
Back
Top