home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / linux / 25504 < prev    next >
Encoding:
Text File  |  1993-01-26  |  2.9 KB  |  92 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!bogus.sura.net!howland.reston.ans.net!usc!enterpoop.mit.edu!bloom-picayune.mit.edu!daemon
  3. From: schenk@falcon.ccsu.edu (Tom Schenk)
  4. Subject: lpr troubles
  5. Message-ID: <1993Jan25.145058.18894@athena.mit.edu>
  6. Sender: daemon@athena.mit.edu (Mr Background)
  7. Reply-To: schenk@falcon.ccsu.edu (Tom Schenk)
  8. Organization: The Internet
  9. Date: Mon, 25 Jan 1993 14:50:58 GMT
  10. Lines: 80
  11.  
  12.  
  13. After getting the permissions correct for lpr, I still couldn't get it to work
  14. right.  I decided to leave it alone for awhile so that I could play with elm
  15. and sendmail that Nathan Laredo put on sunsite.  After I installed elm, I took
  16. a look at the /etc/services file that he had included with it and since it was
  17. much more complete than the one I had, I decided to replace mine with his.  I
  18. then tried playing with lpr and company again, and to my amazement, it worked.
  19.  
  20. The moral of this story is, if lpr isn't working properly and you have the
  21. permissions set correctly, check the /etc/services (or /usr/etc/inet/services)
  22. file.  Mine (or rather the one from elm+sendmail) is included below.
  23.  
  24. ================cut here================================
  25. # laredo /etc/services
  26. tcpmux        1/tcp        # rfc-1078
  27. echo        7/tcp
  28. echo        7/udp
  29. discard        9/tcp        sink null
  30. discard        9/udp        sink null
  31. systat        11/tcp        users
  32. daytime        13/tcp
  33. daytime        13/udp
  34. netstat        15/tcp
  35. chargen        19/tcp        ttytst source
  36. chargen        19/udp        ttytst source
  37. ftp-data    20/tcp
  38. ftp        21/tcp
  39. telnet        23/tcp
  40. smtp        25/tcp        mail
  41. time        37/tcp        timserver
  42. time        37/udp        timserver
  43. name        42/udp        nameserver
  44. whois        43/tcp        nicname        # usually to sri-nic
  45. domain        53/udp
  46. domain        53/tcp
  47. tftp        69/udp
  48. rje        77/tcp
  49. finger        79/tcp
  50. link        87/tcp        ttylink
  51. supdup        95/tcp
  52. hostnames    101/tcp        hostname
  53. iso-tsap    102/tcp
  54. csnet-ns    105/tcp
  55. pop-2        109/tcp                # Post Office Protocol
  56. sunrpc        111/udp
  57. sunrpc        111/tcp
  58. uucp-path    117/tcp
  59. nntp            119/tcp         usenet        # Network News Transfer
  60. ntp        123/tcp                # Network Time Protocol
  61. ntp        123/udp                # Network Time Protocol
  62. NeWS        144/tcp        news        # Window System
  63. exec        512/tcp
  64. login        513/tcp
  65. shell        514/tcp        cmd        # no passwords used
  66. printer        515/tcp        spooler        # line printer spooler
  67. courier        530/tcp        rpc        # experimental
  68. uucp        540/tcp        uucpd        # uucp daemon
  69. biff        512/udp        comsat
  70. who        513/udp        whod
  71. syslog        514/udp
  72. talk        517/udp
  73. ntalk        518/udp
  74. route        520/udp        router routed
  75. new-rwho    550/udp        new-who        # experimental
  76. rmonitor    560/udp        rmonitord    # experimental
  77. monitor        561/udp                # experimental
  78. ingreslock      1524/tcp
  79. irc        6667/tcp    #internet relay chat service
  80. =======================end====================================
  81.  
  82. Hope this is the solution for you.
  83.  
  84. Tom
  85.  
  86. ---                         /|
  87. Thomas Schenk            \~o.O'        Internet:  schenk@cgull.ccsu.edu
  88. Programmer               =(___)=            or    schenk@falcon.ccsu.edu
  89. Corpus Christi State        U          BITNET:    ccsys007@ccsuvm1.bitnet    
  90. University           Ack! Thpptpht!    Fidonet:   Thomas Schenk at 1:160/1.99
  91.  
  92.