Useful Commands
From Peter Pap's Technowiki
Revision as of 00:47, 21 September 2010 by Ppapa (talk | contribs) (Created page with "These are a number of useful commands that I have found over the years. See the 'man' pages for more detail. == Running 64-bit or 32-bit Solaris? == This command is more rele...")
These are a number of useful commands that I have found over the years. See the 'man' pages for more detail.
Running 64-bit or 32-bit Solaris?
This command is more relevant with older versions of Solaris, as these days Solaris is 64-bit by default. However, if you're running an older version of Solaris and need to know if it's running in 64-bit or 32-bit mode, here's how you find out:
/usr/bin/isainfo -kv
Set network interfaces with unique MAC addresses
So you have a Sun Sparc server with multiple network interfaces. You'd expect them to have different MAC addresses right? Wrong! By default they will present the same MAC address. In order to force the machine to use a different MAC address you need to do either of the following.
From the OpenBoot PROM ('ok' prompt):
setenv local-mac-address? true
From the OS:
eeprom "local-mac-address?=true"