Pages

April 15, 2007

Install network LaserJet fast way

In this tip for Linux and Solaris admins, we are going to install network LaserJet printer into system. I assume printer has own ip address (for example 11.22.33.44). Be sure you have CUPS 1.1 installed. Now type:

lpadmin -p LaserJet -E -v socket://11.22.33.44 -m laserjet.ppd

That's all, you can modify your configuration at location http://localhost:631/admin

April 11, 2007

Alternate break sequence for Solaris (8,9,10)

Have you been in situation, when you were connected to Sparc machine using terminal, which didn't allow you to send break sequence ? Well, this tip may help you. To bring the system to the OK prompt send the following key sequences:
 <cr> ~ ^b     (enter  tilde  ctrl+b)

To enable this feature, be sure to have this in file /etc/default/kbd
KEYBOARD_ABORT=alternate