Date: Sat, 8 Jun 96 06:47:33 EST From: Dwight McKay (The Moderator) Reply-To: Suns-at-Home@net-kitchen.com Subject: Suns-at-Home Digest V9 #20 To: Suns-at-Home-List Suns-at-Home Digest Sat, 8 Jun 96 Volume 9 : Issue 20 Today's Topics: PPP ppp questions Solaris 2.5 -- setting up a directly-connected laser printer Sun 3/50 Video cable (Same as DB9?) +--------------------------------------------------------------------+ | Submissions: suns-at-home \ | | Requests: suns-at-home-request > @net-kitchen.com | | Archives: suns-at-home-archives / | | WWW Archive access: http://www.net-kitchen.com/~sah | +--------------------------------------------------------------------+ ---------------------------------------------------------------------- Date: Mon, 3 Jun 1996 10:00:29 -0700 (PDT) From: "Anthony D'Atri" Subject: PPP To: Suns-at-Home@tigger.net-kitchen.com >The comp.protocols.ppp FAQ lists two main free PPP packages: PPP-2.2 >and dp-2.3 (or newer versions if these exist). Can anyone offer any >comparisons of these? DP is at 4.0 now, though I've been unable to get it to do anything useful. The documentation seems to be geared toward people who for some reason are using Unix machines to host multiple PPP connections, and not toward those of us who simply want to make a single outgoing connection from time to time. For ease-of-use, I'd go with ppp-2.2. >I'll probably only need a limited set of tcp/ip services over the PPP >link: You could do much of this without true IP connectivity by using 'term' instead. - ------------------------------ Date: Sun, 2 Jun 96 17:15:21 -0400 (EDT) From: woods@most.weird.com (Greg A. Woods) Subject: ppp questions To: bkis@island.net (Jonathan Thornburg) > Date: Mon, 27 May 96 20:04 PDT > From: bkis@island.net (Jonathan Thornburg) > Subject: ppp questions > To: suns-at-home@tigger.net-kitchen.com > > I'm worried about the security implications of creep@anywhere.on.net > being able to send me "nastygram" packets whenever I have the PPP link > active. One way to respond to this threat would be to bring my Sun up > to directly-on-the-internet security standards and keep it there, but > this would take a fair bit of work on my part. I think you'll find you need to do a fair amount of work to make SunOS-4 safe from the average attack on the Internet. There are a couple of packages that are not too hard to install, and permit you to directly control what packets you allow in and out of your connection, as well as giving your logging capabilities for those connections you do allow. The first is "ip-filter" by Darren Reed . It's suitable for both gateway hosts, and leaf nodes. There's a WWW page here: http://cheops.anu.edu.au:80/~avalon/ip-filter.html and the code is here: ftp://coombs.anu.edu.au/pub/net/kernel/ip-fil3.0.4.tar.gz The other package you should install is tcp_wrappers. This one further extends your control over what services your system offers, and it has extensive logging abilities. You should kill all the things you don't need, such as NFS, the portmapper, tnamed, tftp, and especially chargen, etc. -- Greg A. Woods - ------------------------------ Date: Thu, 6 Jun 1996 11:06:01 -0400 From: biggers@gooey.mvc.com.inter.net (Mark R. Biggers) Subject: Solaris 2.5 -- setting up a directly-connected laser printer To: suns-at-home@tigger.net-kitchen.com Hello all, You may recall my submission a few weeks ago, asking about how to get the Solaris 2.5 'lp' print service to work with my NEC SW2-90 PostScript laser, connected to a SS-5 serial port. Here was my original "printcap", used by the buggy but working port of BSD lpr (and very similar to my old Sunos setup): ======================================== # # This is a sample of printcap entries used by various printers/plotters # # $Header: /etc/RCS/printcap,v 1.3 1995/12/01 13:25:28 kroot Exp $ # You GOTTA open the printer device (r)ead(w)rite for PostScript handshake! # lp|ps|general PS printer setup:\ :lp=/dev/term/b:\ :br#19200:ms=-isig,igncr,cstopb,-echok,ixon,-ixany:\ :rw:sf:sh:mx#0:\ :fc#0177777:fs#003:\ :lf=/dev/console: \ :if=/usr/local/lib/psif: (BTW, using some freeware PS filters -- e.g. 'psif') ======================================== Andrew Benson replied in his SAH submission with a 'lpadmin' sample that was wrong, but close enough for me to look at the Sysadmin Answerbook and get it right. I basically did a repeated cycle of: run this script, 'lp some-file', finding a problem, 'lpadmin -x lp', then '/etc/init.d/lp stop', run this script, then restarting the service by '/etc/init.d/lp start'. Here it is. Hope it saves you having to buy Yet Another sysadmin book. But you *will* need the unbundled Sysadmin Answerbook to do anything significant on Solaris 2.x. BTW, 'lp' now prints both ordinary text files and PostScript files. Once -T (type) is specified, the 'lp' system knows what to do. ----mark biggers@saiph.com ======================================== #!/bin/sh +x # @(#) Lpsetup.sh -- setup 'lp' printer # # lpadmin -p printer-name -D description # -I content-type-list -T printer-type-list (terminfo) # -h (hardwired) -v device-file # -o option # -A shell-command-for-Alerts # # To REMOVE this "lp" entry from the service (after all jobs removed # from queue): # lpadmin -x lp # lpadmin -p lp -D 'NEC SilentWriter-2 90 laser printer' \ -I postscript -T PS \ -h -v /dev/cua/b \ -o stty="'38400 -isig igncr cstopb -echok ixon -ixany'" \ -o nobanner # NOGO -A "'cat >/dev/console'" enable lp accept lp #-- And, if you want it as your default, lpadmin -d lp - ------------------------------ Date: Tue, 4 Jun 1996 15:44:05 -0500 From: "Gary Allgood" Subject: Sun 3/50 Video cable (Same as DB9?) To: I recently purchased two Sun 3/50 systems with monitors and external scsi hard drives. I received no cables in this purchase so I have spent countless hours searching for them. I am at a point now where I can find no answer for the following questions. 1. Is the video cable a special cable, or will a standard DB9 serial cable work? 2. Are there any Sun Manuals around for these? Thank you Gary Allgood leyte@ostwo.com - ------------------------------ End of Suns-at-Home Digest ******************************