|
The Solaris[tm] Operating Environment for x86 General FAQsby Chee-Heong Lee(May, 2002) We want to hear from you! Please send us your FEEDBACK.
1. How can I bind multiple (virtual) IP addresses to a single network interface card ? The following steps demonstrate how to configure the ethernet (elx0) device to support more than one IP address.
To delete a logical interface, use the unplumb command . For example, example% ifconfig elx0:1 down unplumb will delete the logical interface elx0:1.
2. When I create source in the Solaris 7 OE for x86, I always get the error: "/usr/ucb/cc: language optional software package not installed", and the compiler is aborted. What can I do? When invoking the cc command, the "language optional software package not installed " error may be encountered. This occurs when SUNWspro/bin is not present in the path, resulting in the /usr/ucb/cc compiler being used instead of the SUNWspro/bin/cc compiler. No compiler that comes with the Solaris OE. You either have to buy one or get a gcc compiler from http://www.sunfreeware.com..
3. How we can mount Microsoft Windows NT filesystems under a Solaris OE server? You can access the Microsoft Windows NT files and folders from Solaris OE Sparc® server using a Samba server.
4. Where can we get the Solaris OE supported hardware configuration list (HCL)? You can get the Solaris OE supported hardware configuration list from http://soldc.sun.com/support/drivers/hcl/. The systems on the hardware compatibility list have been verified by system vendors and submitted for inclusion on the HCL. If the system you are looking for does not appear on the list, contact the vendor and request that they conduct the Solaris certification tests and submit their product for listing in the HCL.
5. Where can we download the Solaris OE DCA (Device Configuration Assistant Boot Diskette)? You can download the Solaris OE DCA from
http://soldc.sun.com/support/drivers/dca_diskettes/.
The Device Configuration Assistant is one component of the booting system and performs the following essential functions:
The Device Configuration Assistant is a DOS executable program, bootconf.exe. It is called from and runs under the second stage bootstrap boot.bin, a program that contains DOS emulation. The Configuration Assistant is linked with the standard C library, which makes the DOS system calls (for example, to access a diskette) emulated by boot.bin. The Configuration Assistant also uses boot.bin to create device tree nodes and set properties on these nodes. The Configuration Assistant selectively loads and runs realmode drivers (BEFs) to:
6. Where can we get the Solaris OE official free patches? You can get the Solaris OE official free patches from http://sunsolve.sun.com.
7. Where can we download third party vendor hardware drivers? Please refer to http://www.sun.com/io_technologies/ihv-drivers.html.
8. How do I set up an IP address for an interface on the Solaris OE for x86? To setup an IP address for the Solaris OE machine, you have to:
9. Where can I get more information about Sun's Solaris OE certifications? Refer to http://suned.sun.com/US/certification/solaris/index.html for more information about Solaris OE system administration and Solaris OE network administration certifications.
10.CD-ROM and floppy disk devices are not mounting on the Solaris OE. What could be the reason? vold is the daemon that should be running on your system to allow CD-ROMs and floppies to mount automatically. For the floppy mount process you must type volcheck after inserting the floppy; it is more semi-automatic. The CD-ROM should mount by itself after a few seconds (10-15). The great killer of vold is WABI. WABI and vold cannot be run at the same time. If you have ever run WABI on your system, check this first: more /etc/vold.conf Look for the following section (this is the way it should look to work): # Devices to use
Make sure the floppy line is uncommented. If you change this file, make sure you stop then restart vold to make the change takes effect. The directories /cdrom and /floppy should be empty. Eject the CD-ROM or floppy and check the /floppy or /cdrom directory. If it is not empty, you probably had remnants of something that was mounted in the past. Remove the remnants.
11. Is there a utility to configure the display settings in the Solaris 8 OE for x86? Yes, kdmconfig - configures or unconfigures the keyboard, display, and mouse options for OpenWindows[tm] software and internationalization.
12. I am trying to install the Solaris 8 OE for x86. When booting the system from a DCA, I get an error: Warning: ACPI tables not in reclaim memory
How can I disable the ACPI in the Solaris 8 OE for x86? If ACPI is disabled, the corruption can be avoided. However, this disables all ACPI functionality. Disable ACPI by either:
13.Where can I get the Solstice Adminsuite[tm] software for the Solaris 8 OE for x86? Look on the Solaris 8 OE, 2/2 software CD, in the /cdrom/cdrom0/Solaris_8/EA/products directory.
14. Why do I get the "RPC: Program not registered" error on my NFS partition? If there is no file system in the /etc/dfs/sharetab file to be exported,
the daemons will not start. So, users may get the "RPC: Program not registered" error
if these daemons are not running:
Add the following entry in the /etc/dfs/dfstab file: share -F nfs /cdrom The contents in the dfstab file are executed automatically when the system enters run-level 3. This gives the administrator a uniform method of controlling the automatic sharing of system resources. Run /etc/rc3.d/S15nfs.server to start the nfsd and the mountd daemons manually if they have not been started. % /etc/rc3.d/S15nfs.server start If NFS service is running, stop the NFS server and start the NFS service again. Example: % /etc/init.d/nfs.server stop
15. How can I have two FTP ports on single Solaris OE server? This is possible in third party ftp server wu-ftpd. You can download it from http://www.sunfreeware.com. You can do this from the command line or with a special definition in /etc/services, /etc/inetd.conf. For command line, look up -P and -p in the ftpaccess(5) manpage. To set this up with special definitions, add two ports with consecutive numbers in /etc/services, and then start wu-ftpd on these ports. Add to /etc/services something like: ftptest 4021/tcp #command port
Then start wu-ftpd from /etc/inetd.conf: ftptest stream tcp nowait root /usr/etc/in.ftpd in.ftpd The key is the name 'ftptest', which associates the port assignment in the /etc/services file to that in the inetd.conf file. Make certain that the choice of ports in /etc/services (4021 and 4020 above) are from the local use list and don't conflict with other port assignments (see RFC1700, ASSIGNED NUMBERS). One important subtlety - the data port is not really derived from the data port declaration in the /etc/services file. The FTP specification (RFC765) states the data port is defined as one less than the command port. However, including the data port declaration in the /etc/services file prevents it from being accidentally assigned to something else.
16. How do I temporarily disable UNIX user logins, if super user is doing administration tasks or in the process of a system shutdown? You can temporarily disable user logins by creating the /etc/nologin file. nologin allows a message to be displayed to users who are attempting to log on in the process of a system shutdown. After displaying the contents of the nologin file, the login procedure terminates, preventing the user from logging onto the machine. Logins by super-user are not affected by this procedure. The /etc/nologin file contains a message similar to: ***No logins permitted.***
17. I would like to:
18. I want to use the up and down arrow keys to get last commands I typed. How do I configure my login shell to do this in Solaris 8 OE? You can download and configure the bash shell from http://www.sunfreeware.com. This will support up arrow and down arrow for your previous commands, just like a doskey.
19. How do I set up multiple consoles in the Solaris 8 OE for x86? This feature is not available in the Solaris 8 OE for x86.
20. How many pseudo terminals can we open in the Solaris 8 OE? The Solaris 8 OE enables the opening of any number of pseudo-terminals (used by programs like rlogin and telnet). In previous releases, only 48 pseudo-terminals were allocated by default. The Solaris 8 OE software now allocates pseudo-terminals dynamically when they are needed, automatically adapting to the work load. This benefits desktop users and system administrators who deal with large numbers of open terminal sessions. The number of /dev/pts entries available is dynamic, up to a limit determined by the number of physical memory available on the system.
21. I am trying to set up a DHCP server running on the Solaris 8 OE. I can successfully configure DHCP through DHCP config, but when I try to start the DHCP server daemon I get error messages like "error binding to udp socket address already in use". How can I rectify this problem?
22. How do I print from a Linux client to a Solaris 8 OE print server? The client seems to be unable to find the print daemon on the server. The workaround is to turn off the saf listener for printing; saf has not been used by the print subsystem since Solaris 5.5.1. The customer may use the pmadm command on the server to turn off the saf listener, which will fix the problem.
This problem is against admintool and has been fixed in the Solaris 8.1 OE; it is to be patched for the Solaris 8 OE. It is recommended that you use the new printmgr to configure printers on the server: % /usr/sadm/admin/bin/printmgr
23. How do I disable banner information in the printer configuration file? The root user can modify any printer's interface script. For example, to turn off the printing of a banner page, edit /etc/lp/interfaces/printer_name on the print server and change the nobanner line from: nobanner="no" to nobanner="yes"
24. How can I change locale dynamically and permanently in the Solaris 8 OE? A locale is a collection of files, data, and sometimes code that contains the information needed to adapt the OE to local market needs. A locale can be thought of as a 'bundle' containing information such as the messages displayed to the user, the interface/GUI components (i.e. size of buttons etc), cultural information such as date and currency formats, and fonts or other writing system specific information. Change Locale Dynamically Your locale can be changed in two ways. Prior to entering OpenWindows[tm] software, set the LANG environment variable to the appropriate value. For example, in the Bourne shell LANG=de export LANG would set the locale to German. Now any OpenWindows windows will be started in this locale. Alternatively, once in OpenWindows the locale can be changed from the properties dialogue box. Change Locale Permanently You can change the default locale system-wide with the following procedure:
25. When a user tries to connect to a Solaris OE server through a telnet program and has entered an invalid password three times, I would like to log all the error messages in a log file. How can I do this? You can achieve this configuration through the RETRIES option in the /etc/default/login file. # RETRIES determines the number of failed logins that will be
# telnet osiris
This is a secured system. Unauthorized access prohibited. All activity is logged. login: senthil
After three unsuccessful login attempts, all the attempts are logged in the file /var/adm/loginlog. This file contains one record for each failed attempt. Each record contains the login name, tty specification, and time. # more /var/adm/loginlog
By default, loginlog does not exist, so no logging is done. To enable logging, the log file must be created with read and write permission for owner only. Owner must be root and group must be sys. ID #1261
| |||||||||||||||||||||||||||||||||||||||