home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / linux / 21913 < prev    next >
Encoding:
Internet Message Format  |  1992-12-28  |  1.3 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!gatech!destroyer!gumby!yale!hsdndev!dartvax!coos.dartmouth.edu!jgrape
  2. From: jgrape@coos.dartmouth.edu (Johan A. Grape)
  3. Newsgroups: comp.os.linux
  4. Subject: BSD lpr/lpd and serial lw - help help help
  5. Message-ID: <1992Dec28.170337.7582@dartvax.dartmouth.edu>
  6. Date: 28 Dec 92 17:03:37 GMT
  7. Sender: news@dartvax.dartmouth.edu (The News Manager)
  8. Followup-To: comp.os.linux
  9. Organization: Dartmouth College, Hanover, NH
  10. Lines: 39
  11.  
  12. Well, this thread seemed to die....  I still can't get the
  13. daemon to print anything.
  14.  
  15. My setup:
  16.  
  17. kernel 0.99pl0 w/ tcp/ip compiled in.
  18. apple personal laserwriter on ttys2
  19. BSD lpr binaries from tsx-11
  20.  
  21. /usr/etc/printcap entry:
  22. lp|local laserwriter:\
  23.         :lp=/dev/ttys2:sd=/usr/spool/lw:\
  24.         :br#9600:\
  25.         :mx#0:pw#1000:\
  26.         :sh:sf
  27.  
  28. /usr/etc/lp*  setuid root, setgid daemon
  29. /usr/spool/lw setuid daemon, setgid daemon.
  30.  
  31. daemon is in /etc/passwd & /etc/group
  32.  
  33. /dev/ttys2 is setuid daemon  (have tried with setuid root too)
  34.  
  35. /usr/etc/inet/hosts.lpr  contains the line:
  36. brunhilda    (my machine - don't ask)
  37.  
  38. I also have 
  39. /usr/etc/inet/hosts.equiv with
  40. brunhilda
  41.  
  42. My problem is:  lpr spools, but the daemon never tries to print.
  43.  
  44. Does anyone have a working setup similar to this?
  45. Help would be greatly appreciated.
  46.  
  47. regards
  48. Johan
  49.  
  50. jgrape@coos.dartmouth.edu
  51.