Solved

printer setup on Solaris 8

Posted on 2006-10-19
1
2,653 Views
Last Modified: 2013-12-16
Hi,

I'm currently working on a disaster recovery trial, part of which involves setting up a printer on Solaris 8.

I can look at the current live setup and try to mimic it but I'm not to sure exactly how to go about doing it.

The main problem is a file in /dev. Below is a snapshot of the file as it exists on the live server, but I'm not sure how to replicate it on the DR box.

crw-rw-rw-   1 root     other     13,  2 Jan 23  2006 databa01

I know this file is part of the printer setup but I don't know how to create "character special" files. Could you guys explain the significance of this file, what it does and how I create it?

Thanks
0
Comment
Question by:damieneowen
1 Comment
 
LVL 38

Accepted Solution

by:
yuzh earned 500 total points
ID: 17770936
you can use "mknod" to create sepecial devices file
eg:

mknod /dev/databa01 c 13 2

where: c - character
           13 -major
           2 ninor
since the character device with major number=13, minor=2, is /dev/null (standard
device), you don't need to create /dev/databa01, you can use /dev/null instaed, unless
your application hard code to you that device name.

man mknod
to learn more details
To add a printer, in Solaris, you can login as root and run "admintool" (GUI) to install
local or access to network printer.

eg:
use "admintool" (GUI) to do the job.

for local printer, add -> local printer.
remote printer

add -> access to remote printer.
just make sure that you add your windows server infor to /etc/hosts

For more help, click on help in the admintool menu bar.

To start the program, type in:
admintool &

You can also use commandline "lpadmin" to add/modify printer
man lpadmin
to learn more details.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now