Jeff Fredrickson

Home - Notes - Projects - Contact

Solaris 7

Random tidbits on configuring Solaris 7
Last update October 19, 2022 721ac66 [Tagged: retrocomputing]

These are various to-do items after a Solaris 7 install, as well as fixes for common issues.

Configure the default domain

Assuming example.com is the system’s domain name:

echo example.com > /etc/defaultdomain

Configuring the domain name will address a potential error on startup: starting rpc services: rpcbindkeyserv: failed to generate host's netname when establishing root's key

Configure the default gateway

Assuming 192.168.1.1 is the gateway:

echo 192.168.1.1 > /etc/defaultrouter

Specify an IP address and hostname

Configuring the IP address and hostname will address the potential startup error: configuring network interfaces:ifconfig: foo.example.com: bad address le0.

Enable ntpd

echo server pool.ntp.org > /etc/inet/ntp.conf
/etc/init.d/xntpd start

Errors on startup related to snmpXdmid:

The workaround is to disable these two services (assuming you don’t need SNMP anyway):

/etc/rc3.d/S76snmpdx stop
/etc/rc3.d/S77dmi stop
mv /etc/rc3.d/S76snmpdx /etc/rc3.d/_disable_S76snmpdx
mv /etc/rc3.d/S77dmi /etc/rc3.d/_disable_S77dmi

Backspace key

To get the backspace key to work properly on the console (^H is a literal Ctrl+H; you can get it by typing Ctrl+V Ctrl+H):

stty erase ^H

Disable “Solaris User Registration” on OpenWindows or CDE startup

Every time OpenWindows or CDE starts, it launches the HotJava browser to display a Solaris registration page. To stop this:

echo DISABLE=1 > /etc/default/solregis

Note: See /usr/dt/config/Xsession.d/1000.solregis for the inner workings.


Fork this on GitHub Netscape Now! 2.0
Go modern